
UM10375
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 3 — 14 June 2011
227 of 368
NXP Semiconductors
UM10375
Chapter 13: LPC13xx I2C-bus controller
Table 233. Master Transmitter 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+W;
clear STA
X
0
0
X
SLA+W will be transmitted; ACK bit will
be received.
0x10
A Repeated START
condition has been
transmitted.
Load SLA+W or
X
0
0
X
As above.
Load SLA+R;
Clear STA
X
0
0
X
SLA+R will be transmitted; the I
2
C block
will be switched to MST/REC mode.
0x18
SLA+W has been
transmitted; 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.
0x20
SLA+W 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.
0x28
Data byte in I2DAT
has been transmitted;
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.
0x30
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.
0x38
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.