ts-7000
[Top] [All Lists]

[ts-7000] Re: SPI on standard TS7800/kernel 2.6.21-ts

To:
Subject: [ts-7000] Re: SPI on standard TS7800/kernel 2.6.21-ts
From: "dieghuot" <>
Date: Sat, 31 Jan 2009 19:38:20 -0000
TS gives a sample code: 
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7800-linux/samples/spi.c

However, looking more closely, you'll realize that the code streams
data in and out of the GPIO port.  The Marvell controller does not
have a dedicated SPI bus.  What that means is that you don't know the
transfer speed and the code uses the CPU pretty heavily.

In short, the provided code is probably OK if you use SPI very little
and your slave device has a high throughput (the ts temperature chip
that TS uses can take 4Mbps).

I am actually considering another board for these and other reasons. 
The ts-72xx actually have a dedicated spi bus.  I am experimenting now
with a Glomotion that provides a 1Mbps rs-485 port, SPI bus and a
stock 2.6.25 kernel.

Diego


--- In  "wildpossumboy" <> wrote:
>
> Hi All.
> 
> I am a newbie here.  We have 2 x TS-7800 which we are using in
> developing a embedded system for auditing and controlling client
> systems.  The units we just received a couple of days ago, but
> fortunately we have been Linux users/developers since Kernel 1.2.8.
> Now that makes me feel old :)
> 
> Question.  Is SPI fully operational on TS7800/2.6.21-ts?  
> As we have never used SPI before, which pins use SPI? and are there any
> gotcha! that others may have found with such an implementation?
> Any sample programs around to build upon?
> 
> Thanks.
> Grahame
>



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

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