lukasloetkolben / OpenpilotHardware

MIT License
44 stars 30 forks source link

CAN labels mirrored and rotated according to USB-C cables connections #1

Closed dzid26 closed 7 months ago

dzid26 commented 8 months ago

Currently Black Panda schematic assumes 1:1 mapping of the USB-C pinout to harness. However USB-C cables connect RX pins to TX pins (mirror) and SBU1 to SBU2 (180deg rotation). https://cybuild.blogspot.com/2017/ image

Because of that label names need to be flipped accordingly: CAN1<->CAN0 CAN2<->CAN3 in order to match logical signal flow from software to hardware.

lukasloetkolben commented 8 months ago

https://github.com/commaai/neo/blob/master/car_harness/OBD-C.sch.pdf

My design was based on this pinout. The functionality is the same. I wanted to be consistent with comma.ai, but you are right