mfmikula wrote:
> Kevin - I'd like to hear more about the kernel module you use to
> count. Did you write it yourself?
No, I didn't write the kernel module myself. I modified a module I obtained
after reading a message posted to this mailing list by Colin Copeland.
The kernel module counts pulses on pin 8 of the DIO1 header (which is labelled
as DIO_8 on the schematics) on a TS-7250 board. The pulse count is obtained by
reading the contents of the pseudo-file /proc/flowctr.
Due to discrepancies/errors between the manual and the schematics for the
board I had to experiment slightly to determine which bit I had to set to
enable the interrupts (bit 1 of Port F on the EP9302) for the above mentioned
pin as well as determining which IRQ to use (IRQ 20) when installing the
interrupt handler.
In my application, I expect to receive up to 2000 pulses per second.
--
Cheers!
Kevin.
http://www.ve3syb.ca/ |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus:
| Try to assimilate the world!"
#include <disclaimer/favourite> | -Pinkutus & the Borg
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/
|