ESP32-C3-MINI-1 Custom Board USB problem
Posted: Wed Mar 06, 2024 8:01 am
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.
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.