ML610Q111/ML610Q112 User’s Manual
Chapter 12 UART
FEUL610Q111
12-14
12.3.2
Baud rate
Baud rates are generated by the baud generator.
The baud rate generator generates a baud rate by counting the clock selected by the baud rate clock selection bits (UnCK1,
UnCK0) of the UARTn mode register 0 (UAnMOD0). The count value of the baud rate generator can be set by writing it in
the UARTn baud rate register H or L (UAnBRTH, UAnBRTL). The maximum count is 4096.
The setting values of UAnBRTH and UAnBRTL are expressed by the following equation.
UAnBRTH, L =
Clock frequency (Hz)
— 1
Baud rate (bps)
Table 12-1 lists the count values for typical baud rates.
Table 12-1 Count Values for Typical Baud Rates
Baud rate
Baud rate
generator
Clock
selection
Baud rate generator counter value
Error
[%]
Baud rate
Clock
Count
value
Period of
one bit
UAnBRTH
UAnBRTL
2400bps
8.192MHz
3413
Approximately 417us
0DH
054H
0.01
4800bps
1707
Approximately 208us
06H
0AAH
-0.02
9600bps
853
Approximately 104us
03H
054H
0.04
19200bps
427
Approximately 52us
01H
0AAH
-0.08
38400bps
213
Approximately 26us
00H
0D4H
0.16
57600bps
142
Approximately 17.4us
00H
08DH
0.16
115200bps
71
Approximately 8.7us
00H
046H
0.16
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...