Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-C5 support status (IDFGH-13076) #14021

Open
igrr opened this issue Jun 19, 2024 · 10 comments
Open

ESP32-C5 support status (IDFGH-13076) #14021

igrr opened this issue Jun 19, 2024 · 10 comments
Labels
Status: Opened Issue is new

Comments

@igrr
Copy link
Member

igrr commented Jun 19, 2024

ESP32-C5 support status in ESP-IDF

According to the chip mass production plan, the planned support for ESP32-C5 in ESP-IDF v5.4 has been rescheduled to ESP-IDF v5.5. Thank you for your understanding.

  • ESP-IDF v5.5, whose planned release date is June 30th 2025, will include the initial support for the mass production version of ESP32-C5.
  • If you would like to try features with the early samples of the ESP32-C5, suggest to use the master branch of ESP-IDF.

In the list below, supported features are marked with a checked checkbox, unsupported features have an unchecked checkbox. An internal issue reference (such as "IDF-1234") is listed at the end of the feature description to help us keep this list up to date:

  • ⏳ Unsupported feature (IDF-1234)
  • ✅ Supported feature

This list will be updated as the support for ESP32-C5 is being developed.

Reporting issues about ESP32-C5

If you have an issue to report about any of the ESP32-C5 features, please create a separate issue. This issue is only intended for announcements of ESP32-C5 support status.


  • 802.15.4
    • ✅ 802.15.4 Mac
  • Bluetooth Low Energy (BLE)
    • ✅ BLE Light Sleep
    • ✅ Bluetooth 5 Controller (Bluetooth 5.3 Certified)
    • ✅ ESP-BLE-MESH
    • ✅ ESP-Bluedroid Host
    • ✅ ESP-NimBLE Host
    • ✅ HCI
  • Coexistence
    • ✅ Coexistence of Bluetooth and 802.15.4
    • ✅ Coexistence of Wi-Fi and 802.15.4
    • ✅ Coexistence of Wi-Fi and Bluetooth
    • ⏳ External coexistence follower mode (IDF-10528)
    • ✅ External coexistence leader mode
  • Debugging tools
    • ✅ OpenOCD
  • Low Power System
    • ✅ Low Power Core (RISC-V)
    • ✅ Low-power I2C Master
    • ✅ Low-power Timer
    • ✅ Low-power UART
    • ✅ Low-power Watchdog Timer
  • Peripherals
    • ADC
      • ⏳ ADC Calibration (IDF-8702)
      • ✅ ADC continuous mode driver
        • ADC continuous mode digital monitor
      • ✅ ADC oneshot mode driver
    • ⏳ Bit Scrambler (IDF-8711)
    • ⏳ Clock Output (IDF-10968)
    • DMA (Direct Memory Access)
      • ✅ GDMA
    • ✅ Dedicated GPIO driver
    • Ethernet driver
      • ✅ SPI Ethernet driver
    • ✅ Event Task Matrix
    • ✅ GPIO driver
      • ⏳ Analog Comparator (IDF-11081)
      • ⏳ GPIO ETM (IDF-8720)
      • ✅ Glitch Filter
      • Hysteresis
      • ✅ RTC IO (LP IO) driver
    • ✅ GPIO sigma delta driver
    • GPSPI
    • ✅ GPTimer driver
    • I2C
      • ✅ I2C master driver
        • ✅ Support Low Power I2C instance
      • ✅ I2C slave driver
    • I2S
      • ✅ I2S driver
        • I2S PDM tx mode
        • I2S STD mode
        • I2S TDM mode
      • ✅ I2S legacy driver
    • LCD driver
      • ✅ I2C LCD driver
      • ✅ SPI LCD driver
    • ✅ LEDC driver
      • Gamma Curve Generation
    • ✅ MCPWM driver
    • ✅ PCNT driver
    • PSRAM
      • ✅ .bss/.noinit PSRAM
      • ✅ PSRAM Device Driver
      • ✅ XIP PSRAM
    • Parallel IO
      • ✅ Parallel IO RX Driver
      • ✅ Parallel IO TX Driver
    • ✅ RMT driver
    • SD/SDIO/MMC driver
      • ✅ SDSPI Host driver
    • ✅ SPI Flash driver
      • ⏳ External flash support (IDF-11020)
    • Systimer driver
      • ✅ Esptimer implementation over systimer
      • ✅ OS tick port over systimer
    • ⏳ TWAI driver (IDF-8691)
    • ✅ Temperature Sensor driver
    • UART
      • ✅ Support Low Power UART instance
      • ✅ UART FIFO mode driver
      • ⏳ UHCI (UART DMA mode) driver (IDF-8724)
    • ✅ USB Serial JTAG
  • Power management
    • ✅ Auto Light Sleep
    • ✅ Deep Sleep
    • ✅ Dynamic Frequency Switch
    • ✅ Light Sleep
      • ⏳ Sleep retention (IDF-11001)
  • Security Features
    • ✅ AES accelerator
    • ✅ Digital Signature driver
    • ✅ ECC accelerator
    • ✅ ECDSA driver
    • ✅ Flash encryption
    • ✅ HMAC driver
    • ⏳ HUK Generator (IDF-8617)
    • ⏳ Key Manager (IDF-8621)
    • ✅ RNG
    • ✅ RSA hardware accelerator driver
    • ✅ SHA accelerator
    • ✅ Secure boot
  • System Features
    • ✅ Bootloader Support
    • Cache
      • ✅ Cache Driver
    • ✅ Console
    • ✅ Cxx Component
    • ✅ ESP Event
    • ✅ ESP ROM
    • ✅ ESP Ringbuffer
    • ✅ ESP Timer
    • ✅ Efuse controller driver
    • ✅ FreeRTOS
    • ✅ MMU
    • MSPI
      • ⏳ MSPI tuning (Flash & PSRAM DDR and/or over 80 MHz) (IDF-8649)
      • ✅ SPI Flash auto suspend
    • ✅ POSIX Threads
    • Panic Handling Features
      • ✅ Core Dump
      • ✅ Debug Watchpoint
      • ✅ GDB Stub
      • ✅ Panic Handler
      • ⏳ Stack Guard (IDF-8662)
    • Power Supply Detector
      • ✅ Brownout Detector
    • ✅ Ram App
    • ✅ Watch Dog Timers
    • ✅ app trace
    • ✅ newlib
  • Thread
    • ✅ Thread Border Router
    • ✅ Thread FTD/MTD
    • ✅ Thread RCP
    • ⏳ Thread SED (IDF-10567)
  • Wi-Fi
    • ⏳ 5G Channel and Country Code (IDF-10602)
    • ✅ 802.11ac: 20MHz-only non-AP mode
    • ✅ 802.11an
    • ✅ 802.11ax: 20MHz-only non-AP mode
    • ✅ 802.11bgn
    • ✅ AP Choose (2G/5G)
    • ✅ Advanced DTIM Sleep
    • ✅ BSS Color
    • ✅ CSI (Channel State Information)
    • ✅ DCM
    • ✅ DFS (Dynamic Frequency Selection)
    • ✅ DL MU-MIMO, DL MU-MIMO within OFDMA
    • ✅ DPP (Device Provisioning Protocol)
    • ✅ ESP LR (ESP Long Range)
    • ✅ ESP-NOW
    • ✅ ESP-Touch v1/v2
    • ✅ ESP-WiFi-Mesh
    • ⏳ FTM (Fine Time Measurement) (IDF-10612)
    • ✅ Fast scan, fast connect
    • ✅ HE ER (HE Extended Range)
    • ✅ HT40
    • ✅ Power Save: modem sleep, light sleep
    • Roaming
      • ✅ 802.11k (Radio Measurements)
      • ✅ 802.11r (Fast BSS Transition)
      • ✅ 802.11v (BTM)
    • ✅ Station, SoftAP, sniffer mode
    • TWT
      • ✅ Broadcast TWT
      • ✅ Individual TWT
    • ✅ UL/DL OFDMA (26/52/106/242 tone)
    • ⏳ Wi-Fi Aware (IDF-10599)
    • ✅ Wi-Fi Security
  • Zigbee
    • ⏳ Zigbee 3.0 Home Automation (IDF-10563)
    • ⏳ Zigbee Gateway (IDF-10561)
    • ⏳ Zigbee RCP (IDF-10562)
    • ⏳ Zigbee Sleep Device (IDF-10560)
