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

T

Tim

Jan 1, 1970
0
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?
 
D

Dave Platt

Jan 1, 1970
0
Tim said:
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.
 
S

Spehro Pefhany

Jan 1, 1970
0
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
 
Top