On Thu, 7 Aug 2008, eric.robishaw wrote:
> I've created a fairly complete example on reading the DIO ports (and /or
> LDC) of the TS7800.
>
> Allows the 7800 to work as a "medium speed" pulse counter.
>
> * Using a pulse generator I determined that the max I can read is
> exactly 50hz.
> * Because this number is so precise and even, it which makes me think
> there's some kind of hardware, or driver limiter.
That's a FAQ - it crops up on the list periodically.
The basic kernel timing interval is that produced by the 100Hz timer
frequency of the kernel. It's not specific to the TS products, though
modern Intel/AMD based systems have a system clock of 1000Hz.
It is configurable when you build the kernel you run.
Google should throw up more explanation.
> * Reading at the max speed produces no more than 1% cpu load. >
> You can find the code here:
> <http://home.greenrain.us/ts-7800-codeworks/7800DIO>
> http://home.greenrain.us/ts-7800-codeworks/7800DIO
> <http://home.greenrain.us/ts-7800-codeworks/7800DIO>
>
>
> Enjoy.
>
> Eric Robishaw
>
>
------------------------------------
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/
|