Read two ADC channels with I2S & DMA

AntonioTesta
Posts: 7
Joined: Wed Jun 21, 2023 11:47 am

Read two ADC channels with I2S & DMA

Postby AntonioTesta » Wed Dec 20, 2023 10:21 am

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

AntonioTesta
Posts: 7
Joined: Wed Jun 21, 2023 11:47 am

Re: Read two ADC channels with I2S & DMA

Postby AntonioTesta » Thu Dec 21, 2023 8:12 pm

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

AntonioTesta
Posts: 7
Joined: Wed Jun 21, 2023 11:47 am

Re: Read two ADC channels with I2S & DMA

Postby AntonioTesta » Sun Dec 24, 2023 4:12 pm

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 !!! :evil:

Who is online

Users browsing this forum: No registered users and 91 guests