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

lockbird
Posts: 1
Joined: Thu May 03, 2018 2:58 pm

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

Postby lockbird » Thu May 03, 2018 3:14 pm

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

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

Postby ESP_Angus » Mon May 07, 2018 9:53 am

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

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

Postby ESP_Angus » Fri May 25, 2018 1:51 am

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

Who is online

Users browsing this forum: Google [Bot] and 88 guests