2025-06-09 3:07 PM
I have a u5 dev board running a usbx msc reference design , which works fine. I'm trying to disable the usbpd side of things within the reference example. I've disabled the usbpd midlewear and peirphal port for the 2 pd pins aswell as disabling the adc input.
The design compile fine, after removipng the bsp however the usb msc doesn't work. Is there something I'm missing? There was one post mentioning about removing threadx messageing ques, I did try tweaking some of the threadx code but couldn't get anything working
Any ideas on how to fully remove the pd code as I'm just using usb+and usb- ldata pins.
2025-06-10 10:46 AM
Hi @Sidewinder
Using CubeMX, you can disable UCPD peripheral, DMA channels and ADC. Then, regenerate code.
Attached an example MSC without power delivery stack.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-06-15 2:28 PM
Hi FBl.
Thanks for the attachment. I have tried it on my u5 dev board but still no usb enumeration. In my working msc design I disable dma,adc and pd in cubeide using the peripheral configuration and then compile the design. Once compiled the programme won't enumerate with windows. But did before removing the peripherals. Is there any application code I need to change? I compared my code against your attached design and they look identical.