Persistent Code 0340
Moderators: Helpinators, Moderators
Persistent Code 0340
I swapped in a long block... no significant other changes but now I can't seem to shake this P0340 camshaft position sensor code. The motor starts and runs (kinda rough), and throws no other codes.
I've run the trouble-tree and swapped in a known-good computer... and even rewired the whole darn shielded circuit (three hours of my life I won't get back) and lo and behold, I get the same thing! Any suggestions as to how to clear this code, which says camshaft position sensor (CPS) malfunction error, but not CPS out of range...
I'm thinking about pulling the timing belt and reinstalling after checking alignment... I don't think I could be off, but at this point, I am suspecting my own sanity.
Randii
I've run the trouble-tree and swapped in a known-good computer... and even rewired the whole darn shielded circuit (three hours of my life I won't get back) and lo and behold, I get the same thing! Any suggestions as to how to clear this code, which says camshaft position sensor (CPS) malfunction error, but not CPS out of range...
I'm thinking about pulling the timing belt and reinstalling after checking alignment... I don't think I could be off, but at this point, I am suspecting my own sanity.
Randii
Can you please provide some additional details. What year Subaru, what model, what model/year did the donor long block come from, etc.
Josh
surrealmirage.com/subaru
1990 Legacy (AWD, 6MT, & EJ22T Swap)
2020 Outback Limted XT
If you need to get a hold of me please email me rather then pm
surrealmirage.com/subaru
1990 Legacy (AWD, 6MT, & EJ22T Swap)
2020 Outback Limted XT
If you need to get a hold of me please email me rather then pm
The car is a 1999 Wagon with manual tranny, and the donor was a 1996 Wagon with an auto. The price was right, and I never could find a reasonable 2.2 Phase II donor.
I milled up some simple spacer plates to allow me to bolt the 1999 intake onto the Phase I heads on the '96 long block. I'm using the 1999 body harness, 1999 engine harness, and 1999 sensors. I swapped the 1999 crank pulley and camshaft pulley across, since the pips on the backside of the pulley sweep differently on autos and manuals.
Randii
I milled up some simple spacer plates to allow me to bolt the 1999 intake onto the Phase I heads on the '96 long block. I'm using the 1999 body harness, 1999 engine harness, and 1999 sensors. I swapped the 1999 crank pulley and camshaft pulley across, since the pips on the backside of the pulley sweep differently on autos and manuals.
Randii
Hmmm.
Were they both legacies?
Besides the code, how does the engine run? Any other symptoms of things not being correct?
Were they both legacies?
Besides the code, how does the engine run? Any other symptoms of things not being correct?
Josh
surrealmirage.com/subaru
1990 Legacy (AWD, 6MT, & EJ22T Swap)
2020 Outback Limted XT
If you need to get a hold of me please email me rather then pm
surrealmirage.com/subaru
1990 Legacy (AWD, 6MT, & EJ22T Swap)
2020 Outback Limted XT
If you need to get a hold of me please email me rather then pm
Possible it's the Camshaft position sensor? You said you only messed with the wiring and the computer, but never checked the sensor. If you can get your hands on a scope. It will really help out diagnosing the sensor.
91 Subaru Legacy SS (Driving) 3"TBE, Vrg FCD, 440cc, HKS Safc, Vf10, ebay FMIC, Jecs
92 Toyota Corolla (fixing then selling)
06 ZZR600
92 Toyota Corolla (fixing then selling)
06 ZZR600
Both are Legacy wagons.
The 1996 engine harness and 1999 engine harness have different connectors where they plug into their respective body harnesses... so I transferred the 1999 engine harness to the 1996 donor motor when I moved the 1999 intake manifold across to the 1996 donor motor.
The engine runs roughly, but steadily at idle. It revs OK, but not powerfully.
I have swapped the Camshaft position sensors between the 1996 and 1999... both test correctly (and similarly) for resistance, but I suppose might be wrong. I probably should whip out the oscilloscope and check signal...
Randii
The 1996 engine harness and 1999 engine harness have different connectors where they plug into their respective body harnesses... so I transferred the 1999 engine harness to the 1996 donor motor when I moved the 1999 intake manifold across to the 1996 donor motor.
The engine runs roughly, but steadily at idle. It revs OK, but not powerfully.
I have swapped the Camshaft position sensors between the 1996 and 1999... both test correctly (and similarly) for resistance, but I suppose might be wrong. I probably should whip out the oscilloscope and check signal...
Randii
-
- Fourth Gear
- Posts: 1947
- Joined: Fri Oct 03, 2003 6:22 pm
- Location: Fargo, ND
Just curious.....have you checked for vacuum leaks? Spraying starting fluid around the intake manifold would help you try and find any possible leaks.
Josh
surrealmirage.com/subaru
1990 Legacy (AWD, 6MT, & EJ22T Swap)
2020 Outback Limted XT
If you need to get a hold of me please email me rather then pm
surrealmirage.com/subaru
1990 Legacy (AWD, 6MT, & EJ22T Swap)
2020 Outback Limted XT
If you need to get a hold of me please email me rather then pm
I am sure the body harness is feeding into the ECU on the correct pins for the ECU -- I'm using the whole 1999 engine harness and the whole 1999 body harness... nothing has changed other than the long block underneath, not the wiring routing, not anything electronically.
The scan tool I have has the capability to clear codes, and I have done this between testing cycles.
There are no vacuum leaks... my adapter plates are quite nicely air-tight.
Randii
The scan tool I have has the capability to clear codes, and I have done this between testing cycles.
There are no vacuum leaks... my adapter plates are quite nicely air-tight.
Randii
Wasn't necessarily saying around the plates, just in general...
Josh
surrealmirage.com/subaru
1990 Legacy (AWD, 6MT, & EJ22T Swap)
2020 Outback Limted XT
If you need to get a hold of me please email me rather then pm
surrealmirage.com/subaru
1990 Legacy (AWD, 6MT, & EJ22T Swap)
2020 Outback Limted XT
If you need to get a hold of me please email me rather then pm
I have swapped in camshaft pulley sensors, same problem.log1call wrote:Have you checked the cam pulley isn't defective? That the cam sensor isn't loose?
I am swapping another camshaft pulley on today. I've checked the electronics every way I can, and swapped different sensors (my wife was LESS than amused when I swapped a couple of old sensors into her 2007 to verify that they were OK on her ride!

Randii
A wrong model pulley perhaps or just the belt timing out? If you look here.. http://cid-4ca3c3459aaa7f7f.skydrive.li ... a=90828925 and download "04_DTC Criteria" and have a look at the criteria for that code, you will see a diagram where they explain that the code is set if there are not three signals per two turns of the crank. If you look at the crank sensor code you will see that the crank sensor is an irregular signal, and that there are only thirty signals sent when you are measuring the correct portion of your crank rotation. If the cam doesn't start being counted at the correct point on the crank, the cam will set the code.
Goes with the rough idle too really.
Goes with the rough idle too really.