This P0340 Nissan check engine code refers to the camshaft position sensor in your Nissan or Infiniti VQ35DE V6 engine, specifically the Bank 1 CPS or the passenger side. Your Nissan or Infiniti Powertrain Control Module (PCM) requires this sensor signal to help determine engine speed.
A failure from this sensor can cause poor gas mileage or fuel efficiency as well as preventing the motor from operating. Early indicators that your camshaft position sensor or crankshaft position sensor are going bad can include longer cranking
These are just a few of the common P0340 Nissan symptoms that can show up should your Nissan camshaft sensor fail.
How To Fix the P0340 Nissan Trouble Code
I’ll be showing you how to test, remove and replace this camshaft position sensor, Nissan part number 23731-6J90B, which can also be found under 23731-6J906 or A4015-304078. Before you begin this How To tutorial, make sure your battery is fully charged and that a weak charging system is not at fault for this OBDII P0340 Nissan check engine code.
What is the Camshaft Position Sensor?
The camshaft position sensor or CPS is a hall effect sensor used to read the speed of the camshafts in your 3.5L Nissan / Infiniti VQ35 engine.
Because this item is located near the back of the block and can be difficult to reach, I’ll be showing you how to directly test the sensor using a multimeter.
Where is the Camshaft Position Sensor Located?
To access the VQ35DE CPS you will need a 10mm socket and multimeter or another voltage measuring device to determine if your sensor is still good. You may or may not want to remove the intake manifold or at the very least the upper plenum for more access.
I’ll be showing you how to service, test and replace the camshaft position sensor in a 2006 Infiniti G35 with a VQ35DE engine. This testing procedure is the same for many Nissan and Infiniti vehicles and trucks that share the 3.5L VQ35DE powerplant, from the Altima to the Maxima and Xterra to name a few.
If you happen to own a Nissan and have the P0340 Nissan check engine code, you will need to reference your sensor voltage ranges. This enables you to erase your Nissan CEL.
The camshaft position sensor is mounted by a 10mm bolt to the back of either cylinder heads, between the firewall and connected by a three pin connector.
Removal of the upper plenum is not required but it can assist you in reaching the camshaft position sensor correctly.
Remove all 10mm bolts holding the upper plenum in place to the lower portion. Because this upper plenum is so large and the throttle body can take up so much space, removing just the top half can really open some space up.
Once you have your upper intake plenum bolts loosened and removed, you can unplug your throttle position sensor and drive by wire connectors. Undo the clamp that holds the intake snorkel in place, and your upper plenum can now come off.
Because this upper plenum is modular and comes apart in two pieces, you must take extra care so nothing falls into
Undo the 10mm bolt that holds the camshaft position sensor in place and remove the unit. Disconnect the wiring harness from the sensor and turn your voltmeter on and set it to read resistance.
With the sensor plug facing towards you and the retaining clip on the top, the pins are 1-2-3 from left to right. You will be reading the resistance values between pins 1-3 in many different combinations to determine if you need another sensor.
P0340 Nissan Resistance Tests
You will
- Pin 1 – 3
- Pin 2 – 3
- Pin 1 – 2
If you find that your VQ35DE camshaft position sensor does not respond with resistance values within these parameters, it is bad and must be replaced. This should resolve your OBDII P0340 Nissan trouble code in your car or light truck.
Have any questions about this guide to fix your P0340 Nissan trouble code? Leave them below and let me know! Make sure to subscribe to all the latest and greatest tech tips, DIY articles and much more at My Pro Street.
What is the time and cost of changing PO340 on a 2003 PT cruiser?
Hi Albert! thanks for reading our Nissan camshaft guide.
If this is a DIY camshaft position sensor project, it should take no longer than 2-3 hours with the proper tools. For an experienced mechanic, the time to complete this camshaft sensor replacement is much shorter, and should check-in under an hour.
Thanks for reading and make sure to please follow us on Facebook!!
Good simple article, well described. Only I think you forgot the acceptable resistance parameter specifications for each pin combination. All you have is more than zero and less than infinity. That could be anything. What are the specifications?
At first it seems you’re talking about the sensor part itself, but then it shows the plug as what’s being tested. I want to to test the part not the plug. I don’t understand how testing the plug could determine the part being bad. Please explain. Thank you.
Hi Maggie, thanks for reading and commenting.
We test the harness first, so that we can determine that the ECU is receiving and sending what it needs to. If those are confirmed, you can almost guarantee that your hall effect sensor has died. Hope that helps!
it would be really nice if you can post the resistance values between terminals