Page 1 of 1

confusing esp32-s3 UART, USB port

Posted: Mon Apr 01, 2024 7:46 am
by icq4ever
hello all.
I want to fully understand about USB ports on esp32-s3 module(devkit as well).

on devkitM (I guess devKitC as well) has two usb port.
first one is CP2102(usb-uart bridge chip), second one is connect to GPIO19/20 direcrtly.

I wanna implement esp32-s3 as usb storage device on PC(MSC) with tinyUSB.
for that, as documentation saids I need to set second one USB port to something set USB-OTG.

then is it possible that replace 1st USB port(which is connected to CP2012) with 4 header pin (VBUS, D+, D-, GND - all pins from USB cable), only for upload/debug console for esp32?

I'm so confuse about second usb port. some saids it can be USB-OTG / upload port.
https://esp32.com/viewtopic.php?t=27555

Re: confusing esp32-s3 UART, USB port

Posted: Tue Apr 02, 2024 4:56 am
by chegewara
The name devkit is suggesting its for development purpose, so for our convenient we have the CP21xx.
It helps to see logs when we are working on code with USB support.

When you want to connect USB you can do as you said, cut USB cable and connect 2 (signals only), 3 or 4 wires to devkit and it works.
No need to connect GND and +5V, because you already have it powered from USB to UART connector.