How to get PDM data to SAI from STM32WB55 and convert it to a PCM signal?
Hi,
I have a problem with an audio application on the STM32WB55 board. I would like to receive data from a digital microphone over the SAI inferface. I setup the Clock for this interface to 3.09MHz. After that I receive Data over the interface by polling the sensor. For the conversion to a PCM signal I use the PDM library and the PDM_Filter() function.
My output signal from this funktion isn´t correct. I don´t know, if my receiving function is correct, too. I append some photos of the PDM signal and the PCM signal. I am new in microcontroller programming. I would be glad if anyone has some advice for me.
Thanks Robin
