ATMEGA64-16MC Atmel, ATMEGA64-16MC Datasheet - Page 193

no-image

ATMEGA64-16MC

Manufacturer Part Number
ATMEGA64-16MC
Description
IC AVR MCU 64K 16MHZ COM 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA64-16MC

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
64-MLF®, 64-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
UBRRnL and UBRRnH
– USART Baud Rate
Registers
Examples of Baud
Rate Setting
2490Q–AVR–06/10
(1)
Note:
• 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 – UBRRn11:0: USART Baud Rate Register
This is a 12-bit register which contains the USART baud rate. The UBRRnH contains the four
most significant bits, and the UBRRnL 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 UBRRnL 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 UBRRn settings in
UBRRn 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
chronous Operational Range” on page
equation:
Bit
Read/Write
Initial Value
1. UBRRH is not available in mega103 compatibility mode
R/W
15
R
7
0
0
R/W
14
R
6
0
0
Error[%]
R/W
13
R
5
0
0
=
BaudRate
------------------------------------------------------- - 1
186). The error values are calculated using the following
R/W
12
R
4
0
0
UBRRn[7:0]
BaudRate
Closest Match
R/W
R/W
11
3
0
0
R/W
R/W
10
UBRRn[11:8]
2
0
0
100%
R/W
R/W
9
1
0
0
ATmega64(L)
R/W
R/W
Table 82
8
0
0
0
UBRRnH
UBRRnL
to
Table
“Asyn-
193
85.

Related parts for ATMEGA64-16MC