ts-7000
[Top] [All Lists]

Re: [ts-7000] IRQs

To: Mika Westerberg <>
Subject: Re: [ts-7000] IRQs
From: Anish Patel <>
Date: Thu, 24 Mar 2011 18:21:50 -0400


the bigger problem is that i can't seem to get them to trigger on low. is this even possible?

and how to try to allocate IRQ 5? its mapped to IRQ 22, and i've tried IRQ_EP93XX_GPIO3MUX to get it allocated, but it doesn't seem to work.


Thanks
anish
On 03/24/11 12:39, Mika Westerberg wrote:


On Thu, Mar 24, 2011 at 8:05 AM, Anish Patel <m("gmail.com","anish.mailing.list");">> wrote:
 

Hi all,
I am trying to use the IRQ's on the PC 104 connector for generating
interrupts.

When using 6 and 7, i have 6 set for active high and rising edge, and i
have 7 set for active low and falling edge.
6 works as expected, but irq 7 only seems to trigger on active high, not
low as expected.

//irq 6
request_irq(IRQ_EP93XX_EXT1 ,
detect_down_irq,
IRQF_TRIGGER_HIGH & IRQF_TRIGGER_RISING,


You might want to use '|' instead of '&' above.

 

"down_irq",
NULL);
//irq7
request_irq(IRQ_EP93XX_EXT3 ,
detect_down_irq,
IRQF_TRIGGER_LOW & IRQF_TRIGGER_FALLING,


Ditto.
 

"down_irq",
NULL);

i've tried the snippet from the ts-eth driver for allocating IRQ5, but
it always fails with resource busy.

any tips would be greatly appreciated.

Thanks
Anish





__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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