cancel
Showing results for 
Search instead for 
Did you mean: 

USBPD Core library calling reset handler on DISCOVER SVID Reception

USBPD Dan
Associate II

When my STM32G0B1KET receives an Discover SVIDs message, it responds GOODCRC, then the core library function PE_StateMachine_VDM() calls the reset handler. After reset the system hardfaults. System responds to discover identity properly. The USBPD_VDM_DiscoverSVIDs callback is properly initialized and not reached. A little stuck on this working with just the disassembly. Any suggestions for a fix would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
USBPD Dan
Associate II

Problem fixed, I had 2 ports running but only one of them configured for VDM support. However I accidentally initialized VDM callbacks for the wrong port.

View solution in original post

1 REPLY 1
USBPD Dan
Associate II

Problem fixed, I had 2 ports running but only one of them configured for VDM support. However I accidentally initialized VDM callbacks for the wrong port.