CN203455837U - FPGA (Field Programmable Gate Array)-based SD (Secure Digital) card controller with low cost and high efficiency - Google Patents

FPGA (Field Programmable Gate Array)-based SD (Secure Digital) card controller with low cost and high efficiency Download PDF

Info

Publication number
CN203455837U
CN203455837U CN201320602032.XU CN201320602032U CN203455837U CN 203455837 U CN203455837 U CN 203455837U CN 201320602032 U CN201320602032 U CN 201320602032U CN 203455837 U CN203455837 U CN 203455837U
Authority
CN
China
Prior art keywords
card
data
module
controller
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201320602032.XU
Other languages
Chinese (zh)
Inventor
李宪坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201320602032.XU priority Critical patent/CN203455837U/en
Application granted granted Critical
Publication of CN203455837U publication Critical patent/CN203455837U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Control Of El Displays (AREA)

Abstract

The utility model discloses an FPGA (Field Programmable Gate Array)-based SD (Secure Digital) card controller with low cost and high efficiency. The SD card controller can be used for analyzing and processing the former group of read data while reading the data from an SD card and can also be used for reading the next group of data from the SD card again while analyzing and processing the former group of read data, so that SD card data reading and data processing can be synchronously carried out, the traditional technical bottleneck is successfully solved, data and files from the SD card can be uninterruptedly read, analyzed and processed at a high speed; an LED (Light Emitting Diode) display or LED lamp based on the technology has refresh frequency, and phenomena such as image flicker and pause are avoided. In addition, a low-grade FPGA chip is used in the SD card controller, so that the SD card controller is low in cost; and meanwhile, the SD card controller is simple, stable and reliable in circuit, excellent in performance, simple in maintenance and beneficial to the popularization and application of an LED product.

Description

A kind of SD card controller of the low-cost high-efficiency based on FPGA
Technical field
The utility model relates to a kind of SD card controller, particularly a kind of SD card controller of the low-cost high-efficiency based on FPGA.
Background technology
In the off line control system of LED product, the animation or the video effect file that conventionally adopt SD card storage LED display or LED light fixture to show.Existing scheme is all to adopt single-chip microcomputer or microprocessor to realize the reading of data in SD card, and transplants the transition that the file system of freely increasing income completes SD card and computing machine.Because SD card is with serial mode reading out data, speed is slower, and the program of single-chip microcomputer or microprocessor is order execution, when single-chip microcomputer or microprocessor are being read the data in SD card, cannot carry out the processing of other data, when reading after the data of a plurality of sectors from SD card, the CPU of single-chip microcomputer starts to carry out data processing, in data handling procedure, CPU cannot read the data in SD card simultaneously, and single-chip microcomputer or microprocessor are all single-threaded operations, cannot parallel running.Like this, when LED display or LED light fixture pixel are when more, thereby the refreshing frequency that this single-threaded working method will have a strong impact on LED causes the image showing to occur the phenomenons such as flicker, a card.In order to address this problem, just need to adopt single-chip microcomputer or the microprocessor of more high-end higher travelling speed, as ARM9, ARM11, Cortex-A8 etc., but this can cause whole cost of products to rise, and circuit part very complicated, difficult in maintenance, be unfavorable for the popularization of LED product.
Therefore SD card controller, how to realize a kind of low-cost high-efficiency based on FPGA is technical matters urgently to be resolved hurrily in the industry.
Utility model content
Fundamental purpose of the present utility model is to provide a kind of SD card controller, is intended to realize a kind of SD card controller of the low-cost high-efficiency based on FPGA.
The utility model proposes a kind of SD card controller of the low-cost high-efficiency based on FPGA, can uninterruptedly read the also data of analyzing and processing SD card, SD card controller comprises housing, also comprise the SD card control module that can read data in SD card of being located in housing and connecting successively, data buffer storage part, the FAT file system that can process the data analysis reading, can be to the video data processing module that data are recombinated or gamma correction is processed, LED display/light fixture the driver module being connected with LED display or LED light fixture, main control chip in SD card control module adopts the fpga chip that can uninterruptedly read data in SD card, wherein, FAT file system is connected with SD card control module, SD card controller also comprises and the interconnective SDHC/SPI sequence generation module of SD card control module, also comprises the system clock and the reseting module that are connected with SD card control module, data buffer storage part, FAT file system, video data processing module, LED display/light fixture driver module and SDHC/SPI sequence generation module respectively.
Preferably, data buffer storage partly comprise successively connect write SDRAM fifo module, for the sdram controller module of data buffer storage, read SDRAM fifo module, system clock and reseting module respectively with write SDRAM fifo module, sdram controller module, read SDRAM fifo module and be connected.
Preferably, SD card adopts FAT16 file system, and what FAT file system adopted is FAT16 file system.
The utility model SD card controller when reading SD card data can on one group of data analysis of reading process, in analyzing and processing, also can again from SD card, read next group data, realized that SD card data read and synchronously the carrying out of data processing, successfully solved existing technical bottleneck, realized reading and analyzing and processing of continual SD card data file at a high speed, use LED display or the LED light fixture of this technology can realize higher refreshing frequency, avoided occurring the phenomenons such as image flicker, a card.And the utility model adopts is the EP1C3T144 chip of Cyclone series of the fpga chip ,Ru ALTERA company of low side, cost is lower, and circuit simple and stable is reliable simultaneously, and excellent performance is safeguarded simply, is conducive to applying of LED product.
Accompanying drawing explanation
Fig. 1 is the principle of work block scheme of an embodiment of the SD card controller of a kind of low-cost high-efficiency based on FPGA of the utility model.
The realization of the utility model object, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein is only in order to explain the utility model, and be not used in restriction the utility model.
With reference to Fig. 1, an embodiment of the SD card controller of a kind of low-cost high-efficiency based on FPGA of the present utility model is proposed, SD card controller of the present utility model can read the also data of analyzing and processing SD card incessantly.
Described SD card controller comprises housing, also comprises the SD card control module that can read data in SD card being located in housing and connecting successively, data buffer storage part, the FAT file system that can process the data analysis reading, video data processing module, the LED display/light fixture driver module being connected with LED display or LED light fixture.Wherein, FAT file system is also connected with SD card control module.Data buffer storage partly comprise successively connect write SDRAM fifo module, for the sdram controller module of data buffer storage, read SDRAM fifo module.SD card controller also comprises and the interconnective SDHC/SPI sequence generation module of SD card control module, also comprises the system clock and the reseting module that are connected with SD card control module, data buffer storage part, FAT file system, video data processing module, LED display/light fixture driver module and SDHC/SPI sequence generation module respectively.System clock and reseting module respectively with write SDRAM fifo module, sdram controller module, read SDRAM fifo module and be connected.In system clock and reseting module, be provided with clock circuit and reset circuit.When energising, clock circuit produces various clock signals, and the work of each connected module, file system is carried out in order.Reset circuit can be to each connected module, file system zero setting.
The EP1C3T144 chip of the Cyclone series of the fpga chip ,Ru ALTERA company of the main control chip employing low side in SD card control module.Fpga chip has the feature of parallel processing, can read incessantly the data of SD card.After powering on, first whether the fpga chip in SD card control module detect SD card and insert, if inserted, start to read the data in SD card, SD card control module is obtained the essential informations such as whether file memory address in SD card, file size, file layout correct, quantity of documents, then by data buffer storage to sdram controller module and start FAT file system.FAT file system module can read by the circulation of the fpga chip startup SD card data in SD card control module, when by data buffer storage to the sdram controller module of data buffer storage part, FAT file system module again starts SD card control module and reads other data, and start video data processing module simultaneously, video data processing module can be recombinated or the processing such as gamma correction to data, and become data stream then to send in LED display/light fixture driver module the data recombination of handling well, LED display/light fixture driver module is sent in LED display or LED light fixture by data stream and restores image.The utility model SD card controller when reading SD card data can on one group of data analysis of reading process, in analyzing and processing, also can again from SD card, read next group data, realized that SD card data read and synchronously the carrying out of data processing, successfully solved existing technical bottleneck.
SD card adopts FAT16 file system, and what FAT file system adopted is FAT16 file system.
The specific works flow process of the utility model SD card controller is as follows:
When A, energising, first whether the fpga chip in SD card control module detect SD card and insert, if inserted, start to search and read the MBR sector of SD card, then by data by writing SDRAM fifo module buffer memory to sdram controller module, and start FAT16 file system.
B, FAT16 file system are analyzed the essential information of the SD card MBR sector of buffer memory in sdram controller module by reading SDRAM fifo module, calculate all information such as sector sum in sector sum hiding before the subregion of the shared sector number of the number of the directory entry of 32 bytes in every bunch of shared sector number, root directory, FAT subregion, this FAT volume, volume.By the information of SD card MBR sector is calculated to address, root directory area, and read SD card root directory item destination data, analyze the content of root directory area, calculate address and the size of data of data field in SD card, and judge file layout.
C, FAT16 file system calculate the offset address that at every turn needs file reading data, start SD card control module and read the data of this address, fpga chip first reads the i.e. data of 8 sectors of first group of data, and by first group of data by writing SDRAM fifo module buffer memory to sdram controller module, FAT16 file system module again starts SD card control module and reads the i.e. data of lower 8 sectors of second group of data, each file data is read in circulation so successively, and starts video data processing module simultaneously.
D, video data processing module can recombinate and the processing such as gamma correction to data, and a data recombination of handling well is become to data stream.
E, video data processing module are sent into data stream in LED display/light fixture driver module, and LED display/light fixture driver module is sent in LED display or LED light fixture by data stream and restores image.
The utility model SD card controller when reading SD card data can on one group of data analysis of reading process, in analyzing and processing, also can again from SD card, read next group data, realized that SD card data read and synchronously the carrying out of data processing, successfully solved existing technical bottleneck, realized reading and analyzing and processing of continual SD card data file at a high speed, use LED display or the LED light fixture of this technology can realize higher refreshing frequency, avoided occurring the phenomenons such as image flicker, a card.And the utility model adopts is the EP1C3T144 chip of Cyclone series of the fpga chip ,Ru ALTERA company of low side, cost is lower, and circuit simple and stable is reliable simultaneously, and excellent performance is safeguarded simply, is conducive to applying of LED product.
The foregoing is only preferred embodiment of the present utility model; not thereby limit the scope of the claims of the present utility model; every equivalent structure transformation that utilizes the utility model instructions and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present utility model.

