SPN 158: Key Switch Battery Potential – Complete Diagnostic Reference

SPN 158, labeled as Key Switch Battery Potential, monitors the voltage level present at the electronic control unit (ECU) input that is supplied through the vehicle’s key switch or an equivalent switching device. This parameter is critical for virtually all electronically controlled heavy-duty engines and equipment, including those from Cummins (ISX15, X15), Detroit Diesel (DD13, DD15, DD16), PACCAR (MX-11, MX-13), Volvo (D11, D13, D16), Caterpillar (C7, C9, C13, C15, C18), John Deere (PowerTech PSS, FT4, FT5), and MAN (D26, D38). The key switch signal provides the ECU with a definitive indication that the operator intends to power up the system. Without a valid key switch voltage, the ECU will not initiate its boot sequence, disabling the engine management system entirely. In real-world contexts, a technician might encounter this parameter when a vehicle fails to crank or start despite having a fully charged battery, as the ECU may be detecting a voltage at the key switch input that is below its operational threshold, often due to a corroded connector or a failing ignition switch.

Technical Overview

The engineering behind SPN 158 involves a direct measurement of battery voltage after it has passed through the key switch circuit. The ECU does not use a dedicated sensor for this parameter; instead, it employs an internal analog-to-digital converter (ADC) channel that is hardwired to a specific input pin on the ECU’s main connector. This pin is typically labeled as “Keyswitch Battery” or “Ignition Input” in OEM wiring diagrams. The signal type is a raw analog voltage, ranging from 0 to 32 volts DC in most heavy-duty applications. The ECU measures this voltage relative to its own ground reference. The normal operating range for SPN 158 is typically between 10.0 volts and 16.0 volts for a standard 12-volt system, or between 20.0 volts and 32.0 volts for a 24-volt system (common in military, mining, and some European equipment). When the key switch is in the OFF position, the measured voltage should be below 1.0 volt, ideally 0.0 volts. When the key is in the ON or START position, the voltage should rise to the system’s nominal battery voltage, minus any voltage drop across the switch and wiring. The ECU uses this measurement not only to determine if it should power on but also to monitor the quality of the power supply during operation. A reading that is significantly lower than the main battery voltage (monitored by SPN 168) indicates excessive resistance in the key switch circuit, which can lead to erratic ECU behavior or unexpected shutdowns.

J1939 Network Behavior

On the SAE J1939 CAN bus, SPN 158 is transmitted as part of Parameter Group Number (PGN) 65270, which is the “Vehicle Electrical Power 1” message. This PGN is broadcast by the engine ECU, typically at a transmission rate of once per second (1 Hz) when the engine is running, and often on a slower update cycle (e.g., every 10 seconds) when the key is on but the engine is off. The source address for this PGN is typically the engine controller (Source Address 0), but it can also be transmitted by a body controller or a vehicle ECU if the key switch monitoring is performed outside the engine ECM. Other ECUs on the network, such as the transmission control module (TCM), aftertreatment control unit (ACU), or instrument cluster, use this data as a sanity check. For example, the TCM may use SPN 158 to verify that the engine ECU has confirmed the key switch is active before allowing a shift to occur. The instrument cluster may compare SPN 158 to the battery voltage (SPN 168) to detect discrepancies that could indicate a wiring fault. It is important to note that SPN 158 reflects the voltage *after* the key switch, not the raw battery voltage. A significant difference between these two parameters on the bus is a strong diagnostic clue for a high-resistance condition in the key switch circuit.

Diagnostic Importance

Faults associated with SPN 158 are considered critical because they directly impact the ECU’s ability to remain powered and functional. When the ECM detects a key switch voltage that is out of range—typically below 9.0 volts for a 12V system or below 18.0 volts for a 24V system—it will log a Diagnostic Trouble Code (DTC) such as “SPN 158 FMI 1 (Low Voltage)” or “SPN 158 FMI 4 (Voltage Below Normal).” The engine protection strategies activated by this fault can be severe. Many OEMs, including Cummins and Detroit Diesel, program the ECU to inhibit engine cranking entirely if the key switch voltage is below a minimum threshold. If the voltage drops while the engine is running, the ECU may initiate a progressive shutdown strategy, derating engine power to prevent erratic operation or data corruption. Ignoring an active fault code for this parameter can lead to intermittent stalling, complete no-start conditions, and in some cases, corruption of the ECU’s internal memory due to brown-out conditions. For example, on a Volvo D13 engine, a failing key switch that causes SPN 158 to fluctuate can result in the ECU losing its learned idle validation parameters, requiring a full recalibration at the dealership.

