Hi,
I think that there is 2 possibilities to do that:
1. use 4 bits of DIO or MIO card's digital IO and program the
whole I2C interface in labVIEW ( or C ). 2 lines for clock and data:
1 for output drive, 1 for line state detection,a series resistor should be
connected between driving dio pin and I2C line.
2. use an external I2C controller such as Philips' PCF8584. you will
need 8 bit databus and a few control signals from PC + clock. The
controller takes care of the I2C bus, and the program has to only
do reads and writes via the 8-bit data bus. If you have other
components on board you can share the data bus.
Timo
Brendan Murphy wrote:
>
> Hi all
>
> I need to program a serial eeprom using the I2C protocol.
> Does anybody have any ideas how I w
ould go about it?
>
> Much appreciated
>
> Brendan Murphy (new programmer)
--
-------------------------------------------------
Timo Miettunen
Fincitec Oy Production Department
e-mail: timo.miettunen@fincitec.fi
Address:
Lumikontie 2 Tel: +358-16-2151245
PO BOX 11 Fax: +358-16-221561
FIN-94600 KEMI Finland
-------------------------------------------------