Page 1 of 1

Custom PCB Not working

Posted: Mon Jun 15, 2020 7:03 pm
by MCUism
Rev_1.pdf
(40.76 KiB) Downloaded 459 times
Hi guys,

I have made a custom PCB using ESP32-Wroom 32 SoC. I have used a CP2104 USB-UART bridge to program the SoC. But when I connect my board into the computer it is not getting recognized and the says an error like "Device Descriptor request failed" . I had searched a lot regarding this and I can't find anything on this. I have attached my schematics below, I don't think so there are any wrongs with my schematics. The entire board is getting powered up correctly but CP2104 is not getting recognized.

I've been knocking my head since a week on this issue. Please help me out.

Re: Custom PCB Not working

Posted: Tue Jun 16, 2020 2:15 am
by boarchuz
Are D+/D- on the USB receptacle correct?

Re: Custom PCB Not working

Posted: Tue Jun 16, 2020 9:03 am
by MCUism
boarchuz wrote:
Tue Jun 16, 2020 2:15 am
Are D+/D- on the USB receptacle correct?
Yes boarchuz, they are correct. I even tested by interchanging the D+ and D- in the USB cable externally too. Even then it did not recognize the chip. I'm not knowing why it isn't working.

Re: Custom PCB Not working

Posted: Tue Jun 16, 2020 6:37 pm
by mikemoy
Without posting a schematic, its all guesswork.

Re: Custom PCB Not working

Posted: Tue Jun 16, 2020 7:02 pm
by MCUism
mikemoy wrote:
Tue Jun 16, 2020 6:37 pm
Without posting a schematic, its all guesswork.
Hi mikemoy. I have posted the schematic in the first post in the same thread. Please find the attachments with the name
"Rev_1.pdf". I have attached it here also.

Re: Custom PCB Not working

Posted: Wed Jun 17, 2020 6:43 am
by ESP_Sprite
Take a good look at how your CP2104 is connected... if any, REGIN should be connected to Vbus, not 3.3V. You're also missing decoupling capacitors on Vbus.

Re: Custom PCB Not working

Posted: Wed Jun 17, 2020 1:05 pm
by MCUism
ESP_Sprite wrote:
Wed Jun 17, 2020 6:43 am
Take a good look at how your CP2104 is connected... if any, REGIN should be connected to Vbus, not 3.3V. You're also missing decoupling capacitors on Vbus.
Image

I have used the schematics shown above as reference. These references are done by Adafruit whose products are perfectly working and been in market since for a while now. So I don't know how valid your point is. And I would also like to ask how I can correct this point if I have already made a PCB and don't want the REGIN to be connected to 3.3V??

Re: Custom PCB Not working

Posted: Thu Jun 18, 2020 9:47 am
by ESP_Sprite
I've taken the CP2104 datasheet as a reference, I don't quite know about Adafruits designs; if they work then putting REGIN there may also be valid.