ESP32-C5

[中文]

ESP32-C5 supports two firmware download methods: UART0 and USB.

Hardware Wiring

When using the UART0 pin for firmware download, it supports two boot modes: Joint Download Boot 0 and Joint Download Boot 1. Different boot modes have different default level requirements for the Straping pin, as detailed below:

  • In Joint Download Boot 0 mode, the following wiring conditions need to be met:

    VDD     -> 3V3
    GND     -> GND   (Common ground with the power board)
    EN      -> Pull high   (Used for power-on startup, cannot be left floating)
    GPIO27   -> Pull high   (Default weak pull-up)
    GPIO28   -> Pull low   (Default is ``high level``)
    TXD0(GPIO11)    -> RX
    RXD0(GPIO12)    -> TX
    
  • In Joint Download Boot 1 mode, the following wiring conditions need to be met:

    VDD     -> 3V3
    GND     -> GND   (Common ground with the power board)
    EN      -> Pull high   (Used for power-on startup, cannot be left floating)
    GPIO26   -> Pull low   (Default is floating)
    GPIO27   -> Pull Low   (Default weak Pull-up)
    GPIO28   -> Pull low   (Default is ``high level``)
    TXD0(GPIO11)    -> RX
    RXD0(GPIO12)    -> TX
    
  • In addition, EFUSE_XTAL_48M_SEL_MODE needs to be 0;

  • And GPIO2 (i.e., MTMS) should be set to high level (48MHz) or low level (40MHz) according to the size of the crystal used by the chip.

If EFUSE_XTAL_48M_SEL_MODE is 1, when using a 40MHz crystal, EFUSE_XTAL_48M_SEL(0b000) should have an even number of 1s, and the level of GPIO2 (i.e., MTMS) is ignored. If EFUSE_XTAL_48M_SEL_MODE is 1, when using a 48MHz crystal, EFUSE_XTAL_48M_SEL(0b000) should have an odd number of 1s, and the level of GPIO2 (i.e., MTMS) is ignored.

When using the USB pin for firmware download, only Joint Download Boot 0 mode is supported, and the following wiring conditions need to be met:

VDD     -> 3V3
GND     -> GND   (Common ground with the power board)
EN      -> Pull high   (Used for power-on startup, cannot be left floating)
GPIO27   -> Pull high   (Default weak pull-up)
GPIO28   -> Pull low   (Default is ``high level``)
GPIO13  -> USB_D-
GPIO14  -> USB_D+

Note

  • After powering on the chip/module, you can check whether it has entered the Download Boot mode through the UART0 serial port.

  • In Joint Download Boot 0 mode, when the chip is powered on, GPIO27 and GPIO28 cannot both be at low level.

Boot Conditions

  • The working voltage range of the ESP32-C5 chip is 3.0 V ~ 3.6 V; when using a single power supply, it is recommended that the power supply voltage for the ESP32-C5 series chip be 3.3 V, and the rated output current should preferably be 800 mA or above.

  • The operating voltage range of the ESP32-C5 module is 3.0 V ~ 3.6 V; when using a single power supply, it is recommended that the power supply voltage for the ESP32-C5 series chip be 3.3 V, and the rated output current should ideally be 800 mA or above.

When testing with the ESP32-C5-DevKitC-1 development board, you can directly use a USB Type-C cable to connect the UART or USB interface on the development board for direct firmware download. If you are using the USB interface to download the firmware for the first time, you need to manually pull down the GPIO28 pin, that is, hold down the Boot button and then power on, to manually enter the download mode.