STM32F411-disco low audio quality with PDM microphone
Hi,
I'm struggling with recording audio on STM32F411-disco (MB1115D) board.
I'm trying to run dedicated to this board example (Audio_playback_and_record), but out of the box it just doesn't work - recorded file is all silence.
I've spend quite amount of time on that, and after borrowing logic analyzer, I found that, microphone do not output any data - looks like clock is too low. Audio_playback_and_record example uses 16Khz audio sampling, when I increase it to 48Khz by changing below line:
#define DEFAULT_AUDIO_IN_FREQ I2S_AUDIOFREQ_48KIt kinda start working, there is finally some sound being recorded but there is also a lot of glitch there.
Overall quality is very low.
Given, that do I miss something here? I was expecting that it will be super easy weekend project since I have my board, my PDM mic on it and examples but reality isn't that beautiful :face_with_rolling_eyes:
Attaching the recording, Thanks in advance.
