Failure of transfer
Retry
YES
YES
Start to transfer new
data upon next
interrupt.
If required, change
ACK bit.
TRX=1?
Read the received
data from IDAR.
If required,
change ACK bit.
Figure 16.6-3 Interrupt Processing
START
INT=1?
YES
BER=1?
NO
GCA=1?
NO
NO
AAS=1?
AL=1?
NO
ADT=1?
NO
YES
NO
Write next
send data
to IDAR.
Clear INT bit.
End of ISR
CHAPTER 16 I
Receive
NO
interrupt from
another module
YES
Restart
bus error
YES
General call detected in slave mode
YES
YES
AL=1?
NO
YES
LRB=1?
NO
YES
TRX=1?
NO
Read the received
data from IDAR.
If required,
change ACK bit.
2
C INTERFACE
Retransfer
arbitration lost
No ACK from slave.
Generate STOP
condition or repeated
START condition.
Write next send
data to IDAR.
Or clear MSS
475