cancel
Showing results for 
Search instead for 
Did you mean: 

PDM MEMS Microphone Not Working Properly When Attached to PB14

wenjing
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

3 REPLIES 3
wenjing
Associate II

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

f5f251a2d0565389d55b257cea915a9.jpg

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

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

i did forgot to remove the led on the nucleo