Slave Transmitter States; State: 0Xa8; State: 0Xb0; State: 0Xb8 - Philips LPC2101 User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1

11.9.9 Slave Transmitter states

11.9.9.1 State: 0xA8

Own Slave Address + Read has been received, ACK has been returned. Data will be
transmitted, ACK bit will be received.

11.9.9.2 State: 0xB0

Arbitration lost in Slave Address and R/W bit as bus Master. Own Slave Address + Read
has been received, ACK has been returned. Data will be transmitted, ACK bit will be
received. STA is set to restart Master mode after the bus is free again.

11.9.9.3 State: 0xB8

Data has been transmitted, ACK has been received. Data will be transmitted, ACK bit will
be received.

11.9.9.4 State: 0xC0

Data has been transmitted, NOT ACK has been received. Not addressed Slave mode is
entered.

11.9.9.5 State: 0xC8

The last data byte has been transmitted, ACK has been received. Not addressed Slave
mode is entered.

User manual

1. Load I2DAT from Slave Transmit buffer with first data byte.
2. Write 0x04 to I2CONSET to set the AA bit.
3. Write 0x08 to I2CONCLR to clear the SI flag.
4. Set up Slave Transmit mode data buffer.
5. Increment Slave Transmit buffer pointer.
6. Exit
1. Load I2DAT from Slave Transmit buffer with first data byte.
2. Write 0x24 to I2CONSET to set the STA and AA bits.
3. Write 0x08 to I2CONCLR to clear the SI flag.
4. Set up Slave Transmit mode data buffer.
5. Increment Slave Transmit buffer pointer.
6. Exit
1. Load I2DAT from Slave Transmit buffer with data byte.
2. Write 0x04 to I2CONSET to set the AA bit.
3. Write 0x08 to I2CONCLR to clear the SI flag.
4. Increment Slave Transmit buffer pointer.
5. Exit
1. Write 0x04 to I2CONSET to set the AA bit.
2. Write 0x08 to I2CONCLR to clear the SI flag.
3. Exit.
Rev. 01 — 12 January 2006
UM10161
2
Chapter 11: I
C interfaces
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
155

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2103Lpc2102

Table of Contents