cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to get a single "sample" from a MEMS microphone using the PDM2PCM on an STM32? I'd like to take a single sample instead of reading in 16+ samples during one conversion... How would this be setup?

kcire L.
Associate III
 
1 REPLY 1
Eleon BORLINI
ST Employee

Hi @kcire L.​ ,

it should be possible to simply change the related parameter in the configuration structure called “output_samples_number�?, setting it to 1.

But then you have to all it more frequently in your code, for example every bytes for a 64x decimation.

Please check it and let me know.

-Eleon