This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB driver and STM32 high speed support

Hi all,

I designed a board with STM32F205. Because I overlooked the Keil driver for USB host, I connected the high speed peripheral (OTG_HS; PB14 and PB15) instead the full speed one (OTG_FS; PA11 and PA12).
To solve it, I'm modifying the Keil driver in order to use the OTG_HS peripheral instead the supported OTG_FS. I changed the peripheral base address, GPIO, RCC flag but I'm stuck. Keil driver at first sets GRSTCTL flag in order to reset the USB core; this flag should become low automatically after few cycles but in OTG_HS peripheral it remains high.
I looked the ST library to evaluate the low level porting in Keil but the interface seems different.

Has somebody ever modified the Keil driver for using the USB_HS peripheral succesfully?

Thanks a lot,

Lorenzo

0