ts-7000
[Top] [All Lists]

Re: [ts-7000] I2C support for ts-7350

To:
Subject: Re: [ts-7000] I2C support for ts-7350
From: Jason Stahls <>
Date: Fri, 27 Mar 2009 21:27:44 -0400
cafrunes wrote:
> Hello,
>
> I'm trying to control a very simple I2C device using a ts-7350 with a 2.6.21 
> linux kernel (as supplied by Technologic Systems). The device is a motor 
> controller (Devantech's MD03) with only 8 registers, which can be controlled 
> easily using an USB-I2C adapter.
>
> I've been reading the posts to this mailing list but I haven't been able to 
> find clear hints for solving this issue. On the contrary, I've got the 
> impression that I2C support is still "on development", but I'm not sure. 
>
> I've read about "bit banged" I2C solutions, but I was wondering if the I2C 
> Linux system is supported for this SBC (ts-7350). 
>
> More clearly:
>
> Is it possible to use the I2C with this board? How?
> If possible, could someone provide a C example?

I havne't done this on 2.6 yet, but, I'd assume that it's similar.  In 
2.4 you can configure a kernel i2c driver that bit-bangs over any GPIO 
pins you feel like.  Check out the archives, there's a few posts in 
there for 2.4, also read around in the 2.6 docs about the bit-bang 
driver.  As far as software is concerned this is no different from a i2c 
driver IC, you get the same /dev/i2c entries ect.  This is how I setup 
i2c on my 7200.

-- 
Jason Stahls


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

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