Figure 13.30 Flowchart For Start Condition Issuance Instruction For Retransmission - Renesas H8S/2111B Hardware Manual

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

Advertisement

8. Notes on start condition issuance for retransmission
Figure 13.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 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
ACK
SDA
IRIC
[1] IRIC determination
[2] Determination of SCL = Low
Figure 13.30 Flowchart for Start Condition Issuance Instruction for Retransmission and
Note: This restriction on usage can be canceled by setting the FNC1 and FNC0 bits to 1 in
ICXR.
No
[1]
Yes
No
Other processing
No
[2]
[3]
[4]
No
Yes
[5]
9
[3] (Retransmission) Start condition instruction issuance
[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
Rev. 1.00, 05/04, page 341 of 544
bit7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents