Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Looking for a C 8051 code for 24cxx

Status
Not open for further replies.

SphinX

Advanced Member level 3
Advanced Member level 3
Joined
Jan 25, 2002
Messages
822
Helped
58
Reputation
116
Reaction score
29
Trophy points
1,308
Location
EGYPT
Activity points
7,045
Hi,

I search for code written in c for 24cxx series.
I use ATMEL 8051 microcontroller.

Thanx
 

24cxx

hi

u will find i2c device (24c02,04....) with 8051 core ,

see bascom software



Masud Rana

Matrix Electronics Fourm

Dhaka

Bangladesh
 
8051 i2c code

Hi
Take a look at Keil

Using and Programming the I2C BUS Application Note 153
 

24c16 eeprom interfacing 8051 keil

Hi.. All
Look at this.
I've Source code (KEIL uVision) and Proteus ISIS simulation for read&write eeprom (I2C communication) use eeprom 24AA256.

This code is writing to the eeprom at address 0x0010 and the value is 0x16.
after done, the program will read the address writed in previous (0x0010).
The result will be displayed on the seven segment at Port0.
thats all.


regards
 
code 24c16

....

I didn't saw this!! ....

26 Apr 2004 15:18.

My God!! (@0@)"
 

    V

    Points: 2
    Helpful Answer Positive Rating
8051 c code example for sevensegment

hi herlambang

that was a good code to start with I2C but if want to store five data's is it possiblr to do with that code..
can you please illustrate it with some example.i am newbie to I2C

Regards
Venkat.S
 

Re: 24cxx c 8051 code?

Thank you Mr.herlambang
Its very helpful.:D
 

24cxx c 8051 code?

eeprom has a (relatively) long write time (5 - 10ms) when it does not acknowledge any outside command until the write-operation has ended.

you can program a hard delay (like you have done), or to implement acknowledge polling as the datasheet (not so clearly) articulated.

this will typically bring an improvement in throughput, especially if you do lots of eeprom writes.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top