how to set the receive mode? while I have not set the reg.0x2F, TUSB422 shall receive any sop,hard reset msg. while I set, the vbus change to unstable state until the DFP is not send any msg. the register 0x2F and the other related register...
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
how to set the receive mode? while I have not set the reg.0x2F, TUSB422 shall receive any sop,hard reset msg. while I set, the vbus change to unstable state until the DFP is not send any msg. the register 0x2F and the other related register...
Rx Detect Enable (0x2F) can enable USB PD SOP* and hard reset receive. It should only be set after you have stable Type-C connection (CC debounce is complete and VBUS is stable) and should be written to zero upon disconnect. Typical application only needs to enable SOP and Hard Reset.
It may be easier if you use TI’s reference SW and port to your MCU. You can request it here: www.ti.com/.../swlicexportcontrol.tsp
After CC status alert, you should debounce the CC status register to ensure the correct termination per the Type-C spec for 100-200ms. Then if you are sink, you should enable VBUS present detection. After power status alert for VBUS present you can enable PD communication and start your PD state machine code.
BTW, I have not received TUSB422 sample code after request twice, would you like to send sample code about TUSB422 setting with DFP/UFP mode to me: supports@zfutech.com? tks!
Hi, You need to program Plug Polarity in Register 0x19 based on which CC pin is used for USB-PD communication per the Type-C specification. I am checking on your SW request but the approver is on vacation this week.