针对使用SD卡实现高速大容量数据的存储问题,设计了一种基于FPGA的SD卡控制器。目前使用微处理器驱动SD卡时主要使用SPI模式,但SPI模式存储速度较低,若要实现高速大容量数据的存储,需要开发一种基于SD模式的SD卡控制器。本文选取FPGA进行控制器的设计,将控制器主要分为时钟分频模块、命令响应模块、数据传输模块以及CRC校验模块,并使用ZYNQ7010芯片的FPGA部分进行各个模块的仿真验证,充分利用FPGA的可扩展性及SD模式的存储速度优势,为使用SD卡实现高速大容量数据存储提供支持。
Abstract
Aiming at the problem of using SD card to realize high speed and large capacity data storage,a SD card controller based on FPGA is designed.At present,SPI mode is mainly used when microprocessor-driven SD card is used,but the storage speed of SPI mode is low.In order to realize high-speed and large-capacity data storage,it is necessary to develop an SD card controller based on SD mode.In this design,FPGA is selected to design the controller,which is mainly divided into clock frequency division module,command response module,data transmission module and CRC check module.The FPGA part of ZYNQ7010 chip is used for simulation verification of each module,making full use of the expansibility of FPGA and SD mode storage speed advantage.It can provide support for high-speed and large-capacity data storage using SD cards.
关键词
SD模式 /
FPGA /
SD卡 /
ZYNQ7010
Key words
SD mode /
FPGA /
SD card /
ZYNQ7010
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 汤才刚,刘京京,沈瑞东.STM32单片机的SD卡存储器读写模块设计[J].单片机与嵌入式系统应用,2020,20(12):75-78,83.
[2] 郭宇,郑国辉.基于FPGA的SD卡高速数据存储系统设计与实现[J].电声技术,2017,41(6):39-42.
[3] 杜佳良,丁亚东,赵俊杰.基于STM32的AD采集与SD卡数据存储[J].电脑知识与技术,2016,12(12):235-237.
[4] 王超.基于FPGA的Micro SD卡控制器研究[D].哈尔滨:哈尔滨工业大学,2014.
[5] 何丹,李树国.SD存储卡接口SPI模式的FPGA实现[J].微电子学,2014,44(2):206-209,213.
[6] 陈磊.基于FPGA的SD卡控制器设计[D].武汉:武汉理工大学,2013.
[7] 何伟,赵巍,邢岚,等.基于FPGA的SD卡控制器设计及应用[J].世界科技研究与发展,2011,33(4):578-580,607.
[8] 徐建功,赵捷,李伟,等.基于STM32F103XX微处理器的Micro SD卡读写[J].现代电子技术,2010,33(20):26-28,32.
[9] 李德桥,丁克勤.SD卡控制器的FPGA实现[J].仪表技术,2010(8):44-45,69.
[10] Ujjan G M,Malik A,Ahmed S,et al.Implementation of 4-Bit Data Transmission for Accessing SD Card with FPGA Embedded Soft Processor[C]//the 2019 4th International Conference,2019.