cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H735G-DK DFSDM Audio Record example not working

NRedd.2
Associate III

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?

 

1 ACCEPTED SOLUTION

Accepted Solutions
MOBEJ
ST Employee

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

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.

View solution in original post

3 REPLIES 3
MOBEJ
ST Employee

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 :

STM32H735dkSTM32H735dk

 

Microphone MEMS Module :

 

MB1299_Microphone_MEMS_ModuleMB1299_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

 
 

 

 

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.

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

MOBEJ
ST Employee

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

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.