Skip to main content
Associate II
September 18, 2024
Solved

How can I use the USB CDC in standalone mode on the STM32U0 series?

  • September 18, 2024
  • 3 replies
  • 1634 views

I'm developing an application using the STM32U073RBT6. CubeMX configures USBX - CDC ACM based on Azure RTOS.

 How can I use the USB CDC stack of the STM32U0 series in standalone (bare-metal) mode?

 (or Is it possible to migrate the libraries from the previous L0 series?)

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

Hi @pyoruya 

Currently, STM32U0 do not support Classic core Middleware, only USBX is supported STM32CubeU0/Projects/STM32U083C-DK/Applications/USBX/Ux_Device_CDC_ACM at main · STMicroelectronics/STM32CubeU0 · GitHub
STM32U0 Workshop - Lab 4: USB Bare-Metal (youtube.com) could be helpful 

3 replies

FBLBest answer
ST Technical Moderator
September 18, 2024

Hi @pyoruya 

Currently, STM32U0 do not support Classic core Middleware, only USBX is supported STM32CubeU0/Projects/STM32U083C-DK/Applications/USBX/Ux_Device_CDC_ACM at main · STMicroelectronics/STM32CubeU0 · GitHub
STM32U0 Workshop - Lab 4: USB Bare-Metal (youtube.com) could be helpful 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
pyoruyaAuthor
Associate II
September 19, 2024

Thank you for your response.

Does this mean that the following library cannot be used with the STM32U0 series? https://github.com/STMicroelectronics/stm32_mw_usb_device

Is modifying the USBX CDC ACM to a bare-metal (standalone) form the best approach in this case?

Thank you for your assistance.

ST Technical Moderator
September 20, 2024

@pyoruya I cannot assume it cannot be used for U0 series. But for testing purposes, I assume, getting inspired by USBX stack would be the best approach for testing purposes.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL