-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Arduino on ESP8266 has no interface to permanently disable Wifi / Wifi calibration for low power boot-up (not deep sleep) #2462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't have the tools to check power-on power-consumption, but after scouring through the code it looks to my eye like modifying phy_init_data[108] should work. I have no idea why it doesn't work for you. |
Hmm ... I am wondering where the information in "phy_init_data" is actually used. It appears to be set when "__wrap_register_chipv6_phy" is called but I cannot find a call anywhere in the Arduino ESP8266 source or the ESP SDK source.... |
Isn't the ESP SDK partly closed-source? At least I cannot find sources for certain parts of it, including libphy.a |
Ok...I used huge capacitors (2x1000uF) to get the ESP to boot whilst connected to a weak power supply. But this is hardly elegant. The lack of an interface to disable WiFi for power-on boot remains... |
seems to be same basic cause as in #3408 |
Basic Infos
The ESP8266 produces rather significant power spikes on boot which, so I read, are due to Wifi RF calibration on start-up. I can force no RF calibration after deep sleep but not on a regular power-on boot.
I find this rather problematic since I have an applications where I have a power source which provides plenty of power for normal (non Wifi) operation however simply cannot supply the >300mA for booting.
I played with the phy_init_data[108] (disable RF calibration for certain number of times) and phy_init_data[114] (rf_cal_use_flash) values in core_esp8266_phy.c with no success.
The text was updated successfully, but these errors were encountered: