Renesas Hitachi H8S/2194 Series Hardware Manual page 598

16-bit single-chip microcomputer
Table of Contents

Advertisement

(8) Notes on Start Condition Issuance for Retransmission
Figure 25.19 shows the timing of start conditon issuance for retransmission, and the timing for
subsequently writing data to ICDR, together with the corresponding flowchart. After start
condition issuance is done and determined the start condition, write the transmit data to ICDR.
IRIC=1 ?
Yes
Clear IRIC in ICSR
Start condition
issuance?
Yes
Read SCL pin
SCL=Low ?
Yes
Write BBSY=1,
SCP=0 (ICSR)
IRIC=1 ?
Yes
Write transmit data to ICDR
SCL
9
SDA ACK
IRIC
[1] IRIC determination
Figure 25.19 Flowchart and Timing of Start Condition Instruction Issuance for
[1] Wait for end of 1-byte transfer
No
[1]
[2] Determine wheter SCL is low
[3] Issue restart condition instruction for transmission
No
Other processing
[4] Determine whether start condition is generated or not
[5] Set transmit data (slave address + R/ )
[2]
No
Note: Program so that processing instruction [3] to [5] is
[3]
[4]
No
[5]
Start condition
(retransmission)
[3] Issue restart condition instruction
for retransmission
[2] Determination of SCL=Low
Retransmission
executed continuously.
bit 7
[5] ICDR write (next transmit data)
[4] IRIC determination
Rev. 2.0, 11/00, page 571 of 1037

Advertisement

Table of Contents
loading

Table of Contents