On Fri, 14 Oct 2016, Erik Friesen wrote: > Date: Fri, 14 Oct 2016 13:09:53 -0400 > From: Erik Friesen <e...@aercon.net> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Subject: Re: [Emc-users] Linuxcnc on arm > > I guess I am not following how a hardware interrupt gets mapped to the > userspace/lcnc servo thread. Any pointers on this?
As far as I know this is only done currently with Machinekit (so their source should have an decent example) > > On Fri, Oct 14, 2016 at 11:45 AM, Jon Elson <el...@pico-systems.com> wrote: >> On 10/14/2016 08:11 AM, Charles Steinkuehler wrote: >>> On 10/14/2016 7:11 AM, Erik Friesen wrote: >>>> @Sebastian Kuzminsky Thanks for those docs. >>>> >>>> @Charles Steinkuehler >>>> >>>> How would you link an interrupt to linuxcnc? >>> Setup a Mesa card with a periodic timer that triggers a capture of the >>> current position and generates an interrupt (the Mesa VHDL code >>> already supports this). In the servo thread, instead of waiting on a >>> software timer, you wait on the hardware interrupt. >>> >> Pico Systems motion control boards also support this. I've >> wanted to set this up on X86 through the parallel port for >> some time (since about 2002, in fact) but it would take some >> serious hacking on the PPMC driver. It looks like it might >> be easier with the uspace / rt-preempt kernel than with >> rtai. It would reduce latency/jitter to ns levels. >> >> Not sure if this is a project suitable for the codefest, but >> I'll think about it. >> >> Jon >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users