confusing esp32-s3 UART, USB port

icq4ever
Posts: 1
Joined: Mon Apr 01, 2024 7:34 am

confusing esp32-s3 UART, USB port

Postby icq4ever » Mon Apr 01, 2024 7:46 am

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

chegewara
Posts: 2307
Joined: Wed Jun 14, 2017 9:00 pm

Re: confusing esp32-s3 UART, USB port

Postby chegewara » Tue Apr 02, 2024 4:56 am

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.

Who is online

Users browsing this forum: GeoffL and 73 guests