Figure 26: Format In The Master Transmitter Mode; Figure 27: Format Of Master Receiver Mode - Philips LPC2194 User Manual

Table of Contents

Advertisement

Philips Semiconductors
ARM-based Microcontroller
When the slave address and R/W bit have been transmitted and an acknowledgment bit has been received, the SI bit is set again,
and the possible status codes now are 18h, 20h, or 38h for the master mode, or 68h, 78h, or 0B0h if the slave mode was enabled
(by setting AA=1). The appropriate actions to be taken for each of these status codes are shown in Table 3 to Table 6 in "80C51
Family Derivatives 8XC552/562 Overview" datasheet available on-line at
http://www.semiconductors.philips.com/acrobat/various/8XC552_562OVERVIEW_2.pdf.
S
Slave Address
From Master to Slave
From Slave to Master
Master Receiver Mode:
In the master receiver mode, data is received from a slave transmitter. The transfer is initiated in the same way as in the master
transmitter mode. When the START condition has been transmitted, the interrupt service routine must load the slave address
and the data direction bit to I
When the slave address and data direction bit have been transmitted and an acknowledge bit has been received, the SI bit is
set, and the Status Register will show the status code. For master mode, the possible status codes are 40H, 48H, or 38H. For
slave mode, the possible status codes are 68H, 78H, or B0H. Refer to Table 4 in "80C51 Family Derivatives 8XC552/562
Overview" datasheet available on-line at
http://www.semiconductors.philips.com/acrobat/various/8XC552_562OVERVIEW_2.pdf
for details.
S
Slave Address
From Master to Slave
From Slave to Master
After a repeated START condition, I
I2C Interface
R/W
A
"0" - Write
"1" - Read

Figure 26: Format in the master transmitter mode

2
C Data Register (I2DAT), and then clear the SI bit.
R
A
"0" - Write
"1" - Read

Figure 27: Format of master receiver mode

2
C may switch to the master transmitter mode.
LPC2119/2129/2194/2292/2294
DATA
DATA
A
Data Transferred
(n Bytes + Acknowledge)
A = Acknowledge (SDA low)
A = Not Acknowledge (SDA high)
S = START condition
P = STOP Condition
DATA
A
DATA
Data Transferred
(n Bytes + Acknowledge)
A = Acknowledge (SDA low)
A = Not Acknowledge (SDA high)
S = START condition
P = STOP Condition
168
Preliminary User Manual
P
A/A
P
A
May 03, 2004

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2129Lpc2119Lpc2292Lpc2294

Table of Contents