you should try RTlinux instead linux standar kernel, download from
http://www.fsmlabs.com/products/openrtlinux/
On Monday 21 March 2005 05:02, Jim Jackson wrote:
> On Sun, 20 Mar 2005, noone_1983 wrote:
> > Hey everyone,
> > I was wondering if anyone had any experience controlling hardware
> > (in this case a servo) with the board that needed to have precision
> > timing. The signal I generate on the output pin has to be a very
> > precisely timed series of pulses, and the nanosleep function just
> > doesn't seem to cut it running on the board. Any ideas?
>
> This is Linux - Linux is not a realtime OS - so there are limits to what
> it can do which might mean you can't do what you want to do - maybe :-)
>
> You could have a go at changing the number of timer interrupts per sec.
> You could maybe go at 1000/sec instead of 100.
> And do some of your signal generation in the interrupt routine.
> But then again that doesn't guarantee you anything - linux isn't an RT OS.
>
> You need to define what your timing requirements are, what margin of error
> you've got. What happens if, because interrupts are disabled for a longer
> than normal period or something else, the signal you generate is no longer
> accurate - can your hardware cope, can things be corrected?
>
> If no then maybe use a PIC to do some dedicated signal generation and
> timing.
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
--
--<kurniadi>--
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|