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
130 of 268
NXP Semiconductors
UM10413
MPT612 User manual
The upper 7 bits are the address to which the I
2
C block responds when addressed by a
master. If the LSB (GC) is set, the I
2
C block responds to the general call address (0x00);
otherwise it ignores the general call address.
The I
2
C-bus rate settings do not affect the I
2
C block in the slave mode. To enable the I
2
C
block, 2EN must be set to logic 1. To enable the I
2
C block to acknowledge its own slave
address or the general call address, bit AA must be set. STA, STO, and SI must be reset.
When I2ADR and I2CON are initialized, the I
2
C block waits until addressed by its own
slave address followed by the data direction bit which must be logic 0 (W) for the I
2
C block
to operate in the slave receiver mode. After its own slave address and bit W are received,
the serial interrupt flag (SI) is set and a valid status code can be read from I2STAT. This
status code is used to vector to a state service routine. The appropriate action to be taken
for each of these status codes is detailed in
. The slave receiver
mode can also be entered if arbitration is lost while the I
2
C block is in the master mode
(see status 0x68 and 0x78).
If bit AA is reset during a transfer, the I
2
C block returns a not acknowledge (logic 1) to
SDA after the next received data byte. While AA is reset, the I
2
C block does not respond
to its own slave address or a general call address. However, the I
2
C-bus is still monitored
and address recognition can be resumed at any time by setting AA. This means that bit
AA can be used to isolate the I
2
C block from the I
2
C-bus temporarily.
Table 132. I2C0ADR and I2C1ADR usage in slave receiver mode
Bit:
7
6
5
4
3
2
1
0
Symbol:
own slave 7-bit address
GC
Table 133. I2C0CONSET and I2C1CONSET used to initialize slave receiver mode
Bit:
7
6
5
4
3
2
1
0
Symbol:
-
I2EN
STA
STO
SI
AA
-
-
Value:
-
1
0
0
0
1
-
-