Skip to main content
USBPD Dan
Associate II
January 18, 2023
Solved

USBPD Core library calling reset handler on DISCOVER SVID Reception

  • January 18, 2023
  • 1 reply
  • 1069 views

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.

This topic has been closed for replies.
Best answer by USBPD Dan

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.

1 reply

USBPD Dan
USBPD DanAuthorBest answer
Associate II
January 19, 2023

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.