Problem with USBPD
Hi,
i am trying to use USBPD for my project. We are using the STM32G474RET in combination with the TCPP01-M12. In our application the STM32G4 should work as sink.
I built a project for USBPD (with FreeRTOS), but the USBPD functions were just not called...
I put breakpoints in some Functions that should have been called in any way if a USBPD source is connected but nothing happened.
I built a new project with just USBPD in basic configuration without any new code in the functions.
Compilinng was ok without errors, but in debugger still no functions were called.
When I changed the USBPD Stack Configuration from PD3 Min Sink to PD3 Full Stack, I had errors after compiling:
c:\st\stm32cubeide_1.6.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: cannot find -l:USBPDCORE_PD3_FULL_CM4_wc32.a
c:\st\stm32cubeide_1.6.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: cannot find -l:USBPDCORE_PD3_FULL_CM4_wc32.a
Even when i changed the configuration back to Min Sink there was the same error for Min Sink...
So i think anything ist wrong there already at the beginning.
I also tried to build a project in CubeMX and open it in CubeIDE because the folder structure is different then. But i had the same problem.
I dont know what to do because first after compiling there is no error and after changing to other configuration and back, what should be the same like before, there are errors...
If you need more information for helping me with this just tell me what you need.

