|
|
Application Notes/
Technical Brief
|
|
|
|
|
AN909
|
|
Title:
|
Interfacing SPI? Serial EEPROMs to PIC16 Devices
|
|
Name:
|
AN909
|
|
Date:
|
8/18/05
|
|
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?
|
|
|
|
|
|
|