SLLSEN9F May 2015 – March 2022 TUSB320
PRODUCTION DATA
ACCESS TAG | NAME | MEANING |
---|---|---|
R | Read | The field may be read by software. |
W | Write | The field may be written by software. |
S | Set | The field may be set by a write of one. Writes of zeros to the field have no effect. |
C | Clear | The field may be cleared by a write of one. Writes of zeros to the field have no effect. |
U | Update | Hardware may autonomously update this field. |
NA | No Access | Not accessible or not applicable. |
ADDRESS | BIT(S) | BIT NAME | DESCRIPTION | ACCESS |
---|---|---|---|---|
0x00 – 0x07 | 7:0 | DEVICE_ID | For the TUSB320 device these fields
return a string of ASCII characters returning TUSB320
Addresses 0x07 - 0x00 = {0x00 0x54 0x55 0x53 0x42 0x33 0x32 0x30} |
R |
0x08 | 7:6 | CURRENT_MODE_ADVERTISE |
These bits are programmed by the application to raise the current advertisement from default. 00 – Default (500 mA / 900 mA) initial value at startup 01 – Medium (1.5 A) 10 – High (3 A) 11 – Reserved |
RW |
5:4 | CURRENT_MODE_DETECT |
These bits are set when an UFP determines the Type-C Current mode. 00 – Default (value at start up) 01 – Medium 10 – Charge through accessory – 500 mA 11 – High |
RU | |
3:1 | ACCESSORY_CONNECTED |
These bits are read by the application to determine if an accessory was attached. 000 – No accessory attached (default) 001 – Reserved 010 – Reserved 011 – Reserved 100 – Audio accessory 101 – Audio charged thru accessory 110 – Debug accessory 111 – Reserved |
RU | |
0 | ACTIVE_CABLE_DETECTION | This flag indicates that an active cable has been plugged into the Type-C connector. When this field is set, an active cable is detected. | RU | |
0x09 | 7:6 | ATTACHED_STATE |
This is an additional method to communicate attach other than the ID pin. These bits can be read by the application to determine what was attached. 00 – Not attached (default) 01 – Attached.SRC (DFP) 10 – Attached.SNK (UFP) 11 – Attached to an accessory |
RU |
5 | CABLE_DIR |
Cable orientation. The application can read these bits for cable orientation information. 0 – CC1 1 – CC2 (default) |
RU | |
4 | INTERRUPT_STATUS |
The INT pin is pulled low whenever a CSR changes. When a CSR change has occurred this bit should be held at 1 until the application clears it. 0 – Clear 1 – Interrupt (When INT_N is pulled low, this bit will be 1. This bit is 1 whenever any CSR are changed) Note: SW must make sure the INTERRUPT_STATUS has been cleared to zero. Rewrites to this register are needed for the INT_N to be correctly asserted for all interrupt events. |
RCU | |
3 | Reserved | R | ||
2:1 | DRP_DUTY_CYCLE |
Percentage of time that a DRP advertises DFP during tDRP 00 – 30% (default) 01 – 40% 10 – 50% 11 – 60% |
RW | |
0 | Reserved | R | ||
0x0A | 7:6 | DEBOUNCE |
The nominal amount of time the TUSB320 device debounces the voltages on the CC pins. 00 – 133 ms (default) 01 – 116 ms 10 – 151 ms 11 – 168 ms |
RW |
5:4 | MODE_SELECT |
This register can be written to set the TUSB320 device mode operation. The ADDR pin must be set to I2C mode. If the default is maintained, the TUSB320 device operates according to the PORT pin levels and modes. The MODE_SELECT can only be changed when in the unattached state. 00 – Maintain mode according to PORT pin selection (default) 01 – UFP mode (unattached.SNK) 10 – DFP mode (unattached.SRC) 11 – DRP mode (start from unattached.SNK) |
RW | |
3 | I2C_SOFT_RESET |
This resets the digital logic. The bit is self-clearing. A write of 1 starts the reset. The following registers maybe affected after setting this bit: CURRENT_MODE_DETECT ACTIVE_CABLE_DETECTION ACCESSORY_CONNECTED ATTACHED_STATE CABLE_DIR |
RSU | |
2:1 | Reserved | R | ||
0 | Reserved | R | ||
0x45 | 7:3 | Reserved | R | |
2 | DISABLE_RD_RP |
When this field is set, Rd and Rp are disabled. 0 – Normal operation (default) 1 – Disable Rd and Rp |
RW | |
1:0 | Reserved. For TI internal use only. Do not change default value. | RW |