ATMEGA325A-MU Atmel, ATMEGA325A-MU Datasheet - Page 203

IC MCU AVR 32K FLASH 64VQFN

ATMEGA325A-MU

Manufacturer Part Number
ATMEGA325A-MU
Description
IC MCU AVR 32K FLASH 64VQFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA325A-MU

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 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
20.3.4
8285B–AVR–03/11
Two-wire Mode
ATmega165A/165PA/325A/325PA/3250A/3250PA/6
The USI Two-wire mode is compliant to the Inter IC (TWI) bus protocol, but without slew rate lim-
iting on outputs and input noise filtering. Pin names used by this mode are SCL and SDA.
Figure 20-4. Two-wire Mode Operation, Simplified Diagram
Figure 20-4 on page 203
one as Slave. It is only the physical layer that is shown since the system operation is highly
dependent of the communication scheme used. The main differences between the Master and
Slave operation at this level, is the serial clock generation which is always done by the Master,
and only the Slave uses the clock control unit. Clock generation must be implemented in soft-
ware, but the shift operation is done automatically by both devices. Note that only clocking on
negative edge for shifting data is of practical use in this mode. The slave can insert wait states at
start or end of transfer by forcing the SCL clock low. This means that the Master must always
check if the SCL line was actually released after it has generated a positive edge.
Since the clock also increments the counter, a counter overflow can be used to indicate that the
transfer is completed. The clock is generated by the master by toggling the USCK pin via the
PORT Register.
The data direction is not given by the physical layer. A protocol, like the one used by the TWI-
bus, must be implemented to control the data flow.
SLAVE
MASTER
Bit7
Bit7
Bit6
Bit6
Bit5
Bit5
shows two USI units operating in Two-wire mode, one as Master and
Bit4
Bit4
Bit3
Bit3
Bit2
Bit2
Bit1
Bit1
Bit0
Bit0
Two-wire Clock
Control Unit
PORTxn
HOLD
SCL
SDA
SCL
SDA
SCL
VCC
203

Related parts for ATMEGA325A-MU