Page 1 of 1

i2s_pdm example - accessing raw pdm data

Posted: Mon Mar 11, 2024 4:00 am
by jjjbbb
Hi,

Is it possible to access the raw pdm data (not converted to i2s) in the i2s_pdm_rx esp-ifd example?

I am looking for an easy way to potentially store the raw pdm data eventually. Either in flash(I only need a few seconds) or on an SD card

Thanks

Re: i2s_pdm example - accessing raw pdm data

Posted: Sun Mar 24, 2024 10:57 am
by ESP-Kevin
It's a pity that the raw PDM is not supported in IDF currently. But will be supported in the future ;)

Re: i2s_pdm example - accessing raw pdm data

Posted: Mon Mar 25, 2024 1:52 am
by ESP_Sprite
Note that you may be able to work around this by configuring the I2S peripheral in normal (I2S) mode with the correct parameters for the PDM serial format; you should be able to receive the raw samples that way (but you won't have access to the decoded samples as the decoder isn't used.)