English
Language : 

SH7144_08 Datasheet, PDF (516/930 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family/SH7144 Series
14. I2C Bus Interface (IIC) Option
When I2C is in receive mode and no previous data remains in ICDRR (the ICDRF flag is 0), data
is transferred automatically from ICDRS to ICDRR, following reception of one frame of data
using ICDRS. When additional data is received while the ICDRF flag is 1, data is transferred
automatically from ICDRS to ICDRR by reading from ICDR. In transmit mode, no data is
transferred from ICDRS to ICDRR. Always set I2C to receive mode before reading from ICDR.
When, excluding the acknowledge bit, there are fewer than 8 bits in one frame, the alignment of
the data for transmission and of received data varies according to the setting of the MLS bit in
ICMR. Data for transmission should span the selected number of bits from the MSB when MLS =
0. When MLS is 1, the data should span the selected number of bits from the LSB. Received data
is read from the LSB when MLS is 0 and from the MSB when MLS is 1.
ICDR is only accessible when the ICE bit in ICCR is set to 1. The ICDR is undefined at reset.
14.3.2 Slave-Address Register (SAR)
SAR sets the transfer format and stores the slave address. In slave mode of the I2C bus format, if
the FS bit is set to 0 and the upper seven bits of SAR match the upper seven bits of the first frame
received after a start condition, this module operates as the slave device specified by the master
device. SAR can be accessed only when the ICE bit in ICCR is set to 0.
Bit
Bit Name Initial Value R/W Description
7
SVA6
0
R/W Slave Address 6 to 0
6
SVA5
0
R/W Set slave address.
5
SVA4
0
R/W
4
SVA3
0
R/W
3
SVA2
0
R/W
2
SVA1
0
R/W
1
SVA0
0
R/W
0
FS
0
R/W Format Select
In conjunction with the FSX bit in SARX, this bit
selects the transfer format. See table 14.2.
To identify the general call address, this bit should
always be set to 0.
Rev.4.00 Mar. 27, 2008 Page 472 of 882
REJ09B0108-0400