Search yields the following:
P0011 "A" Camshaft Position - Timing Over-Advanced or System Performance (Bank 1)
P0021 "A" Camshaft Position - Timing Over-Advanced or System Performance (Bank 2)
A 2006 post for P0011
according to my scantool library that code is for intake camshaft position timing over advanced bank 1. alldata says this code doesn't apply to nissans, however it is a 'generic' code which means all manufacturers can use it.
The camshaft position sensor (PHASE) is located on the engine front cover facing the camshaft sprocket. It detects the cylinder No. signal.
The sensor consists of a permanent magnet, core and coil. When engine is running, the gap between the sensor and the camshaft sprocket will periodically change. Permeability near the sensor also changes.
Due to the permeability change, the magnetic flux near the core is changed. Therefore, the voltage signal generated in the coil is changed.
The ECM receives the voltage signal and detects the cylinder No. signal.
the crankshaft sensor detects rpms and when a cylinder is 2 tdc. the camshaft detects which cylinder to fire and send fuel too.
i've never seen the code before and I'm not sure what parameters the ecu uses to decide when the sensor is 'over advanced', but i'm guessing that it compares the crankshaft sensor to the camshaft sensor and if it detects say cylinder #1 is advanced more than it really is then it sets a code.
how is your engine running? Does it feel like the chain skipped a tooth and is missing real bad?
First thing I would do is check the sensor to make sure its not loose. It may have come loose and the magnet turned a few degrees which is fooling the ecu to thinking the cam is in a different location than it actually is.
I would put a scope on the crank and cam sensors and see when each goes off. If the engine's running really rough at idle in drive I would bet the belt skipped a tooth. If it's not running that rough I would bet that the sensor turned a degree or two. But like I said I've never seen this code before so I may be way off. Also I would caution you. I'm not sure if the 3.5 is an interference motor or not, but if it is and the cam skips to far off of the set position the valves could hit against the pistons resulting in needing rebuilt heads, so proceed with caution. Also how many miles on the car
According to FSM, the DTC detecting condition:
• There is a gap between angle of target and phase-control angle degree.
• Crankshaft position sensor (POS)
• Camshaft position sensor (PHASE)
• Intake valve timing control solenoid valve
• Accumulation of debris to the signal pick-up portion of the camshaft
• Timing chain installation
• Foreign matter caught in the oil groove for intake valve timing control
FSM shows diagnostic procedures as follow:
• Check Oil Pressure
• Intake Vavle Timing Control Solenoid Valve
• Crankshaft Position Sensor
• Component Diagnosis (i.e. Accumulation of debris on the signal plate of camshaft rear end and Chipping signal plate of camshaft rear end)
• If prior service includes recent repairs that may cause timing chain misalignment. (There is a TSB for the Timing chain installation)