ATMEGA165P-16MUR Atmel, ATMEGA165P-16MUR Datasheet - Page 179

IC MCU AVR 16K 16MHZ 64MLF

ATMEGA165P-16MUR

Manufacturer Part Number
ATMEGA165P-16MUR
Description
IC MCU AVR 16K 16MHZ 64MLF
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA165P-16MUR

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-VFQFN, Exposed Pad
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
18.10 Examples of Baud Rate Setting
Table 18-4.
1.
8019K–AVR–11/10
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
U2Xn = 0
Examples of UBRR Settings for Commonly Used Oscillator Frequencies
f
Error
-18.6%
osc
-7.0%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
= 1.0000 MHz
5. When the last data frame is received by the addressed MCU, the addressed MCU sets
Using any of the 5-bit to 8-bit character frame formats is possible, but impractical since the
Receiver must change between using n and n+1 character frame formats. This makes full-
duplex operation difficult since the Transmitter and Receiver uses the same character size set-
ting. If 5-bit to 8-bit character frames are used, the Transmitter must be set to use two stop bit
(USBSn = 1) since the first stop bit is used for indicating the frame type.
Do not use Read-Modify-Write instructions (SBI and CBI) to set or clear the MPCMn bit. The
MPCMn bit shares the same I/O location as the TXCn Flag and this might accidentally be
cleared when using SBI or CBI instructions.
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
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
Range” on page
UBRR
the MPCMn bit and waits for a new address frame from master. The process then
repeats from 2.
51
25
12
8
6
3
2
1
1
0
U2Xn = 1
125 Kbps
Error
-18.6%
-3.5%
-7.0%
0.2%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
176). The error values are calculated using the following equation:
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
=
BaudRate
------------------------------------------------------- - 1
UBRR
95
47
23
15
11
BaudRate
7
5
3
2
1
0
230.4 Kbps
U2Xn = 1
Closest Match
Error
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
UBRR
51
25
12
8
6
3
2
1
1
0
U2Xn = 0
125 Kbps
100%
“Asynchronous Operational
f
Error
-18.6%
osc
-3.5%
-7.0%
Table
0.2%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
ATmega165P
= 2.0000 MHz
18-4. UBRR values
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%
179

Related parts for ATMEGA165P-16MUR