cancel
Showing results for 
Search instead for 
Did you mean: 

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

pyoruya
Associate II

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?)

1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
FBL
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

pyoruya
Associate II

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.

@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 Accept as Solution on the reply which solved your issue or answered your question.