cancel
Showing results for 
Search instead for 
Did you mean: 

USB CDC minimum working example for STM32C071?

aj-adkins
Associate

Apologies for the ignorance, I'm a beginner with STM32 and I purchased the STM32C071K8T6 MCU since it has built-in USB capabilities. I am trying to implement USB CDC, but I'm becoming quite confused with all the USBX and ThreadX stuff I have to enable. Currently, just through configuration of the IOC file, I can get the device to appear in my PC device manager, but it is not enumerated (device descriptor request failed). I have not found many other resources describing in simple terms how I can just get a basic virtual com device up and running, especially for the C0 series. Could anybody provide a basic minimum working example to have the device enumerated? Thank you.

1 REPLY 1
TDK
Super User

Here's a working example for the NUCLEO-C071RB board:

STM32CubeC0/Projects/NUCLEO-C071RB/Applications/USBX/Ux_Device_CDC_ACM at main · STMicroelectronics/STM32CubeC0

If you feel a post has answered your question, please click "Accept as Solution".