Skip to content

LOGIC-1 Logical contradictions in GPIO or GPIO expander connections

Severity Status Implementation
error planned judgement, depends on NET-10, RPT-14

Looks at. What each GPIO controls, signal following.

What it catches. A GPIO (or an expander or shift-register output) that drives several things at once whose wanted levels conflict: one level enables part A and must disable part B, but the two are needed together; or two outputs meant to be mutually exclusive that one bit can set together.

Why it matters. Sharing a pin to save one is common, and the conflict shows up only in a mode that nobody tried on the bench. Since the catalogue's own idea is a per-occurrence table, the check is mostly a review aid: list every GPIO with more than one load and what each level does at each of them.

Example. On B200A one 595 bit (EX30) is both the low-voltage I2C translator's OE and, through Q301, the gate of the bus switch: fine, as both must follow each other; while EX24 (5 V pull-ups) and EX30 (low path) must never be on together, which only the firmware guarantees (B200A hardware reference §8). A table makes both cases visible.

How to check. For every controller output with more than one load, follow each branch (NET-10) to the pins it ends on and their roles; produce the table (RPT-14). Whether a combination is a contradiction needs the intent: a human or an LLM reads the table.

Fix. Separate pins for functions that must not move together; hardware interlocks (an inverter, a NOR) for combinations that must never happen.

References. AoE3 chapter 10; B200 rev B change list (interlock for the VREF sources).