Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
S25FL116K QSPI Flash Memory Example for SAMV71

Purpose

This example demonstrates how to setup the QSPI Flash in XIP mode to execute code from QSPI flash.

Requirements

This package can be used with SAMV71-XPlAINED-ULTRA.

Description

Ths code writes the getting-started application code into flash via SPI and enables quad mode spi to read code and to execute from it.

Info

This software was written for the GNU GCC. Other compilers may or may not work.

Usage

  1. Build the program and download it into the evaluation board.
  2. On the computer, open and configure a terminal application (e.g., HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application.
  4. In the terminal window, the following text should appear (values depend on the board and the chip used):
    -- S25FL1xx QSPI Flash Example --
    -- xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --
    ...