English
Language : 

SH7144_08 Datasheet, PDF (576/930 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family/SH7144 Series
14. I2C Bus Interface (IIC) Option
Notes: 1. Apply one or more of the following measures to satisfy the I2C bus interface
specification.
• Ensure that the interval between the setting of the start condition and of the stop
condition is sufficient.
• Adjust the rise and fall times by changing the values of the pull-up resistors and load
capacitance.
• Adjust the system by decreasing the transfer rate.
• Select a slave device with an input timing that permits the I/O timing.
The values in the above table are changed by the setting of the IICX bit and the CKS2
to CKS0 bits. Since the maximum transfer rate may not be achievable, depending on
the frequency, check whether or not the I2C bus interface specification is satisfied under
the actual conditions that are set.
2. When the IICX bit is 1. When the IICX bit is 0, (tSCLL −6tPcyc).
3. Calculated from the I2C bus specifications (standard 4700 ns/min, high-speed: 1300
ns/min.)
7. Points for caution when reading ICDR at the end of master reception
To halt the reception of data after a receive operation in the master receive mode has been
completed, set the TRS bit to 1 and write 0 to BBSY and SCP. By doing so, the level on SDA
will be changed from low to high while SCL is high, that is, the stop condition will be
generated. The received data can be read by reading ICDR. If there is data in the buffer,
however, the data received in ICDRS cannot be transferred to ICDR (ICDRR). Therefore, the
second-byte of data cannot be read.
When reading of the second-byte of data is required, set the stop condition in the master
receive mode (with the TRS bit being 0). When reading the received data, confirm that the
BBSY bit in ICCR is 0, the stop condition has been generated, and the bus is released. After
that, read the ICDR register while TRS is 0.
In this case, if an attempt is made to read the received data (data in ICDR) during the period
from the execution of the instruction (write 0 to BBSY and SCP of ICCR) that sets the stop
condition and the actual generation of the stop condition, it is not possible to generate the clock
correctly for a the subsequent master transmission.
Rewriting of the I2C control bit to change the mode of operation or setting of
transmission/reception, such as clearing of the MST bit after the completion of
transmission/reception by the master, must not take place in any period other than period (a)
(after confirming that the BBSY bit in ICCR has been cleared to 0) in figure 14.29.
Rev.4.00 Mar. 27, 2008 Page 532 of 882
REJ09B0108-0400