Conditions for Setting the DTC: P0338
WARNING: This page is about a different car, the 2009 Pontiac Torrent and 2009 Chevrolet Equinox. However, it is still accessible from the selected car via links, so may be relevant.
The ECM detects a difference of greater than 8 teeth between reference gap position pulses for greater than 1 second or a cumulative of 10 seconds.