FPGA與USB主機(jī)控制器通信系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時間:2018-01-06 22:04
本文關(guān)鍵詞:FPGA與USB主機(jī)控制器通信系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 出處:《西安電子科技大學(xué)》2013年碩士論文 論文類型:學(xué)位論文
更多相關(guān)文章: FPGA SOPC系統(tǒng) HPI通信 USB主機(jī)控制器
【摘要】:隨著FPGA嵌入式應(yīng)用的發(fā)展和USB通信協(xié)議的日趨成熟,微處理器之間的通信技術(shù)已經(jīng)深入到航空航天、電信設(shè)備、家用電器等各個領(lǐng)域。基于FPGA的SOPC嵌入式系統(tǒng)以微處理器為核心,以計(jì)算機(jī)技術(shù)為基礎(chǔ),其主要特點(diǎn)是實(shí)時性強(qiáng)。通用串口總線USB具有高速度、低成本、低功耗、即插即用和使用方便等特點(diǎn);同時,USB OTG技術(shù)的誕生,使得兩USB設(shè)備在沒有PC參與的情況下進(jìn)行數(shù)據(jù)傳輸成為可能。因此本文將FPGA嵌入式應(yīng)用和USB技術(shù)結(jié)合起來,設(shè)計(jì)并實(shí)現(xiàn)了一套FPGA和USB主機(jī)控制器通信的嵌入式系統(tǒng)。 本文在分析了基于XC5VLX110T芯片的Micro Blaze軟核處理器及其外圍設(shè)備的組成結(jié)構(gòu)和特點(diǎn)的基礎(chǔ)上,研究了USB主機(jī)控制器CY7C67300通信的固件實(shí)現(xiàn)方式,,建立了FPGA與USB主機(jī)控制器的通信系統(tǒng)。測試表明,本系統(tǒng)的FPGA與USB主機(jī)控制器通信速率高,平均速率可達(dá)1.67MB/s,數(shù)據(jù)傳輸過程和固件下載過程穩(wěn)定,USB數(shù)據(jù)通信最高可達(dá)到全速1.5MB/s,達(dá)到了預(yù)期效果。 首先,本文根據(jù)FPGA與外部處理器通信的功能,按照HPI通信的原理給出了FPGA的硬件設(shè)計(jì)方案,其中最為重要的EPC模塊是完成HPI通信的關(guān)鍵,利用Xilinx公司的EDK軟件完成Micro Blaze系統(tǒng)的搭建和IP核的參數(shù)配置,然后添加了FPGA外圍的串口測試電路,使用ISE12.2軟件進(jìn)行系統(tǒng)的硬件綜合。其次,基于Micro Blaze處理器設(shè)計(jì)了FPGA端的應(yīng)用程序,用來完成FPGA和USB主機(jī)控制器的HPI通信。最后,為了協(xié)同F(xiàn)PGA和USB主機(jī)通信系統(tǒng)工作,針對PC機(jī)和USB鍵盤,分別設(shè)計(jì)了兩套USB通信的固件程序進(jìn)行系統(tǒng)測試。
[Abstract]:With the development of FPGA embedded application and the maturity of USB communication protocol, the communication technology between microprocessors has been deeply into aerospace and telecommunication equipment. The SOPC embedded system based on FPGA is based on microprocessor and computer technology. The general serial bus USB has the characteristics of high speed, low cost, low power consumption, plug and play and easy to use. At the same time, the birth of OTG technology. This makes it possible for two USB devices to transmit data without PC. So this paper combines FPGA embedded application with USB technology. An embedded system for communication between FPGA and USB host controller is designed and implemented. This paper analyzes the structure and characteristics of Micro Blaze soft core processor and its peripheral devices based on XC5VLX110T chip. The firmware implementation of CY7C67300 communication for USB host controller is studied, and the communication system between FPGA and USB host controller is established. The communication rate between the FPGA and the USB host controller is high, the average rate can reach 1.67MB / s, and the process of data transmission and firmware download is stable. The USB data communication can reach up to 1.5MB / s at full speed, which achieves the expected effect. Firstly, according to the function of communication between FPGA and external processor, according to the principle of HPI communication, this paper gives the hardware design scheme of FPGA. The most important EPC module is the key to complete HPI communication. The EDK software of Xilinx Company is used to build the Micro Blaze system and configure the parameters of IP core. Then add the FPGA peripheral serial port test circuit, using ISE12.2 software for the system hardware synthesis. Secondly. Based on Micro Blaze processor, the application program of FPGA terminal is designed, which is used to complete the HPI communication between FPGA and USB host controller. Finally. In order to work together with FPGA and USB host communication system, two sets of firmware programs for USB communication are designed for PC and USB keyboard.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2013
【分類號】:TP332;TN914
【參考文獻(xiàn)】
相關(guān)期刊論文 前2條
1 李俊艷;高楊;劉婷婷;陳營端;白竹川;賀光維;;U盤唯一性標(biāo)識信息的構(gòu)建與識別方法[J];電子技術(shù)應(yīng)用;2009年03期
2 張利;馮志江;王巧玲;;基于XILINX-FPGA的信號發(fā)生器實(shí)驗(yàn)設(shè)計(jì)[J];中國電力教育;2012年13期
相關(guān)碩士學(xué)位論文 前2條
1 李明;基于SOPC的網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];大連理工大學(xué);2006年
2 劉萬杰;基于EZ-USB的便攜式心電儀設(shè)計(jì)[D];哈爾濱工程大學(xué);2009年
本文編號:1389704
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1389704.html
最近更新
教材專著