Starting with the recent Design West Conference, we've had a focus on SPI programming over the last several weeks. We recently added support for all Spansion Serial NOR Flash Memory and the latest Micron memory as well - The new version of Flash Center Software will be released on our website this coming Monday, May 20th.
Today's blog post comes from a brand new knowledge base article and instructs on how to read the Device ID from your SPI Flash Memory.
Programming and reading SPI memory devices is a common use case for the Cheetah adapter. There are several ways to do this with the Cheetah adapter, including using Cheetah GUI Software, Flash Center Software, or the Cheetah Software API. This article focuses on how to take the information in a flash datasheet and execute the Read Device ID command in Cheetah GUI software. Although the following describes the SPI Flash M25P32 found on the SPI Flash Demo Board, similar steps can be used for other devices.
In this article the Cheetah adapter reads the Device ID from the memory. Here the Cheetah adapter is the SPI master and the SPI flash on the demo board is the SPI slave. The article uses an M25P32 instruction, which is described below.
The M25P32 Read Identification instruction (0x9f) allows the identification data to be read. This instruction includes the instruction opcode. Then the identification data is shifted out. The M25P32 Read Identification Data Out Sequence is 20 20 16 h.
For additional information, take a look at the Cheetah adapter datasheet, Cheeath GUI manual and High Speed SPI Flash Demo Board Datasheet.