Common Failure Patterns

Technicians encounter several frequent failure patterns with SPN 158. The most common is a corroded or loose connector at the key switch itself, particularly on equipment exposed to moisture, road salt, or washdowns. This introduces resistance that drops the voltage below the ECU’s threshold. A second pattern involves a failing ignition switch where the internal contacts wear out, causing intermittent voltage drops during vehicle vibration. This is especially common on high-mileage highway trucks and construction equipment. A third pattern is a chafed or broken wire in the harness between the key switch and the ECU, often occurring near the firewall or where the harness passes over sharp metal edges. On certain Caterpillar C15 engines, a known issue involves the key switch voltage being tapped for multiple accessories, leading to a cumulative voltage drop that the ECU interprets as a fault. A fourth pattern, less common but more difficult to diagnose, is a failing ECU internal power supply circuit that draws excessive current through the key switch line, causing the voltage to sag. Finally, on 24-volt systems, technicians sometimes misdiagnose a low SPN 158 reading when one battery in a series pair has failed, as the key switch circuit may be referenced to the midpoint of the battery bank, a configuration found on some MAN and Deutz engines.

Diagnostic Approach

A systematic diagnostic approach for any fault code involving SPN 158 begins with a high-impedance digital multimeter (DMM) and the OEM wiring diagram. First, verify the actual battery voltage at the battery terminals (SPN 168) to establish a baseline. Next, measure the voltage at the key switch input pin on the ECU connector while the key is in the ON position. This value should be within 0.5 volts of the battery voltage. If a significant drop is found (greater than 1.0 volt), the technician should perform a voltage drop test across the key switch itself. With the key ON and a load applied (e.g., headlights or a test lamp), measure the voltage difference between the battery side of the switch and the ECU side. A drop exceeding 0.3 volts indicates a faulty switch or corroded terminals. If the voltage at the ECU pin is acceptable but the DTC persists, the next step is to check for intermittent opens using a break-out box (BOB) or back-probing the connector while wiggling the harness. Reference values: for a 12V system, expect 12.5-14.5V engine off, 13.5-14.8V engine running. For a 24V system, expect 25.0-28.0V engine off, 27.0-29.5V engine running. If all circuit checks pass, the technician must escalate to OEM software (e.g., Cummins INSITE, Detroit Diesel Diagnostic Link, PACCAR PTT, Caterpillar ET, or Volvo Tech Tool) to perform a key switch input calibration or to rule out an internal ECU fault. A known test is to temporarily bypass the key switch circuit with a fused jumper wire from the battery positive to the ECU key switch pin; if the DTC clears and the engine operates normally, the fault is definitively in the vehicle’s key switch wiring, not the ECU.

Fault Codes for SPN 158

FMI 0: Data valid but above normal operational range (most severe)

SPN 158 FMI 0 indicates battery potential measured at the ECM key switch input exceeds normal operational parameters, typically above 16 volts. This fault commonly appears when alternators develop internal regulator failures or external charging systems malfunction during maintenance procedures. The

View SPN 158 FMI 0 Diagnostic Guide →

FMI 1: Data valid but below normal operational range (most severe)

SPN 158 FMI 1 indicates the ECM detects key-switch battery voltage below its normal operational range, typically under 9 V for 12 V systems or below 18 V for 24 V systems. This code commonly appears after a forced DPF regeneration when high current draw causes voltage sag, or after replacing the ECM

View SPN 158 FMI 1 Diagnostic Guide →

FMI 2: Data erratic, intermittent or incorrect

The SPN 158 FMI 2 fault indicates an erratic or incorrect battery potential at the key switch input of the ECU. This issue often occurs intermittently and can lead to unpredictable vehicle behavior, especially after electrical component replacements or during voltage fluctuations caused by alternato

View SPN 158 FMI 2 Diagnostic Guide →

FMI 3: Voltage above normal or shorted high

SPN 158 FMI 3 indicates the ECM detected battery voltage above the normal operating range on the key switch input circuit. This commonly occurs after jump-starting a dual-battery system without proper isolation, causing a transient 28V spike. Technicians often see this fault after replacing the ECM