@igrr igrr pinned this issue Jun 19, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Jun 19, 2024
@github-actions github-actions bot changed the title ESP32-C5 support status ESP32-C5 support status (IDFGH-13076) Jun 19, 2024
@Alvin1Zhang
Copy link
Collaborator

Update on June 25th, 2024: support of Low-power Timer, Parallel IO RX Driver, Parallel IO TX Driver and USB Serial JTAG have been added.

@Alvin1Zhang
Copy link
Collaborator

Update on July 3rd, 2024: support of Low-power Watchdog Timer, LCD driver, Cache Driver and MMU have been added.

@Alvin1Zhang
Copy link
Collaborator

Alvin1Zhang commented Jul 29, 2024

Update on July 29th, 2024: support of below features have been added.

  • Bluetooth 5 Controller (Bluetooth 5.3 Certified)
  • ESP-Bluedroid Host
  • ESP-NimBLE Host
  • HCI
  • Low-power UART
  • ADC continuous mode driver
  • ADC oneshot mode driver
  • Dedicated GPIO driver
  • Event Task Matrix
  • Glitch Filter
  • RTC IO (LP IO) driver
  • GPIO sigma delta driver
  • PSRAM Device Driver
  • RMT driver
  • 802.11bgn, 802.11an, HT40
  • 802.11ax: 20MHz-only non-AP mode
  • Network-assisted roaming using 802.11k (Radio Measurements), 802.11v (BTM) specification and 802.11r (Fast BSS Transition)
  • UL/DL OFDMA (26/52/106/242 tone)
  • DL MU-MIMO, DL MU-MIMO within OFDMA
  • HE ER (HE Extended Range), DCM and ESP LR (ESP Long Range)
  • BSS Color
  • Station, SoftAP, sniffer mode
  • Wi-Fi Security
  • Individual TWT
  • Broadcast TWT
  • Coexistence of Wi-Fi and 802.15.4
  • CSI (Channel State Information)
  • 802.11ac: 20MHz-only non-AP mode
  • DFS (Dynamic Frequency Selection)

