Device Configuration User Guide: Agilex™ 5 FPGAs and SoCs

ID 813773
Date 7/24/2024
Public
Document Table of Contents

5.5.4. Command Sequence To Perform Quad SPI Operations

Here is the recommended command sequence to access quad SPI flash memory or perform an RSU update operation.

Refer to Command List and Descriptions for more information about these commands.

  1. Request exclusive access to the AS x4 interface: QSPI_OPEN .
  2. Specify a quad SPI flash chip: QSPI_SET_CS*.
    Note:
    • This step is mandatory for JTAG configuration schemes.
    • For AS x4 configuration schemes:
      • If your system has multiple quad SPI devices, this step is mandatory to access data stored in quad SPI devices connected to nCSO[3:0].
      • If your system has only one quad SPI device, this step is optional to access data stored in the quad SPI device connected to nCSO[0].
  3. Perform the desired operations. The following operations are available:
    • QSPI_READ
    • QSPI_WRITE
    • QSPI_ERASE
    • QSPI_READ_DEVICE_REG
    • QSPI_WRITE_DEVICE_REG
    • QSPI_SEND_DEVICE_OP
    • RSU_IMAGE_UPDATE
  4. Close exclusive access to the AS x4 interface: QSPI_CLOSE.