cancel
Showing results for 
Search instead for 
Did you mean: 

USB CDC device not recognized

Sandman2
Visitor

Hello everyone. 

I am using an F411 and I cannot figure out how this is supposed to work. 

I enabled USB_Device in middleware, enabled USB_OTG_FS, and set up line encodings based on the default STM32 example, but when I flash STM (or step through with the debugger) I run into an error during the initialization that says "The last USB device you connected to this computer malfunctioned, and Windows does not recognize it." Apparently this means I am not enumerating.

I went through other posts on this forum. I made sure interrupts were enabled, that the clock is exactly 48 Hz, and I allocated extra space on the heap and the stack. 

Sandman2_0-1764225519675.png

Here is a picture of my clock.

Sandman2_1-1764225567364.png

Here is my USB schematic. 

What does this mean? How can I even go about fixing this?

Thanks




0 REPLIES 0