Section 17 I
2
C Bus Interface 3
Page 878 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
(2) Transmit Operation
In transmit mode, transmit data is output from SDA, in synchronization with the fall of the transfer
clock. The transfer clock is output when MST in ICCR1 is 1, and is input when MST is 0. For
transmit mode operation timing, refer to figure 17.14. The transmission procedure and operations
in transmit mode are described below.
1. Set the ICE bit in ICCR1 to 1. Set the MST and CKS[3:0] bits in ICCR1. (Initial setting)
2. Set the TRS bit in ICCR1 to select the transmit mode. Then, TDRE in ICSR is set.
3. Confirm that TDRE has been set. Then, write the transmit data to ICDRT. The data is
transferred from ICDRT to ICDRS, and TDRE is set automatically. The continuous
transmission is performed by writing data to ICDRT every time TDRE is set. When changing
from transmit mode to receive mode, clear TRS while TDRE is 1.
12 781 78 1
SCL
TRS
TDRE
ICDRT
ICDRS
Bit 0
Data 1
Data 1
Data 2 Data 3
Data 2
Bit 6 Bit 7 Bit 0 Bit 6 Bit 7 Bit 0
Bit 1
SDA
(Output)
User
processing
[3] Write data
to ICDRT
[3] Write data
to ICDRT
[3] Write data
to ICDRT
[3] Write data
to ICDRT
[2] Set TRS
Figure 17.14 Transmit Mode Operation Timing