connect external eeprom with PIC16f877a

Discussion in 'Embedded Systems and Microcontrollers' started by sumani, Mar 21, 2009.

  1. sumani

    Thread Starter New Member

    Mar 12, 2009
    8
    0
    hi
    I'm very new to microcontrollers. I'm using PIC16f877a and 24LC64 eeprom for my project and i would like to know that can i use PORTB to connect external I2C eeprom(24LC64).

    because i need SPI bus to implement TII interface(PORTC). TII is a interface define by IEEE1451.2 standard for sensornetwork.
    thanks
     
  2. n9352527

    AAC Fanatic!

    Oct 14, 2005
    1,198
    4
    You can use any port (pin) that can be configured as digital IO to interface to the EEPROM using I2C. However, you need to handle the I2C communication in software. Don't forget to pay attention to the electrical specs of the interface.
     
  3. sumani

    Thread Starter New Member

    Mar 12, 2009
    8
    0
    ok.. Thanks...
     
Loading...