DTC P1335: Crankshaft Position Sensor (REF)
WARNING: This page is about a different car, the 2003 Nissan Pathfinder. However, it is still accessible from the selected car via links, so may be relevant.
Compression TDC signal (120 degree signal) is controlled by CMP sensor (PHASE) signal and CKP sensor (POS) signal. In fail safe mode, ignition timing will be delayed 0-2 degrees.