USB-PD Protocol analyser
Posted on Wed 02 August 2023 in hardware
While working on my mkbd65 project I needed a way to check what went over the USB-C CC
lines, especially within the USB PD protocol. My idea is to build mkbd65 as a CT-VPD, so this part is crucial to it’s success. I found a really cool open source project by Google, called Twinkie which solved this issue. Problem is that it is kinda hard to assemble with very little SMD components and as a 6 layer PCB it’s also a bit expensive to produce.
Happily someone took that design and produced the Twonkie, which is a simplified version of the Twinkie with less PCB layers and bigger SMD components.
There was only one thing I wanted to change. The USB-C connectors on the Twonkie where hard to solder because they where not used as designed. So I forked the project and changed them to different connectors that are better suited. You can find my fork here: gitlab.com/XenGi/Twonkie
All parts and the PCB can be ordered at JLCPCB which makes it very cheap to produce. I also created a 3D printable case for my version which you can find on Printables.
The documentation describes how to use it together with Sigroks PulseView. By now the board should have upstream support. If not, I build a version of libsigrok
with support for the Twinkie and Twonkie boards. You can find it in the AUR.