ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C eeprom programming

Hi all

I need to program a serial eeprom using the I2C protocol.
Does anybody have any ideas how I would go about it?

Much appreciated

Brendan Murphy (new programmer)
0 Kudos
Message 1 of 3
(4,983 Views)
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
-------------------------------------------------
0 Kudos
Message 2 of 3
(4,983 Views)
This is something we supply that will work through a parallel port. It comes with vi's

http://www.calbay.com/I2C_driver.htm

Buck
(415) 258-9400
0 Kudos
Message 3 of 3
(4,983 Views)