Skip to main content
Visitor II
July 25, 2023
Question

USBPD need for USBX communication

  • July 25, 2023
  • 1 reply
  • 1325 views

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

    This topic has been closed for replies.

    1 reply

    Graduate II
    July 25, 2023

    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.

    fs.clarAuthor
    Visitor II
    July 25, 2023

    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