LS_I2C controller
RM0082
626/844
Doc ID 018672 Rev 1
28.6.8 IC_SS_SCL_HCNT register (0x014)
The IC_SS_SCL_HCNT is a 16 bit RW register which allows setting the high period of the
SCL clock for standard-speed mode. The IC_SS_SCL_HCNT bit assignments are given in
Note:
1
This register can be written only when the I
2
C controller is disabled, which corresponds to
the IC_ENABLE (
) register being set to ‘b0. Write at other times has no
effect.
2
This register must be set before any I
2
C bus transaction can take place in order to ensure
proper I/O timing.
[08]
CMD
RW
1‘h0
Control read or write.
This bit controls whether a read or write is
performed, according to the encoding:
1‘b0 = Write.
1‘b1 = Read.
Note: In case of reading, the lower bits
from 7 to 0 (DAT field) are ignored by the
I
2
C controller. Reading this bit returns 'b0.
Attempting to perform a read operation
after a general call command has been
sent results in TX_ABRT unless the
SPECIAL bit in IC_TAR register (see
) has been cleared. If this bit
is written to ‘b1 after receiving RD_REQ,
then a TX_ABRT occurs.
[07:00]
DAT
RW
7‘h0
Contains data.
This 8 bit field contains the data to be
transmitted or received on the I
2
C bus.
Read these bits means reading out the
data received on the I
2
C interface. Write
this field means sending data out on the
I
2
C interface.
Table 546.
IC_DATA_CMD register bit assignments (continued)
Bit
Name
Type
Reset
value
Description
Table 547.
IC_SS_SCL_HCNT register bit assignments
Bit
Name
Type
Reset
value
Description
[15:00]
IC_SS_SCL_HCNT
RW
16'h29B
SCL clock high period count for standard
speed.
This 16 bit field states the SCL clock high
period count for standard speed. The
minimum valid value is 6, and hardware
prevents that a value less than this minimum
will be written (setting 6 if attempted)