Serial Flash Mailbox Client IP Modules
You set up quad SPI commands by writing to the CSR. The Serial Flash Mailbox Client IP sends commands to the secure device manager (SDM) in the Intel® Stratix® 10 device. The SDM controls the quad SPI device.
For write commands you prestore the write data in the write data FIFO. For read commands, you read data from the read data FIFO. The write and read data FIFOs store up to 1024 words. The write and read data FIFOs are Avalon® MM slaves. The Serial Flash Mailbox Client IP asserts tine irq signal if the command results in an error response.
When used as a configuration device or a data storage device with FPGA, do not reset the quad SPI flash. Resetting the quad SPI flash during the FPGA configuration and reconfiguration, or during the read/write/erase operations, causes undefined behavior for quad SPI and the FPGA. To recover, you must power cycle the device.
To reset the quad SPI flash using the external host, you must first complete the FPGA configuration and reconfiguration, or a quad SPI operation, and only then toggle the reset. The quad SPI operation is complete when the IP issues the CLOSE command to close the exclusive access to the quad SPI flash.
Did you find the information on this page useful?