espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.2k stars 7.17k forks source link

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

Closed igrr closed 7 months ago

igrr commented 1 year ago

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

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 commented 1 year ago

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

igrr commented 1 year ago

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

igrr commented 1 year ago

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

mahavirj commented 1 year ago

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

gojimmypi commented 1 year ago

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 https://github.com/wolfSSL/wolfssl/issues/6163 for full support.

tom-borcin commented 1 year ago

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

jack0c commented 1 year ago

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

rotilho commented 1 year ago

Will it be possible ZigBee / Matter, BLE and WiFi to coexist?

Hedda commented 1 year ago

Will it be possible ZigBee / Matter, BLE and WiFi to coexist?

Wondering this too about Zigbee and Thread coexistence for 802.15.4 multiprotocol support? I am not concerned with BLE and Wi-Fi as sure that will not be a an issue.

However as I understand it, Zigbee and Thread will intially be mutually exclusive, so today you can not currently use Zigbee and Thread simultaneously (at the same time), or am I wrong?

Not sure if feasable 802.15.4 with multiprotocol support is nativly on a single-core MCU but perhaps in future Zigbee and Thread protocols could instead be timeshifted/timesliced to run concurrently using RCP (Radio Co-Processor) architecture design in where the Zigbee and Thread libraries/processes are off-loaded from the 802.15.4 SoC radio SoC to a host computer?

https://openthread.io/platforms/co-processor

That is anyway how Silicon Labs and some others support using two different protocol stacks at the same time on its 802.15.4 SoC radios.

PS: Off-topic but FYI as proof-of-concept; Home Assistant has experimental multiprotocol add-on for a such Zigbee and Therad implementation using off-loading running concurrently on their Silicon Labs based Home Assistant SkyConnect USB dongle with 802.15.4 SoC radio (and Home Assistent Yellow onboard radio based on the same 802.15.4 SoC radio SoC) in RCP mode. See -> https://github.com/zigpy/zigpy/discussions/894

loraahd commented 1 year ago

Hello, Unfortunately I am not able to use my ESP32-C6 DEVKITC-1. That is because I am not able to install ESP-IDF V5.0.1 which is the only version that supports C6 targets. Please find attached the error message and the log file.

Anyone could give support please? BR

ADH Setup Log 2023-03-21 #001.txt Picture1

RuslanSpartak commented 1 year ago

Hello, Unfortunately I am not able to use my ESP32-C6 DEVKITC-1. That is because I am not able to install ESP-IDF V5.0.1 which is the only version that supports C6 targets. Please find attached the error message and the log file.

Anyone could give support please? BR

ADH Setup Log 2023-03-21 #001.txt Picture1

SDK 5.1 supports esp32c6, but it is not ready. You can use master brach for start of project to use esp32c6, but you will need to make some manuals manipulations to add for examples esp32c6 support in eclipse (as example).

loraahd commented 1 year ago

Hello, Unfortunately I am not able to use my ESP32-C6 DEVKITC-1. That is because I am not able to install ESP-IDF V5.0.1 which is the only version that supports C6 targets. Please find attached the error message and the log file. Anyone could give support please? BR ADH Setup Log 2023-03-21 #001.txt Picture1

SDK 5.1 supports esp32c6, but it is not ready. You can use master brach for start of project to use esp32c6, but you will need to make some manuals manipulations to add for examples esp32c6 support in eclipse (as example).

Thanks for you fast response @RuslanSpartak . would you kindly send me the link to the master branch with the needed manual manipulations for C6? do you have any idea on the date SDK 5.1 will begin supporting esp32c6, anytime soon? BR Achraf

RuslanSpartak commented 1 year ago

Hello, Unfortunately I am not able to use my ESP32-C6 DEVKITC-1. That is because I am not able to install ESP-IDF V5.0.1 which is the only version that supports C6 targets. Please find attached the error message and the log file. Anyone could give support please? BR ADH Setup Log 2023-03-21 #001.txt Picture1

SDK 5.1 supports esp32c6, but it is not ready. You can use master brach for start of project to use esp32c6, but you will need to make some manuals manipulations to add for examples esp32c6 support in eclipse (as example).

Thanks for you fast response @RuslanSpartak . would you kindly send me the link to the master branch with the needed manual manipulations for C6? do you have any idea on the date SDK 5.1 will begin supporting esp32c6, anytime soon? BR Achraf

I'm also a customer that uses ESP32C6 module . You can get master branch from github. Which IDE you use, depends on that I can try to help you. About SDK5.1 I really don't know as I'm not emedded engineer of espressif.

loraahd commented 1 year ago

I use IAR. I have no problem to use another one. all I need is to flash my C6 and send commands to connect the C6 wifi to an access point. I don't really need to developpe any SW or FW. thanks again for your kind support.

RuslanSpartak commented 1 year ago

