2023-02-21 09:35 PM
I am trying to test a CustomHID from the STMCubeMX code and the project does not seem to work as intended.
When I use the HID Standalone example for the STMH735G Dev Kit the project works as intended however when I try to set it up with the CustomHID windows gives this error. I changed the clocks to match the HID Standalone project with a max clock of 520mhz.
Wondering what I am doing wrong or if there is some setting that needs to be modified for this to work properly. Looks like everything is setup and should work already but doesn't
Solved! Go to Solution.
2023-02-22 07:58 PM
I resolved the issue,
the project with the default descriptor does not actually set anything up.
I followed this video for setting up the USB device
https://www.youtube.com/watch?v=3JGRt3BFYrM&ab_channel=STMicroelectronics
2023-02-22 04:30 AM
Hello @Community member,
Check the differences in Clock Configuration between the -ready to use- application and your project created with CubeMx.
Have a look at this FAQ: USB device not recognized.
Imen
2023-02-22 07:35 PM
Hi Imen,
The clocks are identical to the ready to use application and my application.
I increased the heap size to 0x1000 as suggested and this still did not resolve the issue.
still receive code error 10
when attempting the CDC example for AzureRtos
I get this, I dono if this is helpful information to resolving this.
2023-02-22 07:58 PM
I resolved the issue,
the project with the default descriptor does not actually set anything up.
I followed this video for setting up the USB device
https://www.youtube.com/watch?v=3JGRt3BFYrM&ab_channel=STMicroelectronics
2023-02-23 12:45 AM
Hi @Community member ,
Glad to know the issue has been solved.
Please allow me to close this thread and thank you again for your contribution.
Imen