A000047 Arduino, A000047 Datasheet - Page 227
A000047
Manufacturer Part Number
A000047
Description
MCU, MPU & DSP Development Tools Mega2560
Manufacturer
Arduino
Series
-r
Type
MCUr
Specifications of A000047
Processor To Be Evaluated
ATmega2560
Interface Type
USB, I2C, SPI
Dimensions
4 in x 2.1 in
Operating Supply Voltage
5 V
Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
ATmega2560
- Current page: 227 of 444
- Download datasheet (10Mb)
21.9.5
21.10 Examples of Baud Rate Setting
Table 21-9.
2549M–AVR–09/10
14.4 K
19.2 K
28.8 K
38.4 K
Baud
(bps)
Rate
2400
4800
9600
UBRRnL and UBRRnH – USART Baud Rate Registers
UBRR
25
12
6
3
2
1
1
Examples of UBRRn Settings for Commonly Used Oscillator Frequencies
U2Xn = 0
f
-18.6%
osc
-7.0%
Error
0.2%
0.2%
8.5%
8.5%
8.5%
= 1.0000 MHz
• 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 corrupted 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 asyn-
chronous operation can be generated by using the UBRR settings in
on page
get 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
lowing equation:
Bit
Read/Write
Initial Value
UBRR
51
25
12
8
6
3
2
U2Xn = 1
231. UBRR values which yield an actual baud rate differing less than 0.5% from the tar-
-3.5%
-7.0%
Error
0.2%
0.2%
0.2%
8.5%
8.5%
R/W
15
R
–
7
0
0
UBRR
47
23
11
7
5
3
2
R/W
U2Xn = 0
14
R
–
6
0
0
Error[%]
f
osc
ATmega640/1280/1281/2560/2561
Error
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
R/W
13
=
= 1.8432 MHz
R
–
5
0
0
⎛
⎝
BaudRate
------------------------------------------------------- - 1
UBRR
95
47
23
15
11
BaudRate
R/W
7
5
12
R
–
4
0
0
U2Xn = 1
220). The error values are calculated using the fol-
UBRR[7:0]
Closest Match
Error
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
R/W
R/W
11
3
0
0
–
UBRR
⎞
⎠
R/W
R/W
51
25
12
10
•
2
0
0
8
6
3
2
UBRR[11:8]
100%
U2Xn = 0
f
Table 21-9
osc
-3.5%
-7.0%
Error
0.2%
0.2%
0.2%
8.5%
8.5%
R/W
R/W
9
1
0
0
= 2.0000 MHz
UBRR
R/W
R/W
103
8
0
0
0
51
25
16
12
to
8
6
U2Xn = 1
Table 21-12
UBRRHn
UBRRLn
-3.5%
-7.0%
Error
0.2%
0.2%
0.2%
2.1%
0.2%
227
Related parts for A000047
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO UNO PROTO PCB REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO SHIELD PROTO KIT REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO KIT REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO PCB REV 3
Manufacturer:
Arduino
Part Number:
Description:
Development Boards & Kits - AVR ARDUINO STARTER KIT W/ UNO REV3
Manufacturer:
Arduino
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS PROTO
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS WITH SD
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Development Software Getting started w/Arduino
Manufacturer:
Arduino
Part Number:
Description:
Ethernet Modules & Development Tools Ethernet Shield for Arduino
Manufacturer:
Arduino
Part Number:
Description:
MCU, MPU & DSP Development Tools LilyPad Arduino Main Board
Manufacturer:
Arduino
Part Number:
Description:
ARDUINO NANO Board
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Ethernet Modules & Development Tools ETHERNET SHEILD PoE FOR ARDUINO
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
ATMEGA328 MCU IC W/ Arduino UNO Bootloader
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Memory Cards MICRO SD CARD 1GB WITH SD ADAPTER
Manufacturer:
Arduino