A96G150 User's manual
16. USART2
245
16.14
0% Error baud rate
USART2 system of A96G150 supports floating point counter logic for 0% error of baud rate. By using
8-bit floating point counter logic, cumulative error to below the decimal point can be removed.
Floating point counter value is defined by baud rate error. In the baud rate formula, BAUD is presented
in the integer count value. For example, If you want to use the 57600 baud rate (fXIN = 16MHz), integer
count value must be 16.36 value (BAUD+1 = 16000000/(16×57600) = 17.36). Here, the accurate BAUD
value is 16.36. To achieve the 0% error of baud rate, floating point counter value must be 164 ((17-
16.36) x 256 ≒ 164) and BAUD value must be 17. Namely you have to write the 164 (decimal number)
in USART_FPCR and 17 (decimal number) in USART_BAUD.
Figure 107. 0% Error Baud Rate Block Diagram
Integer count value
Integer count value - 1
8bit Max floating point
count value
8bit floating point
counter
TXD clock
Generator
0
1
0% Error
Baud rate
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...