Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STM8S Datasheet(PDF) 336 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) 336 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 332Page - STMicroelectronics STM8S Datasheet HTML 333Page - STMicroelectronics STM8S Datasheet HTML 334Page - STMicroelectronics STM8S Datasheet HTML 335Page - STMicroelectronics STM8S Datasheet HTML 336Page - STMicroelectronics STM8S Datasheet HTML 337Page - STMicroelectronics STM8S Datasheet HTML 338Page - STMicroelectronics STM8S Datasheet HTML 339Page - STMicroelectronics STM8S Datasheet HTML 340Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 336 / 467 page
background image
Universal asynchronous receiver transmitter (UART)
RM0016
336/467
DocID14587 Rev 14
22.3.4
High precision baud rate generator
The receiver and transmitter (Rx and Tx) are both set to the same baud rate programmed by
a 16-bit divider UART_DIV according to the following formula:
The UART_DIV baud rate divider is an unsigned integer, coded in the BRR1 and BRR2
registers as shown in Figure 119.
Refer to Table 54. for typical baud rate programming examples.
Figure 119. How to code UART_DIV in the BRR registers
Note:
The Baud Counters will be updated with the new value of the Baud Registers after a write to
BRR1. Hence the Baud Register value should not be changed during a transaction. The
BRR2 should be programmed before BRR1.
Note:
UART_DIV must be greater than or equal to 16d.
Tx/ Rx baud rate =
fMASTER
UART_DIV
7
0
7
0
UART_BRR1
UART_BRR2
4 3
Example: To obtain 9600 baud with fMASTER = 10 MHz.
UART_DIV[15:12]
UART_DIV[11:4]
UART_DIV[3:0]
UART_DIV = 1042d = 0x0412
See Table 54.
register = 0x02
UART_DIV = 10 000 000/9600
register = 0x41
0x41
0x2
0x0



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