I've made a USB hub PCB using a USB2517 controller, but it's not working. When I plug it into the host computer, I get a "not recognised" message on Windows and "unable to enumerate" message on Linux.
I'm not able to identify the problem. The USB2517 seems to power on at first (current consumption goes up and 1.8 V at pin 25) and after the "unable to enumerate" message it powers off (0 V at pin 25).
You can see the schematic I've used:
You can find here the KiCad project with schematic and PCB layout: KiCad project. The idea of the PCB is to be an USB hub/power dispatch for a robot. Two batteries are plugged in - one to power the "logic" side (Arduino and STM32 boards) through the USB cable and one that is connected to power motors and actuators.
Do you have any idea what the problem can be?
Please keep in mind that I'm a computer science student, making PCBs only as a hobby.
Thanks for your help.
Update
I have to admit, I made some dumb mistakes. I'm not a pro in electrical engineering and I'm very grateful for your answers.
Following your recommendations and Microchip's reference design, I modified my schematic.
You can find the full schematic here.
Decoupling capacitors for VDD33 were present, but not shown in the previous screenshot.
I found these ESD diodes (CG0603MLC-3.3LEA) with a capacitance of 0.5 pF. Are they good for my application?
Do you think that my new schematic is correct? I don't want to make other mistakes.