129
AT94KAL Series FPSLIC
Rev. 1138G–FPSLI–11/03
Table 37.
UBR Settings at Various Crystal Frequencies in Double UART Speed Mode
Clock
MHz
UBRRHI
7:4 or 3:0
UBRRn
UBR
HEX
UBR
Actual
Freq
Desired
Freq.
%
Error
Clock
MHz
UBRRHI
7:4 or 3:0
UBRRn
UBR
HEX
UBR
Actual
Freq
Desired
Freq.
%
Error
1
0000
00110011 033
51
2404
2400
0.2
1.843
0000
01011111
05F
95
2400
2400
0.0
0000
00011001 019
25
4808
4800
0.2
0000
00101111
02F
47
4800
4800
0.0
0000
00001100 00C
12
9615
9600
0.2
0000
00010111
017
23
9600
9600
0.0
0000
00001000 008
8
13889
14400
3.7
0000
00001111
00F
15
14400
14400
0.0
0000
00000110 006
6
17857
19200
7.5
0000
00001011
00B
11
19200
19200
0.0
0000
00000011 003
3
31250
28880
7.6
0000
00000111
007
7
28800
28880
0.3
0000
00000010 002
2
41667
38400
7.8
0000
00000101
005
5
38400
38400
0.0
0000
00000001 001
1
62500
57600
7.8
0000
00000011
003
3
57600
57600
0.0
0000
00000001 001
1
62500
76800
22.9
0000
00000010
002
2
76800
76800
0.0
0000
00000000 000
0
125000
115200
7.8
0000
00000001
001
1
115200
115200
0.0
Clock
MHz
UBRRHI
7:4 or 3:0
UBRRn
UBR
HEX
UBR
Actual
Freq
Desired
Freq.
%
Error
Clock
MHz
UBRRHI
7:4 or 3:0
UBRRn
UBR
HEX
UBR
Actual
Freq
Desired
Freq.
%
Error
9.216
0001
11011111 1DF
479
2400
2400
0.0
18.43
0011
10111111
3BF
959
2400
2400
0.0
0000
11101111 0EF
239
4800
4800
0.0
0001
11011111
1DF
479
4800
4800
0.0
0000
01110111 077
119
9600
9600
0.0
0000
11101111
0EF
239
9600
9600
0.0
0000
01001111 04F
79
14400
14400
0.0
0000
10011111
09F
159
14400
14400
0.0
0000
00111011 03B
59
19200
19200
0.0
0000
01110111
077
119
19200
19200
0.0
0000
00100111 027
39
28800
28880
0.3
0000
01001111
04F
79
28800
28880
0.3
0000
00011101 01D
29
38400
38400
0.0
0000
00111011
03B
59
38400
38400
0.0
0000
00010011 013
19
57600
57600
0.0
0000
00100111
027
39
57600
57600
0.0
0000
00001110 00E
14
76800
76800
0.0
0000
00011101
01D
29
76800
76800
0.0
0000
00001001 009
9
115200
115200
0.0
0000
00010011
013
19
115200
115200
0.0
0000
00000100 004
4
230400
230400
0.0
0000
00001001
009
9
230400
230400
0.0
0000
00000010 002
2
384000
460800
20.0
0000
00000100
004
4
460800
460800
0.0
0000
00000000 000
0
1152000 912600
20.8
0000
00000010
002
2
768000
912600
18.8
Clock
MHz
UBRRHI
7:4 or 3:0
UBRRn
UBR
HEX
UBR
Actual
Freq
Desired
Freq.
%
Error
Clock
MHz
UBRRHI
7:4 or 3:0
UBRRn
UBR
HEX
UBR
Actual
Freq
Desired
Freq.
%
Error
25.576
0101
00110011 533
1331
2400
2400
0.0
40
1000
00100010
822
2082
2400
2400
0.0
0010
10011001 299
665
4800
4800
0.0
0100
00010001
411
1041
4798
4800
0.0
0001
01001110 14E
334
9543
9600
0.6
0010
00001000
208
520
9597
9600
0.0
0000
11011101 0DD
221
14401
14400
0.0
0001
01011010 15A
346
14409
14400
0.1
0000
10100110 0A6
166
19144
19200
0.3
0001
00000011
103
259
19231
19200
0.2
0000
01101110 06E
110
28802
28880
0.3
0000
10101100 0AC
172
28902
28880
0.1
0000
01010010 052
82
38518
38400
0.3
0000
10000001
081
129
38462
38400
0.2
0000
00110111 037
55
57089
57600
0.9
0000
01010110
056
86
57471
57600
0.2
0000
00101001 029
41
76119
76800
0.9
0000
01000000
040
64
76923
76800
0.2
0000
00011011 01B
27
114179
115200
0.9
0000
00101010 02A
42
116279
115200
0.9
0000
00001101 00D
13
228357
230400
0.9
0000
00010101
015
21
227273
230400
1.4
0000
00000110 006
6
456714
460800
0.9
0000
00001010 00A
10
454545
460800
1.4
0000
00000011 003
3
799250
912600
14.2
0000
00000100
004
4
1000000 912600
8.7