Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN4457 Datasheet(PDF) 9 Page - STMicroelectronics

Part # AN4457
Description  Implementing an emulated universal asynchronous receiver transmitter on STM32F4 microcontroller series
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4457 Datasheet(HTML) 9 Page - STMicroelectronics

Back Button AN4457 Datasheet HTML 5Page - STMicroelectronics AN4457 Datasheet HTML 6Page - STMicroelectronics AN4457 Datasheet HTML 7Page - STMicroelectronics AN4457 Datasheet HTML 8Page - STMicroelectronics AN4457 Datasheet HTML 9Page - STMicroelectronics AN4457 Datasheet HTML 10Page - STMicroelectronics AN4457 Datasheet HTML 11Page - STMicroelectronics AN4457 Datasheet HTML 12Page - STMicroelectronics AN4457 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 24 page
background image
DocID026046 Rev 1
9/24
AN4457
UART emulator description
23
1.4
Data reception
The reception is launched when the start bit is detected via an external interrupt on UART
RX line.
Figure 3 shows the waveforms of a 9-bit receive emulation.
Figure 3. 9-bit data reception waveforms
1.4.1
Single-frame reception
Reception starts when the start bit is detected. The reception sequence includes the
following steps:
1.
The CPU checks if the UART is ready and the RX buffer empty.
2.
The timer sends a request to the DMA to start data transfer after a half bit duration.
3.
The timer starts counting the bit duration according to the defined baudrate and then
sends to the DMA a request to transfer the next bit. This step is repeated until the end
of the frame.
Once the frame reception is complete, the RC flag (UART reception complete) is set.
1.4.2
Multiple-frame reception
When the falling edge of the start bit is detected, the reception goes on until all frames are
received and the RC flag is set.
When the DMA transfer of each frame is complete, the CPU formats data and stores them in
SRAM.
Note:
During DMA transfer, the CPU is free for other tasks.
The application must assign the highest priority to the external interrupt for bit start
detection.



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


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