This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to programming atmel 24c154 with AT89c51IC2 under C environment

Oleg

I need read & write data to Serial EEPROM(AT24c164) via MCU with I2C interface(AT89C51 IC2) under the C environment(or LabWindows/CVI).Could you please post a example which is how to programming this 2-wire interface?

Regards

ShiShen

Parents
  • hi,

    first of all, I'm not the one here who may ask your question.
    I cannot post an example here due its size but I may provide you a link to complex program which utilizes AT24C01 via I2C. Take care that the code is for SiLabs C8051F120 and is wrote with assembler.
    Anyway the code contains all needed I2C subroutines you may learn and write own C implementation.
    The code is published by Michael Karas so all copyrights are from him.
    The link:
    http://www.8052.com/users/mkaras/loader.pdf

    Regards,
    Oleg

Reply
  • hi,

    first of all, I'm not the one here who may ask your question.
    I cannot post an example here due its size but I may provide you a link to complex program which utilizes AT24C01 via I2C. Take care that the code is for SiLabs C8051F120 and is wrote with assembler.
    Anyway the code contains all needed I2C subroutines you may learn and write own C implementation.
    The code is published by Michael Karas so all copyrights are from him.
    The link:
    http://www.8052.com/users/mkaras/loader.pdf

    Regards,
    Oleg

Children
No data