2017 Mazda 5 GS, Automatic TransFACTORY OEM SERVICE PROCEDURE

DTC P0340-00: CMP Sensor Circuit Problem: Notes

DTC P0340:00 DETECTION CONDITION AND POSSIBLE CAUSE

DTC P0340:00 CMP sensor circuit problem
DETECTION CONDITION
  • The PCM monitors the input voltage from the CMP sensor when the engine is running. If the PCM does not receive the input voltage from the CMP sensor while the PCM receives the input signal from the CKP sensor, the PCM determines that the CMP sensor circuit has a malfunction. Diagnostic support note
  • This is a continuous monitor (CCM).
  • The check engine light illuminates if the PCM detects the above malfunction condition during the first drive cycle.
  • FREEZE FRAME DATA (Mode 2)/Snapshot data is available.
  • The DTC is stored in the PCM memory.
FAIL-SAFE FUNCTION
  • Stops the fuel injection.
  • Stops the ignition.
POSSIBLE CAUSE
  • CMP sensor connector or terminals malfunction
  • Open circuit in wiring harness between CMP sensor terminal A and body ground
  • Short to ground in wiring harness between the following terminals:
    • CMP sensor terminal C-PCM terminal 2AM
    • CMP sensor terminal B-PCM terminal 2S
  • PCM connector or terminals malfunction
  • Short to power supply in wiring harness between CMP sensor terminal B and PCM terminal 2S
  • CMP sensor power supply circuit and signal circuit are shorted to each other
  • Open circuit in wiring harness between the following terminals:
    • CMP sensor terminal C-PCM terminal 2AM
    • CMP sensor terminal B-PCM terminal 2S
  • CMP sensor malfunction
    • CMP sensor is dirty
    • CMP sensor pulse wheel malfunction
  • CKP sensor connector or terminals malfunction
  • Variable valve timing mechanism not installed correctly
    • Loose timing chain or improper valve timing
    • Loose camshaft sprocket lock bolt
    • Loose crankshaft pulley lock bolt
  • PCM malfunction
G13726444Courtesy of MAZDA MOTORS CORP.
Factory Service Tools

Use the Manual With the Right Hardware

Pair factory procedures with proven DIY tools so the instructions are easier to execute.

Disclosure: Verified tool recommendations may earn an affiliate commission at no cost to you.

When to See a Mechanic

Stop DIY work and contact a certified mechanic immediately if any of the following apply:

  • β€’ You smell fuel, burning insulation, or see smoke.
  • β€’ Brakes feel soft, pull hard to one side, or make grinding noises.
  • β€’ The engine overheats, stalls repeatedly, or misfires under load.
  • β€’ You are missing required tools, torque specs, or safe lifting equipment.
  • β€’ You are not confident in the next step or safety outcome.