ATTIny2313-16MI ATMEL Corporation, ATTIny2313-16MI Datasheet - Page 135

no-image

ATTIny2313-16MI

Manufacturer Part Number
ATTIny2313-16MI
Description
8-bit AVR Microcontroller with 2K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Examples of Baud Rate
Setting
Table 57. Examples of UBRR Settings for Commonly Used Oscillator Frequencies
1.
2543C–AVR–12/03
Baud
Rate
(bps)
2400
4800
9600
14.4k
19.2k
28.8k
38.4k
57.6k
76.8k
115.2k
230.4k
250k
Max.
(1)
UBRR = 0, Error = 0.0%
UBRR
25
12
6
3
2
1
1
0
62.5 kbps
U2X = 0
f
Error
-18.6%
osc
-7.0%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
= 1.0000 MHz
UBRR
25
12
51
8
6
3
2
1
1
0
125 kbps
U2X = 1
For standard crystal and resonator frequencies, the most commonly used baud rates for
asynchronous operation can be generated by using the UBRR settings in Table 57.
UBRR values which yield an actual baud rate differing less than 0.5% from the target
baud rate, are bold in the table. Higher error ratings are acceptable, but the Receiver will
have less noise resistance when the error ratings are high, especially for large serial
frames (see “Asynchronous Operational Range” on page 127). The error values are cal-
culated using the following equation:
Error
-18.6%
-3.5%
-7.0%
0.2%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
UBRR
47
23
11
7
5
3
2
1
1
0
115.2 kbps
U2X = 0
Error[%]
f
Error
-25.0%
osc
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
= 1.8432 MHz
=
UBRR
BaudRate
------------------------------------------------------- - 1
95
47
23
15
11
7
5
3
2
1
0
230.4 kbps
U2X = 1
BaudRate
Error
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
Closest Match
UBRR
51
25
12
8
6
3
2
1
1
0
125 kbps
U2X = 0
100%
f
Error
-18.6%
osc
-3.5%
-7.0%
0.2%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
ATtiny2313/V
= 2.0000 MHz
UBRR
103
51
25
16
12
8
6
3
2
1
0
250 kbps
U2X = 1
Error
-3.5%
-7.0%
0.2%
0.2%
0.2%
2.1%
0.2%
8.5%
8.5%
8.5%
0.0%
135

Related parts for ATTIny2313-16MI