Datasheet

UM10398 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
User manual Rev. 12.3 — 10 June 2014 259 of 547
NXP Semiconductors
UM10398
Chapter 15: LPC111x/LPC11Cxx I2C-bus controller
Table 236. 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 DAT To CON
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 DAT action or 1 0 0 X Repeated START will be transmitted.
No DAT action or 0 1 0 X STOP condition will be transmitted; STO
flag will be reset.
No DAT 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 DAT action or 1 0 0 X Repeated START will be transmitted.
No DAT action or 0 1 0 X STOP condition will be transmitted; STO
flag will be reset.
No DAT action 1 1 0 X STOP condition followed by a START
condition will be transmitted; STO flag will
be reset.
0x28 Data byte in DAT 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 DAT action or 1 0 0 X Repeated START will be transmitted.
No DAT action or 0 1 0 X STOP condition will be transmitted; STO
flag will be reset.
No DAT action 1 1 0 X STOP condition followed by a START
condition will be transmitted; STO flag will
be reset.
0x30 Data byte in DAT 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 DAT action or 1 0 0 X Repeated START will be transmitted.
No DAT action or 0 1 0 X STOP condition will be transmitted; STO
flag will be reset.
No DAT 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 DAT action or 0 0 0 X I
2
C-bus will be released; not addressed
slave will be entered.
No DAT action 1 0 0 X A START condition will be transmitted
when the bus becomes free.