
MAXQ612/MAXQ622 User’s Guide
Maxim Integrated 11-5
The slave cannot write to the I2CBUF if a transfer is in progress (I2CBUSY = 1). Therefore, the CPU should first check
the status of the I
2
C busy bit before writing to the I
2
C buffer. Any attempt to write to the I2CBUF is ignored when
I2CBUSY = 1.
Figure 11-5. I
2
C Slave Transmitter and Slave Receiver
BEGIN
END
(A) SLAVE TRANSMITTER
DETECT START
I2CSRI = 1
I2CBUS = 1
DETECT STOP
I2CBUS = 0
TRANSMIT
DATA
ANY MORE?
Y
Y
Y
N
RECEIVE
SLAVE
ADDRESS
STOP?
N
N
I2CAMI = 1?
BEGIN
END
(B) SLAVE RECEIVER
DETECT START
I2CSRI = 1
I2CBUS = 1
DETECT STOP
I2CBUS = 0
RECEIVE
DATA
ANY MORE?
Y
Y
Y
N
RECEIVE
SLAVE
ADDRESS
STOP?
N
N
I2CAMI = 1?
Comentários a estes Manuais