DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
407 of 571
NXP Semiconductors
UM10316
Chapter 23: LPC2xx I2C-interface
Table 340. Master Receiver mode
Status
Code
(I2CSTAT)
Status of the I
2
C bus
and hardware
Application software response
Next action taken by I
2
C hardware
To/From I2DAT
To I2CON
STA STO SI
AA
0x08
A START condition
has been transmitted.
Load SLA+R
X
0
0
X
SLA+R will be transmitted; ACK bit will be
received.
0x10
A repeated START
condition has been
transmitted.
Load SLA+R or
X
0
0
X
As above.
Load SLA+W
X
0
0
X
SLA+W will be transmitted; the I
2
C block
will be switched to MST/TRX mode.
0x38
Arbitration lost in NOT
ACK bit.
No I2DAT action
or
0
0
0
X
I
2
C bus will be released; the I
2
C block will
enter a slave mode.
No I2DAT action
1
0
0
X
A START condition will be transmitted
when the bus becomes free.
0x40
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
0
0
0
1
Data byte will be received; ACK bit will be
returned.
0x48
SLA+R has been
transmitted; NOT ACK
has been received.
No I2DAT action
or
1
0
0
X
Repeated START condition 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.
0x50
Data byte has been
received; ACK has
been returned.
Read data byte or
0
0
0
0
Data byte will be received; NOT ACK bit
will be returned.
Read data byte
0
0
0
1
Data byte will be received; ACK bit will be
returned.
0x58
Data byte has been
received; NOT ACK
has been returned.
Read data byte or
1
0
0
X
Repeated START condition will be
transmitted.
Read data byte or
0
1
0
X
STOP condition will be transmitted; STO
flag will be reset.
Read data byte
1
1
0
X
STOP condition followed by a START
condition will be transmitted; STO flag will
be reset.