Xiao ESP32C6 has zigbee! Any examples/documentation?

Nice to see zigbee in the new esp32c6, but are there any examples or docs someone can point to, or libraries for this yet?


Lets use this page as a clearing house for those of us testing the XIAO ESP32C6

1 Like

I love these “getting started…” pages that esprressif shares. One thing I saw on this one, these “LP_GPIO0” and others in the pinout image. What are these low power gpio exactly? Do they trigger wake from Low Power? Or they are still maintained in lowest power to their set level?

YES I was wondering the same… what is LP_GPIO and SDIO?

Hi there,
It’s all Here, They can be controlled and maintained with LP processor check it out… :stuck_out_tongue:

3.9 Low Power Management
With the use of advanced power-management technologies, ESP32-C6 can switch between different power
modes. ESP32-C6 supports:
• Active mode: CPU and chip radio are powered on. The chip can receive, transmit, or listen.
• Modem-sleep mode: The CPU is operational and the clock frequency can be reduced. Wi-Fi base band
and radio are disabled, but Wi-Fi connection can remain active.
• Light-sleep mode: The CPU is paused. Any wake-up events (wireless power management module, SDIO
host, RTC timer, or external interrupts) will wake up the chip. Wi-Fi base band and radio are disabled, but
Wi-Fi connection can remain active. Users can disable the CPU and most peripherals except SRAM and
wireless power management module (as shown in ESP32-C6 Functional Block Diagram) to further reduce
current consumption.
• Deep-sleep mode: CPU, SRAM, and most peripherals are powered down. Only the LP memory is
powered on. LP peripheral states can be configured. Wi-Fi connection data are stored in the LP memory.
The LP CPU is operational.

GL :slight_smile: PJ :v:

Hi there,
In a nutshell, C6 includes a slave controller that conforms to SD card specs. providing some caveats

ESP32-C6 series has only one SDIO slave controller that conforms to the
industry-standard SDIO Specification Version 2.0. 
SDIO should be connected to specific GPIOs, namely SDIO_CMD, SDIO_CLK, 
Please add a pull-up resistor to these GPIOs, and preferably reserve 
a series resistor on each trace.

LP_GPIO is available in Sleep mode.
GL :slight_smile: PJ :v:

Oh thats the same thing on the S3 i think i remember something about the SD on the daughterboard being on a faster channel or something

Hi there,
It’s on-chip in C6.
IMO, unless one needs a specific interface or RF stack or RF performance the S3 is MORE in terms of RAM and Flash and CPU speed, Sleep current is negligible. to me the C6 is Meh’ if you need it kind of MCU. Things like CAN buss and the ZIGBEE, Matter clans will flock to it. but you could also do those with ESP32c3 if you have a shoe-horn. so NOT allot to see here new anyway. it’s an Incremental Espressif progression.
GL :slight_smile: PJ :v:

I UPLOADED And ran simple wifi scann sketch and it took 60% OF THE MEMORY… so that raised an eyebrow

Hi there,
You need to look at the file system on the tools menu b4 upload. FYI
GL :slight_smile: PJ :v:

Just got my C6’s today, but won’t be able to mess with them for a bit. I do like that they don’t need the external wifi antenna.

I’m mostly interested in these for zigbee, has anyone found an example for that?

1 Like

Same, the zigbee is new for me too!

Hi there,
What is the dev environment, MAC, Linux, PC ?
IDE ? Arduino, E-IDF, VS_Code, etc…etc…
I see a few for the ESP_IDF 5.1.1

Here’s a getting started from the Robot$ man.

GL :slight_smile: PJ

oh" G_man comes through again, There’s this

it’s under the examples in the Arduino IDE also Examples\ESP32|zigbee :face_with_peeking_eye: :shushing_face:
I suggest starting with the Light bulb test first on the C6 , use a HA of your choice to send the CMD.
:v: be sure to select Zigbee mode in the tools menu…
and change the RGB to LED among other things…

I use mac, and platformio (all CLI). So Arduino example should be good. Thanks!! Will check it out.

1 Like