Searching \ for 'Timings' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=timings
Search entire site for: 'Timings'.

Truncated match.
PICList Thread
'Timings'
1999\07\23@170439 by Simon Redwood

flavicon
picon face
I am trying to read information from a 24C02 eeprom through the parallel
port using C.  I can successfully random-write.  But when it comes to a
read, I cannot get my information back out.

Are timings all important when doing using the parallel port to read a i2c
eeprom ?

The CLK is controlled by the ~STROBE pin on the parallel port, does this in
turn mean that I control the speed at which the chip is running.

If anyone out there has small C program that can do a sequential or random
read of a 24C02 and is willing to elp I would be most  grateful.

TIA
Simon
spam_OUTspredwoodTakeThisOuTspamsri-net.demon.co.uk
ICQ: 12226096

Pin 1 parallel ->    SCL(CLk)
Pin 2 parallel ->    SDA(DAT) write
Pin 13 parallel ->  SDA(DAT) read

1999\07\26@042124 by root

flavicon
face
Hi,
a question: how do you power your 24C02 EEPROM? Did you implement the
required pull-ups? Remark, that some parallel ports give only about 3V
when high, and maybe 0,8V (ughh!!) when going low...

Check the levels!

I hope this helps.

Imre


On Fri, 23 Jul 1999, Simon Redwood wrote:

{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...