ts-7000
[Top] [All Lists]

[ts-7000] Can't seem to get timers working on TS-7250

To:
Subject: [ts-7000] Can't seem to get timers working on TS-7250
From: Kevin Cozens <>
Date: Wed, 11 Jul 2007 14:19:38 -0400
Greetings, all.

I am trying to use the timers on a TS-7250 running the stock 2.4.26-ts11
kernel. I don't seem to have the right initialization sequence as I'm not
getting any interrupts from the timers.

What I'm trying to do is to use one of the timers (timer2 or timer3) in a 
kernel module to generate an interrupt every 500 uS so I can flip a bit on an 
output port. This is more of an experiment right now to see if it is possible 
and to determine the amounts of latency and jitter I can expect.

Does someone have some sample code that uses the timers to generate periodic 
interrupts? My attempts so far have proven to be unsuccessful. I disable the 
timer, set it to periodic mode, clear the timer interrupt, put a value in to 
the timer load register, then enable interrupts. However, I never seem to get 
any interrupts.

The EP9301 User Guide talks about the two sets of Vectored Interrupt tables. I 
am not doing anything regarding the VIC's at the moment. I didn't need to do 
anything with them to get interrupts from a GPIO input. Is there something I 
have to do with the VIC when it comes to the timers? How do I pick which VIC 
table to use to reduce latency? How do I configure the interrupt as an FIQ?

-- 
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU