h8s-2635 Renesas Electronics Corporation., h8s-2635 Datasheet - Page 642

no-image

h8s-2635

Manufacturer Part Number
h8s-2635
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 15 I
15.3.6
In slave transmit operation, the slave device compares its own address with the slave address
transmitted by the master device in the first frame (address receive frame) following detection of
the start condition. If the addresses match and the 8th bit (R/W) is set to 1 (read), the TRS bit in
ICCR is automatically set to 1 and slave transmit mode is activated.
Figure 15-17 is a flowchart showing an example of slave transmit mode operation.
Rev. 6.00 Feb 22, 2005 page 582 of 1484
REJ09B0103-0600
No
No
Slave Transmit Operation
Write transmit data in ICDR
2
C Bus Interface [Option] (Only for the H8S/2638, H8S/2639, and H8S/2630)
Read ACKB in ICSR
Set TRS = 0 in ICCR
Slave transmit mode
Clear IRIC in ICCR
Clear IRIC in ICCR
Clear IRIC in ICCR
Read IRIC in ICCR
Figure 15-17 Flowchart for Slave Receive Mode (Example)
of transmission
(ACKB = 1)?
Read ICDR
IRIC = 1?
End
End
Yes
Yes
[3]
[4]
[5]
[1]
[2]
[1] Set transmit data for the second and
[2] Wait for 1 byte to be transmitted
[3] Test for end of transfer
[4] Select slave receive mode
[5] Dummy read (to release the SCL line)
subsequent bytes

Related parts for h8s-2635