I2C registers
552
NS9750 Hardware Reference
Configuration register
Address: 9050 000C
The Configuration register controls the timing on the I
2
C bus. This register also
controls the external interrupt indication, which can be disabled.
The I
2
C bus clock timing is programmable by the scl_ref value (D08:00). The timing
parameter for standard mode is as follows:
I
2
C_bus_clock = clk / ((CLREF*2) + 4 + scl_delay)
clk = cpu_clk/4
Note:
In noisy environments and fast-mode transmission, spike filtering can be
applied to the received I
2
C data and clock signal. The spike filter
evaluates the incoming signal and suppresses spikes. The maximum length
of the suppressed spikes can be specified in the spike filter width field of
the Configuration register (see page 553).
The timing parameter for fast-mode is as follows:
I
2
C_bus_clock = (4 / 3) x (clk / ((CLREF*2) + 4 + scl_delay))
scl_delay
is influenced by the SCL rise time.
Register bit assignment
Bits Access Mnemonic Reset Description
D31:16 N/A Reserved N/A N/A
D15 R/W IRQD 0 Mask the interrupt to the ARM CPU (
irq_dis)
Must be set to 0.
Table 341: Configuration register
13121110987654321015 14
31 29 28 27 26 25 24 23 22 21 20 19 18 17 1630
Reserved
CLREF
IRQD TMDE VSCD SFW
s