Font Size: a A A

The Design And Implementation On Communication Interface Circuit Between SPI And ?C Bus Based On FPGA

Posted on:2018-04-16Degree:MasterType:Thesis
Country:ChinaCandidate:X DongFull Text:PDF
GTID:2348330518987758Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of digital integrated circuits,more and more developers mastered FPGA development technology,because of flexibility design,short design cycle,high reliability and other advantages.Besides,with the constant progress of modern science,people's demand for functions and performance of system is growing,with the constant progress of modern science,which also makes a higher requirement for the performance of the interface between computer and peripheral equipment.Compared to the parallel bus,the serial bus is more cost-effective,besides it has an irreplaceable advantage in the long-distance data transmission.So the scope of the application of the serial bus is more and more widely,and there are ?C bus interfaces or SPI bus interfaces on various devices.But in many case,MCU itself does not have an ?C interface or SPI interface,which makes data transmission inconvenient.Based on this,this paper presents and designs a system based on FPGA which can implement communication between SPI bus and ?C bus.The system can realize the mutual conversion between SPI and ?C communication protocol,which can not only achieve communication between SPI master device and ?C slave,but also the ?C master device and SPI slave.Firstly,this paper introduces the whole system.Then,according to the specific performance requirements of SPI and ?C bus,the design scheme of SPI and ?C bus based on FPGA is proposed and verified.Finally,according to the design and performance requirements of SPI and ?C bus,the design scheme of the communication system based on FPGA between SPI bus and ?C bus is proposed.What's more,the software-level simulation and experimental verification are carried out.The scheme divides the whole system into three parts:SPI bus,interface part and ?C bus,which makes the whole design structure more clear.At the same time using hardware description language VHDL programs,so that it can be optimized in different application environments,but also improve the data transmission speed.The SPI bus,the bus interface and the ?C bus of the communication system are studied in this paper.Besides,in this paper,we use VHDL hardware description language to describe the function of the communication system,and get the corresponding module diagram.What's more,we also do the corresponding simulation and experimental verification,and the final simulation and experimental results are in line with the design requirements.
Keywords/Search Tags:FPGA, SPI bus, ?C bus, Protocol Conversion
PDF Full Text Request
Related items