English
Language : 

SH7203 Datasheet, PDF (890/1686 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 17 I2C Bus Interface 3 (IIC3)
Slave transmit mode
Clear AAS in ICSR
Write transmit data
in ICDRT
Read TDRE in ICSR
No
TDRE=1 ?
Yes
No
Last
byte?
Yes
Write transmit data
in ICDRT
Read TEND in ICSR
No
TEND=1 ?
Yes
Clear TEND in ICSR
Clear TRS in ICCR1 to 0
Dummy-read ICDRR
Clear TDRE in ICSR
End
[1] Clear the AAS flag.
[1]
[2] Set transmit data for ICDRT (except for the last byte).
[3] Wait for ICDRT empty.
[2]
[4] Set the last byte of transmit data.
[5] Wait for the last byte to be transmitted.
[3]
[6] Clear the TEND flag.
[7] Set slave receive mode.
[8] Dummy-read ICDRR to release the SCL.
[4]
[9] Clear the TDRE flag.
[5]
[6]
[7]
[8]
[9]
Figure 17.20 Sample Flowchart for Slave Transmit Mode
Rev. 2.00 Apr. 16, 2008 Page 860 of 1652
REJ09B0313-0200