Connecting transistor to pin D9 (MISO) in XIAO ESP32C3 makes that the board cannot start correctly

Hi there,

Don’t use GPIO 9 like that, better to not use the Strapping pins.
Check the Technical Reference guide, using GPIO 9 especially in certain combination’s can cause the MCU to be Unstable and Unpredictable.
From the datasheet…

2.4 Strapping Pins

ESP32-C3 has three strapping pins:
• GPIO2
• GPIO8
• GPIO9
Software can read the values of GPIO2, GPIO8 and GPIO9 from GPIO_STRAPPING field in GPIO_STRAP_REG
register. For register description, please refer to Section GPIO Matrix Register Summary in
ESP32-C3 Technical Reference Manual.
During the chip’s system reset, the latches of the strapping pins sample the voltage level as strapping bits of ”0” or ”1”, and hold these bits until the chip is powered down or shut down.

Types of system reset include:
• power-on reset
• RTC watchdog reset
• brownout reset
• analog super watchdog reset
• crystal clock glitch detection reset

By default, GPIO9 is connected to the internal weak pull-up resistor. If GPIO9 is not connected or connected to an external high-impedance circuit,
the latched bit value will be ”1”

Espressif Systems 14 ESP32-C3 Series Datasheet v1.2

HTH
GL :slight_smile: PJ :v:

1 Like