-->
Page 1 of 1

ESP8266 ADC disabled when WAKE_RF_DISABLED?

PostPosted: Thu Oct 06, 2016 12:22 pm
by Jeff Stuart
Two samples (ESP12F, Arduino 1.6.6, SDK 2.0.0) running with the radio off (WAKE_RF_DISABLED), apparently, the ADC is completely disabled too.

Sorry if this is a known phenomenon, I couldn't find it searching with the obvious keywords. Is there a way to use the ADC with the radio off?

Thanks,
Jeff

Re: ESP8266 ADC disabled when WAKE_RF_DISABLED?

PostPosted: Fri Oct 07, 2016 4:35 pm
by torntrousers
Sounds like this. I think its working now with the latest code.

Re: ESP8266 ADC disabled when WAKE_RF_DISABLED?

PostPosted: Sat Oct 08, 2016 11:02 am
by Jeff Stuart
Thank you Torn. Yup, a newer Arduino ESP package gets me SDK 1.5.3 which enables the ADC with the radio disabled.

Unfortunately I'm now getting streams of "pll_cal exceeds 2ms!!!" errors when the system starts up with the radio disabled. (Runs fine with the radio on.) I see a thread on the Espressif BBS (http://bbs.espressif.com/viewtopic.php? ... 2ms#p10010) regarding that error, but it doesn't explain much.

Anyway, thanks for your help. Sideways is better than backwards....

Jeff