Philips LPC213 Series User Manual page 142

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
11.9.14 State : 0x30
Data has been transmitted, NOT ACK received. A Stop condition will be transmitted.
11.9.15 State : 0x38
Arbitration has been lost during Slave Address + Write or data. The bus has been
released and not addressed Slave mode is entered. A new Start condition will be
transmitted when the bus is free again.
11.9.16 Master Receive States
11.9.17 State : 0x40
Previous state was State 08 or State 10. Slave Address + Read has been transmitted,
ACK has been received. Data will be
received and ACK returned.
11.9.18 State : 0x48
Slave Address + Read has been transmitted, NOT ACK has been received. A Stop
condition will be transmitted.
User manual
3. Write 0x08 to I2CONCLR to clear the SI flag.
4. Exit
5. Load I2DAT with next data byte from Master Transmit buffer.
6. Write 0x04 to I2CONSET to set the AA bit.
7. Write 0x08 to I2CONCLR to clear the SI flag.
8. Increment Master Transmit buffer pointer
9. Exit
1. Write 0x14 to I2CONSET to set the STO and AA bits.
2. Write 0x08 to I2CONCLR to clear the SI flag.
3. Exit
1. Write 0x24 to I2CONSET to set the STA and AA bits.
2. Write 0x08 to I2CONCLR to clear the SI flag.
3. Exit
1. Write 0x04 to I2CONSET to set the AA bit.
2. Write 0x08 to I2CONCLR to clear the SI flag.
3. Exit
1. Write 0x14 to I2CONSET to set the STO and AA bits.
2. Write 0x08 to I2CONCLR to clear the SI flag.
3. Exit
Rev. 01 — 24 June 2005
UM10120
2
Chapter 11: I
C interfaces
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
142

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2131Lpc2132Lpc2134Lpc2136Lpc2138

Table of Contents