Altera Cyclone V Device Handbook page 768

Hide thumbs Also See for Cyclone V:
Table of Contents

Advertisement

cv_54012
2013.12.30
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.
Micron Quad SPI Flash Devices without Support for Basic-XIP
To enter XIP mode in a Micron quad SPI flash device without support for Basic-XIP, 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
will be sent to the flash device.
3. Ensure XIP mode is enabled in the flash device by setting the volatile configuration register (VCR) bit 3
to 1. Use the flashcmd register to issue the VCR write command.
4. Set the XIP mode bits in the modebit register to 0x00.
5. Enable the quad SPI controller's XIP mode by setting the enterxipnextrd bit of the cfg register to
1.
6. Re-enable the direct access controller and, if required, the indirect access controller.
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.
Spansion Quad SPI Flash Devices
To enter XIP mode a Spansion 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 0xA0.
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.
Exiting XIP Mode
To exit XIP mode, perform the following steps:
1. Disable the direct access controller and indirect access controller to ensure no new read or write accesses
are sent to the flash device.
2. Restore the mode bits to the values before entering XIP mode, depending on the flash device and
manufacturer.
Quad SPI Flash Controller
Send Feedback
Micron Quad SPI Flash Devices without Support for Basic-XIP
12-17
Altera Corporation

Advertisement

Table of Contents
loading

Table of Contents