ts-7000
[Top] [All Lists]

Re: [ts-7000] IRQ 7 by the zillions ?

To:
Subject: Re: [ts-7000] IRQ 7 by the zillions ?
From: Kevin Cozens <>
Date: Tue, 25 Jan 2011 21:37:52 -0500
Clark wrote:
> We have 2.6.29-ts, and notice that the IRQ counts in /proc/interrupt go
> absolutely wild when we attempt to insert a 0.2 second, TTL/CMOS level
> signal onto pin A21 of the PC104 connector of the TS-7260.
> 
> When the square wave voltage goes high, the system load goes up so much
> that the shell freezes until the voltage drops, at which time the count
> in /proc/interrupts has jumped like it does each time the voltage goes to
> 5, by about 397,000 in 0.2 seconds!!

I don't know the 7260 but I have used interrupts in a 7250 board. Based on 
your description it sounds like you have the interrupt on the board set to 
be level sensitive where you really want it set to generate interrupts on a 
signal edge.

On a TS-7250 the key two lines for setting up the interrupt was:

     #define GPIOFIntType1       (gpio_ptr + 0x4C)
     #define GPIOFIntType2       (gpio_ptr + 0x50)

     writeb (readb (GPIOFIntType1) | FLOW, GPIOFIntType1);  /* Int on edge */
     writeb (readb (GPIOFIntType2) & ~FLOW, GPIOFIntType2); /* Rising edge */

gpio_ptr points to the base address of the GPIO registers.


------------------------------------

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