ESP32 simple ADC pin with DMA

I am trying to find an example of how to read an analog value from a simple ESP32 pin and store values in buffers using DMA for fast sampling. I was expecting samething simple but the ESP32 API documentation is poor and the I2S feature is too complex for dumb beginner like me !!! Does anybody would point me an example of how to do that ? Thanks a lot

The solution is at ESP32: I2S ADC read. Two inputs possible? post#1

I'm also trying to use a direct memory access ADC. Not everything is clear. So the command does not work for me: adc1_config_channel_atten(ADC_INPUT, ADC_ATTEN_DB_11); I've tried different attenuation levels but they don't work. I always get the same result.

Did you have success in this issue ?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.