Master Receiver Mode - Philips P89LPC920 User Manual

80c51 8-bit microcontroller with two-clock core
Table of Contents

Advertisement

Philips Semiconductors
2
I
C INTERFACE
Table 2: Master Transmitter Mode(Continued)
Status
code
Status of the
2
(I2STAT)
I
C-bus hardware
Data byte in I2DAT
has been
transmitted,NOT
30h
ACK hasbeen
received
Arbitration lost in
38H
SLA+R/W or data
bytes
Table 3: Master Receiver Mode
Status
code
Status of the
2
(I2STAT)
I
C-bus hardware
A START condition
08H
has been
transmitted
A repeat
STARTcondition
10H
has been
transmitted
Arbitration lost in
38H
NOT ACK bit
SLA+R has been
40h
transmitted;ACK
has been received
2003 Dec 8
Application software response
to/from I2DAT
STA
Load data byte or
0
no I2DAT action or
1
no I2DAT action or
0
no I2DAT action
1
No I2DAT action
0
or
No I2DAT action
1
Application software response
to/from I2DAT
STA
Load SLA+R
x
X
Load SLA+R or
Load SLA+W
x
0
no I2DAT action or
no I2DAT action
1
no I2DAT action or
0
no I2DAT action or
0
to I2CON
STO
SI
AA
Data byte will be transmitted;
0
0
x
ACK bit will be received
0
0
x
Repeated START will be transmitted;
STOP condition will be transmitted; STO flag
1
0
x
will be reset
STOP condition followed by a START
1
0
x
condition will be transmitted. STO flag will be
reset.
2
I
C-bus will be released; not addressed
0
0
x
slave will be entered
A START condition will be transmitted when
0
0
x
the bus becomes free.
to I2CON
STO
SI
AA
0
0
x
0
0
x
0
0
x
0
0
x
0
0
x
0
0
0
0
0
1
73
User's Manual - Preliminary -
P89LPC920/921/922
2
Next action taken by I
C
hardware
Next action taken by I
hardware
SLA+R will be transmitted;
ACK bit will be received
As above
SLA+W will be transmitted;
2
I
C will be switches to Master
Transmitter Mode
2
I
C will be released; it will enter a
slave mode
A START condition will be
transmitted when the bus becomes
free
Data byte will be received;
NOT ACK bit will be returned
Data byte will be received; ACK bit
will be returned
2
C

Advertisement

Table of Contents
loading

This manual is also suitable for:

P89lpc921P89lpc922

Table of Contents