Skip to main content
Visitor II
August 16, 2023
Solved

STMU575 USB CDC_ACM with legacy USBD library

  • August 16, 2023
  • 1 reply
  • 1750 views

Hi !

I need to replace my STMG474 to STMU575.

I've implemented the USB (CDC) using the USBD library, all works correct.

Now I'm trying to implement this on the STMU575, but without success,

It looks like the hardware not configured correctly, because Im getting no interrupts at all

(no Setup INT or Rx/Tx)...

Tried to work according to this example: 

https://github.com/STMicroelectronics/stm32u5-classic-coremw-apps/tree/main/Projects/NUCLEO-U575ZI-Q/Applications/USB_Device/CDC_Standalone

My main question is, is it possible to implement the STM32U5's USB CDC_ACM with the legacy library ?

Is it mandatory to configure and activate the UCPD peripheral ? because now it have'nt (I dont need the Type-C connection, or I didnt understand that right) ?

 

Thanks for any reply !

    This topic has been closed for replies.
    Best answer by jiangfan

    I think it is possible to implement the STM32U5's USB CDC with the legacy library.

    It is not mandatory (no need) to configure and activate the UCPD peripheral.

    1 reply

    jiangfanAnswer
    ST Employee
    August 18, 2023

    I think it is possible to implement the STM32U5's USB CDC with the legacy library.

    It is not mandatory (no need) to configure and activate the UCPD peripheral.