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.
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.
| Memory Capacity | 1 Mbit (128k * 8) |
|---|---|
| Programming Unit | 1 to 256 bytes |
To present a practical example of communication between an STR71x microcontroller and M25P10-A SPI Serial Flash memory using BSPI.
The device accepts only CPOL, CPHA = (0,0) or (1,1) configurations.
The software modules are developed in C language with RVDK environment.