2024-07-16 01:09 AM
Hello all,
I have not been able to get the DFSDM_AudioRecord example to work on STM32H735G-DK.
I am using CubeFW v1.11.2 and Cube MX 6.11.1.
Furthermore, I tried debugging and noticed that the DMA Callbacks for Half and Full complete are called. Then I checked the buffers to notice that the values in it were always, 32768.
The example BSP, also does not playback any recorded audio (through MEMS loopback), but is able to play the stored audio. So, the Line-Out is working fine. It has to be the MEMS.
I wanted to confirm if the examples are configured correctly, or if something on my board is faulty.
Can someone from ST or User Community please confirm that this example is working?
Solved! Go to Solution.
2024-07-16 07:58 AM
hello @NRedd.2 ,
in the readme file of DFSDM_AudioRecord project on STM32H735G-DK , they provide to use digital microphones module :
"This example shows how to use the DFSDM HAL API to perform stereo audio recording.
For this audio record we will use two IMP34DT05TR digital microphones mounted on the
MB1520 module."
so you can choose one of them IMP34DT05TR digital microphones or MP34DT01 digital microphones ( MB1299_Microphone_MEMS_Module )
BR
2024-07-16 03:07 AM
Hello @NRedd.2 ,
To ensure proper functionality, you must plug the MB1299_Microphone_MEMS_Module into the STM32H735G-DK ( on CN20). We have tested the example using this MEMS module, and it works correctly.
STM32H735DK board :
Microphone MEMS Module :
If this solves your problem, please mark my answer as "Best Answer" by clicking on the "Select as Best" button, this can be helpful for Community users to find this solution faster.
Thank you
BeST regards
MB
2024-07-16 04:56 AM
Hello @MOBEJ ,
Thank you for the quick response!
I assumed that the example provided (DFSDM_AudioRecord) was for U33 MEMS mic which is onboard on the top side.
Is it not the case?
If so, do you have an example for the onboard MEMS?
Best regards,
Navin
2024-07-16 07:58 AM
hello @NRedd.2 ,
in the readme file of DFSDM_AudioRecord project on STM32H735G-DK , they provide to use digital microphones module :
"This example shows how to use the DFSDM HAL API to perform stereo audio recording.
For this audio record we will use two IMP34DT05TR digital microphones mounted on the
MB1520 module."
so you can choose one of them IMP34DT05TR digital microphones or MP34DT01 digital microphones ( MB1299_Microphone_MEMS_Module )
BR