ts-7000
[Top] [All Lists]

Re: [ts-7000] 7260 SPI C Programming Example

To:
Subject: Re: [ts-7000] 7260 SPI C Programming Example
From: Peter Gammie <>
Date: Fri, 30 Jul 2010 22:41:23 +1000


On Fri, Jul 30, 2010 at 8:11 PM, Breton M. Saunders <> wrote:
It isn't the code style that worries me.

It is the myth that one can write a reliable driver (real-time or not) as a user mode program that concerns me greatly.

There is a reason why real drivers run inside the kernel, and do not use peekpoke.h!

I'll mildly disagree with this - using Linux 2.6.33.x and the -RT patches and high-res timers, I have a rock-solid flicker-free multiplexed display hanging off the LCD port of a ts7250, being driven from entirely user space, using mmap'd I/O. By "rock solid" I mean while playing mp3s, dropbear sessions, etc. The scheduling overhead is a bit of a killer, I grant...

... but I have to wonder if the OP can use the kernel's SPI drivers... it is not hard to get a recent kernel working on the ts72xx boards, just consult the archives.

cheers
peter


__._,_.___


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