Skip to main content
Graduate II
July 16, 2024
Solved

STM32H735G-DK DFSDM Audio Record example not working

  • July 16, 2024
  • 2 replies
  • 1357 views

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?

 

    This topic has been closed for replies.
    Best answer by MOBEJ

    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

    2 replies

    ST Employee
    July 16, 2024

    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

     
     

     

     

    NRedd.2Author
    Graduate II
    July 16, 2024

    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

    MOBEJAnswer
    ST Employee
    July 16, 2024

    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