
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
147 of 268
NXP Semiconductors
UM10413
MPT612 User manual
1. Write 0x24 to I2CONSET to set the STA and AA bits.
2. Write 0x08 to I2CONCLR to clear the SI flag.
3. Exit.
16.9.7 Master receive states
16.9.7.1
State: 0x40
Previous state was state 08 or state 10. Slave a read is transmitted, ACK is
received. Data is received and ACK returned.
1. Write 0x04 to I2CONSET to set bit AA.
2. Write 0x08 to I2CONCLR to clear the SI flag.
3. Exit.
16.9.7.2
State: 0x48
Slave a read is transmitted, NOT ACK is received. A Stop condition is
transmitted.
1. Write 0x14 to I2CONSET to set the STO and AA bits.
2. Write 0x08 to I2CONCLR to clear the SI flag.
3. Exit.
16.9.7.3
State: 0x50
Data is received, ACK is returned. Data is read from I2DAT. Additional data is received. If
this is the last data byte, then NOT ACK is returned, otherwise ACK is returned.
1. Read data byte from I2DAT into master receive buffer.
2. Decrement the master data counter, skip to step 5 if not the last data byte.
3. Write 0x0C to I2CONCLR to clear the SI flag and bit AA.
4. Exit.
5. Write 0x04 to I2CONSET to set bit AA.
6. Write 0x08 to I2CONCLR to clear the SI flag.
7. Increment master receive buffer pointer.
8. Exit.
16.9.7.4
State: 0x58
Data is received, NOT ACK is returned. Data is read from I2DAT. A Stop condition is
transmitted.
1. Read data byte from I2DAT into master receive buffer.
2. Write 0x14 to I2CONSET to set the STO and AA bits.
3. Write 0x08 to I2CONCLR to clear the SI flag.
4. Exit.