Microchip Technology AN1096
The 25XXX series serial EEPROMs from Microchip Technology are SPI compatible and have maximum clock frequencies ranging from 3 MHz to 20 MHz. This can be due to several possible reasons, including size restrictions or costs.DESCRIPTION
The purpose of the program is to show individual features of the SPI protocol and give code samples of the instructions and addressing schemes so that the basic building blocks of a program can be shown. The firmware performs the following operations:●
●
●
●
●
● Low-Density Byte Write Low-Density Byte Read Low-Density Page Write Low-Density Sequential Read Write Enable WIP Polling In addition, the following operations are available but not explicitly illustrated:
●
●
●
●
●
●
● High-Density Byte Write High-Density Byte Read High-Density Page Write High-Density Sequential Read Write Disable Read Status Register Write Status Register The low-density routines are intended for use with the 4K and smaller density devices that use only one byte for addressing. The high-density routines are intended for use with 8K and higher density devices that use two bytes for addressing. This program also exhibits the WIP polling feature for detecting the completion of write cycles after the byte write and page write operations.