SER-12 RS-485 A/B or CAN H/L swapped against the connector's pinout¶
| Severity | Status | Implementation |
|---|---|---|
| error | planned | mid, depends on NET-7, CFG-2 |
Looks at. Connector pinout (documented or standard), bus pin roles.
What it catches. CANH on the connector pin documented for CANL (DE-9 pin 7 vs pin 2), or RS-485 A on the terminal marked B.
Why it matters. A swapped differential pair inverts every bit. CAN with H/L swapped holds the bus dominant from the first frame and every node goes error-passive; RS-485 swapped reads inverted data, which a UART turns into framing errors. RS-485 adds a naming trap: the standard's A is the inverting line, most transceiver datasheets name the non-inverting pin A, and Profibus calls the green wire A. Two products wired "A to A" can be inverted against each other.
Example. B125 and B135 bring CAN out on a DE-9 plug: the de facto pinout (CiA 303-1) puts CAN_L on pin 2, ground on pin 3, CAN_H on pin 7. A footprint whose pin numbering runs mirrored (plug vs receptacle) swaps 2 and 7 without a single wrong label on the schematic.
How to check. For a connector with a known pinout (DE-9 CAN, RJ45 for RS-485 on a given standard, a project setting CFG-2), compare the pin each bus line reaches with the documented one. Without data: report the pairing for review.
Fix. Swap in the schematic, or in the footprint if the pin numbers are mirrored; put the pinout and the A/B convention on the silkscreen.
References. Wikipedia, CAN bus "Layers" (DE-9 pin-out); Wikipedia, RS-485 "Signals" (A/B naming); SLOA101 §5.