SAMV71 Xplained Ultra Software Package 1.4

QSPI with Serialflash Example

Purpose

This example demonstrates how to setup the QSPI in order to initialize, read and write a serial dataflash.

Requirements

This package can be used with SAM V71 Xplained Ultra board.

Description

The demonstration program tests the serial dataflash present on the evaluation kit by erasing and writing each one of its pages. It also gives read/write bandwidth by the test.

Usage

  1. Build the program and download it inside the SAM V71 Xplained Ultra board. Please refer to the Getting Started with SAM V71 Microcontrollers.pdf

Optionally, on the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:

Start the application.

  1. Upon startup, the application will output the following lines on the terminal window:
        -- QSPI Serialflash Example xxx --
        -- SAMxxxxx-xx
        -- Compiled: xxx xx xxxx xx:xx:xx --
        QSPI drivers initialized
    
  2. The program will connect to the serial firmware dataflash through the QSPI and start sending commands to it. It will perform the following:
    • Read the JEDEC identifier of the device to auto detect it The next line should indicate if the serial dataflash has been correctly identified.

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines