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
406 of 571
NXP Semiconductors
UM10316
Chapter 23: LPC2xx I2C-interface
Table 339. 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+W 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.