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:

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?

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.