connect external eeprom with PIC16f877a

Thread Starter

sumani

Joined Mar 12, 2009
8
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
 

n9352527

Joined Oct 14, 2005
1,198
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.
 
Top