ATMEGA169 ATMEL [ATMEL Corporation], ATMEGA169 Datasheet - Page 185

no-image

ATMEGA169

Manufacturer Part Number
ATMEGA169
Description
8-bit Microcontroller with 16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA169-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169-16AI SL709
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169-16AI SL710
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169A-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169P-15AT
Manufacturer:
PANASONIC
Quantity:
301
Part Number:
ATMEGA169P-15AT
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATMEGA169P-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATMEGA169PA-MU
Manufacturer:
ATMEL
Quantity:
31
Part Number:
ATMEGA169PAAU
Manufacturer:
INF
Quantity:
4 275
Start Condition Detector
Clock speed considerations.
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
2514P–AVR–07/06
The start condition detector is shown in Figure 81. 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 186 for further details.
Maximum frequency for SCL and SCK is f
and receieve rate in both two- and three-wire mode. In two-wire slave mode the Two-
wire Clock Control Unit will hold the SCL low until the slave is ready to receive more
data. This may reduce the actual data rate in two-wire mode.
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.
Bit
Read/Write
Initial Value
MSB
R/W
7
0
R/W
6
0
R/W
5
0
R/W
CK
4
0
/4. This is also the maximum data transmit
R/W
3
0
R/W
2
0
ATmega169/V
R/W
1
0
LSB
R/W
0
0
USIDR
185

Related parts for ATMEGA169