![Altera Cyclone V Device Handbook Download Page 761](http://html1.mh-extra.com/html/altera/cyclone-v/cyclone-v_device-handbook_2910791761.webp)
datawidth
Value
addrwidth
Value
instwidth Value
Lanes Used to
Send Data
Lanes Used to
Send Address
Lanes Used By
Opcode
Instruction
Don’t care
Don’t care
1
2
2
2
Dual
command
fast read
(DCFR)
Don’t care
Don’t care
2
4
4
4
Quad
command
fast read
(QCFR)
Table 12-2: Quad SPI Configuration for Micron N25Q128 Device (Write Instructions)
datawidth Value
addrwidth
Value
instwidth
Value
Lanes Used to
Send Data
Lanes Used to
Send Address
Lanes Used
By Opcode
Instruction
0
0
0
1
1
1
Page program
1
0
0
2
1
1
Dual input fast
program (DIFP)
1
1
0
2
2
1
Dual input
extended fast
program
(DIEFP)
2
0
0
4
1
1
Quad input fast
program (QIFP)
2
2
0
4
4
1
Quad input
extended fast
program
(QIEFP)
Don’t care
Don’t care
1
2
2
2
Dual command
fast program
(DCFP)
Don’t care
Don’t care
2
4
4
4
Quad command
fast program
(QCFP)
XIP Mode
The quad SPI controller supports XIP mode, if the flash devices support XIP mode. Depending on the flash
device, XIP mode puts the flash device in read-only mode, reducing command overhead.
The quad SPI controller must instruct the flash device to enter XIP mode by sending the mode bits. When
the enter XIP mode on next read bit (
enterxipnextrd
) of the
cfg
register is set to 1, the quad SPI
controller and the flash device are ready to enter XIP mode on the next read instruction. When the enter
XIP mode immediately bit (
enterxipimm
) of the
cfg
register is set to 1, the quad SPI controller and flash
device enter XIP mode immediately.
When the
enterxipnextrd
or
enterxipimm
bit of the
cfg
register is set to 0, the quad SPI controller
and flash device exit XIP mode on the next read instruction. For more information, refer to the
“XIP Mode
Operations”
section.
Quad SPI Flash Controller
Altera Corporation
cv_54012
XIP Mode
12-10
2013.12.30