i2c routines for 89C52 ľC: where can I download them?

T

Tim

Guest
I have an 89C52 microcontroller that uses an external i2c e˛prom. The
89C52 doesn't have i˛c support, so I have to implement them with
"bitbanging" them. The purpose of my setup is to store data in the
eeprom.

Where can I find working I2C routines for my 89C52?
 
In article <82914599.0409271240.37f565f@posting.google.com>,
Tim <tim@dehoucke.be> wrote:

I have an 89C52 microcontroller that uses an external i2c e˛prom. The
89C52 doesn't have i˛c support, so I have to implement them with
"bitbanging" them. The purpose of my setup is to store data in the
eeprom.

Where can I find working I2C routines for my 89C52?
Try http://www.programmersheaven.com/zone5/cat27/, which came us as
one of the first choices on a Google search for "8051 I2C". They seem
to have several different sets of examples on tap.

--
Dave Platt <dplatt@radagast.org> AE6EO
Hosting the Jade Warrior home page: http://www.radagast.org/jade-warrior
I do _not_ wish to receive unsolicited commercial email, and I will
boycott any company which has the gall to send me such ads!
 
On 27 Sep 2004 13:40:45 -0700, the renowned tim@dehoucke.be (Tim)
wrote:

I have an 89C52 microcontroller that uses an external i2c e˛prom. The
89C52 doesn't have i˛c support, so I have to implement them with
"bitbanging" them. The purpose of my setup is to store data in the
eeprom.

Where can I find working I2C routines for my 89C52?
Did you try google? http://www.ustr.net/files/download.shtml

Dunno if any of them work well, but it's pretty easy to write an I2C
master from scratch.


Best regards,
Spehro Pefhany
--
"it's the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
 
Tim schrieb:

Where can I find working I2C routines for my 89C52?
http://www.atmel.com/dyn/resources/prod_documents/doc0507.pdf


Regards,
Dieter
 

Welcome to EDABoard.com

Sponsor

Back
Top