Font Size: a A A

Design Of Several Universal Serial Communication Interfaces For SoC

Posted on:2019-03-05Degree:MasterType:Thesis
Country:ChinaCandidate:X X WangFull Text:PDF
GTID:2428330548476340Subject:Electronic Science and Technology
Abstract/Summary:PDF Full Text Request
Currently,various universal serial communication interfaces are increasingly being integrated into SoCs.Although there are a variety of serial communication interface IP cores available on the market,most of these off-the-shelf IP cores are provided by foreign EDA or IP vendors.The relatively high price increases the cost of SoC.Therefore,the self-developed universal serial communication bus interface has a good application significance.Based on the AMBA bus,this thesis designs four kinds of universal serial communication interfaces,including UART interface,I~2C bus interface,SPI interface and CAN bus controller.The designed UART interface includes APB bus interface module,baud-rate generating module,FIFO module,UART transmit and receive module,and interrupt processing module,which can realize asynchronous serial data transmission conforming to standard UART protocol.The designed I~2C bus interface contains APB bus interface module,I~2C transmit and receive module,interrupt processing module,and etc.,which can realize synchronous serial data communication with the slave connected to I~2C bus.The designed SPI interface includes APB bus interface module,SPI sending and receiving module,Interrupt processing module,and SPI clock generation module,which can achieve different speed configuration data transmission with the selected SPI slave under synchronous clock control.The designed CAN bus controller mainly includes APB bus interface,CAN send and receive module,and receiving filter module,which can realize serial data transmission and receiving according to CAN protocol.This thesis also builds the SoC verification platform,and carries out functional verification for the four serial communication interfaces such as the designed UART interface,I~2C bus interface,SPI interface and CAN bus controller.The results of directional function test,random test and abnormal test show that each interface can work normally,and verification work also has high code coverage and functional coverage.
Keywords/Search Tags:SoC, UART Interface, I~2C Interface, SPI Interface, CAN Controller
PDF Full Text Request
Related items