ts-7000
[Top] [All Lists]

Re: [ts-7000] Interrupts in user mode

To:
Subject: Re: [ts-7000] Interrupts in user mode
From: Jim Jackson <>
Date: Sat, 22 Oct 2005 22:45:16 +0100 (BST)



On Sat, 22 Oct 2005, briannewberry2 wrote:

> I'm trying to implement a fast SPI slave port for data logging on a TS-
> 7200.  The slave port is up and running fine, but I get overruns every
> so often because the processor is being stolen away from my code and
> running what I assume are OS processes.  This is undesireable for my
> particular application.  What I want to do is turn off interrupts while
> I'm receiving, but I don't think that is possible, if it is does anyone
> know how?
>
> What I was thinking of doing as an alternative is to write an interrupt
> service routine for my code that will make it high priority and preempt
> all the other interrupts that are currently giving me fits.  I'm having
> trouble wading through the code that is on this site and it seems bulky
> for what I'm trying to do.  Has anyone implemented a simple interrupt
> like this and if so can you post or send me some example code.
>
> Thanks for any help you can give me

Interrupts aren't a userspace issue - they are akernel issue,
you need to write yourself a kernel module to handle the SPI stuff and
interface to a user application.

Google for introduction to linux kernel module writing or somesuch.
It's not specific to the ts7200.

Jim



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
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