h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 597

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
IRIC
SDA
SCL
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.
Figure 17.23 Flowchart and Timing of Start Condition Issuance for Retransmission
Write transmit data to ICDR
[1] IRIC determination
Clear IRIC in ICSR
Yes
Yes
SCP = 0 (ICSR)
Set BBSY = 1,
Read SCL pin
ACK
Start condition
SCL = Low?
IRIC = 1?
issuance?
IRIC = 1?
9
Yes
Yes
[2] Determination of SCL = Low
[3] (Retransmission) Start condition instruction issuance
No
No
No
No
Other processing
[1]
[2]
[3]
[4]
[5]
Start condition generation
(retransmission)
[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]
[4] IRIC determination
Rev. 3.00 Jan 25, 2006 page 545 of 872
[5] ICDR write (transmit data)
is executed continuously.
Section 17 I
Bit 7
2
C Bus Interface (IIC)
REJ09B0286-0300

Related parts for h8s-2158