ATMEGA161L-4PC Atmel, ATMEGA161L-4PC Datasheet - Page 76

IC AVR MCU 16K LV 4MHZ COM 40DIP

ATMEGA161L-4PC

Manufacturer Part Number
ATMEGA161L-4PC
Description
IC AVR MCU 16K LV 4MHZ COM 40DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA161L-4PC

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
35
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
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Baud Rate Generator
76
ATmega161(L)
• Bit 2
When this bit is set (one), transmitted and received characters are nine bits long, plus
start and stop bits. The ninth bit is read and written by using the RXB8n and TXB8 bits in
UCSRnB, respectively. The ninth data bit can be used as an extra stop bit or a parity bit.
• Bit 1
When CHR9n is set (one), RXB8n is the ninth data bit of the received character.
• Bit 0
When CHR9n is set (one), TXB8n is the ninth data bit in the character to be transmitted.
The baud rate generator is a frequency divider that generates baud rates according to
the following equation:
For standard crystal frequencies, the most commonly used baud rates can be generated
by using the UBR settings in Table 24. UBR values that yield an actual baud rate differ-
ing less than 2% from the target baud rate are boldface in the table. However, using
baud rates that have more than 1% error is not recommended. High error ratings give
less noise resistance.
BAUD = Baud rate
f
UBR = Contents of the UBRRH and UBRR Registers (0 - 4095)
Note that this equation is not valid when the UART transmission speed is doubled.
See “Double-speed Transmission” for a detailed description.
CK
= Crystal clock frequency
CHR90/CHR91: 9-bit Characters
RXB80/RXB81: Receive Data Bit 8
TXB80/TXB81: Transmit Data Bit 8
BAUD
=
--------------------------------- -
16(UBR
f
CK
+
1 )
1228D–AVR–02/07

Related parts for ATMEGA161L-4PC