@Alvin1Zhang
Copy link
Collaborator

Alvin1Zhang commented Aug 30, 2024

Update on August 30th, 2024: support of below features have been added.

  • ESP-BLE-MESH
  • Low-power I2C Master
  • SPI Ethernet driver
  • I2C LCD driver
  • SPI LCD driver
  • .bss/.noinit PSRAM
  • SDSPI Host driver
  • Temperature Sensor driver
  • RNG
  • Auto Light Sleep
  • Deep Sleep
  • Dynamic Frequency Switch
  • Brownout Detector
  • Console
  • newlib

@jack0c
Copy link
Collaborator

jack0c commented Sep 4, 2024

Update on Sep 4th, 2024: support of below features have been added.

  • 802.15.4
    • ✅ 802.15.4 Mac
  • Coexistence
    • ✅ Coexistence of Bluetooth and 802.15.4
    • ✅ Coexistence of Wi-Fi and Bluetooth
    • ✅ External coexistence leader mode
  • Power management
    • ✅ Light Sleep
  • Thread
    • ✅ Thread Border Router
    • ✅ Thread FTD/MTD
    • ✅ Thread RCP
  • Wi-Fi
    • ✅ ESP-NOW
    • ✅ ESP-WiFi-Mesh

@xuxiao111
Copy link
Collaborator

xuxiao111 commented Sep 14, 2024

For using Sample Firmware Version (ESP-IDF v5.4-dev-624-g3d167a46ff-dirty):
Recommended Usage Steps:

  1. Connecting to a 2.4G AP:
  • 1.1. Switch band to 2.4G: band 1

  • 1.2. Scan for 2.4G AP: scan

  • 1.3. Connect to the AP: sta

  • 1.4. Perform an iperf test:
    iperf -s (as TCP server)
    iperf -s -u (as UDP server)
    iperf -c xxx:xxx:xxx:xxx (as TCP client)
    iperf -c xxx:xxx:xxx:xxx -u (as UDP client)

  1. Connecting to a 5G AP:
  • 2.1. Switch band to 5G: band 2

  • 2.2. Scan for 5G AP (5G channels are more than 2G and include DFS channels, so the scan time is longer than for 2G): scan

  • 2.3. Connect to the AP: sta

  • 2.4. Perform an iperf test (If no data is sent or received within 10 seconds, iperf will be aborted, and the socket will be closed and shut down.):

    iperf -s (as TCP server)
    iperf -s -u (as UDP server)
    iperf -c xxx:xxx:xxx:xxx (as TCP client)
    iperf -c xxx:xxx:xxx:xxx -u (as UDP client)
    

Know issues:

  1. The serial port baud rate is 138240; using 115200 will result in garbled output.

  2. After the device starts, it defaults to the 5G band, contrary to what is described in the log as 2G. You can switch between the 2G and 5G bands using the band command: band 1 switches to 2G, and band 2 switches to 5G.

  3. On the 5G band, Wi-Fi scanning cannot detect APs on channel 36, and connections to these APs cannot be established. For this firmware version, it is not recommended to use the device in softAP mode.

  4. When the softAP is operating on the 5G band, it defaults to channel 36 instead of channel 112, as described in the log.

These issues have been resolved in commit 34813ec. If you encounter the above issues, sorry for not providing a timely update on the aforementioned issues.And please update to this version and use the iperf example for testing. (Note that in the new version, some commands differ from those in the sample firmware, so please be aware when using them.)
And also, thanks to @ESP32DE for reporting these issues.

@Alvin1Zhang
Copy link
Collaborator

Update on October 10th, 2024: support of features below has been added.

  • BLE Light Sleep
  • Support Low Power I2C instance
  • XIP PSRAM
  • SPI Flash auto suspend
  • Core Dump
  • GDB Stub
  • Brownout Detector
  • Ram App
  • app trace
  • Advanced DTIM Sleep
  • ESP-Touch v1/v2
  • Fast scan, fast connect
  • Power Save: modem sleep, light sleep

@Alvin1Zhang
Copy link
Collaborator

Alvin1Zhang commented Nov 5, 2024

Update on November 5th, 2024: support of features below has been added.

  • OpenOCD
  • AP Choose (2G/5G)
  • DPP (Device Provisioning Protocol)

@alberk8
Copy link

alberk8 commented Nov 11, 2024

I have a question regarding the C5 Wifi band switching. Does it automatically connect to the 5G or 2.4G of the AP (the AP has dual band enable on the same SSID) and switch to best band when available especially when roaming ?. Thank you.

@xuxiao111
Copy link
Collaborator

Hi @alberk8 , when the AP uses the same SSID and password for both 2.4G and 5G, the STA (station) will automatically choose the best band to connect to. Considering that the 5G signal attenuates more than 2.4G at the same distance, we have added a configuration option, rssi_5g_adjustment, to help decide whether to connect to the 5G or 2.4G band.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

6 participants