摘要
串行外围接口(serial peripheral interface,SPI)是Motorola公司提出的外围接口协议,它采用—个串行、同步、全双工的通信方式,解决了微处理器(或者微控制器,嵌入式微处理器)和外设之间的串行通信问题,并且可以和多个外设进行直接通信,具有配置灵活,结构简单等优点。为了节约SPI接口开发时间、提高系统的重构性,结合AVALON总线为微处理器和IP核提供了高性能无缝传输的信息通道和SOPC较强的系统重构两方面的技术优势,系统采用ALTERA公司提供的SPI从控制器内核,实现了支持AVALON总线协议的SPI通信。实验结果表明,该SPI通信接口硬件结构简单、传输效率高、可靠性强,同时降低了通信系统设计复杂度。
The SPI put forward by Motorola Company is a full-duplex,synchronous,serial data link that is standard across many microprocessors,microcontrollers,and peripherals.It enables communication between microprocessors and peripherals and/or inter-processor communication.The SPI system is flexible enough to interface directly with numerous commercially available peripherals,and it also has some excellences such as it can be configured flexibly and it has a simply structure,and so on.For economizing time of the design and forming a reusable system,this paper combine high performance seamless transfer of information channel provided by AVALON Bus for microprocessor and IP core with the strong system reconstruction of SOPC,introduces the two aspects of the technology advantage,and realizes the SPI communication which contains the AVALON bus protocol based on ATTERA controller IP core.The experimental results shows that hardware structure of communication interface in SPI is simple,transmission efficiency high,reliability high and communication system design complexity reduced.
出处
《国外电子测量技术》
2013年第3期66-70,共5页
Foreign Electronic Measurement Technology