You are here

CE220823 - PSoC® 6 MCU SMIF Memory Write and Read Operation | Cypress Semiconductor

CE220823 - PSoC® 6 MCU SMIF Memory Write and Read Operation

Last Updated: 
Jun 04, 2020
Version: 
*C

This example demonstrates interfacing with an external NOR flash memory in Quad Serial Peripheral Interface (QSPI) mode using the Serial Memory Interface (SMIF) block in PSoC® 6 MCU.

This example demonstrates the write and read operations to the Serial Memory Interface (SMIF) in PSoC® 6 MCU. This example writes and reads 64 bytes of data to external memory by using Serial memory interface(SMIF) in Quad Serial peripheral interface (QSPI) mode. This example also checks the integrity of the read data against written data.

The ModusToolbox example on this page is for ModusToolbox v1.1. It does not work with newer versions of ModusToolbox. To run code examples in ModusToolbox v1.1, download and unzip the ModusToolbox code example from this page. Run ModusToolbox v1.1 IDE's New Application command, then browse to and select the modus.mk file.

To run code examples in PSoC Creator, download and unzip the code example package specific for PSOC Creator, run PSoC Creator, go to File > Open > Project/Workspace, then browse to and select the .cywrk file. For documentation and collateral regarding PSoC Creator, please visit the PSoC Creator SW page to learn more.

For ModusToolbox™ v2.x, use the ModusToolbox IDE New Application wizard to create the example. You can also use the ModusToolbox stand-alone Project Creator tool, or the command line, to create a folder that contains all the files. You can use this project folder in another IDE. See KBA225201 for detailed steps.

Visit the ModusToolbox SW page for documentation and collateral regarding ModusToolbox software.

For full details on the code example, review the ReadMe file at the Cypress GitHub Repository.