cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 USB Audio Class

vo1d
Associate

Hello,
I need to build a USB headset(mic+speaker) using STM32H742VIT6 for a project. I want the stm32h7 to be recognized as a audio device when connected to a PC/android device. Is this possible?

This is my first time using a STM Board with cubeMX and cubeIDE, so I want to build the microphone part first. I am having trouble programming the board, specially what middleware to use, how the structure of the project works in the ide, what would be the setup e.g. clock config, dma, adc, timer configuration. It would be nice if I could get some resources/guide on how to start, because I am lost inside the mx and ide!

Hardware: 
WeAct Studion STM32H742VIT6
MAX4466 mic

1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

Hi  @vo1d  & welcome to ST Community

You can get started from the following example available in the STM32CubeH7 package:

./Projects/STM32H743I-EVAL/Applications/Audio/Audio_playback_and_record

This example provides a good starting point for working with audio playback and recording on STM32H7. It does assume some familiarity with STM32 audio concepts, but no worries, if you have any questions or need clarification on specific parts of the example, we’re here to support you.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.




Best regards,
FBL

View solution in original post

1 REPLY 1
FBL
ST Employee

Hi  @vo1d  & welcome to ST Community

You can get started from the following example available in the STM32CubeH7 package:

./Projects/STM32H743I-EVAL/Applications/Audio/Audio_playback_and_record

This example provides a good starting point for working with audio playback and recording on STM32H7. It does assume some familiarity with STM32 audio concepts, but no worries, if you have any questions or need clarification on specific parts of the example, we’re here to support you.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.




Best regards,
FBL