基于FPGA的SD卡控制器设计
[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.
【学位授予单位】:武汉理工大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP333;TN791
【参考文献】
相关期刊论文 前10条
1 王清;刘新宁;;SD卡硬件启动和数据存储的控制逻辑的设计实现[J];电脑知识与技术;2008年31期
2 左源;刘新宁;师超;;一种SD卡控制器的硬件实现[J];电子器件;2007年02期
3 姚放吾;曹木莲;卢昭材;丁福舜;;51单片机与SD卡接口设计[J];工业控制计算机;2008年09期
4 周煜,付宇卓;基于SPI协议的MMC卡读写机制的实现[J];计算机仿真;2005年01期
5 李锡武;曹强;封仲淹;;基于ARM的SD主控制器的设计与实现[J];计算机工程与设计;2006年17期
6 张洁;;通用串行总线的SD卡读写器的设计[J];韶关学院学报;2008年03期
7 常薇;孙颖;孙爱东;;嵌入式课程设计开放性实验建设——嵌入式SD卡接口系统设计实验[J];实验室研究与探索;2007年12期
8 董铁庄,吴晴;PCI Express(下一代内部互联技术)在嵌入式系统中的应用[J];微计算机信息;2005年03期
9 阆盛雨;孙辉先;陈晓敏;安军社;张健;;基于模块化设计方法实现FPGA动态部分重构[J];微计算机信息;2008年05期
10 张凯临;姚玉玲;刘金涛;;SD卡在PIC系列微控制器系统中的应用[J];微计算机信息;2008年23期
相关硕士学位论文 前4条
1 赵威;SD存储卡的设计和实现[D];上海交通大学;2007年
2 苗新法;SD接口的智能安全卡的研究[D];北京邮电大学;2007年
3 沈雅娜;具有SD/MMC接口的智能卡的实时操作方法的研究和应用[D];北京邮电大学;2007年
4 刘煜峰;基于FPGA的多通道DMA控制器的IP核设计[D];华北电力大学(北京);2008年
,本文编号:2420320
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2420320.html