ts-7000
[Top] [All Lists]

[ts-7000] Re: Timer 1 periodic interrupt

To:
Subject: [ts-7000] Re: Timer 1 periodic interrupt
From: "lotsi01" <>
Date: Sat, 18 Mar 2006 11:28:11 -0000
--- In  Lennert Buytenhek <> wrote:
> 
> Hi!
> 
> You can't catch the interrupt from userspace, the only way to handle
> it is to write a small kernel driver (which then perhaps passes the
> interrupt to userspace.)  I can whip something like this up if 
you're
> interested, what kernel version are you using?
> 

Hi,

thanks for your reply. I'm using kernel version 2.4.26-ts9 and I 
would realy appreciate your help. Since I'm new to both Linux and 
embedded I find it hard to use some guides and tutorials since I 
don't know whether it applies to Linux on ARM or Linux on x86.


> It's likely that the version of linux you use uses timer 1 for the
> periodic (10ms) timer interrupt, so when you reprogram it, the time
> of day will run faster or slower than usual, which can confuse a
> lot of things in the system..
> 
> 
> --L
>

That explains the behaviour. Maybe its better to use timer 2 then. 
The longest time span needed will be 1 second so timer 3 seems to be 
overkill and timer 4 doesn't trigger interrupts if I read the user 
guide correct.


I didn't recieve this answer in my mail box as usual. Strange!








 
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/
 


<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