2025-11-04 4:05 AM
Hi,
I am trying to get USBPD running. I need a simple example code without RTOS. So I used CubeMX. As far as I see it should be easy. All I need to do is:
- Turn on the UCPD1 under Connectivity. Here I set "Source".
- Turn on the UCPD1 Interrupt
- Turn on USART1
- Set the DMA settings of UCPD1 and USART1 (here I have used the settings of the working CubeH5 project)
- Turn on USBPD under middlewares
- Enable TRACER under utilities
- Enable TRACER in USBPD under middlewares
- Enable GUI_INTERFACE under utilities
This config should work, but it is not working. There is no event handling.
Now I need help. The ioc file is included.
Regards
Roman