ts-7000
[Top] [All Lists]

[ts-7000] tsdio24 and interrupts

To:
Subject: [ts-7000] tsdio24 and interrupts
From: "Yan Seiner" <>
Date: Wed, 22 Mar 2006 19:20:40 -0000
I have a basic question about enabling interrupts on the TSDIO24.  The
docs I have state that writing a 1 to bit 0 of the interrupt control
register ties bit 0 (pin 15) to IRQ 5.

I've playing around with this, and while I get data on pins 15 and 13,
I get no interrupts....

Either there is something wrong with my code (likely) or I am missing
something in the initialization of the board....

Here's the content of the registers for the board:

/proc/driver # cat tsdio24_info
BoardID: T
Jumpers: 10100
irq: 00000011
Data Dir: 10
Port A: 11111111
Port B: 00000000
Port C: 11111101

so IRQ 5 and 6 should be tied to bits 0 and 1 (pins 15 and 13) of the
board.

And in fact the kernel says I have hooked them:

/proc/driver # cat /proc/int*
  4:     103992   timer
  5:          0   ChannelA
  6:          0   ChannelB
 39:      26598   EP9312_Eth
 54:       3506   amba
 56:          0   usb-ohci
Err:          0

ChannelA and ChannelB being my interrupt handlers...  But no matter
what I do the irq count stays at 0.....

Has anyone used the IRQ lines on this board?  Any suggestions?

--Yan






 
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>
  • [ts-7000] tsdio24 and interrupts, Yan Seiner <=
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