LS_I2C controller
RM0082
630/844
Doc ID 018672 Rev 1
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.
It is not necessary to configure this register if the I2C Controller is enabled as slave.
28.6.13 IC_HS_SCL_LCNT
register(0x028)
The IC_HS_SCL_LCNT is a 16 bit RW register which allows to set the low period of the SCL
clock for high-speed mode. The IC_HS_SCL_LCNT 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.
Table 555. IC_HS_SCL_HCNT register bit assignments
Bit
Name
Type
Reset
value
Description
[15:00]
IC_HS_SCL_HCNT
RW
16'h0
00a
SCL clock high period count for high speed.
This 16 bit field states the SCL clock high
period count for high speed. The minimum
valid value is 6, and hardware prevents that a
value less than this minimum will be written
(setting 6 if attempted).
Table 556. IC_HS_SCL_HCNT sample calculations
I
2
C data rate -
HS (Kbps)
SCL clock
frequency
(MHz)
SCL high time
required min
(µs)
I
2
C bus
loading
(pF)
IC_HS_SCL_HCNT
(hex/decimal)
SCL high time
actual
(µs)
3400
100
60
100
16‘h0006/’d6
60
3400
125
60
100
16‘h0008/’d8
64
3400
1000
60
100
16‘h003C/’d60
60
3400
100
120
400
16‘h000C/’d12
120
3400
125
120
400
16‘h000F/’d15
120
3400
1000
120
400
16‘h0078/’d120
120