Skip to main content
Explorer
August 11, 2025
Question

discovery board PDM Microphone DMA

  • August 11, 2025
  • 1 reply
  • 729 views

Hi everyone,
create the cubeide project for onboard PDM MEMS microphone on stm32 discovery kit. 
1- I2S2
2-Mode: Half Duplex Slave
3-DMA Settings -> add -> SPI2_TX 
Problem in section 3 . I cannot see the SPI2_RX which I will get the PDM peripheral to memory. As much as I know that is the right. Also I watched a video it is the same. Where is the problem. New version of software has problem? Or I can do something for it? 
Thanks for help in advance.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    October 9, 2025

    Hello @Zek_De ;

     

    First of all, I apologize for my late reply.

    Do you generate code with STM32CubeMX? If yes, which STM32CubeMX version are you using?

    I recommend you to look at "Audio_playback_and_record" example in STM32CubeF4 firmware package under this path " ..\STM32Cube_FW_F4_V1.28.2\Projects\STM32469I-Discovery\Applications\Audio\Audio_playback_and_record".  This application shows how to use the different functionalities of Audio device and ST MEMS microphones.

     

    Thank you.

    Kaouthar