Figure 17.23 Flowchart And Timing Of Start Condition Issuance For Retransmission - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Therefore, after start condition issuance is done and the start condition is generated, write the
transmit data to ICDR. Figure 17.23 shows the timing of start condition issuance for
retransmission, and the timing for subsequently writing data to ICDR, together with the
corresponding flowchart.
IRIC = 1?
Clear IRIC in ICSR
Start condition
issuance?
Yes
Read SCL pin
SCL = Low?
Yes
Set BBSY = 1,
SCP = 0 (ICSR)
IRIC = 1?
Write transmit data to ICDR
SCL
9
SDA
ACK
IRIC
[1] IRIC determination

Figure 17.23 Flowchart and Timing of Start Condition Issuance for Retransmission

No
[1]
Yes
No
Other processing
No
[2]
[3]
[4]
No
Yes
[5]
[3] (Retransmission) Start condition instruction issuance
[2] Determination of SCL = Low
Section 17 I
[1] Wait for end of 1-byte transfer
[2] Determine whether SCL is low
[3] Issue start condition instruction for retransmission
[4] Determine whether start condition is generated or not
[5] Set transmit data (slave address + R/W)
Note: Program so that processing from [3] to [5]
is executed continuously.
Start condition generation
(retransmission)
[5] ICDR write (transmit data)
[4] IRIC determination
Rev. 3.00 Jan 25, 2006 page 545 of 872
2
C Bus Interface (IIC)
Bit 7
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents