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-C6 support status (IDFGH-9013) #10423

Closed
91 of 96 tasks
igrr opened this issue Dec 21, 2022 · 71 comments
Closed
91 of 96 tasks

ESP32-C6 support status (IDFGH-9013) #10423

igrr opened this issue Dec 21, 2022 · 71 comments
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@igrr
Copy link
Member

igrr commented Dec 21, 2022

ESP-IDF v5.1, currently in development, will include initial support for ESP32-C6 chip.

For each feature, the status (Supported/Not supported) is given. 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.

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

Wi-Fi

  • 802.11bgn, HT40 – Supported
  • 802.11ax: 20MHz-only non-AP mode – Supported
  • Station, SoftAP, sniffer mode – Supported
  • UL/DL OFDMA (26/52/106/242 tone) – Supported
  • DL MU-MIMO,DL MU-MIMO within OFDMA – Supported
  • HE ER (HE Extended Range), DCM and ESP LR (ESP Long Range) – Supported
  • BSS Color – Supported
  • CSI (Channel State Information) – Supported
  • ESP-NOW – Supported
  • ESP-WiFi-Mesh – Supported
  • ESP-Touch v1/v2 – Supported
  • Wi-Fi Security – Supported
  • DPP (Device Provisioning Protocol) – Supported
  • Network-assisted roaming using 802.11k (Radio Measurements), 802.11v (BTM) specification and 802.11r (Fast BSS Transition) – Supported
  • TWT
    • Individual TWT – Supported
    • Broadcast TWT – Not supported (WIFI-5215)
  • Advanced DTIM Sleep – Supported
  • Power Save: modem sleep, light sleep – Supported
  • FTM (Fine Time Measurement) – Not supported (WIFI-5144)

Coexistence

  • Coexistence of Wi-Fi and Bluetooth LE - Supported
  • Coexistence of Wi-Fi and 802.15.4 - Supported
  • Coexistence of Bluetooth LE and 802.15.4 - Supported
  • External coexistence - Supported

Bluetooth LE

  • Bluetooth 5 Controller (Bluetooth 5.3 Certified) - Supported
  • Bluedroid Host - Supported
  • NimBLE Host - Supported
  • ESP-BLE-MESH - Supported
  • BLE Modem Sleep and Light Sleep - Supported
  • Bluetooth Power Control - Supported
  • HCI - Supported

802.15.4

  • 802.15.4 Mac - Supported
  • 802.15.4 CSL - Supported

Thread

  • Thread FTD/MTD - Supported
  • Thread RCP - Supported
  • Thread Border Router - Supported

Zigbee

  • Zigbee 3.0 Home Automation - Supported
  • Zigbee RCP - Supported
  • Zigbee Gateway - Supported

Peripherals

  • ADC
    • ADC Calibration - Supported
    • ADC continuous mode driver - Supported
    • ADC oneshot mode driver - Supported
  • Dedicated GPIO driver - Supported
  • Ethernet driver
    • SPI Ethernet driver - Supported
  • Event Task Matrix - Supported
  • GDMA - Supported
  • GPIO driver - Supported
    • Glitch Filter - Supported
    • RTC IO driver - Supported
  • GPIO sigma delta driver - Supported
  • GPSPI
    • SPI Master driver - Supported
    • SPI Slave HD driver - Supported
    • SPI Slave driver - Supported
  • GPTimer driver - Supported
  • I2C
    • I2C master driver - Supported
    • I2C slave driver - Supported
  • I2S driver - Supported
    • I2S PDM rx mode
    • I2S PDM tx mode
    • I2S STD mode
    • I2S TDM mode
  • LCD driver - Supported
    • I2C LCD driver
    • SPI LCD driver
  • LEDC driver - Supported
    • Gamma Curve Generation - Supported
  • MCPWM driver - Supported
  • PCNT driver - Supported
  • Parallel IO driver - Supported
  • RMT driver - Supported
  • SD/SDIO/MMC driver
    • SDSPI Host driver - Supported
  • SDIO Slave driver - Supported
  • SPI Flash driver - Supported
  • Systimer driver
    • Esptimer implementation over systimer - Supported
    • OS tick port over systimer - Supported
  • TWAI driver - Supported
  • Temperature Sensor driver - Supported
  • UART
    • UART FIFO mode driver - Supported
    • UHCI (UART DMA mode) driver - Not supported (IDF-5337)
  • USB Serial JTAG - Supported
  • memory copy by DMA - Supported

Power management

  • Auto Light Sleep - Supported
  • Deep Sleep - Supported
  • Dynamic Frequency Switch - Supported
  • Light Sleep - Supported

Security Features

  • AES accelerator - Supported
  • Digital Signature driver - Supported
  • ECC accelerator - Supported
  • Flash encryption - Supported
  • HMAC driver - Supported
  • RNG - Supported
  • RSA hardware accelerator driver - Supported
  • SHA accelerator - Supported
  • Secure boot - Supported
  • Trusted Execution Environment
    • Access Permission Management - Supported
    • TEE Controller - Supported

System Features

  • Brownout Detector - Supported
  • Cache - Supported
  • Efuse controller driver - Supported
  • MMU - Supported
  • MSPI
    • MSPI tuning (Flash & PSRAM DDR and/or over 80 MHz) - Not supported (IDF-5343)
    • SPI Flash auto suspend - Supported
  • Timeout Module (New) - Not supported (IDF-5814)

Note: Nested features can be considered as supported, if the parent feature is shown as "Supported", and it's not explicitly mentioned as "Not supported".

@igrr igrr pinned this issue Dec 21, 2022
@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 21, 2022
@github-actions github-actions bot changed the title ESP32-C6 support status ESP32-C6 support status (IDFGH-9013) Dec 21, 2022
@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Dec 21, 2022
@igrr
Copy link
Member Author

igrr commented Jan 2, 2023

Update 2023/01/02: added Wi-Fi features, ADC oneshot and continuous mode, RTC IO, SPI Master, SDSPI Host drivers.

@igrr
Copy link
Member Author

igrr commented Jan 13, 2023

Update 2023/01/13: added BLE features, Brownout Detector support

@igrr
Copy link
Member Author

igrr commented Jan 25, 2023

Update 2023/01/25: added HMAC, Digital Signature, SDIO slave, Bluetooth Power Control.

@mahavirj
Copy link
Member

Update 2023/02/20: added RSA, Secure Boot, Flash Encryption, APM.

@gojimmypi
Copy link
Contributor

I've confirmed wolfSSL encryption libraries work with the ESP-IDF v5.1 and the ESP32-C6. It is operational on my fork and I plan to submit a PR soon to address wolfSSL/wolfssl#6163 for full support.

@tom-borcin
Copy link
Collaborator

Update 2023/03/15: added Coexistence of Wi-Fi and Bluetooth LE, and Coexistence of Bluetooth LE and 802.15.4

@jack0c
Copy link
Collaborator

jack0c commented Mar 15, 2023

Update 2023/03/15: added Coexistence features and Power save features.

@rotilho

This comment was marked as off-topic.

@Hedda

This comment was marked as off-topic.

@loraahd

This comment was marked as off-topic.

@RuslanSpartak

This comment was marked as off-topic.

@loraahd

This comment was marked as off-topic.

@RuslanSpartak

This comment was marked as off-topic.

@loraahd

This comment was marked as off-topic.

@RuslanSpartak

This comment was marked as off-topic.

@tom-borcin
Copy link
Collaborator

Hello @rotilho, @Hedda, @loraahd and @RuslanSpartak,

this issue tracks only ESP32-C6 support status and for better visibility of update comments specifying what support was added, I had to hide your comments.

If you have any questions or need support, please feel free to open new issues here on GitHub or on esp32.com forum. Our developers and support team will be happy to help you.

Thank you for understanding,

Tomas

@loraahd

This comment was marked as off-topic.

@AxelLin
Copy link
Contributor

AxelLin commented Oct 11, 2023

@igrr @jack0c

Do you have update for the upcoming 5.1.2 release?
Do you have target timeline for feature complete? (Only 6 items are not yet supported)

@Massimiliano-solutiontech

Hi,
I would like to know when the support for the LP UART will be available because I don't see the code in the v5.2 but only on the master branch.

Thanks

@TRusselo
Copy link

TRusselo commented Nov 14, 2023

any word on i2s support?

image
image

@gojimmypi
Copy link
Contributor

Happy to announce wolfSSL Hardware Acceleration Support for the ESP32-C6! See wolfSSL #6990.

I also have a wolfSSL Managed Component update in the works that will include this change once the PR is merged. The wolfSSH and wolfMQTT Espressif Managed components be added soon as well.

@jack0c
Copy link
Collaborator

jack0c commented Nov 28, 2023

@igrr @jack0c

Do you have update for the upcoming 5.1.2 release? Do you have target timeline for feature complete? (Only 6 items are not yet supported)

The features supported in v5.1.2 were updated.
Here are some comments for the features not supported:
Broadcast TWT – Not supported (WIFI-5215) - Still WIP, will support in IDF v5.3.
FTM (Fine Time Measurement) – Not supported (WIFI-5144) - Still WIP, doing an ECO to support it, plan to support in IDF v5.3
MSPI tuning (Flash & PSRAM DDR and/or over 80 MHz) - Not supported (IDF-5343) - Still WIP, not sure when to release
SPI Flash auto suspend - Not supported (IDF-5344) - looks done, looks already in master 66bba56
Timeout Module (New) - Not supported (IDF-5814) - No plan yet

@Hedda
Copy link

Hedda commented Nov 28, 2023

Could you please add Zigbee NCP Host (ZBOSS NCP) to the list? See -> espressif/esp-zigbee-sdk#124

Zigbee NCP Host with ZBOSS serial protocol CLI support is needed some some implementations, such as example zigpy radio library support for Home Assistant’s ZHA integration (and others) to allow using ESP32-C6 as a remote Zigbee Coordinator adapter -> kardia-as/zigpy-zboss#19 which in turn depends on the zigpy libary and its radio libraries for hardware abstraction -> https://github.com/zigpy/zigpy

@wanckl
Copy link
Contributor

wanckl commented Dec 1, 2023

@embenix sorry for confusing you, a new suit of TWAI driver is coming, 2nd TWAI will supported on new driver in new version of IDF at end 2023. sorry for long time waiting.

2 TWAI on C6

Congratulations!! 2 TWAIs on C6 is already available on release 5.2 and later thanks to the fix commit 2ae3d4d,

For detailed usage PLS refer to unit tests: (with post fix xxx_v2 APIs) https://github.com/espressif/esp-idf/blob/e49823f10c6b6b8dadbad376002ea2bc531b7b0f/components/driver/test_apps/twai/main/test_twai_loop_back.c#L87C1-L130C

And API guide https://docs.espressif.com/projects/esp-idf/en/release-v5.2/esp32c6/api-reference/peripherals/twai.html#_CPPv422twai_driver_install_v2PK21twai_general_config_tPK20twai_timing_config_tPK20twai_filter_config_tP13twai_handle_t

image

🔥 🔥 🔥

@txf-
Copy link

txf- commented Jan 16, 2024

RTC Watchdog issues:

in menuconfig there is this option and description:
image

As far as I can tell there rtc_wdt_disable() and rtc_wdt_feed(), do not apply to anything but the ESP32 and ESP32-S2 as those functions seem to be guarded by ifdefs for those devices.

Will this API ever be supported on other devices?

@tom-borcin
Copy link
Collaborator

Update 2024/01/17:

  • SPI Flash auto suspend - is supported
  • Broadcast TWT - is in progress

Only remaining items are:

  • FTM (Fine Time Measurement)
  • UHCI (UART DMA mode) driver
  • MSPI tuning (Flash & PSRAM DDR and/or over 80 MHz)
  • Timeout Module (New)

These remaining items will be supported based on customer requests. We are closing the issue and unpinning it. Please open new issue if you have a feature request, question or any other problem.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: In Progress Work is in progress labels Jan 17, 2024
@tom-borcin tom-borcin unpinned this issue Jan 17, 2024
@gojimmypi
Copy link
Contributor

Woohoo! Congratulations to everyone that contributed to this massive update for ESP32C6!!

@AxelLin
Copy link
Contributor

AxelLin commented Jan 17, 2024

I'm wondering if all the supported features of C6 will be back port to 5.1 and 5.2 releases? (People mainly use release branches for real projects)

@Suxsem
Copy link

Suxsem commented Jan 17, 2024

Hi, I'm using the relase/5.2 branch and I'm trying to use the ADC_ONESHOT with light sleep.

On boot, I initialize the ADC:

  1. adc_oneshot_new_unit
  2. adc_oneshot_config_channel
  3. adc_cali_create_scheme_curve_fitting

Periodically, it wakes up from deep sleep and read the voltage:
4) adc_oneshot_read
5) adc_cali_raw_to_voltage

Unfortunately, only the first read is correct (in my case 1.8v); reads the occurs after light sleep are totally wrong (4v).

Is calibrated oneshoot adc supported after light sleep 1for esp32-c6?

Relevant sdk configs:

CONFIG_PM_ENABLE=y
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP=y
CONFIG_IEEE802154_SLEEP_ENABLE=y
CONFIG_FREERTOS_HZ=1000
CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y

@Suxsem
Copy link

Suxsem commented Jan 17, 2024

@tom-borcin sorry for tagging you but can you please take a look at my previous comment? We have already produced some prototype pcbs and if adc is usable in light sleep we must find alternative solutions as soon as possible, thank you

@tom-borcin
Copy link
Collaborator

Hi @Suxsem, please open a new issue. We won't be able to track the progress of your issue here. Once you have an issue opened, we will triage it and assign engineer who will help you. Thank you!

@ilker-aktuna
Copy link

This post (issue) says Zigbee Home Automation is supported. Where can I find examples/documentation for that ?
I want to make a simple sensor using this. But I can't find any examples for joining a hub and communicating.

@fillibar
Copy link

@igrr:
Those examples are for connecting between two of the ESP devices (one as end-device, one as coordinator) directly. They do not appear to show connecting to an existing ZigBee network/mesh that might be operated by a hub/controller (such as a Home Assistant or Hubitat). I think that is what @ilker-aktuna is looking for, ie: an end device that can communicate the data to that hub.

@igrr
Copy link
Member Author

igrr commented Jan 22, 2024

The readmes reference two ESP devices for simpler setup, but they can also be used with off-the-shelf hardware. For example, see espressif/esp-zigbee-sdk#149. If you have further questions about ZigBee, please open an issue in esp-zigbee-sdk repository.

@ilker-aktuna
Copy link

The readmes reference two ESP devices for simpler setup, but they can also be used with off-the-shelf hardware. For example, see espressif/esp-zigbee-sdk#149.

@igrr
I want to try these examples but I don't have development environment for these (VS)
Is it possible to have an Arduino version of these ?

In fact, I see that this Arduino example:
https://github.com/P-R-O-C-H-Y/arduino-esp32/blob/Zigbee-examples/libraries/ESP32/examples/Zigbee/Zigbee_Light_Bulb/Zigbee_Light_Bulb.ino

is the ported version of this:
https://github.com/espressif/esp-idf/blob/master/examples/zigbee/light_sample/HA_on_off_light/main/esp_zb_light.c

is that correct ?
if so, there is really not much difference.
Can we also use the example from here , to port to Arduino:
https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_HA_sample/HA_on_off_light

I just don't understand where the include files below will be found by Arduino IDE :
#include "esp_zigbee_core.h"
#include "ha/esp_zigbee_ha_standard.h"

@diplfranzhoepfinger
Copy link
Contributor

there is PSRAM on C6 ?

@slaesh
Copy link

slaesh commented Feb 23, 2024

there is PSRAM on C6 ?

@diplfranzhoepfinger , sadly not: https://esp32.com/viewtopic.php?t=33703

@MichaelUray
Copy link

MichaelUray commented Jun 26, 2024

Only remaining items are:
UHCI (UART DMA mode) driver

Is there any timline for the UHCI implementation?

@tom-borcin
Copy link
Collaborator

@MichaelUray UHCI is implemented, we are testing it right now and it should be available in one month.

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

No branches or pull requests