Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes


Interfacing SPI? Serial EEPROMs to PIC16 Devices
Ken Dietz
When connecting an SPI? master device, like a microcontroller, to an SPI slave device such as an EEPROM, understanding the command sequence sent to the memory is vitally important. With the aid of this application note and the associated code examples, Microchip Technology has eased the job of designing SPI Electrically Erasable Programmable Read-Only Memory (EEPROMs) into systems. While this shows one particular implementation, system requirements vary from design to design, which may
be different than those shown here. However, this article shows designers how to set up the framework for SPI communications between microcontrollers and SPI EEPROMs. It also gives designers a starting point for complex designs that utilize multiple SPI slaves in electronic systems. Besides these important topics, the most important point that system designers should learn from this application relates to the necessity of reading the Status Register of SPI EEPROMs prior to sending any command sequences to them.
AN909, SPI?, Serial EEPROM, PICmicro®, Microcontroller, 25LC160B, PIC16F630, PIC16F876, MPLAB® ICD, PICDEM?, PICkit?
Application Notes & Source Code
 Last Updated
  AN909 Source Code - Interfacing SPI? Serial EEPROMs to PIC16 Devices
  AN909 Source Code SPI - Interfacing SPI? Serial EEPROMs to PIC16 Devices
Silicon Products