ATMEGA169L-8MI Atmel, ATMEGA169L-8MI Datasheet - Page 184

no-image

ATMEGA169L-8MI

Manufacturer Part Number
ATMEGA169L-8MI
Description
IC MCU AVR 16K LV 8MHZ IND 64QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA169L-8MI

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
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-MLF®, 64-QFN
For Use With
ATAVRISP2 - PROGRAMMER AVR IN SYSTEMATAVRBFLY - KIT EVALUATION AVR BUTTERFLYATSTK502 - MOD EXPANSION AVR STARTER 500
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
ATMEGA169L-4MI
ATMEGA169L-4MI
Start Condition Detector
Alternative USI Usage
Half-duplex Asynchronous
Data Transfer
4-bit Counter
12-bit Timer/Counter
Edge Triggered External
Interrupt
Software Interrupt
USI Register
Descriptions
USI Data Register – USIDR
184
ATmega169V/L
The start condition detector is shown in Figure 80. The SDA line is delayed (in the range
of 50 to 300 ns) to ensure valid sampling of the SCL line. The start condition detector is
only enabled in Two-wire mode.
The start condition detector is working asynchronously and can therefore wake up the
processor from the Power-down sleep mode. However, the protocol used might have
restrictions on the SCL hold time. Therefore, when using this feature in this case the
Oscillator start-up time set by the CKSEL Fuses (see “Clock Systems and their Distribu-
tion” on page 23) must also be taken into the consideration. Refer to the USISIF bit
description on page 185 for further details.
When the USI unit is not used for serial communication, it can be set up to do alternative
tasks due to its flexible design.
By utilizing the Shift Register in Three-wire mode, it is possible to implement a more
compact and higher performance UART than by software only.
The 4-bit counter can be used as a stand-alone counter with overflow interrupt. Note
that if the counter is clocked externally, both clock edges will generate an increment.
Combining the USI 4-bit counter and Timer/Counter0 allows them to be used as a 12-bit
counter.
By setting the counter to maximum value (F) it can function as an additional external
interrupt. The Overflow Flag and Interrupt Enable bit are then used for the external inter-
rupt. This feature is selected by the USICS1 bit.
The counter overflow interrupt can be used as a software interrupt triggered by a clock
strobe.
The USI uses no buffering of the Serial Register, i.e., when accessing the Data Register
(USIDR) the Serial Register is accessed directly. If a serial clock occurs at the same
cycle the register is written, the register will contain the value written and no shift is per-
formed. A (left) shift operation is performed depending of the USICS1..0 bits setting. The
shift operation can be controlled by an external clock edge, by a Timer/Counter0 Com-
pare Match, or directly by software using the USICLK strobe bit. Note that even when no
wire mode is selected (USIWM1..0 = 0) both the external data input (DI/SDA) and the
external clock input (USCK/SCL) can still be used by the Shift Register.
The output pin in use, DO or SDA depending on the wire mode, is connected via the out-
put latch to the most significant bit (bit 7) of the Data Register. The output latch is open
(transparent) during the first half of a serial clock cycle when an external clock source is
selected (USICS1 = 1), and constantly open when an internal clock source is used
(USICS1 = 0). The output will be changed immediately when a new MSB written as long
as the latch is open. The latch ensures that data input is sampled and data output is
changed on opposite clock edges.
Bit
Read/Write
Initial Value
MSB
R/W
7
0
R/W
6
0
R/W
5
0
R/W
4
0
R/W
3
0
R/W
2
0
R/W
1
0
LSB
R/W
2514H–AVR–05/03
0
0
USIDR

Related parts for ATMEGA169L-8MI