EasyManuals Logo

ST STM32L4 5 Series User Manual

ST STM32L4 5 Series
1830 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1503 background imageLoading...
Page #1503 background image
DocID024597 Rev 5 1503/1830
RM0351 Single Wire Protocol Master Interface (SWPMI)
1517
1. Disable stream or channel in DMA module
2. Read the number of bytes in the received frame payload in the SWPMI_RFL register
3. Read the frame payload in the RAM buffer
4. Enable stream or channel in DMA module
5. Set CRXBFF bit in the SWPMI_ICR register to clear RXBFF flag (refer to Figure 484:
SWPMI single software buffer mode reception).
Figure 484. 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/ͺZZ
Zy&&
ƐĞƚďLJ,tĐůĞĂƌĞĚďLJD
ϯͲϮͲϭͲϬ ϳͲϲͲϱͲϰ
ϭϭͲϭϬͲϵͲ
ϴ
džͲdžͲϭϯͲϭϮ
džͲdžͲdžͲdž
dž ϭϰĚ
^tWD/ͺZ&>
ϭϯ
ƐĞƚďLJ,tĐůĞĂƌĞĚďLJ^t
^h^WE
DƚƌĂŶƐĨĞƌƐĚĂƚĂĨƌŽŵ
^tWD/ͺZZƚŽZD
d&
ƐĞƚďLJ,tĐůĞĂƌĞĚďLJ^t
ƐĞƚďLJ,t
ϯͲϮͲϭͲϬ
ϳͲϲͲϱͲϰ
ϭϭͲϭϬͲϵͲϴ
DƚƌĂŶƐĨĞƌƐĚĂƚĂĨƌŽŵ
^tWD/ͺZZƚŽZD
DƚƌĂŶƐĨĞƌƐĚĂƚĂĨƌŽŵ
^tWD/ͺZZƚŽZD
DƚƌĂŶƐĨĞƌƐĚĂƚĂĨƌŽŵ
^tWD/ͺZZƚŽZD
džͲdžͲϭϯͲϭϮ
ZD
/ŶƚĞƌŶĂůďƵĨĨĞƌ
ϯͲϮͲϭͲϬ ϳͲϲͲϱͲϰ ϭϭͲϭϬͲϵͲϴ
džͲdžͲdžͲdž
džͲdžͲϭϯͲϭϮ

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32L4 5 Series and is the answer not in the manual?

ST STM32L4 5 Series Specifications

General IconGeneral
BrandST
ModelSTM32L4 5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals