Got code P0344 camshaft position sensor intermittent about two weeks ago on my 2006 Wrangler Sport 4.0 Automatic. The engine would buck at about 2500 rpm during acceleration after a stop. This jeep was mine originally and then my youngest son drove it for about 9 years. When I retired I gave him and his wife my 2018 Wrangler JK Sahara and took back the 2006 TJ for a restoration project. Anyway, probably 7 or 8 years ago we replaced the Oil Pump Drive Assembly. We had bought a new Cam Shaft Position sensor before we realized the opda came with the sensor. Since I never throw things away I installed the new sensor and cleared the code. The next time I drove it the bucking started again and this time the code was P0340 Camshaft Position Sensor. Since it was a new sensor I suspected a wiring issue.
I checked the wiring on the Camshaft Position Sensor along the engine and behind the dipstick and everything was good. I next checked the wiring for the Crankshaft Position Sensor and sure enough there were exposed wires. Unfortunately this is on the wiring going back to the pcm. I ordered a new sensor and short wire harness. I reinstalled the Camshaft Position Sensor (since it wasn't the root cause), removed, cleaned and reinstalled the Crankshaft Position Sensor, and then spliced in the new wire harness with solder & seal wire connectors. Since I had the negative cable disconnected from the battery I cleaned the connections at the firewall and the engine more for preventive maintenance than anything else.
When I started it there was no check engine light because of disconnecting the battery. I let it idle in the driveway while I checked air pressure in all three vehicles (killing time). Took the jeep for about a 15 mile drive with several stops and starts and no issues. I've had this Jeep long enough to know that problems often reoccur but this seemed like an obvious smoking gun. I'll update if the code(s) return.
I checked the wiring on the Camshaft Position Sensor along the engine and behind the dipstick and everything was good. I next checked the wiring for the Crankshaft Position Sensor and sure enough there were exposed wires. Unfortunately this is on the wiring going back to the pcm. I ordered a new sensor and short wire harness. I reinstalled the Camshaft Position Sensor (since it wasn't the root cause), removed, cleaned and reinstalled the Crankshaft Position Sensor, and then spliced in the new wire harness with solder & seal wire connectors. Since I had the negative cable disconnected from the battery I cleaned the connections at the firewall and the engine more for preventive maintenance than anything else.
When I started it there was no check engine light because of disconnecting the battery. I let it idle in the driveway while I checked air pressure in all three vehicles (killing time). Took the jeep for about a 15 mile drive with several stops and starts and no issues. I've had this Jeep long enough to know that problems often reoccur but this seemed like an obvious smoking gun. I'll update if the code(s) return.