742
Read SCL pin
Write transmit data to ICDR
Clear IRIC in ICSR
Write BBSY = 1,
SCP = 0 (ICSR)
IRIC= 1 ?
No
SCL= Low ?
No
Yes
Start condition
issuance?
No
[1]
[2]
[3]
[4]
[5]
Note: Program so that processing from [3] to [5] is
executed continuously.
[1] Wait for end of 1-byte transfer
[2] Determine whether SCL is low
[3] Issue restart condition instruction for retransmission
[4] Determine whether SCL is high
[5] Set transmit data (slave a R/
W
)
Other processing
Yes
Yes
Read SCL pin
SCL= High ?
No
Yes
Start condition
(retransmission)
SCL
bit7
ACK
IRIC
[1] IRIC determination
Determination
of SCL = low
[2]
[3] Start condition
instruction issuance
[4] Determination
of SCL = high
[5] ICDR write
SDA
Figure 18-19 Flowchart and Timing of Start Condition Instruction Issuance for
Retransmission