EZ80F91MCU ZILOG [Zilog, Inc.], EZ80F91MCU Datasheet - Page 248

no-image

EZ80F91MCU

Manufacturer Part Number
EZ80F91MCU
Description
eZ80Acclaim-TM Flash Microcontrollers
Manufacturer
ZILOG [Zilog, Inc.]
Datasheet
PS019209-0504
If 10-bit addressing is being used, the slave is first addressed using the full 10-bit
address, plus the Write bit. The master then issues a restart followed by the first
part of the 10-bit address again, this time with the Read bit. The status code then
becomes
been selected prior to the restart.
If a repeated START condition is received, the status code is
After each data byte is received, the IFLG is set to 1 and one of the status codes
listed in Table 122 is loaded into the I2C_SR register.
Table 122. I
When all bytes are received, a NACK should be sent, then the microcontroller
should write a 1 to the STP bit in the
STOP condition, clears the STP bit and returns to an idle state.
Slave Transmit
In SLAVE TRANSMIT mode, a number of bytes are transmitted to a master
receiver.
The I
and a Read bit after a START condition. The I
AAK bit is set to 1); it then sets the IFLG bit in the I2C_CTL register. As a result,
the I2C_SR register contains the status code
Code
50h
58h
38h
Note: AAK is an I 2 C control bit that identifies which ACK signal to transmit.
2
C enters SLAVE TRANSMIT mode when it receives its own slave address
40h
I
Data byte received,
ACK transmitted
Data byte received,
NACK transmitted
Arbitration lost in
NACK bit
2
2
C Master Receive Status Codes For Data Bytes
C State
or
48h
. It is the responsibility of the slave to remember that it had
P R E L I M I N A R Y
Microcontroller Response
Read data, clear IFLG,
clear AAK = 0*
Or read data, clear IFLG,
set AAK = 1
Read data, set STA,
clear IFLG
Or read data, set STP,
clear IFLG
Or read data, set
STA & STP, clear IFLG
Same as master transmit
I2C_CTL
2
A8h
register. The I
C then transmits an ACK bit (if the
.
Product Specification
2
C then transmits a
10h
Next I
Receive data byte,
transmit NACK
Receive data byte,
transmit ACK
Transmit repeated
START
Transmit STOP
Transmit STOP
then
START
Same as master
transmit
I
2
C Serial I/O Interface
instead of
eZ80F91 MCU
2
C Action
08h
.
229

Related parts for EZ80F91MCU