Read two ADC channels with I2S & DMA
Posted: Wed Dec 20, 2023 10:21 am
by AntonioTesta
Hello folks, I am looking for a funcional sample to reading two ADC channels using I2S & DMA. Every part I have found does not work or does not even compile without erros... Thanks
Re: Read two ADC channels with I2S & DMA
Posted: Thu Dec 21, 2023 8:12 pm
by AntonioTesta
AntonioTesta wrote: ↑Wed Dec 20, 2023 10:21 am
Hello folks, I am looking for a funcional example to reading two ADC channels using I2S & DMA. Every part I have found does not work or does not even compile without erros... Thanks
I forgot to mentioned that I used IDF 5.1.2. I am trying to get a i2s buffer with two interleaved ADC channels readings such 3 7 3 7 3 7 ... I am newer in IDF development but I think it should be easy for who has some skill on it... Any help will be very very appreciated. Thanks
Re: Read two ADC channels with I2S & DMA
Posted: Sun Dec 24, 2023 4:12 pm
by AntonioTesta
Some posts like this:
https://github.com/espressif/esp-idf/pu ... a407f4f58e
ensure that is possible to read multi channels into a DMA buffer but they do not tell how !!!