Camshaft Position Sensor Code (P0340) & ECM replaced

Questions specific to a check engine light.
Post Reply
Posts: 1
Joined: Thu Jul 16, 2015 11:21 pm

Camshaft Position Sensor Code (P0340) & ECM replaced

Post by ashleysjammin2015 » Thu Jul 16, 2015 11:23 pm

We were having problems with our 2002 Toyota Rav4 which we bought used. Everything was working fine for the first month that we had it, but then we began to have problems. It wasn't acting right. It would sputter, stall while I was driving but it would crank right back up, but a few minutes later, stall again, It also wouldn't accelerate right. The check engine light went off and on also. It started around July 4th. We went to get it scanned and the code for the CPS A circuit #P0340 came up.. After replacing it twice and testing it, it continued to act up. So our mechanic tested everything. He checked the wire harness, checked for any type of wiring problems. He came to the conclusion it was the ECM because when the car was cool, it ran great, the moment it was hot, the ECM would be hot and the car would start acting up. He found a way to cool the ECM which made the car run fine.. It was in the shop a week because of all of this. ECM was just replaced and they did some test runs. No problems when they drove it 3 times to double check and they also let the engine get hot. It seems to be running great, no sputtering, stalling, etc. but 30 minutes to an hour after leaving the shop, we are getting the code again even after having all sensors checked, wiring, etc. Any ideas on what could be the problem?

User avatar
Posts: 110
Joined: Sun Jan 05, 2014 9:05 pm

Re: Camshaft Position Sensor Code (P0340) & ECM replaced

Post by Terry » Tue Oct 27, 2015 8:32 pm

Make sure they replaced the correct cam position sensor. The code you are getting P0340 sensor A. Your engine may have two crank sensors. The other would be sensor B. If they are replacing the wrong one, the code would keep coming back.

Also, make sure they are doing a crank position correlation relearn procedure. After replacing the sensor the computer needs to do a re-learn, if not, the code will return and the same symptoms will occur.

Post Reply