Search found 5 matches

by socrace
Wed Mar 18, 2009 8:03 pm
Forum: FreeEMS Firmware Dev
Topic: Sync Injection Proposal
Replies: 8
Views: 12078

Re: Sync Injection Proposal

Ok, 0.8us timer period looks good. Could possibly assume that there would be no other interrupts.. For example my hc11 code uses only 1 interrupt, to generate a PWM signal (which the S12X does in hardware). Everything else, including serial comms, is done by relying on hardware buffers and checking ...
by socrace
Sat Mar 14, 2009 10:42 pm
Forum: FreeEMS Firmware Dev
Topic: Sync Injection Proposal
Replies: 8
Views: 12078

Re: Sync Injection Proposal

Here's the demonstration 'HC11 code I was talking about. Sorry it's assembly, but pretty heavily commented at least. The first section "determine inj(s) to turn ON" is all that's needed to do sync injection using normal timers. It's designed for a 4 tooth crank signal on a v8 and fires 4 i...
by socrace
Sat Mar 14, 2009 9:37 pm
Forum: FreeEMS Firmware Dev
Topic: Sync Injection Proposal
Replies: 8
Views: 12078

Re: Sync Injection Proposal

Hi Fred, guess I should have posted this under "advanced proposals", eh? Has the group decided on a main timer period yet? Most commercial ecus seem to use anywhere from 2us-8us, to get reasonable pulse widths out of 16bits. So in that range, thats about 80-320 bus clocks at 40mHtz. If the...
by socrace
Fri Mar 13, 2009 7:19 pm
Forum: FreeEMS Firmware Dev
Topic: Sync Injection Proposal
Replies: 8
Views: 12078

Re: Sync Injection Proposal

The basic idea is to divide crank rotation into firing periods. During any 1 firing period, only 1 injector will be turned off, so that one uses the first timer. All the other injectors are on the second timer. That's the basic two timer theory. The code then swaps out injector pins between the 2 ti...
by socrace
Fri Mar 13, 2009 3:54 am
Forum: FreeEMS Firmware Dev
Topic: Sync Injection Proposal
Replies: 8
Views: 12078

Sync Injection Proposal

I have come up with a method that I think is a realistic way to use the Adapt s12X board to manage sync injection and 8 coil ignition on a v8. The key to this is that it's really only necessary to use 2 timers for injection and 2 timers for ignition to manage any arbitrary number of cylinders. Shoul...