Search found 7 matches

by AntonioTesta
Sun Dec 24, 2023 4:12 pm
Forum: ESP-IDF
Topic: Read two ADC channels with I2S & DMA
Replies: 2
Views: 8602

Re: Read two ADC channels with I2S & DMA

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:
by AntonioTesta
Fri Dec 22, 2023 2:00 am
Forum: ESP-IDF
Topic: ESP-IDF precision of double limited to 7 decimal places?
Replies: 6
Views: 2780

Re: ESP-IDF precision of double limited to 7 decimal places?

I think the problem is not the decimal places but the total digits involved (integer part plus decimal part) that seams to be limited to 11 or 12 in total. I do not know about IDF but using Arduino IDE I had the following results: float QI=17.0/3.0; float RI=999999.999999/3.111; void setup() { Seria...
by AntonioTesta
Thu Dec 21, 2023 8:12 pm
Forum: ESP-IDF
Topic: Read two ADC channels with I2S & DMA
Replies: 2
Views: 8602

Re: Read two ADC channels with I2S & DMA

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 readin...
by AntonioTesta
Wed Dec 20, 2023 10:21 am
Forum: ESP-IDF
Topic: Read two ADC channels with I2S & DMA
Replies: 2
Views: 8602

Read two ADC channels with I2S & DMA

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
by AntonioTesta
Mon Sep 18, 2023 11:14 am
Forum: Hardware
Topic: Sampling multiple channels via ADC DMA
Replies: 2
Views: 4524

Re: Sampling multiple channels via ADC DMA

Did you both hdejong and pilotjiri have success reading two simultaneous channels using i2s and DMA on ESP32 ??? I have this problem since many years ago and so far there is no solution. I would suggest to someone from Espressif enter into this issue...
by AntonioTesta
Mon Jul 31, 2023 8:47 pm
Forum: ESP-IDF
Topic: I2S -Driver with two ADC channels
Replies: 1
Views: 1748

Re: I2S -Driver with two ADC channels

Hello... Did you find some solution about how to read two ADC channels simultaneously using DMA & i2s ? I have tha same problem here. I wonder if someone from Espressif would help in this matter...
by AntonioTesta
Wed Jun 21, 2023 12:55 pm
Forum: ESP-ADF
Topic: Changing i2s sample rate dynamically
Replies: 1
Views: 4718

Changing i2s sample rate dynamically

Does anybody know how to change the i2s sample rate during execution time ? The .sample_rate bellow i2s_config_t i2s_config = ... accepts only constants, so there is no way to change that value during the program execution. Any help will be appreciated. Thanks