Why not do the GPIO from the fast thread, but not do all of it every time through the thread? If there are 16 GPIOs, do a different one each time through the thread. (I seem to remember some stuff on the Lunar Module doing things like this.)
In effect, you would be creating a new type of slow thread that was synchronized with the fast thread. The downside is that this mechanism would lack flexibility. The upside is that it requires no outside synchronization mechanism. Is this is a dumb idea. Or has it already been considered? Ken Jeff Epler wrote: > On Wed, Aug 13, 2008 at 01:58:50AM -0600, Sebastian Kuzminsky wrote: >> A typical EPP transaction for this driver consists of two address cycles >> and 16 data cycles, for a total of about 20 or 25 microseconds of no >> interrupts. It occasionally (rarely) spikes as high as 75 microseconds. >> >> >> There's a judgement call here, and I seek your advice. Is 25 >> microseconds too long to run with interrupts off? > > It doesn't seem like this would mix well with software step generation > in the fast thread. Items like that--where the fpga doesn't support > the specific kind of I/O, but the PC is fast enough to do it in the > base_thread--is the whole reason to run GPIO in the fast thread. > > Jeff > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers -- Kenneth Lerman Mark Kenny Products Company, LLC 55 Main Street Newtown, CT 06470 888-ISO-SEVO 203-426-7166 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
