Agilex™ 7 Hard Processor System Technical Reference Manual

ID 683567
Date 8/13/2024
Public
Document Table of Contents

B.6.4.1.3. Winbond Quad SPI Flash Devices

To enter XIP mode in a Winbond quad SPI flash device, perform the following steps:

  1. Save the values in the mode bits, if you intend to restore them upon exit.
  2. Disable the direct access controller and indirect access controller to ensure no new read or write accesses are sent to the flash device.
  3. Set the XIP mode bits in the modebit register to 0x20.
  4. Enable the quad SPI controller’s XIP mode by setting the enterxipnextrd bit of the cfg register to 1.
  5. Re-enable the direct access controller and, if required, the indirect access controller.