What Is The Serial Port Name Of Esp Devices; How To Block Debugging Messages Sent Through Uart0 By Default In Esp32; How To Modify The Default Method Of Rf Calibration In Esp32; How To Modify The Default Method Of Rf Calibration In Esp8266 - Espressif Systems ESP Faq

Table of Contents

Advertisement

Chapter 2. Development environment
2.2.1 What is the serial port name of ESP devices?
The serial port name is usually assigned by the operating system, and different operating
systems and devices may have different serial port names. Common ones are as follows:
• In Windows system: COM*
• In Linux system: /dev/ttyUSB*
• In macOS system: /dev/cu.usbserial-*

2.2.2 How to block debugging messages sent through UART0 by default in ESP32?

• For first-stage Bootloader log, you could block the logs by connecting GPIO15 to Ground.
• For second-stage Bootloader log, go to menuconfig and configure the Bootloader config option.
• For ESP-IDF log, go to menuconfig > Component config and configure the Log output option.

2.2.3 How to modify the default method of RF calibration in ESP32?

• During RF initialization, the partial calibration solution is used by default. Go to menuconfig and
enable the CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE option.
• If the boot time is not critical, the full calibration solution can be used instead. Go to menuconfig
and disable the CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE option.
• It is recommended to use the partial calibration solution, which ensures less boot time and enables
you to add the function of erasing RF calibration information in NVS so as to trigger the full
calibration operation.
For detailed information, please refer to the

2.2.4 How to modify the default method of RF calibration in ESP8266?

During RF initialization, the partial calibration solution is used by default, in which the value of byte
115 in esp_init_data_default.bin is 0x01. The initialization only takes a short time. If the boot time is
not critical, the full calibration solution can be used instead.
For NONOS SDK and earlier versions of RTOS SDK 3.0:
• Call system_phy_set_powerup_option(3) in function user_pre_init or user_rf_pre_init.
• In phy_init_data.bin, modify the value of byte 115 to 0x03.
For RTOS SDK 3.0 and later versions:
• Go to menuconfig and disable CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE.
• If
CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION
fig, please modify the value of byte 115 in phy_init_data.bin to 0x03.
FIG_ESP_PHY_INIT_DATA_IN_PARTITION is disabled, please modify the value of
byte 115 in phy_init_data.h to 0x03.
If you use the default partial calibration solution, and want to add the function of triggering the
full calibration operation:
• For NONOS SDK and earlier versions of RTOS SDK 3.0, please erase the RF parameters to trigger
the full calibration operation.
• For RTOS SDK 3.0 and later versions, please erase the NVS partition to trigger the full calibration
operation.
Espressif Systems
RF Calibration
documentation.
10
Submit Document Feedback
is
enabled
in
menucon-
If CON-
Release master

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP and is the answer not in the manual?

This manual is also suitable for:

Esp32Esp8266Esp32-s2Esp32-c3Esp32-s3

Table of Contents