| Electronic Components Datasheet Search |
|
AN2354 Datasheet(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2354 Datasheet(HTML) 9 Page - STMicroelectronics |
|
9 / 21 page ![]() AN2354 ST10 ASC peripherals 9/21 For asynchronous operation, the baud rate generator provides a clock with 16 times the rate of the established baud rate. Every received bit is sampled at the 7th, 8th and 9th cycle of this clock. The baud rate for asynchronous operation of serial channels and the required reload value for a given baud rate can be determined by the following formulas: (SxBRL) represents the content of the reload register, taken as unsigned 13-bit integer and (SxBRS) represents the value of bit SxBRS (‘0’ or ‘1’), taken as integer. Using the above equation, the maximum baud rate can be calculated for any given clock speed. It follows a table of values for baud rate versus reload register value for SxBRS = 0 and SxBRS = 1. On the ST10 side, the baud rate is derived from the CPU frequency (fCPU). The fCPU is a multiple (use of the internal PLL) of an external input clock which is generally different from the ones used in a PC to generate the UART clock. Therefore, there is a deviation error between the standard baud rate (reference being the PC) and the baud rate of the ST10 ASCx. This clock mismatch may lead to a reduction of tolerance as discussed in more detail in Section 4.1: Arithmetic error in baud rate setting. Table 2. Common baud rate settings and deviation error Baud rate S1BRS = ‘0’, fCPU = 64 MHz S1BRS = ‘1’, fCPU = 64 MHz Deviation error Reload value Deviation error Reload value 2 Mbaud 0% 0000H -- 500 Kbaud 0% 0003H -- 115.2 Kbaud +2.12% / -3.55% 00010H / 0011H +5.22% / -3.55% 000AH / 000BH 57.6 Kbaud +2.12% / -0.79% 0021H / 0022H +0.64% / -3.55% 0016H / 0017H 38.4 Kbaud +0.16% / -1.73% 0033H / 0034H +2.12% / -0.79% 0021H / 0022H 19.2 Kbaud +0.16% / -0.79% 0067H / 0068H +0.64% / -0.79% 0044H / 0045H 9600 baud +0.16% / -0.32% 00CFH / 00D0H +0.64% / -0.08% 0089H / 008AH 4800 baud +0.16% / -0.08% 019FH / 01A0H +0.28% / -0.08% 0114H / 0115H 2400 baud +0.04% / -0.08% 00CFH / 00D0H +0.10% / -0.08% 022AH / 022BH 1200 baud +0.04% / -0.02% 0681H / 0682H +0.01% / -0.08% 0456H / 0457H 600 baud +0.01% / -0.02% 0D04H / 0D05H +0.01% / -0.03% 08ADH / 08AEH 244 baud -0.06% 1FFFH +0.01% / -0.01% 1157H / 1158H BAsync = fCPU 16 x [2 + (SxBRS)] x [(SxBRL) + 1] SxBRL = ( fCPU 16 x [2 + (SxBRS)] x BAsync ) - 1 |
|
|
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 |
| 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 |