RM0082
LS_I2C controller
Doc ID 018672 Rev 1
623/844
Note:
The I
2
C controller slave is always enabled.
28.6.4 IC_TAR
register(0x004)
The IC_TAR (I
2
C target address) is a RW register. The IC_TAR bit assignments are given in
Note:
1
Bit 12 and bits 9 through 0 can be dynamically updated as long as the following are true:
2
MST_ACTIVITY must be IDLE. that is, IC_STATUS[5] = 1‘b0 (see
Transmit FIFO completely empty must occur. that is, IC_STATUS = ‘b0.
Bits 10 and 11 are writable only when IC_ENABLE[0] = 1‘b0 (see
).
[02:01]
SPEED
RW
2’h11
Controls operation speed.
This 2 bit field controls at which speed the I
2
C
controller operates, according to the encoding:
‘b00, Illegal = -
‘b01, Standard = 100 kbit/s
‘b10, Fast = 400 kbit/s
‘b11, High = 3.4 Mbit/s (default)
If the device is configured for fast or standard
mode and value 3 is written, then the
IC_MAX_SPEED_MODE is stored. If an APB
write is performed to these bits such that the
data is decimal 2 or 3, then these would
change the maximum speed mode. Hardware
prevents this fact and writes in the value of
IC_MAX_SPEED_MODE instead. The value of
IC_MAX_SPEED_MODE is configured to be
'b11.
[00]
MASTER_MODE
RW
1’h1
Enable master.
This bit controls if the I
2
C controller is enabled
to act as master, according to the encoding:
1‘b0 = Disabled.
1‘b1 = Enabled (default)
Table 542.
IC_CON register bit assignments (continued)
Bit
Name
Type
Reset
value
Description