commaai / panda

code powering the comma.ai panda
MIT License
1.52k stars 763 forks source link

USB-C cable orientation clarification #1860

Closed dzid26 closed 7 months ago

dzid26 commented 7 months ago

USB-C internally routes sbu1 to sbu2 in the default orientation. This single comment should reduce the confusion about meaning of the flipped vs normal OBD-C .

Background: I was designing OBD2 adapter for OBD-C and needed to understand exactly relationship between OpenPilot buses, STM32 peripherals, and harness buses. image Unfortunately there was conflicting information from the community. Ultimately, finding out how USB-C cables are built was the key to understanding. Also I can confirm accuracy of the comma documentation.