I have a board that I designed using the ESP32-C3-MINI-1 module.
D+/D- (GPIO19/18) connected directly to the USB Type C connector (A6/B6 and A7/B7 correspondingly). CC1/CC2 have 5.1k pull-down resisters.
GPIO2 and GPIO8 is pulled high with separate 10k resisters. GPIO9 is pulled high and is connected through a button to GND.
EN has reset button with 0.1uF/10k RC circuit. 3.3V produced by VDO regulator AMS1117-3.3 from USB-C VUSB.
Nothing else soldered on the board except few 10uF/0.1uF capacitors on 5V and 3.3V nets. Board has ESD protection diodes on VUSB, D+ and D-, I tried not to populate them - makes no difference.
Yet Windows 10 *most of the times* fails to enumerate the board with an error message of "Device Descriptor Request Failed" in Device Manager on Unknown USB device. Maybe few times out of million it showed as COM port correctly, I was able to flash my binary with esptool and my binary works fine. But after a while the same board stops enumerating correctly.
USB port/cable are fine since any other board (f.e. XIAO esp32c3) works with no problem.
I've inspected the board for soldering/routing issues and don't see anything obviously wrong. Also soldered two more copies of the board with the same results.
Thanks in advance for any help.
ESP32-C3-MINI-1 Custom Board USB problem
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-C3-MINI-1 Custom Board USB problem
It does this also if you plug it in with the GPIO9 button pressed?
Re: ESP32-C3-MINI-1 Custom Board USB problem
Yes. Actually this is the only way I could get it *sometimes* to show as COM port. If already connected, resetting with EN button while holding GPIO9 button never get it recognized as valid USB peripheral. If it was recognized - after reset it disappears in USB devices.ESP_Sprite wrote: ↑Thu Mar 07, 2024 3:06 amIt does this also if you plug it in with the GPIO9 button pressed?
Since yesterday I also removed (bypassed) USB Type C socket and routed D+/D-/GND/VBUS directly to USB cable wires. Surprisingly it got better - chances of being recognized as USB devices when I plug it in improved, but not 100% anyways.
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-C3-MINI-1 Custom Board USB problem
Odd... from the description of your schematic, it should just work. I'm wondering if there's something physical going on, e.g. a bad contact or something.
Re: ESP32-C3-MINI-1 Custom Board USB problem
It is odd. At the end of week should receive a delivery with oscilloscope and take a look at actual signals. Seems I am missing out something very simple...ESP_Sprite wrote: ↑Thu Mar 07, 2024 6:48 amOdd... from the description of your schematic, it should just work. I'm wondering if there's something physical going on, e.g. a bad contact or something.
Thank you for replying!
-
- Posts: 1
- Joined: Sat Aug 17, 2024 6:31 am
Re: ESP32-C3-MINI-1 Custom Board USB problem
Hi @vtxray,
I have the similar problem with you in my custom ESP32-S2 board and windows 11. have you found the solution?
Thanks
Nazmi
I have the similar problem with you in my custom ESP32-S2 board and windows 11. have you found the solution?
Thanks
Nazmi
Re: ESP32-C3-MINI-1 Custom Board USB problem
Hi Nazmi,
No, unfortunately I had to switch to another project. Will get back to it next month or so.
But it actually does seem specific Windows version and/or notebook and/or USB hub related.
No, unfortunately I had to switch to another project. Will get back to it next month or so.
But it actually does seem specific Windows version and/or notebook and/or USB hub related.
Who is online
Users browsing this forum: Google [Bot] and 52 guests