Other Parts Discussed in Thread: MSP430FR59941
Hi,
I've been working on porting the TI code for the TUSB422 over to our MSP430. So far I can't get past the PE_SNK_WAIT_FOR_CAPS stage. I'm a sink and I have a PD sniffer hooked up and I see the charger advertising as the DFP. I even see the TUSB422 reply with GOODCRC occasionally, but I never get an interrupt about data being received. Any advice here? I saw a few other people were stuck in the same area when trying to get this code working.
Thank you
Here's a little log from me trying to connect to a charger.
BOOTING UP
Port[0]: addr: 0x20, SNK, Rp: default, Flags: None.
VID: 0x0451
PID: 0x0422
DID: 0x0100
REV: 0x02
->P0 IRQ: 0x0003
tcpm_connection_state_machine: state_change = 1, state = 0x1.
tcpm_connection_state_machine: state_change = 1, state = 0x2.
PE_SNK_STARTUP
PE_SNK_DISCOVERY
PE_SNK_WAIT_FOR_CAPS
->P0 IRQ: 0x0082
timeout_sink_wait_cap: HR cnt = 0.
PE_SNK_HARD_RESET
->P0 IRQ: 0x0050
PE_SNK_TRANSITION_TO_DEFAULT
DEBUG
TCPC-0 Regs:
10: 03
11: 01
12: ff
13: 8f
14: ff
15: 7f
24: 98
25: 1e
26: c5
27: 00