replied to the thread Megasquirt experience
" You have some struggles ahead of you. I used to use the MS2 and helped work out a circuit for adding two injector drivers to make it sfi for 4 pots and semi sequential on 6 cylinders, but for something like a N54 you'll have a few things to sort, although I am almost completely inept to the MS3 so maybe it's better now.
Not sure the current state of DI on the MS, but you'd need to control the fuel pressure targets too... a custom i/o for the fuel control valve would probably work. No idea about injection control for DI. Vanos control has been around a while so you should be fine there, it's just a PWM circuit you'll need to tune for PID. Knock detection I have no idea. For crank triggers, I don't know what BMW used in the N54, but you should be able to use it. The Megasquirt is pretty adaptable there, but may want to look into that.
Apologies, my megasquirt experience is great... with the MS2 and domestics. I could help you hit 1000hp with one on a lsx connected to a lawn mower chassis, but those are vastly different animals to these motors. I think you'd stand the best chance converting it to PFI, in fact I don't see why that wouldn't work really as long as the sensors are supported or can be translated. It's gonna be a long road though to get everything working down to the odd wastegate system on the N54, which will consume some of your outputs for PID again. "
Today, 10:42 AM