P1147 NISSAN - Heated Oxygen Sensor 2 Maximum Voltage Monitoring Bank 1
P0139 NISSAN - HO2S12 Slow Response Bank 1 Sensor 2
P0340 NISSAN - Camshaft Position Sensor Circuit Bank 1
did you clear your ses codes after you changed your parts? they may need to be cleared, you can do the pedal dance, or use an obd scanner. once you clear them you can see if they pop up again, or if your symptoms change, when you have ses codes the ecu maybe adjusting your fuel trim incorrectly causing your idle issues. if your cam sensor codes comes back, replace both cam sensor and crank sensor, if it comes back again, you need to check your charging system, make sure your battery terminals are super tight, and has good ground contact, check your battery voltage motor on & off. otherwise you have wiring issues/bad connection/bad ecu.
im not positive, but i believe you have 4 o2 sensors, did you change both rear/post cat sensors? the code you have is for the bank1 sensor, maybe you changed your bank2 sensor...? once the car is warm, and you restart, your o2 sensors are already hot, it could be the heater on the sensor failed, which would cause it to run like doodoo when its cold, and losing timing wont help the ecu correct the problem.
also, dont forget to check your vehicle for recalls, the cam sensor has been recalled for the 1.8 motors, not sure if youve done the recall, or if it applies to your vin.
P0139 NISSAN - HO2S12 Slow Response Bank 1 Sensor 2
P0340 NISSAN - Camshaft Position Sensor Circuit Bank 1
did you clear your ses codes after you changed your parts? they may need to be cleared, you can do the pedal dance, or use an obd scanner. once you clear them you can see if they pop up again, or if your symptoms change, when you have ses codes the ecu maybe adjusting your fuel trim incorrectly causing your idle issues. if your cam sensor codes comes back, replace both cam sensor and crank sensor, if it comes back again, you need to check your charging system, make sure your battery terminals are super tight, and has good ground contact, check your battery voltage motor on & off. otherwise you have wiring issues/bad connection/bad ecu.
im not positive, but i believe you have 4 o2 sensors, did you change both rear/post cat sensors? the code you have is for the bank1 sensor, maybe you changed your bank2 sensor...? once the car is warm, and you restart, your o2 sensors are already hot, it could be the heater on the sensor failed, which would cause it to run like doodoo when its cold, and losing timing wont help the ecu correct the problem.
also, dont forget to check your vehicle for recalls, the cam sensor has been recalled for the 1.8 motors, not sure if youve done the recall, or if it applies to your vin.