Tool/software:
TUSB4041PAPEVM configured for Battery Charging operation on Port 3 and Port 4 sometimes does not identify itself as CDP. The issue occurs only when the cable is inserted slowly enough that USB PD manages to start DCD before the data pins make contact.
TUSB4041PAPEVM EEPROM contains following configuration TUSB4041PAPEVM EEPROM DATA.TXT
TUSB4041PAPEVM is externally powered with a MeanWell 5V power supply capable of delivering 6A.
TUSB4041 correctly identifies itself as CDP when data pins make contact before USB PD starts DCD (see Battery Charging Specification, Revision 1.2 Figure 3-17 DCD Timing, Contact Before Start)
However, when pins make contact only after USB PD starts DCD (see Battery Charging Specification, Revision 1.2 Figure 3-16 DCD Timing, Contact After Start), then TUSB4041 identifies itself as SDP.
Attached waveforms contain following channels:
- Channel 1 - D+ at USB PD testpoint
- Channel 2 - D- at USB PD testpoint
- Channel 3 - D- at TUSB4041PAPEVM port 4 through hole connector pin
- Channel 4 - D+ at TUSB4041PAPEVM port 4 through hole connector pin
- D0 - debug GPIO indicating Data Contact Detect
- D1 - debug GPIO indicating Primary Detection
- D2 - debug GPIO indicating Secondary Detection
- D3 - debug GPIO indicating start of normal USB communication
Port type misdetection is observed only with TUSB4041PAPEVM. Other tested laptops, docking stations and off-the-shelf hubs correctly identify their CDP port when the USB PD is connected.