Phy Init Bin Parameters - mhightower83/Arduino-ESP8266-misc GitHub Wiki
WIP
Phy Init Bin Parameters
At this time there appear to be two versions of "Phy Init Bin Parameters" version V05 and V08. I cannot find any information about what changed. The current documentation is for V08.
RF Calibration
From ESP8266 Phy Init Bin Parameter Configuration Guide - 8. RF Calibration
Location inphy init data | ParameterName | DefaultValue | Description |
---|---|---|---|
114 | RF_calibration | 1 | 0, 2: Only a VDD33 calibration is performed during the RF initialization. It takes about 2 ms and the least initial current. No RF calibration, uses RF_CAL data in flash. |
1: Only perform VDD33 and TX power calibrations during the RF initialization. It takes about 18 ms and small initial current. Use RF_CAL data in flash for other parameters. | |||
3. All calibrations are performed during the RF initialization. It takes about 200 ms and a large initial current. |
More info in:
- 4.2 OTA Firmware 4.2.1. Flash Map
- ESP8266 SDK Getting Started Guide - 6.3.2. Configuration of RF InitConfig Parameters
- ESP8266 Non-OS SDK API Reference - 3.3.12. system_phy_set_powerup_option
- Espressif FAQ - 7.1. How can I modify the default method of RF calibration?
- For Arduino ESP8266 Core use something like:
extern "C" void __run_user_rf_pre_init(void)
{
system_phy_set_powerup_option(3);
}
Curiously, the values found in the RTOS and NONOS SDKs are all "1" yet the manual says "3" is the default. Table 6-5 in ESP8266 SDK Getting Started Guide - 6.3.2. Configuration of RF InitConfig Parameters says the default is 1. Is full calibration done one time when the RF_CAL
sector is loaded with blank.bin
?
esp_init_data_default_v05.bin
esp_init_data_default_v08.bin
phy_init_data
in RTOS SDK (Note, this isV05
.)
WiFi Channel Regulatory Issues
This document alerts, for the need to block the operator from using some WiFi Channels. Each locale will have different regulatory requirements. eg. In the US the FCC only allows Channels 1 - 11.
- ESP8266 Wi-Fi Channel Selection Guidelines
- ESP8266 Phy Init Bin Parameter Configuration Guide