P0340 – Camshaft position (CMP) sensor A, bank 1 circuit malfunction (Honda)

Avatar photo
By Reinier (Contact Me)
Last Updated 2021-11-02
Automobile Repair Shop Owner
CodeFault LocationProbable Cause
P0340 Camshaft position (CMP) sensor A, bank 1 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

  1. What Does Code P0340 Mean?
  2. Where is the P0340 sensor located?
  3. What are the common causes of code P0340?
  4. What are the symptoms of code P0340?
  5. Get Help with P0340

What Does Code P0340 Mean?

SPECIAL NOTES: Although generic OBD II trouble codes such as P0340 – “Camshaft position (CMP) sensor A, bank 1 – circuit malfunction”  can, and do affect all OBD II compliant vehicles, some vehicle makes and models are sometimes more susceptible to some generic trouble codes than most other vehicle makes and models. Under real-world driving and operating conditions, there are several reasons for some generic trouble codes to be more common on some vehicles than on others, so this article will discuss generic trouble code P0340 as it applies to the Honda models that are most commonly affected by it. END OF SPECIAL NOTES.

OBD II fault code P0340 is a generic trouble code that is defined as, “Camshaft position (CMP) sensor A, bank 1 – circuit malfunction”, and is set when the PCM (Powertrain Control Module) detects a failure, malfunction, or abnormal voltage or electrical current in the control and/or signal circuits of the intake camshaft position sensor.

NOTE: Note that while “Bank 1” refers to the bank of cylinders on V-type engines that contains cylinder #1, the “Bank 1” part of the definition does not apply to Honda engines that have an inline cylinder configuration.

For any modern Honda engine to perform at its peak, the engine and fuel management systems need to exert extremely fine control over several crucially important subsystems. These include, but are not limited to the ignition timing, fuel injection timing, fuel rail pressure, and fuel injector duty cycles, also known as injector pulse widths.

In the context of engine control, the PCM uses input data from the crankshaft position sensor to calculate the position of piston #1, and input data from the intake camshaft position sensor on bank 1 to calculate the precise moment to both inject fuel and deliver an ignition spark to cylinder #1 upon engine start-up. Moreover,  the correlation between the positions of piston #1 and the intake camshaft on both cylinder banks* is the single most important parameter the PCM uses to control both the fuel delivery and ignition systems. Therefore, the PCM monitors this particular correlation continually to ensure the smooth and efficient operation of the engine throughout the engine’s operating range.

* Inline engines only have a single bank of cylinders, but the correlation between crankshaft and camshaft positions remains critically important.

However, on Honda engines that are fitted with the i-VTEC (Variable Valve Timing & Lift Electronic Control) system, the PCM can rotate the intake camshaft to advance or retard the valve timing in addition to activating a second intake valve on each cylinder. As a result, on enhanced (i-VTEC)  systems, the PCM also uses input data from the camshaft position sensor to confirm and verify that commanded changes to the valve timing (through rotating the camshaft relative to a fixed reference point) had been executed.

In practice, the rotation of the camshaft to advance or retard the valve timing changes the correlation between the crankshaft and camshaft(s), but in a fully functional engine management system, these changes are recognized and accounted for by the PCM. Therefore, the altered camshaft/crankshaft correlation is used by the PCM to calculate appropriate ignition timing and fuel delivery strategies to maintain the engine’s performance at peak levels throughout the engine’s operating range.

However, all of the above assumes that the PCM is receiving accurate, plausible, and valid input data from the camshaft position sensor on bank 1. Thus, when a fault, defect, or malfunction occurs either in the camshaft position sensor on bank 1, or in the control and/or signal circuits of the camshaft position sensor, the PCM might receive implausible, invalid, or inaccurate input data, and depending on the nature of the problem, the PCM might receive no input data at all.

When this happens, the PCM will recognize that it cannot control the ignition and fuel delivery systems effectively, and it will set code P0340 and illuminate a warning light as a result.

What causes code P0340 to set on Honda applications?

As a general rule, OEM-grade camshaft position sensors on Honda vehicles are not particularly prone to failing or developing faults and/or defects. However, when diagnosing code P0340 on Honda applications, it is important to differentiate between camshaft position sensor circuit faults and camshaft position sensor range/performance issues because while the two types of issues have different causes, sensor range/performance issues are often confused with sensor circuit faults, so let’s look at this in some detail-

Sensor circuit faults

