DSPI_FIFO:串行外设接口 -- -- 主/从器件带有FIFO

DCD LogoDSPI_FIFO是一个完全可配置的SPI主/从设备,允许用户配置串行时钟信号SCK的极性和相位。

DSPI_FIFO实现了微控制器与串行外设之间的通信。它也能够在多主设备的系统中实现处理机间通信。串行时钟线(SCK)同步移位和采样两条独立的串行数据线上的信息。DSPI_FIFO数据是同时发送和接收的。

DSPI_FIFO是一种与工艺无关的设计,可在各种工艺技术下实现。

DSPI_FIFO系统拥有足够的灵活性,可以直接与多家制造商生产的许多标准外设产品连接。该系统可以配置为一个主或从设备。数据速率高达CLK/4。时钟控制逻辑可以选择时钟极性并在两个根本不同的时钟协议中选择一个,即可用于大多数常用的同步串行外设。当SPI配置为主设备,软件将为串行时钟选择八种不同比特率中的一个。

DSPI_FIFO自动驱动由SSCR(Slave Select Control Register)的从设备选择输出位(SS7O - SS0O)来选择,然后寻址SPI从设备来进行串行移位数据交换。包括了错误检测逻辑来支持处理器之间的通信。当在传输过程中,如果有试图将数据写入到串行移位寄存器,写冲突检测器将置位。一个多主设备模式故障检测器会自动禁用DSPI_FIFO输出驱动器,如果超过一个SPI器件同时试图控制总线。

DSPI_FIFO支持两种DMA模式:单字节传输和多字节传输。这些模式使得DSPI_FIFO可以连接到更高性能的DMA单元,可以在CPU周期之间进行交叉传输或执行多个字节的传输。

DSPI_FIFO是完全可定制的,这意味着它可以完全按照满足用户需求的要求来定制。没有必要支付额外、无需使用的功能并且浪费芯片资源。它包括完全自动的测试平台,可以进行整套测试,便于SoC设计流程中每个阶段的全面验证。

Features

SPI Master

  • Master and Multi-master operations
  • Two modes of operation: SPI mode and FIFO mode
  • 8 SPI slave select lines
  • System error detection
    • Mode fault error
    • Write collision error
  • Interrupt generation
  • Supports speeds up ¼ of system clock
  • Bit rates generated ¼ - 1/512 of system clock.
  • Four transfer formats supported
  • Simple interface allows easy connection to microcontrollers

SPI Slave

  • Slave operation
  • Two modes of operation: SPI mode and FIFO mode
  • System error detection
  • Interrupt generation
  • Supports speeds up ¼ of system clock
  • Simple interface allows easy connection to
    microcontrollers
  • Four transfer formats supportedSlave operation

Two DMA Modes allows single and multitransfer

In the FIFO mode transmitter and receiver are each buffered with 16/64 byte FIFO's to reduce the number of interrupts presented to the CPU

Optional FIFO size extension to 128, 256 or 512 Bytes

Fully synthesizable, static synchronous design with no internal tri-states

Applications

  • Embedded microprocessor boards
  • Consumer and professional audio/video
  • Home and automotive radio
  • Digital multimeters

Jump to

Block Diagram

性能和大小

器件 速度级 LUTs/PFUs Fmax
SC -7 507/164 268 MHz
ECP2 -7 502/169 161 MHz
ECP2M -7 502/169 161 MHz
XP -5 503/169 95 MHz
XP2 -7 315/163 132 MHz
ECP -5 503/169 104 MHz
EC -5 503/169 115 MHz

订购信息

该IP核由DCD销售并提供支持,请通过support@dcd.pl联系DCD或访问www.dcd.pl获取更多信息。

文档

快速参考
标题 编号 版本 日期 格式 文件大小
选择全部
DCD: DSPI_FIFO: Serial Peripheral Interface - Master/Slave with FIFO
1.08 6/22/2007 PDF 157.9 KB