Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STM8S Datasheet(PDF) 351 Page - STMicroelectronics

Part # STM8S
Description  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S Datasheet(HTML) 351 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 347Page - STMicroelectronics STM8S Datasheet HTML 348Page - STMicroelectronics STM8S Datasheet HTML 349Page - STMicroelectronics STM8S Datasheet HTML 350Page - STMicroelectronics STM8S Datasheet HTML 351Page - STMicroelectronics STM8S Datasheet HTML 352Page - STMicroelectronics STM8S Datasheet HTML 353Page - STMicroelectronics STM8S Datasheet HTML 354Page - STMicroelectronics STM8S Datasheet HTML 355Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 351 / 467 page
background image
DocID14587 Rev 14
351/467
RM0016
Universal asynchronous receiver transmitter (UART)
377
Figure 131. Break detection in LIN mode vs framing error detection
Response transmission (master is the publisher of the response)
The response is composed of bytes with a standard UART format: 8-bit data, 1 stop bit, no
parity.
In order to send n data bytes, the application must repeat the following sequence n times:
1.
Write data in UART_DR register
2.
Wait for RXNE flag in UART_SR register
3.
Check for readback value by reading the UART_DR register
Response reception (master is the subscriber of the response)
In order to receive n data bytes, the application must repeat following sequence n times:
1.
Wait for the RXNE flag in the UART_SR register
2.
Read the UART_DR register
Discard response (slave to slave communication)
In case of slave to slave communication and if the master does not need to check errors in
the response, the application can ignore the RXNE flag till the next frame slot. The RXNE
and OR flags should be cleared before starting the next Break transmission.
Note:
Receiving back a Break will also set the RXNE and FE flags before setting the LBDF flag.
Therefore, if the RX interrupt is used, it's better to disable it (by clearing the RIEN bit in the
UART_CR2 register) before sending the Break, to avoid an additional interrupt. In case of
slave to slave communication, RIEN bit can be cleared once the header has been
transmitted.



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