cancel
Showing results for 
Search instead for 
Did you mean: 

USBPD need for USBX communication

fs.clar
Associate

Hello,

I'm using the Evaluation board B-U585I-IOT02A for the STM32U585, and I'm playing around with the USB communication using the example "Ux_Device_HID_CDC_ACM". However, I'm not sure to fully understand the use of the middleware USBPD, which in my case I don't use (for my project I mean). Given that the VBus detection pin is not routed on the STM, am I right to assume the only purpose of the USBPB is to trigger the communication? Is there a way not to use the USBPD middleware?

Thanks,

Federico

2 REPLIES 2
RhSilicon
Lead

Have you seen this post from the link below?

https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Getting_started_with_USB-Power_Delivery_Sink

2.1 Configure UCPD peripheral

    In the Connectivity tab, select the UCPD1 peripheral and enable it

In order not to use it, generally the user does not activate the peripheral.

I understand, but my question is why in the examples from all the USB STM32U5's, the USBPD is activated and whether or not it is forcibly necessary to do so.

Thanks