Page 1 of 1

ESP32-S2 ADC DMA Audio

Posted: Sun Aug 22, 2021 8:29 am
by MarkusR
Hi,

does anyone have an example how to sample audio with the esp32-s2 via ADC?
As far as I've seen the i2s api doesn't work or isn't fully implemented to work via DIG on the esp32-s2 with the current esp-idf package.

I want to sample 44100hz/1 channel/8bit (so 12bit is ok).

Re: ESP32-S2 ADC DMA Audio

Posted: Sun Aug 22, 2021 9:49 am
by Victoria Nope
I don't quite understand what you are asking here (what is the aim), so just to mention, there is the ESP-ADF framework for audio processing.

Re: ESP32-S2 ADC DMA Audio

Posted: Sun Aug 22, 2021 1:30 pm
by MarkusR
The processing itself is not the problem, how to acquire audio via ADC/DMA(DIG) is the question.

ok got everything sorted out. some formula is a bit difficult to understand and not well documented it seems.