MUX-7 One peripheral signal on two pins, or two uses of a shared peripheral¶
| Severity | Status | Implementation |
|---|---|---|
| error | planned | mid, depends on NET-12, CFG-2 |
Looks at. Alternate functions per pin, peripherals in use.
What it catches. The same peripheral signal routed to two pins (USART1_TX on PA9 and on PB6), or two peripherals used together that share a resource and cannot run at the same time.
Why it matters. A peripheral signal can be mapped to one pin at a time; the second net is dead. Shared resources are worse because they are documented in the reference manual only: on STM32F103 (low- to XL-density) USB and CAN share a dedicated 512-byte SRAM and cannot be used at the same time (RM0008 §23.2). A board with both a USB port and a CAN bus "works" with each alone.
Example. A USB-to-CAN adapter designed around an STM32F103C8: USB enumerates, CAN works in a test without USB, and the product cannot do both at once. The fix is an MCU change (F105/F107, G4, or one with FDCAN).
How to check. Map each pin to the peripheral signal it carries (NET-12); duplicate signals are findings. For shared resources, a per-family rule list (USB/CAN on F1, shared DMA requests, timers whose channels double as another function) against the peripherals the project uses (CFG-2).
Fix. One pin per signal; for shared resources, another instance, another family, or a documented time-sharing in firmware.
References. RM0008 §23.2; stm32-data.