© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 03 — 7 June 2005
86 of 139
Philips Semiconductors
UM10119
P89LPC938 User manual
30h
Data byte in I2DAT
has been
transmitted, NOT
ACK has been
received
Load data byte or
0
0
0
x
Data byte will be transmitted;
ACK bit will be received
no I2DAT action or 1
0
0
x
Repeated START will be
transmitted;
no I2DAT action or 0
1
0
x
STOP condition will be
transmitted; STO flag will be
reset
no I2DAT action
1
1
0
x
STOP condition followed by a
START condition will be
transmitted. STO flag will be
reset.
38H
Arbitration lost in
SLA+R/W or data
bytes
No I2DAT action
or
0
0
0
x
I
2
C-bus will be released; not
addressed slave will be entered
No I2DAT action
1
0
0
x
A START condition will be
transmitted when the bus
becomes free.
Table 83:
Master Transmitter mode
…continued
Status code
(I2STAT)
Status of the I
2
C
hardware
Application software response
Next action taken by I
2
C
hardware
to/from I2DAT
to I2CON
STA
STO
SI
AA
Table 84:
Master Receiver mode
Status code
(I2STAT)
Status of the I
2
C
hardware
Application software response
Next action taken by I
2
C hardware
to/from I2DAT
to I2CON
STA
STO SI
STA
08H
A START
condition has
been transmitted
Load SLA+R
x
0
0
x
SLA+R will be transmitted; ACK bit
will be received
10H
A repeat START
condition has
been transmitted
Load SLA+R or
x
0
0
x
As above
Load SLA+W
SLA+W will be transmitted; I
2
C-bus
will be switched to Master Transmitter
Mode
38H
Arbitration lost in
NOT ACK bit
no I2DAT action or 0
0
0
x
I
2
C-bus will be released; it will enter a
slave mode
no I2DAT action
1
0
0
x
A START condition will be
transmitted when the bus becomes
free
40h
SLA+R has been
transmitted; ACK
has been received
no I2DAT action or 0
0
0
0
Data byte will be received; NOT ACK
bit will be returned
no I2DAT action or 0
0
0
1
Data byte will be received; ACK bit
will be returned
48h
SLA+R has been
transmitted; NOT
ACK has been
received
No I2DAT action
or
1
0
0
x
Repeated START will be transmitted
no I2DAT action or 0
1
0
x
STOP condition will be transmitted;
STO flag will be reset
no I2DAT action or 1
1
0
x
STOP condition followed by a START
condition will be transmitted; STO
flag will be reset