cancel
Showing results for 
Search instead for 
Did you mean: 

Porting STM32H7 Composite-Audio-HID to STM32G4

yamamo2shun1
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
yamamo2shun1
Associate II
 

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.

View solution in original post

1 REPLY 1
yamamo2shun1
Associate II
 

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.