P0340 – Camshaft Position Sensor “A” Circuit Malfunction (Mazda)
| Code | Fault Location | Probable Cause |
|---|---|---|
| P0340 | Camshaft Position Sensor “A” Circuit Malfunction (Buy Part On Amazon) | Wiring, CMP sensor, ECM |
Where is the Camshaft position sensor? See our guide to the Camshaft position sensor – what it does, where it sits on the engine and how it fails.
We recommend Torque Pro
Table of Contents
- What Does Code P0340 Mean?
- Where is the P0340 sensor located?
- What are the common causes of code P0340?
- Get Help with P0340
What Does Code P0340 Mean?
This generic Powertrain/Engine diagnostic trouble code applies to all makes/models, starting around 2003. These vehicles can have a single camshaft in block, or a single overhead camshaft (SOHC) or dual overhead camshafts (DOHC), but this code is strictly concerned about the incoming signal from the camshaft position sensor(s) from Bank 1 being missing at some point when it is not supposed to be. This is an electrical circuit fault, and it may or may not be there all the time.
The PCM uses the Camshaft Position Sensor to tell it when the Crankshaft Sensor signal is in sync with cylinder number 1 and each cylinder thereafter, and it is also used for fuel injector synchronization / start of injection. If the Camshaft Position Sensor signal is not present at engine start up, the engine will crank but won’t start. If the signal goes missing after the engine starts, the engine will continue to stay running but once it is shut off, it will not restart. In all cases, it will set code P0340.
Where is the P0340 sensor located?
On most Mazda OHC engines the camshaft position sensor is mounted to the cam cover on top of the engine closest to the intake camshaft (this may be at the front of the engine or at the rear, but still on top bolted to the cam cover). On the 2.0L and 2.5L Skyactiv engines, the Intake CPS is typically located on the front side of the cylinder head at the rear, while the Exhaust CPS is mounted on the cylinder head towards the rear of the vehicle. On V6 OHC engines, the Camshaft Position Sensors are attached to the rear of each cylinder head.
Typically, the causes for this code to set are:
- Intermittent open/short in the power supply circuit to the camshaft position sensor.
- Intermittent short to ground in the power supply circuit to the camshaft position sensor
- Intermittent open in the ground circuit to the camshaft position sensor
- Intermittent open in the signal circuit to the camshaft position sensor
- Intermittent short to 5 volts in the signal circuit to the camshaft position sensor
- Intermittent short to ground in the signal circuit to the camshaft position sensor
- Camshaft Position Sensor tone ring damage
What are the common causes of code P0340?
Specific to Mazda products, these are the more common issues with the Camshaft Position Sensor and related components/circuitry:
- Mazda 2 series w/1.5L – no known issues at this time / basic fault code diagnosis
- Mazda 3 series w/2.0L/2.5L – no known issues at this time / basic fault code diagnosis
- Mazda 5 series w/2.5L – no known issues at this time / basic fault code diagnosis
- Mazda 6 series w/2.5L Skyactiv – issues occur when engines/cam sprockets/crank sprockets are replaced without locking the engine in place or installing the incorrect sprocket for a given year engine.
- Mazda CX5 series w/2.0L/2.5L Skyactive– issues occur when engines/cam sprockets/crank sprockets are replaced without locking the engine in place or installing the incorrect sprocket for a given year engine.
- Mazda CX7 series w/2.5L – no known issues at this time / basic fault code diagnosis
- Mazda CX9 series w/3.7L V6 – no known issues at this time / basic fault code diagnosis
- Mazda MX5 series w/2.0L – issues occur when engines/cam sprockets/crank sprockets are replaced without locking the engine in place or installing the incorrect sprocket for a given year engine.
- Mazda Tribute w/2.3L/2.5L 4 cylinders and 3.0L V6 – please see Ford Escape
Help Us Help You
Please comment below describing your issue as well as the specifics of your vehicle (make, model, year, miles, and engine). A mechanic reads these, and other owners often recognise the symptoms straight away.
Reading P0340 on your car
A basic adapter will show you P0340, but not the ABS, airbag or transmission modules, and not the bidirectional tests that confirm which part has actually failed rather than which circuit reported it.