Download Print this page

Renesas H8S Family Hardware Manual page 705

Advertisement

8. Notes on start condition issuance for retransmission
Figure 18.30 shows the timing of start condition issuance for retransmission, and the timing for
subsequently writing data to ICDR, together with the corresponding flowchart. Write the
transmit data to ICDR after the start condition for retransmission is issued and then the start
condition is actually generated.
IRIC = 1?
Clear IRIC in ICCR
Read SCL pin
SCL = Low?
Yes
Set BBSY = 1,
SCP = 0 (ICCR)
IRIC = 1?
Write transmit data to ICDR
SCL
9
SDA
ACK
IRIC
[1] IRIC determination
Figure 18.30 Flowchart for Start Condition Issuance Instruction
Note: This restriction on usage can be canceled by setting the FNC1 and FNC0 bits to B'11 in
ICXR.
No
[1]
Yes
No
[2]
[3]
[4]
No
Yes
[5]
[3] (Retransmission) Start condition instruction issuance
[2] Determination of SCL = Low
for Retransmission and Timing
Section 18 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. 1.00 Mar. 12, 2008 Page 657 of 1178
2
C Bus Interface (IIC)
Bit 7
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472