Skip to main content
Associate II
July 8, 2023
Solved

Porting STM32H7 Composite-Audio-HID to STM32G4

  • July 8, 2023
  • 1 reply
  • 1337 views

I am trying to develop a HID and UAC Composite Device with STM32G491.

I was proceeding with the implementation with reference to I-CUBE-USBD-Composite, but although it is recognized as a Composite Device from Windows 11, a problem like this occurs and I cannot find a solution, so I try porting the Composite_Audio_HID.

I succeeded in building it with STM32CubeIDE, but when I executed it on my board, I got a HardFault_Error when USB_WritePMA() was called in the middle of USBD_LL_SetupStage().

My project is available here.

Please let me know if you have any advice.

This topic has been closed for replies.
Best answer by yamamo2shun1
 

I gave up on implementing a Composite Device in this way, but by using TinyUSB, I succeeded in implementing a Composite Device for HID and UAC.

Please refer to this repository if you are interested.

1 reply

yamamo2shun1AuthorBest answer
Associate II
July 24, 2023
 

I gave up on implementing a Composite Device in this way, but by using TinyUSB, I succeeded in implementing a Composite Device for HID and UAC.

Please refer to this repository if you are interested.