ESP32-S3 USB problem.

xcnavug
Posts: 7
Joined: Sat Sep 16, 2023 11:45 pm

ESP32-S3 USB problem.

Postby xcnavug » Mon Sep 30, 2024 1:12 pm

I run a custom esp32S3 Devboard using the native USB capabilitys. It basicaly acts as a USB HID Device sending Keyboard characters. GND VCC D- D+ are connected via AWG24 Tefzel cable to a USB Screw Terminal.
Version 1: 50cm cable, No problem, everything works fine continuesly!
Version 2: Using 150cm cable. initially everything works fine for 30-60min, then USB quits! Reconnecting does not work, ESP will also not be recognized at the Arduino IDE.

As the sketch contains an OTA feature, I can restart in Wifi Mode and update but that does not help, USB seems to be broken. What could be the issue?
Schematic is attached.
Attachments
Schematic_XCRemote-ESP32-S3-MINI-v2.0_2024-09-30.pdf
(98.95 KiB) Downloaded 164 times

aliarifat794
Posts: 198
Joined: Sun Jun 23, 2024 6:18 pm

Re: ESP32-S3 USB problem.

Postby aliarifat794 » Tue Oct 01, 2024 9:44 am

Looks like the longer cable created this problem.

xcnavug
Posts: 7
Joined: Sat Sep 16, 2023 11:45 pm

Re: ESP32-S3 USB problem.

Postby xcnavug » Tue Oct 01, 2024 10:27 am

I know, but why? Induction? Resistance is very low! Is this a ESP problem? or a design problem of my pcb?

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 USB problem.

Postby ESP_Sprite » Tue Oct 01, 2024 2:45 pm

Could be an ESD issue. The ESP32 has internal snapback devices, but seeing you don't have extra protection and you have touchable surfaces on your build (screw terminals for USB) you may have zapped your ESP32 with static electricity. (Although I'd check the obvious issues first: perhaps something got mechanically loose?)

xcnavug
Posts: 7
Joined: Sat Sep 16, 2023 11:45 pm

Re: ESP32-S3 USB problem.

Postby xcnavug » Tue Oct 01, 2024 3:20 pm

I´d have the same issue with short cables then. I leave the device completely untouched for a certain time before it is not working! I meassured all cables for through connection, they are OK. What voltage should be on the d- and d+ pins?

Who is online

Users browsing this forum: No registered users and 96 guests