Figure 16.30 Flowchart For Start Condition Issuance Instruction For Retransmission And - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

2
Section 16 I
C Bus Interface (IIC)
Note: This restriction on usage can be canceled by setting the FNC1 and FNC0 bits to B'11 in
ICXR.
8. Notes on start condition issuance for retransmission
Figure 16.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
ACK
SDA
IRIC
[1] IRIC determination

Figure 16.30 Flowchart for Start Condition Issuance Instruction for Retransmission and

Rev. 3.00 Jul. 14, 2005 Page 574 of 986
REJ09B0098-0300
No
[1]
Yes
No
[2]
[3]
[4]
No
Yes
[5]
9
[3] (Retransmission) Start condition instruction issuance
[2] Determination of SCL = Low
[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
Timing
bit7

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents