Skip to content

DBG-4 No power rail LEDs

Severity Status Implementation
suggestion runs in better_erc easy, depends on NET-5

Data it needs: graph, part classes, rails.

Looks at. Power rails (NET-5), LEDs on them.

What it catches. Power rails, above all the input rail, with no LED from the rail to ground.

Why it matters. A power LED answers the first bring-up question ("is it powered?") without a meter, shows a shorted rail (LED off or dim) and a missing regulator at a glance, and lets a user see that a cable is in. Rails that switch on in firmware are the most useful ones to show.

Example. A board with a USB input, a 3.3 V buck and a switched 5 V output: with a single LED on 3.3 V, a blown input fuse and a buck that does not start look the same. One LED on VBUS tells them apart.

How to check. For each rail of the power structure, look for an LED (with its resistor) between the rail and a ground net. An IC's regulator filter pin is left out: a rail by its name alone whose only parts are that IC and capacitors (CRFILT, PLLFILT, VCAP of an internal regulator), which an LED would load.

Fix. An LED on the input and on the main rail, optionally on switched rails; take the current into the sleep budget (RPT-2), or put a DNP option on battery boards.

References. AoE3 chapter 9 (power regulation).

Test schematics

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

dbg-4_power_leds

The test schematic dbg-4_power_leds The test schematic dbg-4_power_leds

  suggestion DBG-4 #6fc     no LED shows +5V
                            net +5V
                            fix: an LED with its resistor from the rail to ground (DNP on battery boards); the input rail and switched rails first

DBG-4 also fires on the test schematics of other checks: ana-10_opamp_feedback, ana-11_unused_channels, ana-12_comparator_hysteresis, ana-16_gain_resistor_range, ana-21_dc_return, ana-22_bias_divider_caps, ana-3_shunt_filters, ana-4_shunt_kelvin, bom-4_placement, bom-4_resistor_arrays, clk-14_push_pull_reset, clk-15_shared_reset, clk-18_clock_fan_out, clk-3_crystal_case_pads, clk-5_internal_pull, clk-5_reset_pull_ups, clk-6_reset_buttons, clk-7_reset_capacitors, conn-10_few_grounds, conn-16_floating_shell, conn-17_look_alike_pinouts, conn-2_gpio_protection, conn-4_no_ground, conn-8_micro_hdmi_pinout, dbg-10_crowded_rail, dbg-11_uart_spi_resistors, dbg-14_uart_console, dbg-17_swd_without_reset, dbg-18_bus_access, dbg-1_swd_not_connected, dbg-2_swd_series_resistors, dbg-3_no_leds, dbg-7_enable_pulls, dbg-7_internal_pull, dbg-8_open_drain_pull_ups, dec-10_unsourced_bypass, dec-11_decade_apart, dec-12_reversed_polarized, dec-1_no_decoupling, dec-4_ferrite_beads, dec-7_caps_per_pin, dec-8_source_side_caps, draw-32_free_text, draw-34_too_close, draw-35_small_part_horizontal, draw-40_bend_before_symbol, draw-40_power_sideways, draw-40_power_text_clash, draw-40_wire_through_label, draw-41_pin_lead, draw-42_touching_colours, draw-43_sentence_capitals, draw-44_section_gap, draw-45_section_row, draw-46_leader_aim, draw-47_run_on_note, draw-7_wire_through_body, draw-9_text_overlap, drv-12_base_resistor, drv-14_inductive_loads, drv-17_led_resistor, drv-5_inverter_gate_resistor, drv-6_back_to_back, drv-7_half_bridge_snubber, drv-9_relay_flyback, eth-3_mdio_pull_up, gnd-3_split_ground_joints, gnd-7_chassis_ground, gnd-7_two_bonds, hs-15_mipi_lane_parts, hs-4_pair_asymmetry, hs-7_usb_dp_dm_swapped, hs-9_choke_on_lanes, 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, io-10_connector_inputs, io-11_gate_pulls, io-11_pulled_off, io-15_no_connect_flag, io-15_open_drain_flags, io-16_adc_alternate, io-16_pull_up_and_down, io-16_sense_divider, io-1_drive_sources, io-6_touch_inputs, io-7_button_pulls, io-8_fet_switched_pull, io-8_internal_pulls, io-8_series_pull, io-8_switched_pull, leak-1_rail_dividers, lib-14_unplaced_units, lib-15_no_power_pins, lib-19_hidden_pins, lib-31_mount_attribute, logic-3_fan_out, logic-7_mcu_open_drain_receiver, logic-7_mcu_switched_resistor, logic-7_open_drain, logic-8_polarity, lvl-4_translator_pull_ups, lvl-7_several_rails, lvl-9_gate_reference, mem-10_ddr_reset_cke, mem-1_sd_pull_ups, mem-3_clk_and_detect_pulls, mem-8_ddr_zq, mux-1_swapped_signals, name-11_negative_rail_names, name-12_designators, name-13_power_net_form, name-1_inverted_signal_styles, name-5_designator_gaps, name-6_child_mcu, name-6_child_power, name-6_per_sheet_designators, name-7_no_strict_power_names, pin-3_unprotected_outputs, pin-4_unfused_inputs, pin-6_unfiltered_inputs, rail-18_parallel_regulators, rail-19_unfiltered_analog_supply, rail-1_unpowered_pins, rail-5_unsourced_rail, rail-5_zener_shunt, rate-1_capacitor_voltage, rate-2_resistor_power, rate-9_resistor_voltage, seq-5_bleeder, ser-14_can_split_termination, short-11_output_conflict, short-12_pair_halves_tied, short-1_shunted_parts, short-2_name_collision, short-3_fitted_options, short-4_low_resistance, short-5_supply_pins_swapped, short-6_io_tied_to_rail, short-6_sense_nets, short-7_shorted_ios, test-1_unconnected_pins, test-2_duplicate_test_points, test-4_rail_test_points, test-5_bring_up_test_points, usb-10_plug_rd, usb-11_one_orientation, usb-16_vbus_gnd_pins, usb-1_no_rd, usb-4_shield, usb-9_cc_tied, wire-11_unnamed_nets, wire-13_output_to_nowhere, wire-14_ground_pin_not_ground, wire-1_single_pin_nets, wire-2_similar_names.