STM32F412 board used as HID apears in Windows Device Manager as "Unknown USB Device ( Device descriptor Request failed )"
Hello dear ST Community,
I am not sure I can get help here as this topic is related to a WeAct Studio STM32F412 board and not a Nucleo or Discovery board from ST. If not that is fine , no problem.
So, back to my issue :
For this particular type of project, in the past we used STM32F411 boards but this time we had to change to a board with more RAM's ...
The rest of the code in the MCU works as expected.
When we connect the USB cable to PC in the Device Manager we get this error :
"Unknown USB Device ( Device descriptor Request failed )"
We using CubeMX and STM32Cube in VSCode
In CubeMX I setup now just the basic USB_OTG_FS : Device only
Middleware : USB Device as Human Interface device class (HID)
** We can share code or ioc file if needed …
What I did :
- USB Clock is set 48MHz
- I tried HSI and HSE for the clock - there is said for the USB to work it requires HSE
- I changed the USB cable
- I revert to just basic HID and the default report ( but anyway Windows didn’t asked for it yet … )
Could you please help suggest what can be the cause of this ...
Best Regards,
Cristian
