i2s_pdm example - accessing raw pdm data

jjjbbb
Posts: 1
Joined: Sun Dec 31, 2023 11:36 pm

i2s_pdm example - accessing raw pdm data

Postby jjjbbb » Mon Mar 11, 2024 4:00 am

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

ESP-Kevin
Posts: 9
Joined: Fri Jul 01, 2022 6:10 am

Re: i2s_pdm example - accessing raw pdm data

Postby ESP-Kevin » Sun Mar 24, 2024 10:57 am

It's a pity that the raw PDM is not supported in IDF currently. But will be supported in the future ;)

ESP_Sprite
Posts: 9761
Joined: Thu Nov 26, 2015 4:08 am

Re: i2s_pdm example - accessing raw pdm data

Postby ESP_Sprite » Mon Mar 25, 2024 1:52 am

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.)

Who is online

Users browsing this forum: Google [Bot] and 100 guests