AN1810 STR71x BSPI Communication with M25P10-A Flash Application Note

The aim of this application note is to present a practical example of communication using the BSPI peripheral of the STR71x between a STR71x microcontroller and a M25P10-A SPI Serial Flash memory. It shows an easy way of communicating between the STR71x BSPI interface and the M25P10-A serial flash memory from STMicroelectronics, performing write and read operations.


AN1810 STR71x BSPI Communication with M25P10-A Flash Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
8
File format
PDF
File size
102 KB
Published
07 August, 2012
Updated
28 September, 2023
Model
STR71x
MD5 checksum
3D72D0298F3FCE66E502F3A67F790A52

About this manual

The document presents a practical example of full-duplex, synchronous serial communication between an STR71x master device and an M25P10-A slave serial flash memory. It details the configuration of the Buffered Serial Peripheral Interface (BSPI) pins and baud rates required for this connection.

The guide covers the management and configuration of the M25P10-A, including its status register bits and instruction set for operations like page programming and sector erasing. It also provides a hardware overview of the circuit connections and describes the C-language software implementation developed with the RVDK environment to manage write and read operations.

What's inside

  • Application Overview
  • STR71x Configuration
  • BSPI Peripheral Setup
  • M25P10-A Memory Management
  • Status Register Description
  • Instruction Set
  • Hardware Description
  • Software Implementation

Specifications

Memory Capacity1 Mbit (128k * 8)
Programming Unit1 to 256 bytes

Frequently asked questions

What is the purpose of this application note?

To present a practical example of communication between an STR71x microcontroller and M25P10-A SPI Serial Flash memory using BSPI.

Which clock polarity and phase configurations are supported by M25P10-A?

The device accepts only CPOL, CPHA = (0,0) or (1,1) configurations.

What language is used for the software implementation?

The software modules are developed in C language with RVDK environment.

Download PDF (102 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →