logo elektroda
logo elektroda
X
logo elektroda

ESP32-C3: Role and consequences of a low state on the GPIO2 pin during reset

TvWidget 570 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20026979
    TvWidget
    Level 38  
    What is the role of the GPIO2 pin on the ESP32-C3 chip during reset ?
    On the demo board https://dl.espressif.com/dl/schematics/SCH_ESP32-C3-DEVKITM-1_V1_20200915A.pdf it is not connected.
    From the documentation it seems that there should be a 1 on this pin during reset. However, I have not found information on what happens when there is a zero on this pin.
  • ADVERTISEMENT
  • #2 20027070
    khoam
    Level 42  
    During normal booting (high state on GPIO 0), it does not matter what the state is on GPIO2. On the other hand, when there is a low state on GPIO0 and GPIO2, after a reset ESP will try to download the bootloader itself over the UART and boot from it, instead of from the one in flash.
  • #3 20027083
    TvWidget
    Level 38  
    khoam wrote:
    On the other hand, when there is a low state on GPIO0 and GPIO2, after a reset the ESP will try to download the bootloader itself over the UART and boot from it, instead of from the one in flash.

    I mean ESP32-C3 not ESP32.
    ESP32-C3 family has three strapping pins:
    • GPIO2
    • GPIO8
    • GPIO9
ADVERTISEMENT