These are the dreaded camshaft codes. So, it can be the engine oil is low or needs to be changed. But it sounds like the starter battery needs to be replaced or the engine is locked up due to lack of oil, please go over this video so you can check the easy stuff first:
https://www.youtube.com/watch?v=6YRW8fyNudY&pp=0gcJCbIJAYcqIYzv
P0340 - Camshaft Position Sensor “A” Circuit (Bank 1)
P0341 - Camshaft Position Sensor “A” Range/Performance
P0365 - Camshaft Position Sensor “B” Circuit (Bank 1 - Exhaust Side)
When the engine was running did it make a rattling noise at idle? If so the timing chain, tensioner or camshaft actuators might need to be replaced, I have seen the oil control valves for the camshafts need to be replaced as well. If you upload a short video of the engine clicking, I can get a better idea of what is going on. To can be a lose battery cable, I need more information to help you :)
Sunday, June 8th, 2025 AT 1:06 PM