2021-08-25 06:24 AM
HI,
STM32 USB HID mouse generated with CubeMX not working. Tried with all Discovery board also.
Help needed. Tried on STM32F103RB, STM32F429, STM32F746, none working.
Thanks,
2021-08-25 06:43 AM
Hello,
Please, check that interrupt for USB IP is activated.
I think this was an issue before.
Otherwise, have you tried the examples that are included in the STM32 firmware packages ?
2021-08-25 08:38 PM
I have tried the examples in the packages. Which interrupts do you mean by interrupt for USB IP?
Thanks
2021-08-26 02:02 AM
>> I have tried the examples in the packages.
Do they work ?
Talking about the following interrupt "USB On The GO HS" here:
2021-08-29 02:28 AM
The examples do not work. I am using FS. Thanks for the reply.
2021-08-29 02:32 AM
I am posting here in detail.
STM32CubeIDE v1.6.1
Firmware Package Name and Version: STM32Cube FW_F1 v1.8.4
OS: Ubuntu 18.04.5 LTS \n \l
HW: STM32F103RBT6
It is not even enumerating. The .hex file provided by the board manufacturer enumerates as USB HID, but when I create a project in STM32CubeIDE / STm32CubeMX, it does not even enumerate.
Also tired on STM32F429ZI Discovery board, STM32F746 Discovery board, none working.
Attached STM32CubeIDE project.
2021-08-30 03:19 AM
Do you manage PD2 in your software?
Where do you initialize PA11 and PA12 ?
Please look at usbd_conf.c from the STM32F103RB-Nucleo example
2021-09-03 08:02 PM
Hi Mike_ST,
I got it working on STM32F103RB, the PD2 was not set correctly. I am not able to get it working on STM32F429 and STM32F746 discovery board, WIP.
Thanks all for your help and suggestions.
Regards,
Milind
2023-11-12 07:29 PM
Hi, did you managed to make it work on STM32F746?