Table 22. Status for Slave Receiver Mode with Own Slave Address
Application Software Response
Status
Code Status of the TWI Bus
To SSCON
SSSTA and TWI Hardware
To/From SSDAT
SSSTA
SSSTO
SSI
SSAA Next Action Taken by TWI Hardware
No SSDAT action
X
0
0
0
1
Data Byte will be received and NOT ACK will be
returned.
Own SLA+W has been
received; ACK has
been returned
60h
68h
No SSDAT action
X
0
0
Data Byte will be received and ACK will be returned.
Arbitration lost in
No SSDAT action
No SSDAT action
X
X
0
0
0
0
0
1
Data Byte will be received and NOT ACK will be
returned.
SLA+R/W as master;
own SLA+W has been
received; ACK has
been returned
Data Byte will be received and ACK will be returned.
Previously addressed
with own SLA+W; data
has been received;
ACK has been
Read data Byte
Read data Byte
X
X
0
0
0
0
0
1
Data Byte will be received and NOT ACK will be
returned.
80h
Data Byte will be received and ACK will be returned.
returned
Switched to the not addressed slave mode; no
recognition of own SLA or GCA.
Read data Byte
Read data Byte
0
0
0
0
0
0
0
1
Switched to the not addressed slave mode; own
SLA will be recognized; GCA will be recognized if
SSGC = logic 1.
Previously addressed
with own SLA+W; data
has been received;
NOT ACK has been
returned
Switched to the not addressed slave mode; no
recognition of own SLA or GCA. A START condition
will be transmitted when the bus becomes free.
88h
Read data Byte
Read data Byte
1
1
0
0
0
0
0
1
Switched to the not addressed slave mode; own
SLA will be recognized; GCA will be recognized if
SSGC = logic 1. A START condition will be
transmitted when the bus becomes free.
Switched to the not addressed slave mode; no
recognition of own SLA or GCA.
No SSDAT action
No SSDAT action
0
0
0
0
0
0
0
1
Switched to the not addressed slave mode; own
SLA will be recognized; GCA will be recognized if
SSGC = logic 1.
A STOP condition or
repeated START
Switched to the not addressed slave mode; no
recognition of own SLA or GCA. A START condition
will be transmitted when the bus becomes free.
A0h
condition has been
received while still
addressed as slave
No SSDAT action
No SSDAT action
1
1
0
0
0
0
0
1
Switched to the not addressed slave mode; own
SLA will be recognized; GCA will be recognized if
SSGC = logic 1. A START condition will be
transmitted when the bus becomes free.
142
AT89C5132
4173E–USB–09/07