Took me 3 days of soldering, but it works!
I can connect it to a Librem 5 and it automatically does all the needed PD stuff to expose its UART over USB-C ๐ It's also capable of a lot of other PD magic as a USB PD analyzer / injector / filter.
However, while these solder joints made a good job lasting till I got the firmware PoC working, it doesn't seem like they're going to last much longer... More soldering ahead ๐ซ
#debubo #kicad #stm32 #usbpd #librem5 #shotonlibrem5 #diy #electronics #oshw
Joints seem to be better now, but I didn't mention one thing - no matter how much hot air I blow at it or what I do with soldering iron, I can't seem to be able to get rid of a short between D+/D- on a passthrough port ๐ญ It's not critical, the important parts are already operational, but it would be nice to get USB 2.0 passthrough working too! I'm assuming it's on the USB-C plug, but it all looks perfectly fine to my eye ๐ซ I should finally get some proper flux I guess... #soldering #diy
The hardware design is now released at https://gitlab.com/dos1/debubo
#debubo #kicad #diy #electronics #librem5 #stm32 #usbpd #oshw
@dos cool! So with this device you can connect a charger to the Librem5 to charge it and at the same time connect another USB thingy, like a keyboard or flash drive or whatever?
@eliasr Nope; with Debubo (and a right TPS65982 config) you can access UART console, while also connecting a charger or some USB thingy, either host or device.
But what you described is pretty much just a regular USB-C hub with PD ๐
@ge0rg It's somewhat common in DIY designs, badges etc. although those usually don't require any PD stuff. MacBooks can expose 1.2V UART, I2C and debug USB - you could use Debubo paired with SBUB to access that. And who knows what undocumented commands to mux things onto SBU may be in other devices out there ๐