As the term, “circuit faults” applies to Honda applications, these faults include short circuits, open circuits, excessive electrical resistances, abnormally high or low input voltages, or intermittent versions of these faults that prevent accurate, valid, or plausible feedback signals from reaching the PCM. Thus, since the PCM monitors the position of the camshaft(s) continually to manage the fuel delivery and ignition systems, an interruption in the feedback signal means that the PCM cannot control these systems effectively.

More to the point though, most Honda vehicles are particularly susceptible to the effects of poor ground connections between the engine and the chassis, or between the chassis and the battery that can, and do affect the operation of a range of sensors-including the camshaft position sensor(s).

Sensor range/performance faults

On the other hand, range/performance issues are faults that cause the camshaft position sensor to relay input data to the PCM that fall outside of the range of values the PCM expects to see under any given set of operating conditions, hence the reference to “range”.

The main cause of this kind of fault on many Honda CR-V and Civic models is worn, damaged, or “stretched” timing chains, worn timing chain guides, and defective timing chain tensioners. Since tensioners work on the “return” side of the chain, a worn timing chain effectively retards the valve timing because the excessive slack in the timing chain is absorbed by a negative rotation of the camshaft.

Thus, in practice, the camshaft position sensor may report an excessive retardation of the camshaft, and by extension, of the valve timing, even though the camshaft position sensor and its control/signal circuits are in perfect working order. In such cases, the camshaft position sensor may provide the PCM with accurate input data, but the data it reports is out of the range of values the PCM expects to see as a result of the worn timing chain.

Thus, as a practical matter, mechanical issues and problems can typically be discounted as a cause of P0340 when no additional codes relating to the sensors’ range or performance are also present on the affected Honda vehicle.

See the section on Causes for details on other possible causes of code P0340 on Honda applications.

Where is the P0340 sensor located?

Engine with arrows marking two sensors mounted along the cylinder head

This image shows the locations of the camshaft position sensors on a Honda K20a / K24a engine. In this example, the yellow arrow indicates the intake camshaft position sensor, while the red arrow indicates the exhaust camshaft position sensor.

Note that on most other Honda applications, the camshaft position sensor(s) are usually located on the side of the cylinder head, near the end of the camshaft. Be aware though that in some cases, it may be necessary to remove and/or disassemble major engine parts/components to gain easy access to the camshaft position sensor(s). These could include valve covers, intake manifolds, or various wiring harnesses and/or HVAC or power steering hoses/lines.

What are the common causes of code P0340?

Apart from poor ground connections, some other possible causes of code P0340 on Honda applications could include one or more of the following-

  • Abnormally high or low system voltages
  • An open or short circuit in the camshaft position sensor’s control or signal circuit(s)
  • Loose or damaged terminals/pins in the sensor’s connector that cause intermittent open circuits
  • Improperly engaged/locked connector, which can also create intermittent open circuits
  • The use of substandard aftermarket camshaft position sensors; note that this is a fairly common cause of this code on Honda applications because OEM-grade sensors are significantly more expensive than even the most reliable aftermarket sensors
  • In rare cases, this code can be set on Honda applications as the result of defects and malfunctions in the VTEC or i-VTEC system; however, these kinds of faults and defects will almost certainly be indicated by the presence of one or more Honda-specific VTEC-related fault codes in addition to P0340
  • In rare cases, code P0340 can be caused by worn and/or damaged timing chains and chain guides, but note that in these cases, P0340 will be usually (but not always) be accompanied by one or more dedicated camshaft/crankshaft correlation codes
  • One or more blown fuses and/or fusible links
  • A failed pr defective PCM, but note that since this is an exceedingly rare event, the fault must be sought elsewhere before any control module is reprogrammed or replaced

What are the symptoms of code P0340?

The most common symptoms of code P0340 on Honda applications are largely similar across all model ranges, and could include one or more of the following-

  • Stored trouble code and an illuminated warning light
  • In some cases, multiple additional codes may be present along with P0340
  • Varying degrees of power loss may be present at some engine speeds and loads
  • In most cases, the engine will run roughly at some engine speeds, or the engine may exhibit misfires at all, or most engine speeds and loads
  • The idling quality may be poor, the idling speed may fluctuate, or the engine may not idle at all
  • A hard-starting condition may be present
  • In rare cases, a no-start condition may be present
  • Fuel consumption may increase noticeably
  • The engine may hesitate or surge severely upon acceleration
  • The engine may stall unexpectedly or repeatedly at low engine speeds or when the vehicle comes to a stop
  • One or more readiness monitors may not initiate, or may not run to completion if they do initiate
  • Since code P0340 on Honda applications is caused by an issue that can affect exhaust emissions negatively, the affected vehicle may not pass a compulsory emissions test

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.

Scanners that read all systems on Amazon