基于FPGA的SD卡控制器設(shè)計(jì)
[Abstract]:SD secure Digital memory Card (Secure Digital Memory Card,) is one of the most widely used mobile storage devices at present. SD card has the advantages of small and light, large storage capacity, fast data transmission and high data security. And SD card controller is simple and easy to integrate, which makes SD card more and more widely used in mobile media devices and consumer electronic products. SD card has become the mainstream of similar storage products. The SD card controller is an indispensable part of the SD card. With the renewal of the SD card, the research and optimization of the SD card controller has a high practical application value. This paper firstly introduces the protocol specification of SD memory card and main controller of SD card with the latest version of SD4.0 protocol, and then explains the working principle and overall structure of SD card controller in detail. Three bus connection modes between SD card and SD master controller and the structure of SD master controller are introduced. Starting with the overall structure of SD card controller, this paper introduces the functions of each module under the new standard of SD4.0, designs several key modules: SD_CLK module, DMA control module and Tuning control module, and carries on the function simulation. Logic synthesis and FPGA verification of the whole design are carried out at the same time. In the design of SD_CLK module, the digital clock manager (DCM) module which is unique to Xilinx FPGA is mainly used. This module not only provides stable clock, but also provides flexible frequency configuration. Properly configured to provide the clock frequency required for the normal operation of different SD cards. In the logic design of DMA control module, the control part of dual-port RAM and RAM is mainly designed to refine the read operation and write operation, and finally complete the data transmission in DMA mode. The Tuning control module is used to make the system clock meet the timing requirements when the SD card works at high frequency. In the design of this module, the optimal sampling clock selection algorithm is proposed, and a reasonable state machine is designed to adjust the clock phase. The optimal sampling clock of SD card working at high frequency is obtained. Through functional simulation and FPGA logic synthesis, the design of this module meets the requirements, thus ensuring the reliability of data transmission. Finally, the FPGA board level verification of the whole design is carried out, including a brief introduction to the FPGA development board, and then each verification is carried out according to the design requirements of the controller. The speed of reading and writing of several different types of SD cards on this controller and general card reader are compared, and the results meet the requirements of the design. Based on the latest SD card protocol, this thesis has strong practical applications, such as digital camera, mobile phone, notebook computer and so on. This design through the back-end IC department integration can flow out of the market. It is worth mentioning that the above-mentioned work in the concave-convex electronics (Wuhan) Co., Ltd., the project has achieved periodic results.
【學(xué)位授予單位】:武漢理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP333;TN791
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 王清;劉新寧;;SD卡硬件啟動(dòng)和數(shù)據(jù)存儲(chǔ)的控制邏輯的設(shè)計(jì)實(shí)現(xiàn)[J];電腦知識(shí)與技術(shù);2008年31期
2 左源;劉新寧;師超;;一種SD卡控制器的硬件實(shí)現(xiàn)[J];電子器件;2007年02期
3 姚放吾;曹木蓮;盧昭材;丁福舜;;51單片機(jī)與SD卡接口設(shè)計(jì)[J];工業(yè)控制計(jì)算機(jī);2008年09期
4 周煜,付宇卓;基于SPI協(xié)議的MMC卡讀寫機(jī)制的實(shí)現(xiàn)[J];計(jì)算機(jī)仿真;2005年01期
5 李錫武;曹強(qiáng);封仲淹;;基于ARM的SD主控制器的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)工程與設(shè)計(jì);2006年17期
6 張潔;;通用串行總線的SD卡讀寫器的設(shè)計(jì)[J];韶關(guān)學(xué)院學(xué)報(bào);2008年03期
7 常薇;孫穎;孫愛東;;嵌入式課程設(shè)計(jì)開放性實(shí)驗(yàn)建設(shè)——嵌入式SD卡接口系統(tǒng)設(shè)計(jì)實(shí)驗(yàn)[J];實(shí)驗(yàn)室研究與探索;2007年12期
8 董鐵莊,吳晴;PCI Express(下一代內(nèi)部互聯(lián)技術(shù))在嵌入式系統(tǒng)中的應(yīng)用[J];微計(jì)算機(jī)信息;2005年03期
9 閬盛雨;孫輝先;陳曉敏;安軍社;張健;;基于模塊化設(shè)計(jì)方法實(shí)現(xiàn)FPGA動(dòng)態(tài)部分重構(gòu)[J];微計(jì)算機(jī)信息;2008年05期
10 張凱臨;姚玉玲;劉金濤;;SD卡在PIC系列微控制器系統(tǒng)中的應(yīng)用[J];微計(jì)算機(jī)信息;2008年23期
相關(guān)碩士學(xué)位論文 前4條
1 趙威;SD存儲(chǔ)卡的設(shè)計(jì)和實(shí)現(xiàn)[D];上海交通大學(xué);2007年
2 苗新法;SD接口的智能安全卡的研究[D];北京郵電大學(xué);2007年
3 沈雅娜;具有SD/MMC接口的智能卡的實(shí)時(shí)操作方法的研究和應(yīng)用[D];北京郵電大學(xué);2007年
4 劉煜峰;基于FPGA的多通道DMA控制器的IP核設(shè)計(jì)[D];華北電力大學(xué)(北京);2008年
,本文編號(hào):2420320
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2420320.html