I'm just looking for a little clarification on the VVT feature.
I'm looking to install this on my 2gr-fe powered Toyota MR2 that has quad VVT-i. the problem is i can't figure out if this code is compatible with my cam pattern or if code would need to be changed.
my plan if it is compatible is to let the stock ECU control the VVT-i during the initial tuning and just steal it's base values before giving megasquirt control of the solenoids.
the trigger pattern is visible here:
there are three teeth of three sizes, here's a drawing of their organization:
I have no idea where TDC is on that since i'm doing this on a spare cam i have sitting here. but i suspect this should be easy to figure out by looking at the cam/crank scope view once i hook it up to megasquirt.
and as you can in the image below, the intake can move by 40degrees and the exhaust can move 35degrees
for what it's worth, i do have experience with megasquirt. i used it to power a WWII radial airplane engine and i had to design all the triggers/pickups. and i design embedded software for a living so i understand the inner workings fairly well.