Skip to content

DBG-11 Suggest 0R on USART TX, RX, CTS, RTS and SPI MOSI, MISO, as they're often wrong

Severity Status Implementation
suggestion runs in better_erc easy, depends on netlist (NET-12 for pins named by port only

Data it needs: graph, part classes.

Looks at. UART and SPI nets (pin names, NET-12), series resistors.

What it catches. UART (TX, RX, RTS, CTS) and SPI data lines (MOSI, MISO) between two parts, or to a connector, with no series resistor footprint.

Why it matters. These are the signals most often crossed wrong: TX to TX, RTS to RTS, MISO to MOSI, because "TX" can mean "this pin sends" or "the net to the other side's TX". A pair of 0 Ω footprints (or a crossover option) turns a respin into a rework. The resistor also isolates a module that back-powers through its RX (BKF-1) and is a probe point.

Example. On B153A the SBU lines carry UART in both orientations (SBU1 = TX or RX), and the design reaches both through net ties and several MCU pins; an MCU-to-GPS link where both sides' TX pins meet on one net is the plain version of the same mistake.

How to check. Nets that join a UART or SPI data pin to another part or a connector without a resistor in the path; MUX-1 and NAME-4 catch the crossing itself.

Fix. 0 Ω in each line near the MCU, or a 2×2 footprint that allows straight and crossed fitting.

References. SparkFun, Serial Communication ("Rules and wiring": TX to RX) (learn.sparkfun.com/tutorials/serial-communication); B153A schematic review §8 (SBU modes and swapped wiring).

Test schematics

Each schematic below is in test_schematics/sources. The block under it is what berc check --only DBG-11 reports on it.

dbg-11_uart_spi_resistors

The test schematic dbg-11_uart_spi_resistors The test schematic dbg-11_uart_spi_resistors

  suggestion DBG-11 #gcy    /GPS_TX: U1.3 (PA2/USART2_TX) and U2.2 (TXD) meet with no series resistor footprint
                            net /GPS_TX, pin U1.3, pin U2.2
                            fix: a 0 Ω in each line near the MCU, or a 2×2 footprint that allows straight and crossed fitting
  suggestion DBG-11 #tjz    /MISO: U1.6 (PA6/SPI1_MISO) and U3.2 (MISO) meet with no series resistor footprint
                            net /MISO, pin U1.6, pin U3.2
                            fix: a 0 Ω in each line near the MCU, or a 2×2 footprint that allows straight and crossed fitting

DBG-11 also fires on the test schematics of other checks: dbg-14_uart_console, dbg-18_bus_access, mux-1_swapped_signals, name-10_active_low_unmarked, name-4_uart_names, test-5_bring_up_test_points, wire-1_single_pin_nets.