Unfortunately we do not accept new members for free, Now Registration cost 30€, if you are interesting Send Email to [email protected]

Solved ✔ E36 M3 Code 65 P0340 Question
30-05-2019, 21:40 PM, (This post was last modified: 01-07-2019, 03:02 AM by Clusters.)
Post: #1
E36 M3 Code 65 P0340 Question
Hello all,

I have a '99 M3 with a Code 65 (P0340). Replaced the camshaft sensor with an OEM and still the same issue. Tested the wiring back to the ECM for shorts/high resistance; everything is good. I'm a bit confused about one thing though: is this a 5V sensor? The DME seems to be supplying ~2.4V to the sensor. I check the crankshaft sensor and it's the same. Key on/engine off I am getting 2.4V directly out of the DME for both, though I can see RPM both on the cluster and through live data. Camshaft starts at -25° KOEO and the jumps to 59° with engine running and stays there no matter what RPM. Car runs strong with no apparent issues other than the code. What else could I check?
02-06-2019, 17:35 PM,
Post: #2
RE: E36 M3 Code 65 P0340 Question
Possible vanos solenoid wide open.
Vanos unit broken as to ahead the timing with engine running
Then very rare but cam reference wheel get moved because cam bolt gets loose
[+] 1 user says Thank You to crazybm for this post
02-06-2019, 19:28 PM, (This post was last modified: 02-06-2019, 19:30 PM by Enabled.)
Post: #3
RE: E36 M3 Code 65 P0340 Question
That's not how single vanos works... And this is not a code for timing. This is for camshaft position sensor circuit!


To the original poster, your sensor that was on the car, can you pull the rubber boot on the end of the connector back a bit? Has the wire insulation completely gone off? When this happens, you have a good chance of internal shorts and damaging components in the dme.
Since this sounds like a North American M3, I would suggest checking the old camshaft position sensor first for raw wires, and then possibly getting a replacement dme.
They're easy to replace and syncing ews takes 5 seconds. If you need guidance, PM or ask here.
[+] 1 user says Thank You to Enabled for this post
03-06-2019, 04:32 AM,
Post: #4
RE: E36 M3 Code 65 P0340 Question
(02-06-2019, 19:28 PM)Enabled Wrote:  That's not how single vanos works... And this is not a code for timing. This is for camshaft position sensor circuit!


To the original poster, your sensor that was on the car, can you pull the rubber boot on the end of the connector back a bit? Has the wire insulation completely gone off? When this happens, you have a good chance of internal shorts and damaging components in the dme.
Since this sounds like a North American M3, I would suggest checking the old camshaft position sensor first for raw wires, and then possibly getting a replacement dme.
They're easy to replace and syncing ews takes 5 seconds. If you need guidance, PM or ask here.

Thanks for your reply. 

I unfortunately no longer have the old sensor to check if the wiring was messed up. Do you happen to know if it's a 5 volt sensor? I'm leaning towards the DME as the culprit. What tool/software would you recommend to sync the ews on these older BMWs?
06-06-2019, 16:26 PM, (This post was last modified: 06-06-2019, 16:27 PM by Enabled.)
Post: #5
RE: E36 M3 Code 65 P0340 Question
(03-06-2019, 04:32 AM)xtac1080 Wrote:  
(02-06-2019, 19:28 PM)Enabled Wrote:  That's not how single vanos works... And this is not a code for timing. This is for camshaft position sensor circuit!


To the original poster, your sensor that was on the car, can you pull the rubber boot on the end of the connector back a bit? Has the wire insulation completely gone off? When this happens, you have a good chance of internal shorts and damaging components in the dme.
Since this sounds like a North American M3, I would suggest checking the old camshaft position sensor first for raw wires, and then possibly getting a replacement dme.
They're easy to replace and syncing ews takes 5 seconds. If you need guidance, PM or ask here.

Thanks for your reply. 

I unfortunately no longer have the old sensor to check if the wiring was messed up. Do you happen to know if it's a 5 volt sensor? I'm leaning towards the DME as the culprit. What tool/software would you recommend to sync the ews on these older BMWs?

INPA does it easily, and so does a little program called ewssync.exe free from bimmerforums. It must all be done at the 20-pin port.

The process is read the current dme ISN with INPA, and then go to ews module and type it in.
Reputation: +1 - xtac1080 [+1]
[+] 1 user says Thank You to Enabled for this post
19-06-2019, 07:32 AM,
Post: #6
RE: E36 M3 Code 65 P0340 Question
(06-06-2019, 16:26 PM)Enabled Wrote:  
(03-06-2019, 04:32 AM)xtac1080 Wrote:  
(02-06-2019, 19:28 PM)Enabled Wrote:  That's not how single vanos works... And this is not a code for timing. This is for camshaft position sensor circuit!


