On 07/14/2017 06:26 AM, andy pugh wrote:
On 14 July 2017 at 11:59, Bertho Stultiens <[email protected]> wrote:
Maybe some other developer can pitch in and say something about I/O
scheduling as currently implemented in LCNC?
EPP Parallel port works well for Pico and some Mesa cards. I don't
think IO data throughput is actually any real concern.
Yes, our 3 products (an analog servo interface, a stepper
controller, and a PWM controller) all use the parallel port
as a communications channel. They use it in EPP mode, which
allows better than 1 MByte/second transfers. Not sure what
you really are asking for with "I/O scheduling". We
normally run at a 1 KHz servo thread, with no base thread,
and have two driver functions, one reads all the registers
that need to be read, then the PID etc. are calculated, then
the other writes out the results to set the axis velocity
and digital outputs. On a pedestrian Pentium 4 the whole
servo cycle takes place in about 150 us.
Jon
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers