I got the engine codes P1145 and P1320 on my 2001 Nissan Pathfinder SE 3.5L, show problem areas
The Nissan factory repair for the P1320 code is to replace all of the ignition coils. Typically, if you wait long enough the cylinder/coil that is causing the problem will show up as a single-cylinder misfire.
P1145 is for the intake valve timing control position sensor on the left side of the engine. Here is a diagram of its location. You do sometimes get this code when the cam position sensor fails as well.