LVL.undefined input defined while the firmware is not running
Every input has a driver or a pull resistor, an input that only MCU pins drive has a pull, a bipolar transistor has a resistor from its base to its emitter or a rail and a MOSFET from its gate to its source or a rail – a rail being a net a pin defines, a supply – a net a source of sim.json feeds too, brought in at a connector –, ground, or a net resistors hold to them (a bias divider's middle: the base of an analog stage). Graded as warnings while new: an input pin of an IC left in nc (nc), a net only open-drain or tri-state outputs drive – unless their enable pins are tied active – and that no resistor path holds (open_drain; a bridge output, drive bridge, defines its net; a net with nothing on it but the outputs and their LEDs – a cathode, or an LED behind its series resistor – is the outputs' load – an LED from the supply into a 555's discharge pin, a charger's status LEDs –, which nothing reads), an analog node only capacitors reach (analog; a pin the part biases itself, biased = true, gives it its level).
- no floating input: an input needs a driver or a pull resistor; an input driven only by MCU pins needs a pull (floats until the firmware runs); every BJT needs a base-emitter resistor, every MOSFET a resistor from its gate to the source or a rail – finds e.g.: a floating OE or EN pin at power-up, a MOSFET half on while the MCU boots
- Why
- A floating CMOS input reads random values and can rest where both input transistors conduct. An MCU pin is an input until the firmware configures it, so an enable line it drives floats at every reset.
- What to do
- A pull resistor to the inactive level (10–100 kΩ); a base-emitter or gate-source resistor next to the transistor. Harmless on purpose: accept on the net with the reason.
- Sources
- TI SCBA004E, Implications of Slow or Floating CMOS Inputs (2021), section 1 – https://www.ti.com/lit/an/scba004e/scba004e.pdf
- TI SLUA618A, Fundamentals of MOSFET and IGBT Gate Driver Circuits (2018), 3.5 dv/dt protection: a gate-source resistor holds the MOSFET off during power-up – https://www.ti.com/lit/ml/slua618a/slua618a.pdf