To the original poster, your sensor that was on the car, can you pull the rubber boot on the end of the connector back a bit? Has the wire insulation completely gone off? When this happens, you have a good chance of internal shorts and damaging components in the dme.
Since this sounds like a North American M3, I would suggest checking the old camshaft position sensor first for raw wires, and then possibly getting a replacement dme.
They're easy to replace and syncing ews takes 5 seconds. If you need guidance, PM or ask here.

Thanks for your reply. 

I unfortunately no longer have the old sensor to check if the wiring was messed up. Do you happen to know if it's a 5 volt sensor? I'm leaning towards the DME as the culprit. What tool/software would you recommend to sync the ews on these older BMWs?

INPA does it easily, and so does a little program called ewssync.exe free from bimmerforums. It must all be done at the 20-pin port.

The process is read the current dme ISN with INPA, and then go to ews module and type it in.

I ended up using the ewssync from that forum. Incredibly easy and fast. Except I still have that very same code with the new (used) ECM as soon as I start the car, and also a permanent unclearable oxygen sensor code that I never had with the old ECM. I have the motor torn down again trying to find the missing link. Wiring is fine, sensor is fine, ECM is *fine*, timing is fine, pickup on the camshaft is where it should be and undamaged....ready to throw in the towel on this one.
20-06-2019, 03:12 AM,
Post: #7
RE: E36 M3 Code 65 P0340 Question
Did you use an M3 DME from an M3?

The MS41 was used in many E36 6-cyl models and many had different oxygen sensor configuration.

Also, do you have the correct ones installed?
21-06-2019, 02:10 AM,
Post: #8
RE: E36 M3 Code 65 P0340 Question
(20-06-2019, 03:12 AM)Enabled Wrote:  Did you use an M3 DME from an M3?

The MS41 was used in many E36 6-cyl models and many had different oxygen sensor configuration.

Also, do you have the correct ones installed?

The seller touted it as an S62 E36 M3 DME, so I have to imagine it was. I've already returned it. All the oxygen sensors are OE as far as I know. Would it be a reach to think this DME had a defective internal cam circuit as well?
21-06-2019, 02:18 AM, (This post was last modified: 21-06-2019, 02:24 AM by Enabled.)
Post: #9
RE: E36 M3 Code 65 P0340 Question
If I remember correctly, the cam position sensor receives 12V supply from the car, using a Y harness adapter drawing power from another component (IIRC it is the VANOS solenoid... I would have to go outside or in the garage to check my 2 cars)

It was an old recall/TSB and reprogram that virtually all of the cars got. I would check your wiring and power supply to it.
[+] 1 user says Thank You to Enabled for this post
30-06-2019, 23:12 PM, (This post was last modified: 30-06-2019, 23:14 PM by xtac1080.)
Post: #10
RE: E36 M3 Code 65 P0340 Question
After redoing the timing twice, ripping into the wiring harness and verifying continuity, used ECM.... it turned out to be a bad camshaft position sensor. The initial sensor I bought was a VDO. Same problem. I went to the local BMW dealer and bought one of theirs, same problem. After all this bullshit it ended up being TWO defective new sensors. INFURIATING


Possibly Related Threads…
Thread Author Replies Views Last Post
XZBMW REQUEST FSC CODE muskatas 4,282 361,716 Yesterday, 16:38 PM
Last Post: Thorsten
XZBMW Requesting fsc code 0x183 for kombi_sp18 BMWF01 1 118 21-04-2024, 10:05 AM
Last Post: BugFix
XZBMW BMW Navigation Maps FSC activation code (request) rogerkj71 82 11,384 17-04-2024, 08:29 AM
Last Post: Erezbmwm
XZBMW FSC Code for Route Maps Bimmer540 236 34,555 15-04-2024, 12:50 PM
Last Post: energjia
  DDE509 Internal fault 7 code 4703 GoNz0- 0 66 14-04-2024, 14:42 PM
Last Post: GoNz0-
  Mini Tooth to mechanical code koziol 0 89 14-04-2024, 14:27 PM
Last Post: koziol
  VO code RSE_HIGH_NBT2 error HU_man 3 162 12-04-2024, 07:08 AM
Last Post: Node
  G05 KAFAS4 enable code missing after Retrofit ACC 6ergsm 19 2,478 26-03-2024, 12:33 PM
Last Post: Hodgsonp
  [Question] Change X1 F48 gearbox jaramillo 9 1,462 24-03-2024, 21:27 PM
Last Post: masa52
XZBMW How to change VIN code in VCM via Esys? vipsha 5 1,462 14-03-2024, 22:20 PM
Last Post: tcp443

Forum Jump:


Users browsing this thread:
1 Guest(s)

Return to TopReturn to Content