TEST-5 Bring-up bus (UART, I2C, SPI, SWD) without test points¶
| Severity | Status | Implementation |
|---|---|---|
| suggestion | runs in better_erc | easy, depends on NET-4 (NET-12 for pins named by port only |
Data it needs: graph, part classes.
Looks at. Bus nets (by pin names, NET-4, NET-12), test points.
What it catches. The lines of a bus used at bring-up (a console UART, I2C, SPI, SWD) with no test point and no header pin.
Why it matters. These are the lines one probes in the first hours: is the console sending, does the sensor ACK, does the flash answer. With test points a logic analyser or a probe connects without soldering; on a production fixture the same pads flash the firmware (SWD) and read the self-test result (UART). DBG-18 is the same question from the debug side.
Example. B153A brings SWDIO and SWCLK to TP201 and TP202 besides the receptacle SBU pins; its rev B change list adds silk labels on those test points, because unlabelled pads were hard to find (LAY-7).
How to check. For each bus line (I2C from NET-4, UART/SPI/SWD by pin names), a test point or connector pin on the net.
Fix. A test point per line plus a nearby ground; on SWD, also NRST (DBG-17).
References. B153 rev B change list (silk on the test points); B153A schematic review §4 (SWD on TP201, TP202).
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only TEST-5 reports on it.
test-5_bring_up_test_points¶
suggestion TEST-5 #ydv /SDA (I2C bus /I2C) has no test point or header pin
net /SDA
fix: a test point per line plus a nearby ground; on SWD also NRST
suggestion TEST-5 #6sq /SWCLK (SWD) has no test point or header pin
net /SWCLK
fix: a test point per line plus a nearby ground; on SWD also NRST
suggestion TEST-5 #3cg /UART_RX (UART) has no test point or header pin
net /UART_RX
fix: a test point per line plus a nearby ground; on SWD also NRST
TEST-5 also fires on the test schematics of other checks: bom-4_placement, dbg-11_uart_spi_resistors, dbg-14_uart_console, dbg-18_bus_access, dbg-1_swd_not_connected, i2c-10_non_equal_pull_ups, i2c-18_discrete_translator, i2c-18_isolated_segment, i2c-1_no_pull_ups, i2c-2_multiple_pull_ups, i2c-4_gpio_pull_ups, i2c-4_pull_up_to_signal, i2c-4_strap_gated_bus, i2c-7_segments, i2c-9_non_standard_pull_ups, lvl-4_translator_pull_ups, lvl-9_gate_reference, mux-1_swapped_signals, name-4_uart_names, wire-1_single_pin_nets.