2025-05-15 10:55 PM
Hi,
I want to enable the onboard microphone sensor in STM32H757I-EVAL and code that for recording audio. I am struck here for some days. It would be great if anyone can share your insights on how to navigate through this. It would be appreciated if anyone can also share how to configure this in stm32cubeide
Thank you
2025-05-16 1:12 AM
Hello ,
Please refer to the application note, which provides configuration examples for audio. In section 4, titled "Examples of Configuration Based on STM32CubeMX," you'll find detailed guidance on creating a basic audio application. This section walks you through the necessary steps to acquire PDM data from digital microphones in mono or stereo modes and convert it into PCM data.
Additionally, check if your board has MP34DT01 digital microphones mounted. If so, you can follow the DFSDM_AudioRecord example for the STM32H747i DK. This example demonstrates how to use the DFSDM HAL API for stereo audio recording, and you can port it to your specific board.
Br