Skip to content

BOM-14 Mounted part without an MPN

Severity Status Implementation
warning runs in better_erc easy, depends on netlist

Data it needs: graph, fitted parts, part classes.

Looks at. MPN field, DNP flag.

What it catches. A fitted part with an empty manufacturer part number field (or no such field).

Why it matters. Without an MPN the assembler or the buyer picks a part from the value: for a resistor that may be fine, for a capacitor it decides voltage, dielectric and DC bias, for an inductor saturation current, for a diode everything. Decisions made by someone who has not seen the schematic.

Example. A 4.7 µH inductor with value and footprint but no MPN: the assembler fits a 0.8 A part on a 2 A buck.

How to check. Parts not DNP whose MPN field (by name, configurable: MPN, Mfr. Part, Manufacturer_Part_Number) is empty. Test points, mounting holes and fiducials are exempt. better_erc (erc_checks/src/bom/bom_14.rs) reads every field whose name starts with MPN (Mpn1, MPN_2) or is Mfr. Part, Mfr PN, Manufacturer Part Number (case and punctuation ignored), in the variant checked; a part with one non-empty is fine. Parts out of the BOM and net ties are exempt too. When no part of the board has an MPN, that is one finding for the board, not one per part. The field names become configurable with the project file (CFG-2).

Fix. Fill in the MPN, with alternates for passives.

References. KiCad variants (field name templates, Symbol Fields Table).

Test schematics

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

bom-14_mpn

The test schematic bom-14_mpn The test schematic bom-14_mpn

  warning    BOM-14 #n8w    C1 (capacitor 100n) is fitted without an MPN
                            part C1
                            fix: fill in the MPN, with alternates for passives
  warning    BOM-14 #avf    R1 (resistor 10k) is fitted without an MPN
                            part R1
                            fix: fill in the MPN, with alternates for passives

BOM-14 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-10_values, bom-11_packages, bom-1_different_parts, bom-1_values_a_step_apart, bom-3_assembly_mix, bom-4_placement, bom-4_resistor_arrays, bom-8_led_polarity, bom-9_graphic_symbols, 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-16_heartbeat_led, dbg-17_swd_without_reset, dbg-18_bus_access, dbg-1_swd_not_connected, dbg-2_swd_series_resistors, dbg-3_no_leds, dbg-4_power_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-28_label_off_wire, draw-29_pin_on_pin, draw-30_symbols_per_pin_group, draw-32_free_text, draw-34_too_close, draw-35_small_part_horizontal, draw-36_near_miss, draw-36_section_ladder, draw-40_bend_before_symbol, draw-40_lined_up, draw-40_power_sideways, draw-40_power_text_clash, draw-40_sideways_symbol, draw-40_stub_column, draw-40_tie_detour, 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-48_block_notes, draw-51_block_names, 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-1_inputs, 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-29_placed_ki_fields, lib-30_datasheet_link, lib-31_mount_attribute, lib-3_mosfet_pin_names, 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-10_active_low_unmarked, name-11_negative_rail_names, name-12_designators, name-13_power_net_form, name-1_inverted_signal_styles, name-2_diff_pair_styles, name-4_uart_names, name-5_designator_gaps, name-6_child_mcu, name-6_child_power, name-6_per_sheet_designators, name-7_no_strict_power_names, name-9_io_order, 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, 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.