Claims (3)

1. the SD card controller of the low-cost high-efficiency based on FPGA, it is characterized in that, can uninterruptedly read the also data of analyzing and processing SD card, described SD card controller comprises housing, also comprise the SD card control module that can read data in described SD card of being located in described housing and connecting successively, data buffer storage part, the FAT file system that can process the data analysis reading, can be to the video data processing module that data are recombinated or gamma correction is processed, LED display/light fixture the driver module being connected with LED display or LED light fixture, main control chip in described SD card control module adopts the fpga chip that can uninterruptedly read data in described SD card, wherein, described FAT file system is connected with described SD card control module, SD card controller also comprises and the interconnective SDHC/SPI sequence generation module of described SD card control module, also comprises the system clock and the reseting module that are connected with described SD card control module, described data buffer storage part, described FAT file system, described video data processing module, described LED display/light fixture driver module and described SDHC/SPI sequence generation module respectively.
2. the SD card controller of a kind of low-cost high-efficiency based on FPGA according to claim 1, it is characterized in that, described data buffer storage partly comprise successively connect write SDRAM fifo module, for the sdram controller module of data buffer storage, read SDRAM fifo module, described system clock and reseting module respectively with the described SDRAM of writing fifo module, described sdram controller module, described in read SDRAM fifo module and be connected.
3. the SD card controller of a kind of low-cost high-efficiency based on FPGA according to claim 1 and 2, is characterized in that, described SD card adopts FAT16 file system, and what described FAT file system adopted is FAT16 file system.
CN201320602032.XU 2013-09-29 2013-09-29 FPGA (Field Programmable Gate Array)-based SD (Secure Digital) card controller with low cost and high efficiency Expired - Fee Related CN203455837U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201320602032.XU CN203455837U (en) 2013-09-29 2013-09-29 FPGA (Field Programmable Gate Array)-based SD (Secure Digital) card controller with low cost and high efficiency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201320602032.XU CN203455837U (en) 2013-09-29 2013-09-29 FPGA (Field Programmable Gate Array)-based SD (Secure Digital) card controller with low cost and high efficiency

Publications (1)

Publication Number Publication Date
CN203455837U true CN203455837U (en) 2014-02-26

Family

ID=50135698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201320602032.XU Expired - Fee Related CN203455837U (en) 2013-09-29 2013-09-29 FPGA (Field Programmable Gate Array)-based SD (Secure Digital) card controller with low cost and high efficiency

Country Status (1)

Country Link
CN (1) CN203455837U (en)

Similar Documents

Publication Publication Date Title
CN202502713U (en) LED display screen controller based on SOPC
CN105208275A (en) System supporting real-time processing inside streaming data piece and design method
CN203288224U (en) Liquid crystal screen display system having multiple communication interfaces
CN202632773U (en) Portable serial FLASH programmer based on SD (Secure Digital) card
CN104850516A (en) DDR frequency conversion design method and device
CN203455837U (en) FPGA (Field Programmable Gate Array)-based SD (Secure Digital) card controller with low cost and high efficiency
CN204055044U (en) Read-write pen nib
CN203490476U (en) PC104-plus controller system of Power PC
CN204721490U (en) A kind of pavement crack detection system based on FPGA and 4G network
CN201986221U (en) Serial code writing device writing address code on lamp
CN203192369U (en) Led display screen control system
CN204288237U (en) A kind of Network Smart Card Reader-Writer
CN203038292U (en) High performance bar code scanning device based on ARM11 platform
CN203304206U (en) Automatic book sorting control device based on FPGA (Field Programmable Gata Array)
CN203025725U (en) Low-cost bar code scanning equipment
CN204944606U (en) Liquid level detection system
CN203561981U (en) Embedded laser projector controller with MP3 audio output function
CN205177382U (en) Display screen control system
CN104951237A (en) High-speed storage device based on SATA interface solid state disk
CN204009936U (en) A kind of self study recognition device of the bar code for test strips
CN2859651Y (en) Hand-written mouse with USB concentrator
CN201503588U (en) All-in-one card reader provided with USB HUB
CN205281518U (en) Image acquisition device based on face identification
CN203038539U (en) DSP experiment platform
CN201397549Y (en) Fiscal cash register based on FPGA

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140226

Termination date: 20150929

EXPY Termination of patent right or utility model