摘要
SPI总线是一个同步串行接口的数据总线,具有全双工、信号线少、协议简单、传输速度快等特点,是实现微处理器与Flash通信的理想选择。该文根据微处理器指令时序和串行Flash存储器SST25VF064C的操作和读写时序,设计了SPI接口,并利用软件控制实现了微处理器与SST25VF064C之间的通信。经ModelSim仿真得出了相应的仿真波形,根据仿真波形分析,所设计的SPI接口的功能是正确的。
SPI bus is a data bus of synchronal and serial interface,which is characterized by full duplex communication,few signal lines,sim ple protocol,high speed,etc.In this paper,according to the instruction timing of microprocessor and the reading and writing operation of the serial Flash memory SST25VF064C,SPI bus interface is designed,software is used to control the communication between the micro processor and SST25VF064C.Analysis of corresponding simulating waveforms obtained by the ModelSim illustrate the design of the SPI interface is correct.
出处
《电脑知识与技术(过刊)》
2012年第8X期5725-5729,共5页
Computer Knowledge and Technology