Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

AN909

Title:
Interfacing SPI? Serial EEPROMs to PIC16 Devices
Name:
AN909
Date:
08/18/2005
Author:
Ken Dietz
Description:
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.
Keywords:
AN909, SPI?, Serial EEPROM, PICmicro®, Microcontroller, 25LC160B, PIC16F630, PIC16F876, MPLAB® ICD, PICDEM?, PICkit?
 
Application Notes & Source Code
 Last Updated
Size
 
  AN909
  08/18/2005
  194KB
  AN909 Source Code - Interfacing SPI? Serial EEPROMs to PIC16 Devices
  08/18/2005
  7KB
  AN909 Source Code SPI - Interfacing SPI? Serial EEPROMs to PIC16 Devices
  08/18/2005
  7KB
Silicon Products