I2C target interface enables
access to internal registers by the system application processor. The primary function of
the interface is to enable configuring various PHY parameters, controlling the GPIO pins,
and enabling USB-BC functions. The TUSB2E11 repeater functions operate upon
power up without requiring I2C configuration.
The TUSB2E11 has
I2C 7-bit target address of 0x3E. 8-bit address of Write: 0x7C and Read:
0x7D.
I2C default target address can
be changed at the factory through one time programming.
I2C drive strength can be
changed through the I2C.
Table 8-6 Recommended I2C Drive
Strength for I2C Bus Speed, Bus Pull Up and Bus Capacitance
I2C FM+ (1MHz Max) |
I2C drive strength (IOL)
selection |
|
I2C bus pullup RPU |
C(bus)pF |
1kΩ |
2.2kΩ |
4kΩ |
7kΩ |
10-50 |
≅8mA |
≅4mA |
N/A |
N/A |
10-90 |
≅8mA |
N/A |
N/A |
N/A |
10-150 |
N/A |
N/A |
N/A |
N/A |
10-200 |
N/A |
N/A |
N/A |
N/A |
I2C FM (400kHz Max) |
I2C drive strength (IOL)
selection |
|
I2C bus pullup RPU |
C(bus)pF |
1kΩ |
2.2kΩ |
4kΩ |
7kΩ |
10-50 |
≅8mA |
≅4mA |
≅2mA |
N/A |
10-90 |
≅8mA |
≅4mA |
N/A |
N/A |
10-150 |
≅8mA |
≅8mA |
N/A |
N/A |
10-200 |
≅8mA |
N/A |
N/A |
N/A |
I2C STD (100kHz Max) |
I2C drive strength (IOL)
selection |
|
I2C bus pullup RPU |
C(bus)pF |
1kΩ |
2.2kΩ |
4kΩ |
7kΩ |
10-50 |
≅8mA |
≅4mA |
≅2mA |
≅1mA |
10-90 |
≅8mA |
≅4mA |
≅2mA |
≅1mA |
10-150 |
≅8mA |
≅4mA |
≅2mA |
≅2mA |
10-200 |
≅8mA |
≅4mA |
≅2mA |
≅2mA |
Use the following procedure to write data to
the TUSB2E11 I2C registers (refer to Figure 8-5):
- The host initiates a write operation by generating a start condition
(S), followed by the TUSB2E11 7-bit address and a zero-value “W/R” bit
to indicate a write cycle.
- The TUSB2E11 acknowledges the address cycle.
- The host presents the register offset within the TUSB2E11 to be written, consisting of one byte of data, MSB-first.
- The TUSB2E11 acknowledges the sub-address
cycle.
- The host presents the first byte of data to be written to the
I2C register.
- The TUSB2E11 acknowledges the byte transfer.
- The host may continue presenting additional bytes of data to be
written, with each byte transfer completing with an acknowledge from the TUSB2E11.
- The host terminates the write operation by generating a stop
condition (P).
Use the following procedure to write data to
the TUSB2E11 I2C registers without a repeated Start (refer Figure 8-6).
- The host initiates a read operation by generating a start condition
(S), followed by the TUSB2E11 7-bit address and a zero-value “W/R” bit
to indicate a read cycle.
- The TUSB2E11 acknowledges the 7-bit address
cycle.
- Following the acknowledge the host continues sending clock.
- The TUSB2E11 transmit the contents of the memory
registers MSB-first starting at register 00h or last read register offset+1. If a write
to the I2C register occurred prior to the read, then the TUSB2E11 shall start at the register offset specified in the write.
- The TUSB2E11 waits for either an acknowledge (ACK)
or a not-acknowledge (NACK) from the host after each byte transfer; the I2C
host acknowledges reception of each data byte transfer.
- If an ACK is received, the TUSB2E11 transmits the
next byte of data as long as host provides the clock. If a NAK is received, the TUSB2E11 stops providing data and waits for a stop condition (P).
- The host terminates the write operation by generating a stop
condition (P).
Use the following procedure to write data to
the TUSB2E11 I2C registers with a repeated Start (refer Figure 8-7).
- The host initiates a read operation by generating a start condition
(S), followed by the TUSB2E11 7-bit address and a zero-value “W/R” bit
to indicate a write cycle.
- The TUSB2E11 acknowledges the 7-bit address
cycle.
- The host presents the register offset within the TUSB2E11 to be written, consisting of one byte of data, MSB-first.
- The TUSB2E11 acknowledges the register offset
cycle.
- The host presents a repeated start condition (Sr).
- The host initiates a read operation by generating a start condition
(S), followed by the TUSB2E11 7-bit address and a one-value “W/R” bit
to indicate a read cycle.
- The TUSB2E11 acknowledges the 7-bit address
cycle.
- The TUSB2E11 transmit the contents of the memory
registers MSB-first starting at the register offset.
- The TUSB2E11 shall wait for either an acknowledge
(ACK) or a not-acknowledge (NACK) from the host after each byte transfer; the
I2C host acknowledges reception of each data byte transfer.
- If an ACK is received, the TUSB2E11 transmits the
next byte of data as long as host provides the clock. If a NAK is received, the TUSB2E11 stops providing data and waits for a stop condition (P).
- The host terminates the read operation by generating a stop
condition (P).
Use the following procedure to set a
starting sub-address for I2C reads (refer to Figure 8-8).
- The host initiates a write operation by generating a start condition
(S), followed by the TUSB2E11 7-bit address and a zero-value “W/R” bit
to indicate a write cycle.
- The TUSB2E11 acknowledges the address cycle.
- The host presents the register offset within the TUSB2E11 to be written, consisting of one byte of data, MSB-first.
- The TUSB2E11 acknowledges the register offset
cycle.
- The host terminates the write operation by generating a stop
condition (P).
Note: After initial power-up, if no register
offset is included for the read procedure (refer to
Figure 8-6), then reads start at register offset 00h and continue byte by byte through the registers
until the I
2C host terminates the read operation. During a read operation, the
TUSB2E11 auto-increments the I
2C internal register address of
the last byte transferred independent of whether or not an ACK was received from the
I
2C host.