Philips Semiconductors
Preliminary specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I
2
C, PWM,
capture/compare, high I/O, low voltage (2.7V鈥?.5V), low power
P87C552
Table 6.
STATUS
CODE
(S1STA)
08H
10H
Master Transmitter Mode
STATUS OF THE
I
2
C BUS AND
SIO1 HARDWARE
A START condition has
been transmitted
A repeated START
condition h b
diti has been
transmitted
SLA+W has been
transmitted; ACK has
been received
b
i d
APPLICATION SOFTWARE RESPONSE
TO/FROM S1DAT
STA
Load SLA+W
Load SLA+W or
Load SLA+R
Load data byte or
no S1DAT action or
no S1DAT action or
no S1DAT action
X
X
X
0
1
0
1
TO S1CON
STO
0
0
0
0
0
1
1
SI
0
0
0
0
0
0
0
AA
X
X
X
X
X
X
X
SLA+W will be transmitted;
ACK bit will be received
As above
SLA+W will be transmitted;
SIO1 will be switched to MST/REC mode
Data byte will be transmitted;
ACK bit will be received
Repeated START will be transmitted;
STOP condition will be transmitted;
STO flag will be reset
STOP condition followed by a
START condition will be transmitted;
STO flag will be reset
Data byte will be transmitted;
ACK bit will be received
Repeated START will be transmitted;
STOP condition will be transmitted;
STO flag will be reset
STOP condition followed by a
START condition will be transmitted;
STO flag will be reset
Data byte will be transmitted;
ACK bit will be received
Repeated START will be transmitted;
STOP condition will be transmitted;
STO flag will be reset
STOP condition followed by a
START condition will be transmitted;
STO flag will be reset
Data byte will be transmitted;
ACK bit will be received
Repeated START will be transmitted;
STOP condition will be transmitted;
STO flag will be reset
STOP condition followed by a
START condition will be transmitted;
STO flag will be reset
I
2
C bus will be released;
not addressed slave will be entered
A START condition will be transmitted when the
bus becomes free
NEXT ACTION TAKEN BY SIO1 HARDWARE
18H
20H
SLA+W has been
transmitted; NOT ACK
h b
i d
has been received
Load data byte or
no S1DAT action or
no S1DAT action or
no S1DAT action
0
1
0
1
0
0
1
1
0
0
0
0
X
X
X
X
28H
Data byte in S1DAT has
been transmitted; ACK
h b
i d
has been received
Load data byte or
no S1DAT action or
no S1DAT action or
no S1DAT action
0
1
0
1
0
0
1
1
0
0
0
0
X
X
X
X
30H
Data byte in S1DAT has
been transmitted; NOT
ACK h b
i d
has been received
Load data byte or
no S1DAT action or
no S1DAT action or
no S1DAT action
0
1
0
1
0
0
1
1
0
0
0
0
X
X
X
X
38H
Arbitration lost in
SLA+R/W or
D
Data b
bytes
No S1DAT action or
No S1DAT action
0
1
0
0
0
0
X
X
1999 Mar 30
43