system_adc_read when WiFi radio disabled?

torntrousers
Posts: 11
Joined: Thu Oct 08, 2015 2:31 pm

system_adc_read when WiFi radio disabled?

Postby torntrousers » Tue Apr 26, 2016 5:17 pm

The system_adc_read call doesn't seem to work when the WiFi radio is disabled.

Can verify this by doing a system_deep_sleep_set_option(4) to disable the radio on wakeup, then a system_deep_sleep, and on wake up system_adc_read always just returns 1024.

Is there a way around that, or is it a bug, or a known limitation?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: system_adc_read when WiFi radio disabled?

Postby ESP_Faye » Wed Apr 27, 2016 11:48 am

Hi,

What is the version of your SDK ?
Could you have a try with the latest ESP8266_NONOS_SDK_V1.5.3 ?

Thanks for your interest in ESP8266 !

torntrousers
Posts: 11
Joined: Thu Oct 08, 2015 2:31 pm

Re: system_adc_read when WiFi radio disabled?

Postby torntrousers » Thu Apr 28, 2016 5:29 pm

I've been trying with the 1.5.1 SDK. Its not trivial to move up to 1.5.3 right now - has something changed between 1.5.1 and 1.5.3 that might have fixed this?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: system_adc_read when WiFi radio disabled?

Postby ESP_Faye » Tue May 03, 2016 1:51 pm

Hi,

Yes, it is optimized in ESP8266_NONOS_SDK_V1.5.3, please have a try.

Thanks for your interest in ESP8266 !

dicoka
Posts: 1
Joined: Sun May 22, 2016 6:38 pm

Re: system_adc_read when WiFi radio disabled?

Postby dicoka » Sun May 22, 2016 6:40 pm

I have the same problem in RTOS SDK 1.4.0.
How I can solve it?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: system_adc_read when WiFi radio disabled?

Postby ESP_Faye » Mon May 23, 2016 4:16 pm

Hi,

Sorry for the inconvenience. It will be solved in next RTOS SDK.

Who is online

Users browsing this forum: No registered users and 13 guests