
DocID024597 Rev 5
RM0351
Single Wire Protocol Master Interface (SWPMI)
1517
and if the DMA counter equals 17, it means that two buffers are ready for reading in the
RAM area.
In Multi software buffer reception mode, if the software is reading bits 24, 25 and 26 of the
8th word, it does not need to clear RXBERF, RXOVRF and RXBFF flags after each frame
reception.
Figure 485. SWPMI Multi software buffer mode reception
44.3.9 Error
management
Underrun during payload transmission
During the transmission of the frame payload, a transmit underrun is indicated by the
TXUNRF flag in the SWPMI_ISR register. An interrupt is generated if TXBUNREIE bit is set
in the SWPMI_IER register.
If a transmit underrun occurs, the SWPMI stops the payload transmission and sends a
corrupted CRC (the first bit of the first CRC byte sent is inverted), followed by an EOF. If
DMA is used, TXDMA bit in the SWPMI_CR register is automatically cleared.
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
ϯͲϮͲϭͲϬ
ϳͲϲͲϱͲϰ
ϭϭͲϭϬͲϵͲϴ
DƚƌĂŶƐĨĞƌƐĚĂƚĂ
ĨƌŽŵ^tWD/ͺZZƚŽ
ZD
DƚƌĂŶƐĨĞƌƐĚĂƚĂ
ĨƌŽŵ^tWD/ͺZZ
ƚŽZD
DƚƌĂŶƐĨĞƌƐĚĂƚĂ
ĨƌŽŵ^tWD/ͺZZƚŽ
ZD
džͲdžͲϭϯͲϭϮ
ϯͲϮͲϭͲϬ
ϳͲϲͲϱͲϰ
&ƌĂŵĞϮ
džͲdžͲdžͲdž
džͲdžͲdžͲdž
džͲdžͲdžͲdž
džͲϭϰͲdžͲdž
džͲdžͲdžͲdž
džͲdžͲdžͲdž
džͲdžͲdžͲdž
džͲϴͲdžͲdž
džͲdžͲdžͲdž
džͲdžͲdžͲdž
&ƌĂŵĞϭ
ϯͲϮͲϭͲϬ
ϳͲϲͲϱͲϰ
ϭϭͲϭϬͲϵͲϴ
ϭϱͲϭϰͲϭϯͲϭϮ
ϯͲϮͲϭͲϬ
ϳͲϲͲϱͲϰ
&ƌĂŵĞϰ
džͲdžͲdžͲϮϬ
džͲdžͲdžͲdž
džͲϮϭͲdžͲdž
džͲϮϵͲdžͲϮϴ
&ƌĂŵĞϯ
ϭϵͲϭϴͲϭϳͲϭϲ
ϭϭͲϭϬͲϵͲϴ
ϭϱͲϭϰͲϭϯͲϭϮ
ϭϵͲϭϴͲϭϳͲϭϲ
ϮϯͲϮϮͲϮϭͲϮϬ
ϮϳͲϮϲͲϮϱͲϮϰ
^K&
Ϭ
ZD
^tWD/ͺZZ
ϯͲϮͲϭͲϬ
ϳͲϲͲϱͲϰ
ϭϭͲϭϬͲϵͲϴ
džͲdžͲϭϯͲϭϮ
džͲdžͲdžͲdž