ATMEGA325-16AJ ATMEL [ATMEL Corporation], ATMEGA325-16AJ Datasheet - Page 173
ATMEGA325-16AJ
Manufacturer Part Number
ATMEGA325-16AJ
Description
8-bit Microcontroller with In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.ATMEGA325-16AJ.pdf
(347 pages)
- Current page: 173 of 347
- Download datasheet (3Mb)
Examples of Baud Rate
Setting
Table 77. Examples of UBRR Settings for Commonly Used Oscillator Frequencies
1.
2570A–AVR–09/04
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
–
–
–
–
U2Xn = 0
62.5 kbps
f
Error
-18.6%
osc
-7.0%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
–
–
–
–
= 1.0000 MHz
UBRR
51
25
12
8
6
3
2
1
1
0
–
–
U2Xn = 1
125 kbps
• Bit 15:12 – Reserved Bits
These bits are reserved for future use. For compatibility with future devices, these bit
must be written to zero when UBRRH is written.
• Bit 11:0 – UBRR11:0: USART Baud Rate Register
This is a 12-bit register which contains the USART baud rate. The UBRRH contains the
four most significant bits, and the UBRRL contains the eight least significant bits of the
USART baud rate. Ongoing transmissions by the Transmitter and Receiver will be cor-
rupted if the baud rate is changed. Writing UBRRL will trigger an immediate update of
the baud rate prescaler.
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 77.
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 166). 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
0
–
–
1
115.2 kbps
U2Xn = 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
U2Xn = 1
ATmega325/3250/645/6450
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
–
–
U2Xn = 0
125 kbps
⎞
⎠
•
100%
f
Error
-18.6%
osc
-3.5%
-7.0%
0.2%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
–
–
= 2.0000 MHz
UBRR
103
51
25
16
12
8
6
3
2
1
–
0
U2Xn = 1
250 kbps
Error
-3.5%
-7.0%
0.2%
0.2%
0.2%
2.1%
0.2%
8.5%
8.5%
8.5%
0.0%
–
173
Related parts for ATMEGA325-16AJ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
IC AVR MCU 2.4GHZ XCEIVER 64QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU ATMEGA644/AT86RF230 40-DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
BUNDLE ATMEGA644P/AT86RF230 QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
BUNDLE ATMEGA644P/AT86RF230 TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU ATMEGA1281/AT86RF230 64-TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU ATMEGA1280/AT86RF230 100TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
BUNDLE ATMEGA1280/AT86RF100-TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU, 8BIT, AVR, 16K FLASH, 28PDIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
Microcontroller Modules MCU CARD BIGAVR6 100P W/ ATMEGA2560
Manufacturer:
mikroElektronika