Several of the Mid-Range Enhanced Core PIC16 microcontroller devices have a Master Synchronous Serial Port (MSSP). The MSSP module can be used to implement either I2CTM or SPI communications protocol.
Over on YouTube [Electronic Wizard] explains how to use the AT24C32 EEPROM for external memory for microcontrollers. He begins by explaining that you don’t want to ...