2025-04-24 6:17 AM - last edited on 2025-05-08 1:31 AM by mƎALLEm
Hi,
I am working with STM32G0B1CETx for an application as a replacement of STM32F105VCTx. I want to use to USB as Custom Human Interface Device Class. I am using CubeMx with MDK-ARM. I have configured USB_DRD_FS as Device_only_FS and Middleware section -> USB_Device i configured the same params as STM32F105VCTx for STM32G0B1CETx .
When USB is plugged to Laptop STM32F105VCTx recognizes device with product string i have configured. but STM32G0B1CETx its showing Device Descriptor Request failed.
Any changes i missed? Can anyone help out?
Thank you
SPK
2025-04-26 12:23 PM - edited 2025-04-26 12:23 PM
The MCUs are quite different so it is likely that you've missed some details.
Here you can find help with your STM32 project.
2025-04-29 8:52 PM
Hi
These are setting i have implemented... In main USB init is done.(only Cube mx generated code) rest everything is empty. When i run the code it suppose to show device name under my devices in my windows.
Am i Missing any thing... Thanks for helping out..
2025-05-06 1:57 PM
Which board do you have? Nucleo or a custom one?
2025-05-06 9:40 PM
Hi Pavel,
Its a custom board.
2025-05-07 4:36 AM
Then the situation is "something does not work on a custom board" :( All bets are off.
2025-05-07 4:39 AM
Hi Pavel,
I am able to connect via custom board when i changes setting to custom HID. But After my PC detects its showing driver error.
2025-05-07 11:59 PM
Hi,
In CubeMx when i configure device as HID Device it properly listed in My PCs device driver.
But when I change to Custom HID My PCs device driver is detecting device but showing driver error.
Just an update i saw. any way this can be resolved?
2025-05-08 6:43 AM
Then it can be just er.... a little bug in the code.
> any way this can be resolved?
Someone should review the generated code and look for anything obvious, then debug. This way.