cancel
Showing results for 
Search instead for 
Did you mean: 

usb device vcp won't give any life on PC

SMaes.3
Associate

I'm creatring an application on a STM32F412RG. Because I'v to build a lib that integrates in a bigger buid I have to use the standard peripheral lib instead of being able to use CubeMX unfortunately.

I'm alreadys truggling for more than a week with getting a USB FS VCP working. When I create a new cubemx project and configure the OTG module as a FS CDC device a USB serial port enumerates in my device manager on my own hardware, so this is ok.

If I use the On The Go host and device lib from ST on my real application nothing enumerates at all when USB is connected. I've also triued the USB lib 24 from stm32f4-discovery.net/ which seems to be a simplified version of the STM lib, but this has the same result.

OTG registeres are filled and everything compiles without errors or warnings, but still nothing happens. Has anyone tips or ideas where I start looking why it is not working?

I use PLL clock. My sysclock runs at 60Mhz and the USB clock is configured at 48Mhz

0 REPLIES 0