Nxp Semiconductors UM10237 User Manual

Page of 792
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008 
595 of 792
NXP Semiconductors
UM10237
Chapter 22: LPC24XX I
2
C interfaces I
2
C0/1/2
 
Table 526. 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.