Recently I've been developing a board, which for me was the most complex I've ever built. Almost all components are SMT, which was new to me. And I'm running into some point of trouble. All relevant board files are available on GitHub. A schematic PDF is also available.
After some testing I could confirm my "charging section" (which is basically the part powered by the left USB-C port) looks to be working just fine. However, I couldn't get the board into it's "Programming mode". To explain: In programming 'mode' the board should show up as a regular USB storage device to a PC, so one could upload software to the board.
The board is essentially an "extended" Raspberry Pi Pico, following the guidelines RPi gives here
I'll say upfront that I'm not sure if my design is the most ideal or efficient way of doing things. I've made some choices to keep the costs relatively low, or decided on workarounds because I couldn't really find the proper way to implement what I wanted. (Which is why I have two USB-C ports, instead of one).
So the problem here is that the right USB-C port seems end up shorting somewhere, and I'm trying to identify where. At first I thought I might have put some IC's the wrong way around, but after double/triple checking with the respective datasheets and PCB design it seemed to be just fine.
When connecting a (decent) power supply to the USB-C port it immediately jumped into short-circuit protection mode, which is what led me to believe there's a short circuit.
I found out that removing U5 (which is one of two TI LM66200's removes the short-circuit state.
Upon closer inspection I was unable to find any shorted pins on either the footprint or the IC itself. Re-flowing the IC re-instated the short-circuit condition.
However, even with the short-circuit condition removed I still couldn't get power to the RP2040 (U3). The NCP1117LPST33T3G powering it is only receiving 0.2V whilst measuring between the USB-port and it's entry-point on U10 (the other LM66200) reads a proper 5.1V.
So as far as I can trouble-shoot there is something going wrong aroudn those two LM66200's, but I'm puzzled as to what. Double checking my design with TI's datasheet and application information didn't lead me to any insights.
For some functional explanation: The LM66200 is used as a power-mux, in order to favor a USB device connected to port J7 over the battery that could be connected simultaneously.
Could anyone help me shed some light on these two issues? I'm at this point not even sure if they're related, but any insights would be greatly appreciated.
Thanks!