Hello,
I have a quick question to determine whether the ESP32-S3 is suitable for my project.
It is not clear to me if the USB interface uses one of the three available UART interfaces.
I need all three UARTs for peripherals and also want to use the USB CDC connection for programming and debug messages.
Is this possible?
Thanks
ESP32-S3 - 3 UARTs + USB possible?
-
- Posts: 2
- Joined: Wed Jul 26, 2023 11:44 pm
Re: ESP32-S3 - 3 UARTs + USB possible?
There are 2UART + USB in ESP32-C3
I am using the 2UARTS for application and USB-Serial device for programming and also logging. I have also tried JTAG successfully.
I suppose you can use 3 UART + USB in ESP32-S3
I am using the 2UARTS for application and USB-Serial device for programming and also logging. I have also tried JTAG successfully.
I suppose you can use 3 UART + USB in ESP32-S3
-
- Posts: 19
- Joined: Thu Oct 07, 2021 8:11 am
Re: ESP32-S3 - 3 UARTs + USB possible?
Hi,
ESP32-S3 has 3 UARTs and 1 USB-OTG peripheral. So this is possible, but you must be very careful in you HW design:
Usually, ESP32-S3 devkits use UART0 as their main programming and logging interface. If you want to use UART0 in your application, you must
1. disable this feature in menuconfig (for both bootloader logs output and application logs output)
2. make sure that there is no other device on the UART0 (on the standard devkits, there is typically a USB<->UART converter)
Then, you can use USB-Serial-JTAG for application programming and debugging. This is enabled be default, so there is no need to configure anything.
Just for completeness, if you use the USB-Serial-JTAG as your main debugging interface, you won't be able to use any other USB features (such as USB host, or TinyUSB device)
ESP32-S3 has 3 UARTs and 1 USB-OTG peripheral. So this is possible, but you must be very careful in you HW design:
Usually, ESP32-S3 devkits use UART0 as their main programming and logging interface. If you want to use UART0 in your application, you must
1. disable this feature in menuconfig (for both bootloader logs output and application logs output)
Code: Select all
Bootloader config → Bootloader log verbosity -> No output
Boot ROM Behavior → Permanently change Boot ROM output -> Permanently disable logging
Component config → ESP System Settings → Channel for console output -> USB Serial/JTAG Controller
Then, you can use USB-Serial-JTAG for application programming and debugging. This is enabled be default, so there is no need to configure anything.
Just for completeness, if you use the USB-Serial-JTAG as your main debugging interface, you won't be able to use any other USB features (such as USB host, or TinyUSB device)
Who is online
Users browsing this forum: Bing [Bot] and 70 guests