ATmega88PA Automotive Atmel Corporation, ATmega88PA Automotive Datasheet - Page 227

no-image

ATmega88PA Automotive

Manufacturer Part Number
ATmega88PA Automotive
Description
Manufacturer
Atmel Corporation
Table 22-3.
9223B–AVR–09/11
Prescaler Bits
Status Code
(TWSR)
are 0
0x08
0x10
0x18
0x20
0x28
0x30
0x38
A repeated START condition
Arbitration lost in SLA+W or
Status of the 2-wire Serial
Status codes for Master Transmitter Mode
ACK has been received
ACK has been received
A START condition has
Bus and 2-wire Serial
has been transmitted
Interface Hardware
NOT ACK has been
NOT ACK has been
Data byte has been
Data byte has been
SLA+W has been
SLA+W has been
been transmitted
transmitted;
transmitted;
transmitted;
transmitted;
data bytes
received
received
After a repeated START condition (state 0x10) the 2-wire Serial Interface can access the
same Slave again, or a new Slave without transmitting a STOP condition. Repeated START
enables the Master to switch between Slaves, Master Transmitter mode and Master Receiver
mode without losing control of the bus.
Atmel ATmega48PA/88PA/168PA [Preliminary]
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
Load data byte or
Load data byte or
Load data byte or
Load data byte or
No TWDR action
No TWDR action
No TWDR action
No TWDR action
No TWDR action
Load SLA+W or
To/from TWDR
Load SLA+W
Load SLA+R
Application Software Response
STA
0
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
STO
0
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
To TWCR
TWINT TWEA
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Next Action Taken by TWI Hardware
SLA+W will be transmitted;
ACK or NOT ACK will be received
SLA+W will be transmitted;
ACK or NOT ACK will be received
SLA+R will be transmitted;
Logic will switch to Master Receiver mode
Data byte will be transmitted and ACK or NOT
ACK will be received
Repeated START will be transmitted
STOP condition will be transmitted and
TWSTO Flag will be reset
STOP condition followed by a START condition
will be transmitted and TWSTO Flag will be reset
Data byte will be transmitted and ACK or NOT
ACK will be received
Repeated START will be transmitted
STOP condition will be transmitted and
TWSTO Flag will be reset
STOP condition followed by a START condition
will be transmitted and TWSTO Flag will be reset
Data byte will be transmitted and ACK or NOT
ACK will be received
Repeated START will be transmitted
STOP condition will be transmitted and
TWSTO Flag will be reset
STOP condition followed by a START condition
will be transmitted and TWSTO Flag will be reset
Data byte will be transmitted and ACK or NOT
ACK will be received
Repeated START will be transmitted
STOP condition will be transmitted and
TWSTO Flag will be reset
STOP condition followed by a START condition
will be transmitted and TWSTO Flag will be reset
2-wire Serial Bus will be released and not
addressed Slave mode entered
A START condition will be transmitted when the
bus becomes free
227

Related parts for ATmega88PA Automotive