DocID024597 Rev 3 1375/1685
RM0351 Single Wire Protocol Master Interface (SWPMI)
1392
Figure 461. SWPMI single software buffer mode reception
Multi software buffer mode
This mode allows to work with several frame buffers in the RAM memory, in order to ensure
a continuous reception, keeping a very low CPU load, using the DMA. The frame payloads
are stored in the RAM memory, together with the frame status flags. The software can check
the DMA counters and status flags at any time to handle the received SWP frames in the
RAM memory.
The Multi software buffer mode must be used in combination with the DMA in circular mode.
The Multi software buffer mode is selected by setting both RXDMA and RXMODE bits in
SWPMI_CR register.
D^ϯϯϯϱϭsϭ
^K& K&ZϬ ϭ Ϯ ϯ ϰ ϱ ϲ ϳ ϴ ϵ ϭϬ ϭϭ ϭϮ
^tW
ŝŶƉƵƚ
ZyE
^tWD/ͺZZ
Zy&&
ƐĞƚďLJ,tĐůĞĂƌĞĚďLJD
ϯͲϮͲϭͲϬ ϳͲϲͲϱͲϰ
ϭϭͲϭϬͲϵͲ
ϴ
džͲdžͲϭϯͲϭϮ
džͲdžͲdžͲdž
dž ϭϰĚ
^tWD/ͺZ&>
ϭϯ
ƐĞƚďLJ,tĐůĞĂƌĞĚďLJ^t
^h^WE
DƚƌĂŶƐĨĞƌƐĚĂƚĂĨƌŽŵ
^tWD/ͺZZƚŽZD
d&
ƐĞƚďLJ,tĐůĞĂƌĞĚďLJ^t
ƐĞƚďLJ,t
ϯͲϮͲϭͲϬ
ϳͲϲͲϱͲϰ
ϭϭͲϭϬͲϵͲϴ
DƚƌĂŶƐĨĞƌƐĚĂƚĂĨƌŽŵ
^tWD/ͺZZƚŽZD
DƚƌĂŶƐĨĞƌƐĚĂƚĂĨƌŽŵ
^tWD/ͺZZƚŽZD
DƚƌĂŶƐĨĞƌƐĚĂƚĂĨƌŽŵ
^tWD/ͺZZƚŽZD
džͲdžͲϭϯͲϭϮ
ZD
/ŶƚĞƌŶĂůďƵĨĨĞƌ
ϯͲϮͲϭͲϬ ϳͲϲͲϱͲϰ ϭϭͲϭϬͲϵͲϴ
džͲdžͲdžͲdž
džͲdžͲϭϯͲϭϮ