Skip to content

MUX checks

The MUX checks of the check catalogue. Each check has a page of its own: what it catches, why it matters, an example, how better_erc finds it, the usual fix and where to read more, with the test schematics that show it firing.

References used throughout:

  • stm32-data · embassy-rs, machine-readable STM32 pin and alternate-function data generated from ST's sources; the catalogue links its AF parser (stm32-data-gen/src/gpio_af.rs). github.com/embassy-rs/stm32-data
  • CMSIS-SVD · Arm, Open-CMSIS-SVD: System View Description (register descriptions, no pin mux). open-cmsis-pack.github.io/svd-spec
  • STM32G0B1 · ST datasheet DS13560 Rev 6 (2026): Table 11 (pin structure legend: FT, FT_a, FT_c ...), Table 12 (pin assignment, PF2-NRST), Table 21 (input voltage per pin structure). st.com/stm32g0b1re.pdf
  • RM0444 · ST, STM32G0x1 reference manual, Rev 6 (2024): NRST_MODE and nBOOT_SEL in FLASH_OPTR (§3.7.8), PF2-NRST in GPIO mode (§7.3.17). st.com/rm0444
  • AN5096 · ST, Getting started with STM32G0 MCUs hardware development, Rev 4 (2025): NRST modes (§1.3.2), SWD pins and their pulls (§4.3.2). st.com/an5096
  • AN4899 · ST, Guidelines for GPIO hardware settings and low-power consumption on STM32 MCUs, Rev 4 (2026): five-volt tolerant GPIO (§5.2.2), no tolerance without VDD (§6.3), debug pins (§6.6). st.com/an4899
  • RM0008 · ST, STM32F101xx ... STM32F107xx reference manual, Rev 21 (2021): USB and CAN share a 512-byte SRAM (§23.2). st.com/rm0008
  • RP2350 · Raspberry Pi, RP2350 Datasheet: ADC inputs only on GPIO26-29 (QFN-60) or GPIO40-47 (QFN-80) (§12.4). datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf
  • GreenPAK · Renesas, GreenPAK: Programmable Mixed-Signal Products, and the SLG46826 product page. renesas.com GreenPAK, renesas.com/en/products/slg46826

Checks

Check Severity Status
MUX-1 SCL goes to a pin named SCL, MISO to MISO etc error runs
MUX-2 MCUs with SVD/pin data: check the alternate function actually supports the mode used error planned
MUX-3 SLG* (GreenPAK): suggest using all pins, e.g. to monitor things, connect to ENs, route EN through if inverting or delay is needed suggestion planned
MUX-4 GPIO on a pin that is NRST, BOOT or another reset-time function by default (STM32G0 PF2-NRST, option-byte controlled): the firmware never gets the pin, or a low resets the chip error planned
MUX-5 Debug pins (SWDIO, SWCLK, JTAG) reused as GPIO: debugging and flashing lost once the firmware runs ≈ DBG-1 error planned
MUX-6 Analog signal (ADC, DAC, comparator) on a pin without that analog function error planned
MUX-7 One peripheral signal on two pins, or two uses of a shared peripheral (USB and CAN on an STM32F103 share one SRAM block) error planned
MUX-8 5 V net on a pin that is not 5 V tolerant where the part has tolerant (FT) pins to choose from ≈ LVL-10 error planned