Skip to content
View in the app

A better way to browse. Learn more.

Ultimate Subaru Message Board

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Engine stalls while coasting then has cam sensor code - swapped cam sensor and new timing tensioner

Featured Replies

1999 EJ22 with 90,000 miles in great condition as far as I know.

 

Car drives fine but sometimes stalls while coasting.  Classic idle control symptoms but it always has a cam sensor code after this happens?!?!

 

Replaced cam sensor and timing belt tensioner and still does it.

 

Cleaned idle control motor today.

 

What else?

weird - subscribing to learn.

 

sure the code isn't TPS? clean/replace crank sensor? low system voltage?

Edited by 1 Lucky Texan

  • Author

P0340 - cam sensor

 

I pulled and cleaned the idle air control valve.  I'm hoping the valve was sticky - causes the familiar "stalling while coasting" symptom - then that stalling causes an odd signal for the cam sensor that triggers the check engine light for the cam sensor. 

Seems speculative and possibly not going to be the case.  I'll report back if the check engine light comes back again after this cleaning.

maybe there's just enough weakness in the tensioner and stretch in the belt to momentarily cause enough 'jerk' to throw the cam sensor out of sync? Or a cam gear is loose/cracked?

 

weird

Edited by 1 Lucky Texan

  • Author

did the same thing with two different tensioners. new belt.

 

so far the 0340 seems to be from:

1. an artifact of the stalling due to the idle control valve - it's now clean so time will tell

2. it's possible i installed the wrong cam sprocket (Phase II's having two different varieties) - but it ran fine for months before starting to stall, i think it would have stalled immediately after installing the wrong cam.

 

any other suggestions?

did the same thing with two different tensioners. new belt.

 

so far the 0340 seems to be from:

1. an artifact of the stalling due to the idle control valve - it's now clean so time will tell

2. it's possible i installed the wrong cam sprocket (Phase II's having two different varieties) - but it ran fine for months before starting to stall, i think it would have stalled immediately after installing the wrong cam.

 

any other suggestions?

 

nothing specific from me, I'm just brainstorming. Um, would it throw the code if you clutched in and braked to slow the car? Or if you did some high revving when parked? That is, does it require engine braking to throw the code? To me, that would be more a mechanical/sensing/maybe wiring issue than 'charging circuit' but........?  Intermittent signal dropout could be a general electrical fault - or bad connector or grounding I guess.

Edited by 1 Lucky Texan

  • Author

automatic. good call, but doesn't do it enough to test it and rev it up to high rpm.

Might make sure the terminals are clean in the big connector on the bellhousing. And make sure its plugged in all the way.

 

Another thought is a chafed wire under the intake manifold. Could be grounding the signal only when the engine moves in a certain way. Try the wiggle test!

  • Author

I reseated the main connector, inspected the sensor contacts, they all look solid and good - i'll slap a multimeter on the pinouts.

 

Oh please tell me cleaning the idle controller does it if there's no obvious things to test/check!!!

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.