cancel
Showing results for 
Search instead for 
Did you mean: 

Please update Custom HID implementation of STM32_CubeF0 same as G0

Ahmad M.Nejad
Associate III

I'm currently implementing USB communication on the STM32F072R8T6 microcontroller with "Custom HID" class. I'm having problems receiving data from the Host (PC) in the function below. The following happens: I can receive up to 2 data packets from the Host and then I can no longer receive and process them. In the communication on the other side, sending from "Device" to "Host" I'm not having problems, but only to receive them (Host to Device). I followed the recommendation of this link for such an implementation https://www.youtube.com/watch?v=3JGRt3BFYrM&t=257s 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Ahmad M.Nejad​ ,

Unfortunately, there is no plan to update the STM32F0 library today.

BeST Regards,

Walid

View solution in original post

3 REPLIES 3

Hello @Ahmad M.Nejad​ ,

You can refer to the following example provided under the F0 Firmware Package:

  • Path: Projects\STM32072B_EVAL\Applications\USB_Device\CustomHID_Standalone

This might help you.

BeST Regards,

Walid

Ahmad M.Nejad
Associate III

Thanks Walid,

But we don't need examples! We want to update our firmwares with new release of CubeMx libraries.

The STM32G0 library was updated recently, but same library of STM32F0 was unchanged 3 years! Why?!

Every one knows this devices are so similar and libraries can be updated at same time.

Regards

Ahmad

Hello @Ahmad M.Nejad​ ,

Unfortunately, there is no plan to update the STM32F0 library today.

BeST Regards,

Walid