Download eCOG1X User Manual - Glyn High

Transcript
eCOG1X User Manual
12.4
Version 0.1
Baud Rates
The following tables list possible values for the baud rate divisor register for various
standard baud rates. These are only examples, other values may be used if desired.
Clock source set to HIGH_PLL
high reference crystal 8.0 MHz
high PLL multiplier set to 12 => 96 MHz
divider tap select set to 13 => divide by 23 = 8
prescaler set to divide by 1
=> DUART input clock = 12.0 MHz.
Baud rate
duart*.*_baud
Actual Baud rate
% error
1200
624
1200.0
0.0%
2400
311
2403.8
0.16%
3600
207
3605.8
0.16%
4800
155
4807.7
0.16%
7200
103
7211.5
0.16%
9600
77
9615.4
0.16%
19200
38
19230.8
0.16%
38400
19
37500.0
2.3%
57600
12
57692.3
0.16%
115200
6
107142.9
7.0%
Table 38: DUART baud rates from HIGH_PLL
Clock source set to LOW_PLL
low reference crystal 32.768 kHz
low PLL multiplier set to 150 => 4.9152 MHz
divider tap select set to 14 => divide by 22 = 4
prescaler set to divide by 1
=> DUART input clock = 1.2288 MHz.
Baud rate
duart*.*_baud
Actual Baud rate
% error
1200
63
1200
0.0%
2400
31
2400
0.0%
3600
20
3657.1
1.6%
4800
15
4800
0.0%
7200
10
6981.8
3.1%
9600
7
9600
0.0%
19200
3
19200
0.0%
38400
1
38400
0.0%
Table 39: DUART baud rates from LOW_PLL
20 November 2006
Cyan Technology Ltd
Page 12-3