BMW S54 6 cyl, firing order: 15 36 24
VERY, VERY important: S54 needs 4 PFET outputs (high-side drivers) for the vanos actuators. Any other setup is not supported (driving vanos actuators directly from p259 outputs not supported, and might damage the p259 and cause other indirect problems).
- it's even among the examples [product order page] : "BMW S54 dual-VANOS engine: VR, HALL, HALL + 4 * PFET high-side switches for the 4 hydraulic cam-actuator solenoids "
- despite this, v3/9319 has no 4-PFETs installed.
- v3/9319 (the ECU used according to some logs) is originally VR,HALL
- I assume 3d trigger is homemade, so converted to VR,HALL,HALL
According to our knowledge, for S54, it's enough to just
- "BMW S54 high-side drivers for VANOS: 4-PFET outputs" in the order comment
- set up measurement
- and verify that the configuration+wiring makes the desired cam (this was verified, but please take note of wiringbelow)
- move into the desired direction (this wasn't verified, and very likely to be reversed)
- messing up either will cause the control to not work.
- according to:
We'll see if this engine happens to show something tricky.
- 1.2.28 firmware recommended
Trigger: VR, HALL, HALL
- primary trigger VR 60-2
- sectrig HALL: missing 8-1 (exhaust cam)
- pin1: +12V red
- pin2: signal green
- pin3: GND, black
- thirdtrig HALL: 6 evenly spaced tooth (intake cam)
Cam sensor pinout:
- pin1: +12V
- pin2: signal
- pin3: GND
Cam actuators
- manually actuated outputs actuate the cam, but
- not configured properly
Cam actuator wiring
Exhaust cam wiring, sectrig
- EC36/pin34 ignch2 advance yellow - white/green
- EC36/... (not specified, it must be ignch3 = EC36/pin36 ??) retard green - white/black
Intake cam wiring, third trig
- EC36/pin35 ignch0 advance brown - grey/brown
- EC36/pin33 ignch1 retard black - grey/blue
Ign outputs. Copied exactly from paper... not clear at all. Can you reformat ?
- 0-1 EC36/pin 33, 34, 35, 36
- 2-3
Still not clear: (pin11 is on EC36, not EC18; please confirm).
Pin 33-36 is obviously on EC36, but stepper is on EC18... weird...
- cyl1 pin35 stepperA
- cyl5 pin36 stepperD
- cyl3 pin11 11 (EC36 / ?)
- cyl6 pin33 stepperB
- cyl2 pin34 stepperC
- cyl4 pin12 12 (EC36 / ?)
Trigger errors
Engine is running well, but trigger error is lit continuously...
- sectrig position measurement ?
- position change not seen even when manually actuated (and cam obviously moving)
- third trig measurement ?
- position change not seen even when manually actuated (and cam obviously moving)
triggerlog ?
Note: [old log files] were not captured with this method, and not suitable to reproduce what is going on.
First, according to Dave's instructions from October mail:
- Could you send me a triggerlog and vemscfg of engine cranking 8-10 seconds without IGN and INJ fuse, with all three triggers enabled in the following configuration:
- primary trigger = rising, sec trigger = falling and third trigger = falling edge ?
- I will review and make suggestions accordingly."
After that, capture triggerlog:
- start capture triggerlog (preferrably 115200 baud)
- starting engine (this should be in the log)
- advancing cam (actuating manually)
- engine might stop because of this
- don't forget to name/annotate the log, taking note of what is happening, so it's possible to find (among dozens of other)
- preferrably a vemslog should be captured with similar sequence (it's another attempt, as it's not possible to capture 60-2 triggerlog and vemslog at the same time because of baudrate limitation)