cancel
Showing results for 
Search instead for 
Did you mean: 

[STM32F4-Discovery] Custom HID with HAL libraries

angeletti
Associate II
Posted on July 11, 2015 at 18:00

Good evening at all.

I'm trying to port the CustomHID_Standalone example from STM324xG_EVAL example application in latest HAL driver to the STM32F4-Discovery board. I successfully get no errors in compiling the firmware (adapted to use stm32f4_discovery.c) and other files relative to the specific board and it is recognized from windows, but not ENUMERATED.

Anyone had success in this task?

However, anyone as a correctly ported example from  STM324xG_EVAL  to STM32F4-DISCOVERY to share? It could be a nice starting point for my project.

Thank you all in advance.

#stm32f4-disco #hal #usb #hid
2 REPLIES 2
Posted on July 11, 2015 at 21:50

Make sure the HSE_VALUE and PLL settings reflect that the DISCO board has an 8 MHz source, vs the 25 MHz of the EVAL

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
angeletti
Associate II
Posted on July 12, 2015 at 12:18

This was exactly the problem. Thank you very much clive1!