CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U14492EJ3V0UD
478
<4> Baud rate setting example
In an actual system, the output of a prescaler module, etc. is connected to input clock. Table 10-8
shows the baud rate generator setting data at this time.
Table 10-8. Baud Rate Generator Setting Data (BRG = f
XX
/2) (1/2)
(a) When f
XX
= 32 MHz
Desired Baud Rate
Actual Baud Rate
Synchronous
Mode
Asynchronous
Mode
Synchronous
Mode
Asynchronous
Mode
BGCSm Bit
(m = 0, 1)
PRSCMn
Register Setting
Value (n = 1, 2)
Error
4800
300
4807.692
300.4808
3
208
0.16
9600
600
9615.385
600.9615
3
104
0.16
19200
1200
19230.77
1201.923
3
52
0.16
38400
2400
38461.54
2403.846
3
26
0.16
76800
4800
76923.08
4807.692
3
13
0.16
153600
9600
153846.2
9615.385
2
13
0.16
166400
10400
166666.7
10416.67
1
24
0.16
307200
19200
307692.3
19230.77
1
13
0.16
614400
38400
615384.6
38461.54
0
13
0.16
1228800
76800
1142857
71428.57
0
7
−
6.99
2457600
153600
2666667
166666.7
0
3
8.51
(b) When f
XX
= 40 MHz
Desired Baud Rate
Actual Baud Rate
Synchronous
Mode
Asynchronous
Mode
Synchronous
Mode
Asynchronous
Mode
BGCSm Bit
(m = 0, 1)
PRSCMn
Register Setting
Value (n = 1, 2)
Error
4800
300
4882.813
305.1758
3
256
1.73
9600
600
9615.385
600.9615
3
130
0.16
19200
1200
19230.77
1201.923
3
65
0.16
38400
2400
38461.54
2403.846
2
65
0.16
76800
4800
76923.08
4807.692
1
65
0.16
153600
9600
153846.2
9615.385
0
65
0.16
166400
10400
166666.7
10416.67
0
60
0.16
307200
19200
303030.3
18939.39
0
33
−
1.36
614400
38400
625000
39062.5
0
16
1.73
1228800
76800
1250000
78125
0
8
1.73
2457600
153600
2500000
156250
0
4
1.73
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...