I use IAR. I have no problem to use another one. all I need is to flash my C6 and send commands to connect the C6 wifi to an access point. I don't really need to developpe any SW or FW. thanks again for your kind support.

Are you able to install master branch instead of 5.0.1?

tom-borcin commented 1 year ago

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 commented 1 year ago

Don't know how to install it. Do you have a link to it?

On Tue, Mar 21, 2023, 12:11 RuslanSpartak @.***> wrote:

I use IAR. I have no problem to use another one. all I need is to flash my C6 and send commands to connect the C6 wifi to an access point. I don't really need to developpe any SW or FW. thanks again for your kind support.

Are you able to install master branch instead of 5.0.1?

— Reply to this email directly, view it on GitHub https://github.com/espressif/esp-idf/issues/10423#issuecomment-1477650499, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6UER62YO65ITOHZCK4VAWTW5GEFHANCNFSM6AAAAAATFTD2ZY . You are receiving this because you commented.Message ID: @.***>

mrninhvn commented 1 year ago

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

Hi, can Wi-Fi, BLE and 802.15.4 coexist?

Espressif-liuuuu commented 1 year ago

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

Hi, can Wi-Fi, BLE and 802.15.4 coexist?

hi @mrninhvn , coexist of three modems together is not scheduled yet

a-d-r-i-a-n-d commented 1 year ago

Hi @Espressif-liuuuu does it mean that once the modems will coexist together we could have a Thread Border Router just with the ESP32-C6?

igrr commented 1 year ago

@a-d-r-i-a-n-d please see https://github.com/espressif/esp-thread-br/issues/9#issuecomment-1506402241 and leave a comment there if you have further questions regarding the Border Router solution.

igrr commented 1 year ago

Update 2023/04/18: 802.15.4 CSL, Thread Border Router, Parallel IO driver, LEDC gamma curve, systimer, cache and MMU are now supported.

mickeyl commented 1 year ago

I noticed the C6 having significantly less BT controller options compared to the other models (which is breaking my code, but that’s a different story). Is this due to the fact that the support is not complete yet or is this because of hardware differences?

loraadh commented 1 year ago

Hello, I am not able to use my ESP32-C6 DEVKITC-1. That is because ESP-IDF V5.0.1 still does not supports C6 targets. Please find attached the error message. Is there an upgrade that support C6 targets? any workaround? error2

BR,

mickeyl commented 1 year ago

@loraadh Espressif have stated that support for the C6 will debut with ESP-IDF 5.1. You can check out the release/5.1 branch and it will already work pretty well with the C6.

loraadh commented 1 year ago

@loraadh Espressif have stated that support for the C6 will debut with ESP-IDF 5.1. You can check out the release/5.1 branch and it will already work pretty well with the C6.

thanks @mickeyl is the 5.1 version the same as the master version? BR

Hedda commented 1 year ago

is the 5.1 version the same as the master version?

No, ESP-IDF 5.1 is in release/v5.1 branch -> https://github.com/espressif/esp-idf/tree/release/v5.1 ("currently in development").

Update: While not yet officially released Espressif ESP-IDF v5.1 Beta 1 (pre-release) has now also been tagged in this repository:

Update now that Espressif ESP-IDF v5.1 RC 1 (Release Candidate 1) is also been tagged in this repository:

Also follow https://github.com/espressif/arduino-esp32/issues/7852 and https://github.com/espressif/arduino-esp32/issues/7713 for latest status updates on ESP-IDF 5.1 / ESP32-C6.

PS: For end-user questions and want support then you should post them to esp32.com forum instead -> https://www.esp32.com

loraadh commented 1 year ago

is the 5.1 version the same as the master version?

No, 5.1 is the "release/v5.1" branch -> https://github.com/espressif/esp-idf/tree/release/v5.1

PS: Also follow espressif/arduino-esp32#7852 and espressif/arduino-esp32#7713 for updates on ESP-IDF 5.1 and ESP32-C6

thanks @Hedda, in previous versions I used to do the installations via the online installer: https://dl.espressif.com/dl/esp-idf/?idf=4.4 Version ESP-IDF 5.1 is still not supported by that installer. Is there a user guide on how to install, flash/upload, and command the c6? thanks BR

Headcrabed commented 1 year ago

Might be off-topic, but why c6's riscv trace support isn't on this table?

igrr commented 1 year ago

@Headcrabed indeed we did not include CPU Trace support into the plan, as we saw relatively few people using the similar feature on the previous Xtensa chips. It will get supported, eventually, especially if more users express interest.

mickeyl commented 1 year ago

Why was https://github.com/espressif/esp-idf/issues/10423#issuecomment-1549680635 marked as being offtopic?

igrr commented 1 year ago

@mickeyl Could you please report the BLE related problem you have found as a separate issue? Then we can track that issue and assign it to the right developers.

