Page 1 of 1

esp32C3 super mini 2~3 UART

Posted: Wed Jan 07, 2026 10:41 am
by brebisson
Hello,

My project uses an esp32C" super mini.

I need to send/receive data to the PC using the USB connector. As far as I understand, this uses UART 0

I also need to send data to a serial client (A), at 115200 baud
And I need to receive data from a different serial client (B), but at 9600 bauds.

At this point in time, I use UART 1 at startup time, set at 9600 baud to get the data from serial client B, and then I switch to 115200 and start talking to serial client A.

But is there a way to work with both at the same time?

Cyrille

Re: esp32C3 super mini 2~3 UART

Posted: Wed Jan 07, 2026 11:59 am
by MicroController
I need to send/receive data to the PC using the USB connector. As far as I understand, this uses UART 0
No. The USB connection happens via the USB Serial/JTAG peripheral, so you can use both UART0 and UART1 for other purposes.

Re: esp32C3 super mini 2~3 UART

Posted: Thu Jan 08, 2026 7:20 am
by brebisson
Hello,

I confirm that I was able to use UART 0, 1 and USB,

BUT, to do so, I had to change the configuration files using these values (sorry it's a mess):
ESP-Driver:USB Serial/JTAG Configuration is enable,
# CONFIG_APPTRACE_DEST_UART0 is not set
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
# CONFIG_ESP_CONSOLE_NONE is not set
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_ENABLED=y
CONFIG_ESP_CONSOLE_UART_NUM=-1
CONFIG_ESP_CONSOLE_ROM_SERIAL_PORT_NUM=3
# CONFIG_CONSOLE_UART_DEFAULT is not set
# CONFIG_CONSOLE_UART_CUSTOM is not set
# CONFIG_CONSOLE_UART_NONE is not set
# CONFIG_ESP_CONSOLE_UART_NONE is not set
CONFIG_CONSOLE_UART_NUM=-1

Cyrille