Philips LPC213 Series User Manual page 129

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Reception of the own Slave
Address and one or more
Data bytes all are
Acknowledged
Arbitration lost as Master
and addressed as Slave
Last data byte transmitted.
Switched to Not Addressed
Slave (AA bit in I2CON =
"0")
DATA
n
Fig 32. Format and States in the Slave Transmitter mode
11.8.4 Slave Transmitter mode
In the slave transmitter mode, a number of data bytes are transmitted to a master receiver
(see
and I2CON have been initialized, the I
address followed by the data direction bit which must be "1" (R) for the I
in the slave transmitter mode. After its own slave address and the R bit have been
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, and the appropriate
action to be taken for each of these status codes is detailed in
transmitter mode may also be entered if arbitration is lost while the I
master mode (see state 0xB0).
If the AA bit is reset during a transfer, the I
and enter state 0xC0 or 0xC8. The I
and will ignore the master receiver if it continues the transfer. Thus the master receiver
receives all 1s as serial data. While AA is reset, the I
slave address or a general call address. However, the I
address recognition may be resumed at any time by setting AA. This means that the AA
bit may be used to temporarily isolate the I
User manual
S
SLA
R
A8H
B0H
From Master to Slave
From Slave to Master
A
Any number of data bytes and their associated Acknowledge bits
This number (contained in I2STA) corresponds to a defined state of the I
Figure
32). Data transfer is initialized as in the slave receiver mode. When I2ADR
Rev. 01 — 24 June 2005
A
DATA
A
DATA
B8H
A
2
C bus
2
C block waits until it is addressed by its own slave
2
C block will transmit the last byte of the transfer
2
C block is switched to the not addressed slave mode
2
2
C block from the I
UM10120
2
Chapter 11: I
C interfaces
A
P OR S
C0H
A
ALL ONES
P OR S
C8H
2
C block to operate
Table
123. The slave
2
C block is in the
C block does not respond to its own
2
C-bus is still monitored, and
2
C-bus.
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
129

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2131Lpc2132Lpc2134Lpc2136Lpc2138

Table of Contents