ALDL Updates was DIY-WB Output Voltage Scaling

Ludis Langens ludis at cruzers.com
Tue Sep 4 10:00:54 GMT 2001


Shannen Durphey wrote:
> 
> Fer instance, what's a kernal scheduler?
> 
> rr wrote:
> >
> > There are two
> > minor loops that each run 80 times/sec (fuel & spark). Then there are 16
> > major loops that run at 10 times/sec. Then there is the kernal scheduler that
> > runs at 160 times/sec.
> >
> > looked at the 8192 buad aldl too closely. However the 160 baud (bps) sends
> > a bit at each kernal loop, 160 times/sec.

"Kernel scheduler" overglorifies what the code does.  When the 160 Hz
heartbeat interrupt occurs, the handler first does several things that
must happen _now_.  It then goes to either the fuel or spark code,
alternating between them on each heartbeat.  Those two function then
join back up and the "scheduler" chooses one of 16 tasks.  Every 16
interrupts, the scheduler  runs through the list of tasks over again. 
The order of tasks is hard coded in the PROM.  Some tasks are listed
more than once, so that they run at 20 or even 40 times a second.  When
the chosen task is finished, in some ECMs the scheduler updates a
DirectScan unit.  After that, it waits for the next interrupt.

-- 
Ludis Langens                               ludis (at) cruzers (dot) com
Mac, Fiero, & engine controller goodies:  http://www.cruzers.com/~ludis/
----------------------------------------------------------------------------
To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
in the body of a message (not the subject) to majordomo at lists.diy-efi.org




More information about the Gmecm mailing list