This issue is meant to update everyone on the support status, it is not meant as a discussion thread for every ESP32-C6 related topic or a technical question (https://github.com/espressif/esp-idf/issues/10423#issuecomment-1477724261)

Thanks!

Renatomusica commented 1 year ago

I Cant see the option to choose the ESP32-C6 Dev Kit in the very first VS code blink example. I am used to Program Texas Instruments And Microchip devices with C compilers and the approach is so different. It is my first time attempting with a ESP device that I just bought, so far this issue is really unfriendly already.. any help on this? Cant see ESP32-C6 on blink VS code Example

igrr commented 1 year ago

@Renatomusica it is possible that the version of IDF you are using is one which doesn't contain C6 support. (For example, v5.0.x doesn't support C6). Please check that you have v5.1-rc1 installed, as that's the latest release candidate of v5.1. If you still run into an issue with VS Code after installing v5.1-rc1, please open an issue here: https://github.com/espressif/vscode-esp-idf-extension/issues

Renatomusica commented 1 year ago

image image

@Renatomusica it is possible that the version of IDF you are using is one which doesn't contain C6 support. (For example, v5.0.x doesn't support C6). Please check that you have v5.1-rc1 installed, as that's the latest release candidate of v5.1. If you still run into an issue with VS Code after installing v5.1-rc1, please open an issue here: https://github.com/espressif/vscode-esp-idf-extension/issues

Thank you I downloaded v5.1-rc1 and i can see device listed.. Now trying to build an example i run into all kinds of problems like asking for container location (i already set the folder where in this case the blink example should be set ) and also this "Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable." message that i tried to solve generating files from CMake extension but not working... do you have any source of guidance in order to accurately build an example w this system?

Renatomusica commented 1 year ago

@igrr I decided to install eclipse and was able to compile and flash C6 smooth.. VS Code was an issue... best regards

emotasHil commented 1 year ago

TWAI is marked as supported but actually only 1 of 2 TWAI controllers is supported.

jack0c commented 1 year ago

updated coexistence part, sorry since external coexistence is not supported in v5.1

nunojpg commented 1 year ago

With release-v5.1 or master I see 10-15ºC with the temperature sensor example, at a room at about 25ºC.

Hedda commented 1 year ago

@AxelLin Follow the status of ESP-IDF v5.1 as that upcoming will be the first ESP-IDF version to have initial support for ESP32-C6:

https://github.com/espressif/arduino-esp32/issues/7713

and

https://github.com/espressif/arduino-esp32/issues/7852

(and https://github.com/espressif/arduino-esp32/pull/7733)

Espressif ESP-IDF v5.1 RC 1 (e.i. ESP-IDF version 5.1 Release Candidate 1) was tagged in this GiHub repository just two weeks ago:

https://github.com/espressif/esp-idf/releases

https://github.com/espressif/esp-idf/releases/tag/v5.1-rc1

As both ESP32-C6 and ESP32-H2 are at the very top of the list of major features in that I think that you can take for granted that when the final ESP-IDF v5.1 release (i.e. "GA" release for "General Availability") is released as available then it will be officially supported by Espressif in that ESP-IDF v5.1 release.

Based on their previous release history I believe that can assume the final GA release will come not very long after RC release(s):

https://github.com/espressif/esp-idf/tags

Until then you have to use either the master branch or the Alpha, Beta, RC, etc. releases and report any issues with those. See ex:

https://docs.espressif.com/projects/esp-idf/en/v5.1-rc1/esp32/ https://docs.espressif.com/projects/esp-idf/en/v5.1-rc1/esp32c6/get-started/index.html

That is at least the industry standard for most software release life cycles:

https://en.wikipedia.org/wiki/Software_release_life_cycle

image

igrr commented 1 year ago

ADC Calibration is now also supported on ESP32-C6.

The remaining features which aren't yet marked as supported will not be available in IDF v5.1 release. We will update the support plan for the remaining features before the next v5.1.1 release. In the meantime, if your project requires any of the features not listed as supported, please contact Espressif via business support channels.

micbis commented 1 year ago

Are there any plans to support also the second twai controller any time in the near future?

marciogranzotto commented 1 year ago

Missing from feature list: OpenThread Sleepy End Device (SED)

jack0c commented 1 year ago

updated:

embenix commented 11 months ago

Sorry if I am repeating the same question as already asked by 2 other guys, What are your plans for implementing the drivers for 2nd TWAI (TWAI1) port on ESP32C6? This could be a breakthrough in my opinion if 2nd TWAI port gets working sooner.

wanckl commented 11 months ago

@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.

kavehsgh commented 11 months ago

Hi, Do you have any plan for the coexistence of Wifi-BLE-Zigbee? Also, Is there any example of Bluetooth-Zigbee coexistence?

HX2003 commented 10 months ago

Please refer to espressif/arduino-esp32#7713 regarding the BLE unified provisioning, so that the issue can be fixed. Thanks.

AxelLin commented 10 months ago

@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 commented 9 months ago

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