Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4457 Datasheet(PDF) 8 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) 8 Page - STMicroelectronics

Back Button AN4457 Datasheet HTML 4Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 24 page
background image
UART emulator description
AN4457
8/24
DocID026046 Rev 1
1.3
UART emulator principle
1.3.1
Data transmission
The transmitter can send 5-, 6-, 7-, 8- or 9-bit data frames depending on user data length
configuration.
Figure 2 shows the waveforms of a 9-bit transmit emulation.
Figure 2. 9-bit data transmission waveforms
1.3.2
Single-frame transmission
The transmission sequence includes the following steps:
1.
The CPU formats the frame to be sent to the memory.
2.
The timer sends to the DMA a request to set GPIO to 0 (start bit).
3.
The timer starts counting the start bit duration according to the defined baudrate.
4.
When the bit duration has elapsed, the timer sends to the DMA a request to set the
next bit from memory.
Once the frame transmission is complete, the TC flag (UART transmission complete) is set.
1.3.3
Multiple-frame transmission
Multiple -frame transmission is based on two buffers. When the DMA transfers the first
frame into the first buffer, the CPU formats the second frame in the second buffer. After each
frame transfer, the DMA TC flag must be cleared and the DMA reconfigured with the new
source address (address of first or second buffer). This operation is repeated until all frames
are transmitted. When this is done, the TC flag (UART transfer complete flag) is set.



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