ESP32-C3: GPIO 20/21 useable?

DrMickeyLauer
Posts: 209
Joined: Sun May 22, 2022 2:42 pm

ESP32-C3: GPIO 20/21 useable?

Postby DrMickeyLauer » Tue Apr 25, 2023 8:42 pm

I‘m always using the native USB pins w/ multiplexed UART+JTAG. Can I then repurpose the GPIOs 20 and 21?
Also: How does the bootloader know which output to send the debug logs to? Or do they always
appear on both the devel board UART and the native one? If so, can I change this?

Sprite
Espressif staff
Espressif staff
Posts: 10619
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-C3: GPIO 20/21 useable?

Postby Sprite » Wed Apr 26, 2023 5:52 am

Yes, you can, but be aware that afaik there's no way to get debug prints only on the USB-serial-JTAG, so you need to be OK with either no debug printout or some chatter on the TxD pin.

Who is online

Users browsing this forum: Qwantbot and 2 guests