2021-08-26 11:46 AM
Using USBPD 1.3.0, DRP_VDM project running on P-NUCLEO-USB002. Adding SOURCING_DEVICE macro.
STM32 is UFP (after Data Role Swap). The DFP requests Discover Identity of the SOP' but the STM32 answers with GoodCRC and never ACKs the Discover Identity.
It would seem that the STM32 should never even respond with GoodCRC since it wasn't addressed. There is no SOP'/SOP'' in the system (no marked cables). The DFP should perform Discover ID request and get no response.
I tried using the DRP_SRCING project but get compile errors with IAR (STUSB 1.2.0 did not get errors). I need Billboard instead of HID so want to use DRP_VDM.
Thanks!
2021-08-27 12:04 PM
Hello
I've jsut download the package on web and Sourcing_device compilation is ok.
Then if you want to change from HID to BB class, you need to change the compilation switch but also to 'exclude from build' folder HID and 'include in build' builboard folder. Both are located in IAR hierarchy under middelwares/ST/STM32_USB_device_library_class.
Please send our trace to see SOP' replies: compliance reports show that it was ok so we need some more input to help
Best regards
Nathalie