Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STM32W108HB Datasheet(PDF) 122 Page - STMicroelectronics

Part # STM32W108HB
Description  High-performance, IEEE 802.15.4 wireless system-on-chip with up to 256 Kbytes of embedded Flash memory
PDF  278 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM32W108HB Datasheet(HTML) 122 Page - STMicroelectronics

Back Button STM32W108HB Datasheet HTML 118Page - STMicroelectronics STM32W108HB Datasheet HTML 119Page - STMicroelectronics STM32W108HB Datasheet HTML 120Page - STMicroelectronics STM32W108HB Datasheet HTML 121Page - STMicroelectronics STM32W108HB Datasheet HTML 122Page - STMicroelectronics STM32W108HB Datasheet HTML 123Page - STMicroelectronics STM32W108HB Datasheet HTML 124Page - STMicroelectronics STM32W108HB Datasheet HTML 125Page - STMicroelectronics STM32W108HB Datasheet HTML 126Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 122 / 278 page
background image
Serial interfaces
STM32W108HB STM32W108CC STM32W108CB STM32W108CZ
122/278
Doc ID 16252 Rev 14
9.6.4
DMA
The DMA Channels section describes how to configure and use the serial receive and
transmit DMA channels.
The receive DMA channel has special provisions to record UART receive errors. When the
DMA channel transfers a character from the receive FIFO to a buffer in memory, it checks
the stored parity and frame error status flags. When an error is flagged, the
SC1_DMARXERRAR/SC1_DMARXERRBR register is updated, marking the offset to the
first received character with a parity or frame error. Similarly if a receive overrun error
occurs, the SC1_DMARXERRAR/SC1_DMARXERRBR registers mark the error offset. The
receive FIFO hardware generates the OVR interrupt and DMA status register indicates the
error immediately, but in this case the error offset is 4 characters ahead of the actual
overflow at the input to the receive FIFO. Two conditions will clear the error indication:
setting the appropriate RXRST bit in the SC1_DMACR register, or loading the appropriate
DMA buffer after it has unloaded.
9.6.5
Interrupts
UART interrupts are generated on the following events:
●
Transmit FIFO empty and last character shifted out (depending on SCx_ICR, either the
0 to 1 transition or the high level of SC1_UARTTXIDLE)
●
Transmit FIFO changed from full to not full (depending on SCx_ICR, either the 0 to 1
transition or the high level of SC1_UARTTXFREE)
●
Receive FIFO changed from empty to not empty (depending on SCx_ICR, either the 0
to 1 transition or the high level of SC1_UARTRXVAL)
●
Transmit DMA buffer A/B complete (1 to 0 transition of TXAACK/TXBACK)
●
Receive DMA buffer A/B complete (1 to 0 transition of RXAACK/RXBACK)
●
Character received with parity error
●
Character received with frame error
●
Character received and lost when receive FIFO was full (receive overrun error)
To enable CPU interrupts, set the desired interrupt bits in the second level SCx_IER register.
9.7
Direct memory access (DMA) channels
The STM32W108 serial DMA channels enable efficient, high-speed operation of the SPI
and UART controllers by reducing the load on the CPU as well as decreasing the frequency
of interrupts that it must service. The transmit and receive DMA channels can transfer data
between the transmit and receive FIFOs and the DMA buffers in main memory as quickly as
it can be transmitted or received. Once software defines, configures, and activates the DMA,
it only needs to handle an interrupt when a transmit buffer has been emptied or a receive
buffer has been filled. The DMA channels each support two memory buffers, labeled A and
B, and can alternate ("ping-pong") between them automatically to allow continuous
communication without critical interrupt timing.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com