cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube USB CDC Unknown USB Device

Ita Dab
Associate
Posted on January 24, 2018 at 09:37

im lost! im trying to create usb cdc in STM32F405RG

the only thing im doing is to configure usb_fs as device and the usb class as a communication device class than i generate a code in STM32CUBEMx when using STM32L4 board the usb recognized as a CDC in the pc but regarding the STM32F405RG i get unknown usb device in the device manager.

this problem happening  in every STM32F4 board i used. it is like that STM32CUBEMX not working proparly.

can someone help me? thaks a lot!

3 REPLIES 3
Ben K
Senior III
Posted on January 24, 2018 at 13:30

Did you try disabling VBUS detection in the USB configuration?

Posted on January 24, 2018 at 13:40

The vbus already disabled

Imen.D
ST Employee
Posted on May 08, 2018 at 12:02

Hello

itamar868

,

I recommend you to increase heap and stack sizes in the STM32CubeMx setting.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen