Motorola ColdFire MCF5281 User Manual page 525

Motorola microcontroller user's manual
Table of Contents

Advertisement

TX
Last Byte
Transmitted
?
N
RXAK= 0
?
Y
End of
Y
ADDR Cycle
(Master RX)
?
N
Write Next
Byte to I2DR
Switch to
Rx Mode
Generate
Dummy Read
from I2DR
STOP Signal
Figure 24-10. Flow-Chart of Typical I
MOTOROLA
Y
RX
TX/Rx
?
Y
Last
Byte to be
N
?
Read
N
2nd Last
Byte to be
Y
Read?
N
Generate
Set TXAK =1
STOP Signal
Read Data
from I2DR
And Store
Chapter 24. I
Clear
IIF
N
Master
Mode?
Clear IAL
N
IAAS=1
Y
?
Y
Address
Cycle
(Read)
Y
SRW=1
?
Set TX
Mode
Write Data
to I2DR
Set RX
Mode
Dummy Read
from I2DR
RTE
2
C Interrupt Routine
2
C Interface
2
I
C Programming Examples
Y
Arbitration
Lost?
N
Y
IAAS=1
?
N
Data
Cycle
Tx/Rx
?
(WRITE)
N
TX
Y
ACK from
Receiver
?
N
Read Data
Tx Next
from I2DR
Byte
and Store
Switch to
Rx Mode
Dummy Read
from I2DR
RX
24-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents