h8s-2169 Renesas Electronics Corporation., h8s-2169 Datasheet - Page 567

no-image

h8s-2169

Manufacturer Part Number
h8s-2169
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Figure 16.14 Flowchart for Master Transmit Mode (Example)
No
No
No
No
No
Write transmit data in ICDR
Write transmit data in ICDR
Read BBSY in ICCR
Read ACKB in ICSR
Read ACKB in ICSR
and SCP = 0 in ICCR
Read IRIC in ICCR
Read IRIC in ICCR
Clear IRIC in ICCR
Read IRIC in ICCR
Clear IRIC in ICCR
End of transmission ?
Write BBSY = 1 and
Clear IRIC in ICCR
Set MST = 1 and
TRS = 1 in ICCR
SCP = 0 in ICCR
Transmit mode ?
Write BBSY = 0
BBSY = 0 ?
ACKB = 0 ?
or ACKB = 1 ?
IRIC = 1 ?
IRIC = 1 ?
IRIC = 1 ?
Initialize
Start
End
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
[1] Initialize
[2] Test the status of the SCL and SDA lines.
[3] Select master transmit mode.
[4] Start condition issuance
[5] Wait for a start condition
[6] Set transmit data for the first byte
[7] Wait for 1 byte to be transmitted.
[8] Test the acknowledge bit,
[9] Set transmit data for the second and
[10] Wait for 1 byte to be transmitted.
[11] Test for end of transfer
[12] Stop condition issuance
Master receive mode
(slave address + R/W).
(After writing ICDR, clear IRIC
immediately)
transferred from slave device.
subsequent bytes.
(After writing ICDR, clear IRIC immediately.)
Rev. 3.00 Jan 18, 2006 page 539 of 1044
Section 16 I
REJ09B0280-0300
2
C Bus Interface

Related parts for h8s-2169