Hi,
I am trying to record audio from a PDM microphone (SPH0641LM4H-1)
the microphone is connected as follow:
i tried using gstreamer to record but the file i get is just noise.
i can see the output clock to the microphone and the data outputting from it.
this is one of the commands i tried:
gst-launch-1.0 -v alsasrc device=plughw:1,0 ! queue ! audioconvert ! audio/x-raw, rate=16000 ! vorbisenc ! oggmux ! filesink location=alsasrc.ogg
the PDM is conneted to the micfil driver:
[ 3.225068] imx-micfil sound-micfil: snd-soc-dummy-dai <-> 30080000.micfil mapping ok
[ 3.232926] imx-micfil sound-micfil: ASoC: no DMI vendor name!
[ 4.130242] #1: imx-audio-micfil
any suggestions?
Hi,
Are you able to solve the problem? request you share the details.
we are also facing the similar issue.
Regards, Sreedhar
Hi Dudi
one can try with pdm unit test:
mxc_pdm_test\test - imx-test - i.MX Driver Test Application Software
check sect.7.6.4.1 User Interface i.MX Linux Reference Manual
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------