Conditions for Setting the DTC
WARNING: This page is about a different car, the 2010 Chevrolet Cobalt. However, it is still accessible from the selected car via links, so may be relevant.
The ECM detects the incorrect number of camshaft position sensor pulses in 10 revolutions of the crankshaft, which is usually within 4 s.