Altera Home Page
文档资料 许可
在线购买 下载

  主页   |   产品   |   支持   |   最终市场   |   技术中心   |   教育与活动   |   公司介绍   |   在线购买  
  器件   |   设计软件   |   IP   |   设计服务   |   开发套件及配件   |   资料  

 IP产品
   嵌入式处理器
   接口与外设
          外设
          PCI
          PCI Express
          Memory Controllers
          USB
          PCMCIA
          Ethernet
          I2C
          CAN
          PowerPC Bus
          HyperTransport
          RapidIO
          SerialLite
          Additional Functions
          Consortiums
          资料
   DSP
   通信
  
 About IP
      运用IP进行设计
      IP认证
      系统设计
      申请IP
  
 IP界合作伙伴
      AMPP计划
      AMPP核合作伙伴
  

DSPI - Serial Peripheral Interface Master/Slave

from Digital Core Design

Request Free Evaluation



AMPP Approved
OpenCore Support
SOPC Builder Ready



Features

  • Serial peripheral interface (SPI) Master
    • Master and multi-Master operation
    • System error detection
      • Mode fault error
      • Write collision error
    • Interrupt generation
    • Supports speeds up to 1/4 of system clock
    • 8 Slave select lines
    • Bit rates generated 1/4, 1/8, 1/16, 1/32, 1/64, 1/128, 1/256, and 1/512 of system clock
    • Four transfer formats supported
    • Simple interface allows easy connection to microcontrollers
  • SPI Slave
    • Slave operation
    • System error detection
    • Interrupt generation
    • Supports speeds up 1/4 of system clock
    • Simple interface allows easy connection to microcontrollers
    • Four transfer formats supported
  • Fully synthesizable, static synchronous design with no internal tri-states
  • Technology independent hardware description language (HDL) source code

Block Diagram

Figure 1 shows a block diagram of the function.

Figure 1. DSPI — Serial Peripheral Interface Master/Slave

DSPI - Serial Peripheral Interface Master/Slave
View full detail (76 KB)

Description

The DSPI core is a fully configurable SPI Master/Slave devicethat allows user to configure polarity and phase of serial clock signal SCK.

The DSPI allows the microcontroller to communicate with serial peripheral devices. It is also capable of interprocessor communications in a multi-master system. A serial clock line (SCK) synchronizes shifting and sampling of the information on the two independent serial data lines. DSPI data is simultaneously transmitted and received.

The DSPI core is a technology-independent design that can be implemented in a variety of process technologies.

The DSPI system is flexible enough to interface directly with numerous standard product peripherals from several manufacturers. The system can be configured as a Master or a Slave device. Data rates are as high as 1/4 of the clock rate. Clock control logic allows a selection of clock polarity and a choice of two fundamentally different clocking protocols to accommodate most available synchronous serial peripheral devices. When the SPI is configured as a Master, software selects one of four different bit rates for the serial clock.

The DSPI core automatically drives-controlled by the slave select control register (SSCR)-slave select outputs (SS7O-SS0O) and addresses the SPI slave device to exchange serially shifted data. Error-detection logic is included to support interprocessor communications. A write-collision detector indicates when an attempt is made to write data to the serial shift register while a transfer is in progress. A multiple-master modefault detector automatically disables DSPI output drivers if more than one SPI device simultaneously attempts to become bus master.

Device Utilization Example

Table 1 lists the typical device utilization results for the megafunction.

Table 1. Typical Device Utilization
Device Speed Grade Utilization Performance
(fMAX)
Parameter Setting
LEs EABs
Stratix® -6 164 0 273 MHz Contact DCD
APEX 20KE -1 180 0 171 MHz Contact DCD
APEX 20KC -7 180 0 207 MHz Contact DCD
APEX II -7 179 0 247 MHz Contact DCD

Deliverables

HDL source code package includes:

  • VHDL or Verilog source code
  • VHDL or Verilog test bench environment
    • Active-HDL automatic simulation macros
    • ModelSim® automatic simulation macros
    • Full tests with reference responses
  • Synthesis scripts

Encrypted megafunction package includes:

  • EDIF or Text Design File (.tdf) netlist optimized for particular technology
  • Core instantiation inside Quartus® II or MAX+PLUS® II environments
  • Symbol, include, assigments, and configuration files
  • Compilation, simulation, and programming ready project

Each package includes:

  • Technical documentation
    • Installation notes
    • HDL core specification
    • Data sheet
  • Example application
  • Technical support
    • Intellectual property (IP) core implementation support
    • Three months of maintenance, including phone and e-mail support

Contact Information

For additional information, contact Digital Core Design at:

Wroclawska 94
41-902 Bytom
Poland
Tel: +48 32 2828266
Fax: +48 32 2827437
E-mail: info@dcd.pl
http://www.digitalcoredesign.com

  请填写反馈意见