2023-07-25 03:03 AM - last edited on 2023-08-07 02:38 AM by Amel NASRI
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
2023-07-25 03:18 AM
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.
2023-07-25 03:20 AM
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