Skip to content

LIB-2 Connector pinout against its standard

Severity Status Implementation
warning planned mid, depends on CFG-5, CFG-2

Looks at. Connector standard per footprint or field, a pinout table per standard.

What it catches. A connector that claims a standard (USB-C, CAN on DB-9, ARM 10-pin SWD, RJ45 Ethernet) whose nets do not land on the pins that standard assigns.

Why it matters. Standard connectors mate with things the designer does not control: cables, programmers, other vendors' boards. A swapped pair or a ground on the wrong pin is invisible in the schematic, passes every connectivity check, and fails only when the first real cable is plugged in, sometimes by shorting a supply. Pinouts are also drawn from "looking into the connector" or "from the solder side" views, which mirrors them (LIB-18).

Example. The B135 CAN board uses a DB-9 for the bus. CiA 303-1 puts CAN_L on pin 2, CAN_GND on pin 3 and CAN_H on pin 7; a symbol drawn with CAN_H on pin 2 still passes ERC and every CAN check, and talks to nothing on a standard cable. The same for a 10-pin SWD header with SWDIO and SWCLK exchanged (CONN-15).

How to check. Tag the connector with the standard it implements (footprint name, a field, or the project file); look up the table, map each pin's net to the role it should carry (by net name and by what it connects to: a CAN transceiver's CANH pin, a ground), and report pins whose net plays another role.

Fix. Rewire the symbol to the standard's table, or mark the connector as non-standard so nobody plugs a standard cable into it.

References. CiA 303-1, Cabling and connector pin assignment (CAN in Automation), by title; Wikipedia, USB hardware "Pin assignments" (en.wikipedia.org/wiki/USB_hardware).