Flywheel/Encoder patterns

Mazda Ebrahimi kleenair at ix.netcom.com
Sat Dec 7 19:41:17 GMT 1996


Todd Knighton wrote:
>         How big are your counters, 16, 26, 32-bit.  Running at 32Mhz you have
> to make sure your counters won't overflow at low speed, this is why
> Porsche stayed with 6Mhz with 16-bit counters, any faster and you'd be
> overflowing the counters all the time waiting for the next tooth.

All my counters are sixteen bit.  But remember, the counters used for driving the 
injectors and coils are not processor clock driven.  They are driven by the crank pulse, 
so their count would never exceed 719.

>         To get things going you could just setup some constants initially, Coil
> On tooth, Coil Off Tooth, Injector On Tooth, Injector Off Tooth with
> some basic injector times and ignition timing just to get the thing
> fired to work out your hardware.  Then start adding in functionality as
> you go.

Sounds like a good plan to me.  Thanks!
Best Regards,
Mazda Ebrahimi



More information about the Diy_efi mailing list