Re: i2c chip connected through USB port / Serial converter ttyUSB0 --Linux 2.6.17
- From: "Roland Zitzke" <NZEONTQYRAHL@xxxxxxxxxxxxx>
- Date: Wed, 8 Nov 2006 10:45:03 +0100
"Antoine" <antoine.chemali@xxxxxxxxx> schrieb:
/dev/ttyUSB0.
Is there a driver to communicate through the serial port to the i2c
chip?
Could you explain your set-up a little more?
I understand that you run Linux on a PC and you have a USB device connected
to it.
Is it some kind of FTDI chip? For those, at least on Windows, there are in
fact so called virtual com drivers which emulate a serial port over USB.
However, these are intended to built RS232-to-USB converters. If I
understand your question correctly you want to access an I2C device from
your PC by means of an RS232 communication?
Please keep in mind that I2C is *not* an asynchronous protocol and there are
some differences thus, you will always need some protocol conversion logic -
master/slave behaviour etc.
I think it would be much easyer for you to use the API that came with your
USB converter to write some basic I2C functions: Read, Write and
ReadAfterRestart (combined transfer).
/Roland
.
- Follow-Ups:
- References:
- Prev by Date: Re: Full-featured GUI in Vtech toy (ca 1999)?
- Next by Date: doubt-Intel 8279 display controller
- Previous by thread: Re: i2c chip connected through USB port / Serial converter ttyUSB0 --Linux 2.6.17
- Next by thread: Re: i2c chip connected through USB port / Serial converter ttyUSB0 --Linux 2.6.17
- Index(es):
Relevant Pages
|