P0340
code defined is: "Camshaft Position Sensor 'A' Circuit Bank 1"
I recently did an engine swap from a 220k blown head gasket to a 35k engine. I did the timing belt and set the cams, etc while the engine was out.
I also tried the camshaft sensor for the front from the old engine just to see if that would change anything and nada... no difference.
Symptoms:
When starting car first crank is always a no go, 2nd crank always starts the car. (i.e., I turn the key and you hear the engine wanting to start but it will not, I stop cranking the engine and wait 1-2 seconds, then crank it again and engine starts right up and sounds beautiful)
What could be my issue. That is the ONLY code being thrown (even though I have other issues such as my radiator fans not starting... which is gonna be a relay or the fans)
Was that code there right from the swap?
Did all the wiring match up okay?
Check the wiring, below you can find a pinout for your ECU and the sensors.
If that's okay, then it may indicate that your engine is out of timing - no matter how hard are you trying to keep track of it, it can still sometimes slip by a tooth (you can refer to this thread about it). If everything is in check, then it may be an ECU issue.
Hope this helps and best of luck!
My biggest fear is the timing being off... I've NEVER done timing and did it for this engine while it was out.... it seemed pretty straight forward matching up all the notches and lines and then replacing belt, pullies and tensioner. The engine was only replaced due to the blown head gasket /age, but aside
from that there were no issues with the engine, check engine light, etc. Just the previous owner NEVER maintained the engine so I figured I'd start with a 35k engine and do all the maintenance.
Tomorrow I will try the other sensor and then I will check the wiring again








