Page 1 of 1

not able to enable ADC1 with ESP-IDF V3.0

Posted: Thu May 03, 2018 3:14 pm
by lockbird
Hello everyone,
I'am currently working on making adc1 to work with i2s. On the previous versions of ESP-IDF there was a function called "i2s_adc_enable()" in the i2s driver lib. but it seems to have disappeared in the new version (v3.0). I2S can start but i'am unable to get any value from the adc. Do you have any idea on how to start the adc conversion continuously working with i2s??

I tried to upload the example i2s_adc_dac but still didn't get any result from adc conversion.

Have a good day

Re: not able to enable ADC1 with ESP-IDF V3.0

Posted: Mon May 07, 2018 9:53 am
by ESP_Angus
Hi lockbird,

Thanks for reporting this. This was a bug which made it into the ESP-IDF V3.0 release (I2S ADC mode not activating correctly). The master branch (v3.1-dev) is working.

We'll backport the fix to the v3.0 release branch ASAP.


Angus

Re: not able to enable ADC1 with ESP-IDF V3.0

Posted: Fri May 25, 2018 1:51 am
by ESP_Angus
Hi,

Sorry for the slow update. The fix for this issue was merged to the release/v3.0 branch last week:
https://github.com/espressif/esp-idf/co ... 62755af84f

If you check this branch out directly then you will have the fix. There will be a v3.0.1 release taken from this branch in the future, although we don't an ETA for this yet.

Angus