Xilinx学习--AXI Quad SPI v3.2

一、概述

AXI QSPI(Quad Serial Peripheral Interface) IP 提供串行接口连接SPI从设备,支持Standard(单线)、Dual(双线)、Quad(四线)。

特点:

  • 支持AXI4、 AXI4-Lite(便于后向兼容v1.00)接口;
  • 突发传输模式(burst mode)
  • Standard(单线)、Dual(双线)、Quad(四线)模式,线越多传输越快
  • 可编程时钟相位和极性
  • FIFO位深可配:16或256
    从设备可选: Mixed, Micron, Winbond, Macronix, Spansion (Beta Version)

突发传输:也称为数据突发,在通信领域一般指在短时间内进行相对高带宽的数据传输。相邻的存储单元连续进行数据传输的方式,连续传输的周期数就是突发长度(Burst Lengths)。在突发传输模式下,多个数据单元当做一个单元(相当一个数据块)来传送,从而提高了传输效率。在FIFO中,先向FIFO中写入数据,再给定长度,数据将打包发送到接收方。

二、架构

在这里插入图片描述

三、时钟

在这里插入图片描述

四、信号

在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述

五、寄存器

在这里插入图片描述在这里插入图片描述

六、flash指令

1 Dual SPI 与 Mixed Memory Mode通用命令

配置为Dual模式,从设备设为Mixed。这些命令在 Winbond、Micron、Spansion的Flash设备中相同。
在这里插入图片描述

2 Quad SPI 与 Mixed Memory Mode

配置为Quad模式,从设备设为Mixed。这些命令在 Winbond、Micron、Spansion的Flash设备中相同。
在这里插入图片描述

3 AXI Quad SPI Core支持的命令

下述为Winbond、Micron、Spansion、Macronix命令对比情况,更详细说明可参考器件手册。
在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述

七、STARTUPEn Module

STARTUPE2 primitive is applicable for 7 series devices. The STARTUPE3 primitive is applicable for UltraScale devices.

八、注意事项

  1. In standard mode the ext_spi_clk can be the same as the axi_aclk or axi4_aclk, but it should not be less than the AXI CLK or AXI4 ACLK. This mode is specifically for slow operating devices that work on the SPI protocol. Examples of these devices are EEPROMs and SPI interface-based DACs.
  2. In XIP Mode or Dual/Quad variants of Legacy/Enhanced mode, set ext_spi_clk to double the intended SPI clock. The Frequency Ratio parameter divides this clock by 2 to generate the SPI clock. Most of the SPI flash memory commands operate at a higher SPI clock rate with the exception of some commands which operate at a lesser frequency. It is your responsibility to configure the core with the correct ext_spi_clk and Frequency Ratio parameter and use the appropriate commands. If slower operating commands are executed on higher SPI clock ratios, the core does not generate an error and passes these commands to the external flash memory, but at the same time, the operation of the flash memory is not guaranteed.
  3. In XIP mode, No. of Slaves is always equal to 1 and this parameter cannot be updated.
  4. The STARTUPE2 primitive is applicable for 7 series devices. The STARTUPE3 primitive is applicable for UltraScale and later devices.
  • 0
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值