
HT80C51 User Manual
Peripheral Modules – I2C Interface (SIO1)
Handshake Solutions
© Philips Electronics N.V. 2005
Page 69 of 132
application software response
to S1CON
status
code
S1STA
status of the I2C bus
and SIO1 hardware
to/from S1DAT
STA STO
SI
AA
next action taken by SIO1 hardware
A8H
Own SLA+R has been
received; ACK has been
returned
Load data byte or
load data byte
X
X
0
0
0
0
0
1
Last data byte will be transmitted;
ACK bit will be received
Data byte will transmitted;
ACK bit will be received
B0H
Arbitration lost in SLA+R/W
as master; Own SLA+R
has has been received;
ACK has been returned
Load data byte or
load data byte
X
X
0
0
0
0
0
1
Last data byte will be transmitted;
ACK bit will be received
Data byte will transmitted;
ACK bit will be received
B8H
Data byte in S1DAT has
been transmitted; ACK has
been returned
Load data byte or
load data byte
X
X
0
0
0
0
0
1
Last data byte will be transmitted;
ACK bit will be received
Data byte will transmitted;
ACK bit will be received
C0H
Data byte in S1DAT has
been transmitted; NOT
ACK has been returned
No S1DAT action or
no S1DAT action or
no S1DAT action or
no S1DAT action
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
1
Switched to not addressed SLV mode; no recog-
nition of own SLA or General call address
Switched to not addressed SLV mode; Own SLA
will be recognized; General call address will be
recognized if S1ADR.0 = logic 1
Switched to not addressed SLV mode; no recog-
nition of own SLA or General call address. A
START condition will be transmitted when the bus
becomes free
Switched to not addressed SLV mode; Own SLA
will be recognized; General call address will be
recognized if S1ADR.0 = logic 1. A START
condition will be transmitted when the bus be-
comes free.
C8H
Last data byte in S1DAT
has been transmitted
(AA = 0); ACK has been
returned
No S1DAT action or
no S1DAT action or
no S1DAT action or
no S1DAT action
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
1
Switched to not addressed SLV mode; no recog-
nition of own SLA or General call address
Switched to not addressed SLV mode; Own SLA
will be recognized; General call address will be
recognized if S1ADR.0 = logic 1
Switched to not addressed SLV mode; no recog-
nition of own SLA or General call address. A
START condition will be transmitted when the bus
becomes free
Switched to not addressed SLV mode; Own SLA
will be recognized; General call address will be
recognized if S1ADR.0 = logic 1. A START
condition will be transmitted when the bus be-
comes free.
[Table 13] Slave Transmitter mode