UM10413
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 1 — 16 December 2011
118 of 268
NXP Semiconductors
UM10413
MPT612 User manual
After a repeated Start condition, I
2
C can switch to the master transmitter mode.
16.5.3 Slave receiver mode
In the slave receiver mode, data bytes are received from a master transmitter. To initialize
the slave receiver mode, the user writes to the Slave Address register (I2ADR) and writes
to register I
2
C Control Set (I2CONSET) as shown in
To enable the I
2
C function, set I2EN to logic 1. In order to acknowledge its own slave
address or the general call address, bit AA must be set to logic 1. Bits STA, STO and SI
are set to logic 0.
After I2ADR and I2CONSET are initialized, the I
2
C interface waits until addressed by its
own address or general address followed by the data direction bit. If the direction bit is
logic 0 (W), it enters slave receiver mode. If the direction bit is logic 1 (R), it enters slave
transmitter mode. After the address and direction bit have been received, bit SI is set and
a valid status code can be read from the status register (I2STAT). Refer to
for the status codes and actions.
Fig 28. Format of master receiver mode
Fig 29. A master receiver switches to master transmitter after sending repeated Start
aaa-000591
From Slave to Master
A = Acknowledge (SDA LOW)
A = Not acknowledge (SDA HIGH)
S = START condition
P = STOP condition
S
SLAVE ADDRESS
R
A
DATA
A
A
P
data transferred
(n bytes + Acknowledge)
“0” - Write
“1” - Read
From Master to Slave
DATA
aaa-000592
From Slave to Master
A = Acknowledge (SDA LOW)
A = Not acknowledge (SDA HIGH)
S = START condition
P = STOP condition
SLA = Slave Address
S
R
A
SLA
DATA
A
A
RS
SLA
DATA
DATA
A
P
W
A
data transferred
(n bytes + Acknowledge)
From Master to Slave
Table 120. I2C0CONSET and I2C1CONSET used to configure Slave mode
Bit:
7
6
5
4
3
2
1
0
Symbol:
-
I2EN
STA
STO
SI
AA
-
-
Value:
-
1
0
0
0
1
-
-