NodeMcu LoLin 40 Mhz crystal
Posted: Wed Mar 28, 2018 5:56 pm
I'm trying to understand if the fact that having a non conventional crystal frequency might be a problem with firmwares built via nodemcu-build.com and flashed with PyFlasher
my (limited) understanding is that there is register which has to be set to 0 for 40MHz, or 1 for 26MHz crystals.
the esp8266 library in the arduino ide has a settings (core_esp8266_phy.c, phy_init_data[48])
the espressif flash download tool has a setting too (and a way to auto detect it also)
but I could not find an equivalent option in the cloud build, nor a setting in PyFlasher or esptool.py
my (limited) understanding is that there is register which has to be set to 0 for 40MHz, or 1 for 26MHz crystals.
the esp8266 library in the arduino ide has a settings (core_esp8266_phy.c, phy_init_data[48])
the espressif flash download tool has a setting too (and a way to auto detect it also)
but I could not find an equivalent option in the cloud build, nor a setting in PyFlasher or esptool.py