View SPN 158 FMI 3 Diagnostic Guide →

FMI 4: Voltage below normal or shorted low

SPN 158 FMI 4 indicates that the voltage measured at the key switch input to the ECU is below normal range or shorted low. This fault often appears after a battery replacement or when an alternator is failing. In practice, technicians may find this code after the vehicle has experienced difficulty s

View SPN 158 FMI 4 Diagnostic Guide →

FMI 5: Current below normal or open circuit

SPN 158 FMI 5 indicates insufficient voltage or open circuit at the ECU’s key switch battery input terminal. This fault commonly appears when operators attempt to start equipment after extended periods of non-use, particularly in construction fleets where machines sit idle over weekends. The ECM det

View SPN 158 FMI 5 Diagnostic Guide →

FMI 6: Current above normal or grounded circuit

SPN 158 FMI 6 indicates a current above normal or grounded circuit at the ECU’s battery potential input, often caused by faulty wiring or a malfunctioning key switch. This fault can appear after a battery replacement when connections are improperly secured. Technicians frequently encounter this issu

View SPN 158 FMI 6 Diagnostic Guide →

FMI 7: Mechanical system not responding properly

The SPN 158 FMI 7 fault code indicates that the battery potential at the key switch input of the ECU is not responding as expected. This issue often arises after a vehicle undergoes extensive electrical system work or when a new key switch is installed. Technicians frequently encounter this fault in

View SPN 158 FMI 7 Diagnostic Guide →

FMI 9: Abnormal update rate

SPN 158 FMI 9 indicates the ECM detects erratic or unstable voltage readings from the key switch battery supply circuit. This fault commonly occurs after jump-starting procedures when battery connections remain loose, causing voltage fluctuations that trigger abnormal signal update rates. The ECM ex

View SPN 158 FMI 9 Diagnostic Guide →

FMI 11: Root cause not known

SPN 158 FMI 11 signals that the ECM detects an unknown root cause for an unstable or missing battery potential at the key switch input. This fault commonly appears after a forced DPF regeneration when voltage spikes occur, or after replacing the ECM without proper battery disconnect procedures. Tech

View SPN 158 FMI 11 Diagnostic Guide →

FMI 12: Bad intelligent device or component

SPN 158 FMI 12 arises when the battery potential at the key switch input shows irregularities, often following components like the ECM being replaced without proper calibration. Technicians frequently encounter this code after maintenance that involves the vehicle’s electrical power management, as i

View SPN 158 FMI 12 Diagnostic Guide →

FMI 13: Out of calibration

SPN 158 FMI 13 indicates the ECM’s key switch battery voltage measurement is out of calibration range. This fault commonly appears after ECM replacement when voltage reference parameters haven’t been properly programmed, or when aging analog-to-digital converters drift beyond acceptable tolerances.

View SPN 158 FMI 13 Diagnostic Guide →

FMI 14: Special instructions

This fault indicates the ECM has received a manufacturer-specific command to enter a special operating mode, such as a forced DPF regeneration or calibration routine. The key switch battery potential is valid, but the ECM is executing a non-standard instruction. Technicians often see this after a di

View SPN 158 FMI 14 Diagnostic Guide →

FMI 17: Data valid but below normal operating range (least severe)

SPN 158 FMI 17 indicates the ECM detects battery potential at the key switch input below normal operating voltage thresholds, typically under 10.5V during cranking or 11V at idle. This fault commonly appears during cold weather startup sequences when battery capacity is reduced, or after prolonged e

View SPN 158 FMI 17 Diagnostic Guide →

FMI 18: Data valid but below normal operating range (moderately severe)

SPN 158 FMI 18 indicates that the battery potential supplied through a key switch to the electronic control unit (ECU) is below the normal operating range. This fault is often encountered after a prolonged vehicle shutdown or in cold weather conditions, where battery output is naturally reduced. Tec

View SPN 158 FMI 18 Diagnostic Guide →

FMI 31: Condition exists

SPN 158 FMI 31 indicates the ECM has detected a condition exists with the key switch battery potential measurement. This fault commonly appears during intermittent ignition switch problems or after ECM replacement when technicians encounter unstable voltage readings. The condition signifies that whi

View SPN 158 FMI 31 Diagnostic Guide →