ATMEGA328P-20PU Atmel, ATMEGA328P-20PU Datasheet - Page 230

no-image

ATMEGA328P-20PU

Manufacturer Part Number
ATMEGA328P-20PU
Description
Manufacturer
Atmel
Datasheet

Specifications of ATMEGA328P-20PU

Cpu Family
ATmega
Device Core
AVR
Device Core Size
8b
Frequency (max)
20MHz
Interface Type
SPI/TWI/USART
Program Memory Type
Flash
Program Memory Size
32KB
Total Internal Ram Size
2KB
# I/os (max)
23
Number Of Timers - General Purpose
3
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
2.7V
On-chip Adc
6-chx10-bit
Instruction Set Architecture
RISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Through Hole
Pin Count
28
Package Type
PDIP
Lead Free Status / Rohs Status
Compliant
21.7.3
8025K–AVR–10/09
Slave Receiver Mode
Figure 21-14. Formats and States in the Master Receiver Mode
In the Slave Receiver mode, a number of data bytes are received from a Master Transmitter
(see
are zero or are masked to zero.
Figure 21-15. Data transfer in Slave Receiver mode
SDA
SCL
Figure
Successfull
reception
from a slave
receiver
Next transfer
started with a
repeated start
condition
Not acknowledge
received after the
slave address
Arbitration lost in slave
address or data byte
Arbitration lost and
addressed as slave
21-15). All the status codes mentioned in this section assume that the prescaler bits
From master to slave
From slave to master
$08
S
Device 1
RECEIVER
SLAVE
SLA
TRANSMITTER
R
Device 2
MASTER
MR
A or A
DATA
$40
$48
$38
$68
A
A
A
$78
Other master
Other master
n
continues
continues
P
$B0
Device 3
DATA
A
Any number of data bytes
and their associated acknowledge bits
This number (contained in TWSR) corresponds
to a defined state of the 2-Wire Serial Bus. The
prescaler bits are zero or masked to zero
........
ATmega48P/88P/168P
$50
$38
To corresponding
states in slave mode
A
A
Other master
DATA
continues
Device n
$58
A
V
CC
$10
P
R
S
R1
SLA
R2
W
R
MT
230

Related parts for ATMEGA328P-20PU