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
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 😁
@dos
Are there any other devices exposing UART over SBU? I suppose this is similar to the resistor activated multiplex on micro USB that gave UART access to the baseband on Galaxy Nexus and friends?
@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 😁
@dos Very interesting... I'm not sure I have a use case for one right now, but looks like a good test case for SMD soldering :D.
@dos nice work! :)
For those interested, I’ve pushed the firmware that implements the necessary alt-mode dance to get UART out of the #Librem5's USB-C port to #Debubo’s repository.
It wasn’t pushed before because it was very crude and I wanted to clean it up before pushing. It still is, but I decided to actually get it out regardless rather than risk having it sit and wait for even more months 😛