← Back to list

P0340 OBD2 Code on 1997 Jeep Grand Cherokee ZJ 4.0L 4x4: Causes, Diagnosis & Fixes

Model: Jeep Grand Cherokee ZJ 4.0L 4x4 Fault Code: P0340 Posted: 2015-03-31 09:09

I recently pulled an OBDII diagnostic code P0340 on my 1997 Jeep Grand Cherokee ZJ with a 4.0L V6 engine and 4x4 drivetrain. This code indicates a circuit issue with the Camshaft Position Sensor (CMP). The vehicle requires two attempts to start, and the engine only starts reliably after multiple tries. I've already replaced several components including transmission sensors, gas cap, thermostat, front and rear transmission seals, and leaking gaskets. No other diagnostic trouble codes have appeared, and the engine runs smoothly under normal conditions—except when attempting to start it from a cold or hot state. The issue only manifests during rapid cranking attempts, where I hear gear meshing noises. This suggests mechanical stress may be influencing sensor performance. I've used an injector cleaner and replaced spark plugs and wires less than 30,000 miles ago, so fuel system issues are unlikely. The vehicle was garage-kept in Southern California for over a decade and has accumulated 150,000 miles since new. Prior emissions codes (P0720 and P0740) were resolved after transmission work. All gauges and cruise control function properly. The only non-operational feature is the Anti-Lock Braking System (ABS), which requires a new computer board or brake sensors—this is unrelated to the current issue. I'm concerned about whether the Camshaft Position Sensor is truly the root cause, especially given that some sources suggest failure of this sensor can lead to increased starting difficulty. I've read that if the sensor is not properly installed or connected, engine cranking issues may worsen. Should I investigate other possibilities such as fuel pump failure? While the fuel pump location makes it a potential concern, my mechanic has ruled it out based on current symptoms and the presence of P0340. However, I'd like to confirm whether there are any overlooked factors that could trigger this code. Any guidance or troubleshooting steps would be greatly appreciated—especially regarding how to properly diagnose the CMP sensor using a multimeter or fuel pressure gauge.

Related fault codes
P0340
Comments (5)
Anonymous 2015-03-31 14:52

Please post all relevant codes and symptoms—including any issues with cruise control, speedometer, tachometer, or remote start systems. Check the CMP sensor connector at the distributor—this has three wires: a 5V reference, ground, and signal wire. A loose connection or damaged wiring is the most common cause of P0340. If you need to start the engine twice, ensure it's not just about cranking effort but actual fuel delivery. Verify fuel pressure using a gauge connected to the fuel rail—measure PSI at key-on, off, and after 3 minutes (KOEO). A drop in pressure may indicate a leak or pump issue. For advanced diagnosis, use an oscilloscope to observe CMP/CKP waveforms while gently tugging on the harness to simulate vibration—a common cause of intermittent sensor failure.

Anonymous 2015-03-31 15:27

Clarifications added to original post to avoid confusion. Thank you for your patience and attention to detail.

Anonymous 2015-03-31 17:28

Again, focus on the CMP sensor—this is a three-wire device. Inspect the connector for tightness, corrosion, or physical damage. Check that all wires are intact and not frayed or exposed. If you're comfortable with a digital multimeter (DVOM) and have access to the factory wiring diagram, this can help verify continuity and signal integrity. Otherwise, consider pricing the replacement CMP sensor—weighing diagnostic effort against cost. OEM sensors are strongly recommended for primary components like the CMP due to reliability and compatibility.

Anonymous 2015-03-31 20:04

I’m familiar with using a multimeter and can follow basic wiring diagrams. I’ve watched several YouTube tutorials and have access to an AutoZone nearby. Thanks for the tips—I’ll try these steps first. I believe replacing the Camshaft Position Sensor is a wise investment at 150,000 miles, and I’m confident I can locate top dead center on cylinder #1 manually if needed. Appreciate your help!

Anonymous 2015-04-01 07:06

Strongly recommend against using aftermarket sensors from AutoZone—always opt for OEM parts, especially for primary sensors like the Camshaft Position Sensor (CMP), as they are designed specifically for this application and offer better long-term reliability.