2025-08-11 2:18 PM
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.
2025-10-09 1:30 AM
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
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.