Connect with us

Interfacing I2C eeprom with PIC

Discussion in 'Electronic Design' started by Ankur Kashyap, Oct 17, 2003.

Scroll to continue with content
  1. I have interfaced AT24C16 serial eeprom with AT8951 & PC's parallel
    port successfully. I'm employing the same logic for interfacing it
    with PIC 16F84 (micro controller from Microchip) but it the controller
    is always reading 0xFF from all the addresses. I have connected same
    value of pull up resistors (10K) as I did with 8951 interface.

    Plz suggest me where I may be wrong.

    Ankur Kashyap
     
  2. Mario Trams

    Mario Trams Guest

    Perhaps you make a mistake when controlling the I2C interface of
    the PIC?

    Regards,
    Mario

    --
    ----------------------------------------------------------------------
    Digital Force / Mario Trams -chemnitz.de

    Chemnitz University of Technology http://www.tu-chemnitz.de/~mtr
    Dept. of Computer Science Tel.: (+49) 371 531 1660
    Chair of Computer Architecture Fax.: (+49) 371 531 1818
    ----------------------------------------------------------------------
     
  3. Maybe you exeed the maximum i2c speed (400KHz or 100KHz)?
    It happened to me very recently (today)...

    Ciao Claudio.
     
  4. Paul

    Paul Guest


    Post your code and i will have a look at it
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-