AnsweredAssumed Answered

STM32F415RG hid usb sample does not enumerate ...

Question asked by bhanot.rishi on Aug 9, 2012
Latest reply on Aug 10, 2012 by bhanot.rishi
I am trying to use STM32F415RG OTG HS core in FS device mode but was not able to successfully enumerate it. I am using stm32_f105-07_f2_f4_usb-host-

device_lib(2.1) HID sample.

I have some confusions like :
1. I assume STM32 F415RG have only HS core as stated on Page 12 of datasheet.
    Then why we have OTG_FS_DM and DP on PA11 and PA12 on pins 44 and 45 on page 52?
   But anyways i have connected OTG_HS_DM and DP to PB 14 and PB15 on our test board. And connected  VBUS to PB13. I hope this should work , right?

2. As soon as i connect USB connector windows enumerates it as unknown device. Now i am not sure it's my custom hardware or library issue? I am using 

HID sample with USE_USB_OTG_HS,USE_EMBEDDED_PHY switches expecting to use FS mode on HS core. I tried disabling DMA, dedicated EP1 and low power 

management without any help.

3. I am using crystal of 8 MHz on our test board, and i have noticed on development boards its 25MHz, this can be my issue?

Please help me or give me some directions to look into. Thanks

Outcomes