2023-01-18 01:35 PM
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.
Solved! Go to Solution.
2023-01-19 09:56 AM
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.
2023-01-19 09:56 AM
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.