Conditions for Setting the DTC
WARNING: This page is about a different car, the 2007 Pontiac G5 Pursuit, 2007 Pontiac G5, and 2007 Chevrolet Cobalt. However, it is still accessible from the selected car via links, so may be relevant.
P0340
The ECM does not receive 4 camshaft pulses within 3 seconds.
P0341 - Near Engine Start, CMP Fast Event Based Test
The ECM detects the incorrect number of CMP sensor pulses in 2 revolutions of the crankshaft, which is usually within 1 second.
P0341 - After Engine Start, CMP Slow Event Based Test
The ECM detects the incorrect number of CMP sensor pulses in 2,000 revolutions of the crankshaft, which is usually within 4 minutes.