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/
|