PDM2PCM stereo audio acquisition via SAI/ I2S
Hello Gurus :)), I am currently trying to acquire 2 mic stereo data with SAI interface and have some questions regarding to de-interleave the input PDM stream. My nucleo board is nucleo-f446re. I am currently acquiring 8 bit pdm data with the relevant pdm buffer, but I am not certain if these PDM input stereo data are bit-interleaved or byte-interleaved.I have already read AN446, STM32 microphone acquisition youtube 8 video series, UM2372, rm for my board, and most of they say they are bit interleaved but in XCUBE-MEMS1 package example, I saw no deinterleaving or anything. If they are bit-interleaved, do I need to conduct bit-masking and bit-shifting before processing them in PDM2PCM middleware? Would love to know some sample codes too.
