2026-03-12 2:32 AM - edited 2026-03-12 2:32 AM
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
Solved! Go to Solution.
2026-03-12 3:03 AM
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.
2026-03-12 3:03 AM
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.