197
2467S–AVR–07/09
ATmega128
Table 85.
Examples of UBRR Settings for Commonly Used Oscillator Frequencies
Baud
Rate
(bps)
f
osc
= 16.0000 MHz
U2X = 0
U2X = 1
UBRR
Error
UBRR
Error
2400
416
-0.1%
832
0.0%
4800
207
0.2%
416
-0.1%
9600
103
0.2%
207
0.2%
14.4k
68
0.6%
138
-0.1%
19.2k
51
0.2%
103
0.2%
28.8k
34
-0.8%
68
0.6%
38.4k
25
0.2%
51
0.2%
57.6k
16
2.1%
34
-0.8%
76.8k
12
0.2%
25
0.2%
115.2k
8
-3.5%
16
2.1%
230.4k
3
8.5%
8
-3.5%
250k
3
0.0%
7
0.0%
0.5M
1
0.0%
3
0.0%
1M
0
0.0%
1
0.0%
Max
(1)
1 Mbps
2 Mbps
1.
UBRR = 0, Error = 0.0%