I do this routinely on a TS-7500 by using a high-priority thread that does
nothing but execute a loop that calls nanosleep() (standard Posix API) and then
calls a short routine. If you need tight control over jitter, consider using a
hardware solution. (Standard Linux is NOT a real-time operating system.)
HTH
--- In "burnsmicro" <> wrote:
>
> In the absence of a Periodic Timer interrupt, I need something to take the
> place of a pit_isr() to periodically trigger the execution of a short
> function at a frequency of between 50 and 100 Hz. Thge actual frequency is
> not so important as the accuracy of the frequence. Even that could be
> adjusted against the date/time.
>
> There are lots of posts on the ts-7000 list relating to fine grain timing
> issues. There are several mentions of T3 and T4 timers and in one of them,
> Jim Jackson mentions "Phil's driver can sample at 8KHz, and it is good enough
> for sound sampling".
>
> Can anyone point me to what a T3 and a T4 timer is? There is a file,
> T4ticks.c, in the Files section of this List, which appears to exercise the
> T4 timer, but it assumes knowledge of the T4 timer or a tremendous act of
> faith.
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|