Skip to main content

FAQ

Q: Why can't my ESP-IDF recognize the ESP32-S31?

In VS Code, run "ESP-IDF: Select Current ESP-IDF Version" and select ESP-IDF v6.1 to match the current examples. Run idf.py --preview --list-targets in the project's ESP-IDF terminal, confirm that esp32s31 is listed, and then set the target according to Set Up the Development Environment. Do not select esp32s3.

If esp32s31 is not in the target list, check that the SDK path and version in the current terminal match those selected in VS Code. For version requirements, see Select the ESP-IDF Version.

Q: Why do I see only a 16 MiB Flash configuration?

This product is available in 16 MB and 32 MB Flash versions, and the image header and partition table of the current project retain the 16 MiB configuration. The GD25Q256EYIGR marked as U3 in the schematic corresponds to 32 MiB; it only indicates the component selection in that drawing and does not represent all product models.

Run 03_chip_info and check Physical Flash and Configured flash size respectively. The former is used to confirm the actually read physical capacity, and the latter is the project setting; even if a larger capacity is detected, the space beyond the 16 MiB partition boundary will not be automatically allocated to the application.

Before modifying the configuration, confirm the actually installed component, image header, and partition table; do not assume that all space is available after changing just one capacity option.

Q: Why does my PSRAM test fail?

This product is available in 16 MB and 32 MB PSRAM versions; check the capacity according to the purchased model. Example 11 configures PSRAM for Octal mode at 200 MHz and enables PSRAM XIP. Before use, verify the ordering suffix of the installed chip and the memory configuration, and check the operating frequency and stability.

For first-time use, run the RGB LED, button, or chip info examples that do not depend on adapter boards or external devices.

Q: Why does the USB serial port disconnect after I run the comprehensive test?

The Type-C USB Serial/JTAG uses GPIO33 and GPIO34, and the RGB display data of J2 also uses these two pins. Example 11 takes over these pins after display initialization succeeds, so the USB console can no longer be used.

If you need to keep using the USB console, use the basic examples that do not occupy these two pins. To restore download mode, see Firmware Flashing and Erasing.

Q: Why does my RGB LED not change color when the GPIO level toggles?

The onboard LED is a WS2812B-1010 and receives serial color data through GPIO60. Use the RMT driver flow of 02_blink_rgb and check the data format and actual colors.

Q: Why did I not scan any I2C devices?

GPIO52 and GPIO53 are used to connect external I2C devices; the presence of onboard slave devices has not yet been confirmed. When no device is connected, 0 responding devices can be a normal result.

After connecting a peripheral, check pin 21 SDA and pin 23 SCL of J2, common ground, 3.3 V logic levels, and pull-up conditions. Continuous UU indicates a probe timeout, and the bus state should be checked.

Q: Why does my UART loopback keep failing?

After powering off, confirm that GPIO58 (TX) and GPIO59 (RX) are shorted, corresponding to pins 2 and 1 of H2. Disconnect other external devices that occupy these two pins, and then check the serial log. This example uses UART1, and the USB console on the computer is only responsible for viewing logs.

Q: Why are my Wi-Fi or BLE scan results abnormal?

First confirm the antenna version of the development board. Keep the antenna area clear on the SMD antenna version; connect a suitable 2.4 GHz external antenna to the IPEX-4 version. The Wi-Fi STA example requires a matching hotspot name and password; the BLE example advertises the name ESP32-S31-Zero and requires a scanning tool that supports BLE.

If the basic configuration is correct, then record the power supply, distance, channel, and logs for diagnosis; do not judge the wireless hardware performance based on a single scan result.

Q: Why does my comprehensive test report display, touch, or SD failure?

The display, touch, and SD card tests of example 11 require the matching touchscreen adapter board, SD card adapter board, and external devices. The LCD, touch, and SD signals are exposed on J2, which does not mean that these devices are already installed on the bare board.

First check whether the external hardware is available and matches the project parameters. Continuous touch tracking is disabled by default, and the startup detection result does not represent the reliability of touch tracking. When SD initialization fails, check GPIO20-25, CMD and data line pull-ups, and the power supply; wiring problems cannot be fixed by formatting the card.

Q: Can I use Arduino for development?

Arduino does not yet support ESP32-S31, so the accompanying examples provide only ESP-IDF projects. For development steps, see ESP-IDF Development. The ESP32-S3 board options cannot be used as a substitute.

Q: Why can't I use the test BIN file in the resources?

For the steps to obtain and flash the test firmware, see ESP32-S31-Zero Firmware Flashing and Erasing.