Skip to main content
Explorer
January 5, 2025
Solved

PDM MEMS Microphone Not Working Properly When Attached to PB14

  • January 5, 2025
  • 1 reply
  • 999 views

i am working on an acoustic project and starting with ST products below:

nucleo-F413zh:https://www.st.com/en/evaluation-tools/nucleo-f413zh.html

X-NUCLEO-CCA02M1:https://www.st.com/en/ecosystems/x-nucleo-cca02m1.html

STEVAL-MIC001V1:https://www.st.com/en/evaluation-tools/steval-mic001v1.html

but i got different PDM waveform output

for mic1 on the left, the output is below,C2 for pdm data,C3 for clock

77b9ba55feddb2c43bf04babe4df27e.jpg

SDS824X_HD_JPG_4.jpg

SDS824X_HD_JPG_6.jpg

however,for mic2 on the right, the output is below,C2 for pdm data,C3 for clock

ec1e9f8974cba71c3941bf0f9795366.jpg

SDS824X_HD_JPG_3.jpg

SDS824X_HD_JPG_2.jpg

I have switched two mics, it turns out that the moment DATA pin of mems mic attached to PB14 of stm32f413zh, the waveform would turn from rectangle wave to the weird wave,

according to my configuration in cubemx,i have already set PB14 as a input channel of DFSDM1:

wenjing_1-1736104825010.png

i have upload my cubeide project.

Could someone please help me with that:

1.Is the Mems microphone working properly? Is the rectangle wave a correct PDM output?

2.What could possibly cause this problem? Why PB14 would make the waveform transfer from rectangle wave to a weird wave? How can i deal with it?

    This topic has been closed for replies.
    Best answer by Andreas Bolsch

    According to UM1974, red LED is connected to PB14 by default. Did you remove SB118?

    1 reply

    wenjingAuthor
    Explorer
    January 5, 2025

    BTW, i also switched between two Nucleo-F413zh ,and this problem occurs on both

    f5f251a2d0565389d55b257cea915a9.jpg

    Explorer II
    January 5, 2025

    According to UM1974, red LED is connected to PB14 by default. Did you remove SB118?

    wenjingAuthor
    Explorer
    January 5, 2025

    thank you for your reply! Your advice do help me a lot!

    i did forgot to remove the led on the nucleo