Wi-Fi Blocking Test

[中文]

The Wi-Fi Blocking Test evaluates the device’s reception performance in environments with strong interference. By introducing high-intensity interference signals, it measures the reception sensitivity and anti-interference capability of a device, ensuring reliable operation in complex wireless environments.

Set Up Test Environment

../../_images/usb_to_uart_connection.png

UART Connection Description

The Device Under Test (DUT) is a product designed based on Espressif chips or modules. The DUT is connected to the USB-to-UART adapter board via UART.

Note

  • The CHIP_EN pin of the DUT is pulled up by default. If it is not pulled up in the product design, you need to manually connect the CHIP_EN to the 3V3 pin.

  • Some serial communication boards have already swapped RXD and TXD internally, so there is no need to reverse them. The wiring should be adjusted according to the actual situation.

  • Espressif chips have a power-on self-calibration function, so the RF connection line must be connected to the test instrument before the DUT is powered on for testing.

Flash Firmware

  1. Open DownloadTool.

  2. Set ChipType, Com Port, Baud Rate, click Open, select to download to Flash.

  3. Flash ESP32 Wi-Fi Adaptivity Test/Blocking Test Firmware to 0x1000 via UART.

../../_images/wifi_adaptivity_blocking_firmware_esp32_esp32s2.png

Flashing Firmware

After the flashing is completed, continue with the following steps for the adaptivity test.

Start Testing

Check Power-on log

Use a serial communication tool, such as Friendly Serial Assistant, configure the port number, set the baud rate to 115200, if the serial port prints similar information after the device is powered on again, you can confirm that the test status is OK:

../../_images/esp32c2_wifi_signaling.png

Device Power-on Serial Port Print Log

Test with Serial Port Commands

Enter the following commands in the serial port in sequence to set up the network:

//Device Provisioning
//Configure the prototype to enter station mode
op -S -o 1

//Connect to AP, SSID is CMW-AP, password is 12345678
sta -C -s CMW-AP -p 12345678

Note

  • The -p parameter is used to set the AP password. If the AP has no password, this parameter is not needed.

If the following information is printed on the serial port, the connection is successful and the Wi-Fi Blocking Test can be performed.

../../_images/wifi_blocking_log.png

Serial Port Log for Device Provisioning

Test with ESPRFTestTool

  • Open the EspRFTestTool package, configure ChipType and COM, select 115200 for BaudRate, open the port, and select the WiFi Adaptivity test interface.

  • In STA mode, enter AP ssid and AP pwd, and click Connect AP to connect.

  • After successful connection, the following log should be printed:

../../_images/wifi_adptive_connection.png

Serial Port Log for Device Provisioning

After successful connection, you can start the Wi-Fi Blocking Test.