摘要
针对单总线数据采集中数据传输和存储速度较慢的情况,提出了一种利用DMA(直接存储器访问)技术和流水线FLASH存储来实现高速存储的方法;该方法通过AVR单片机和CPLD控制产生DMA和FLASH片选时序,不经过CPU直接往FLASH里写一页数据,在第一片FALSH进行数据编程忙而无法对其进行操作时继续往下一片FLASH里写一页数据,如此循环实现FLASH的流水线存储;实验结果表明,采用DMA和流水线存储技术,数据瞬态传输速度提高了10倍,整体存储速度提高了4倍,系统可靠性好、性价比高、可以广泛使用。
According to the low transform and storage speed in 1-wire data acquisition,a DMA(direct memory access) technique and pipeline FLASH storage has been proposed.Producing DMA and FLASH chip selection time sequence by AVR SCM and CPLD,this method which realized the pipeline FLASH storage,write data directly into the FLASH instead of going through the CPU,and write to the next FLASH chip if the current FLAH is busy with the data programming.Utilizing DMA and pipeline FLASH storage,it is shown in the experimental result that data transient transform speed increased 10 times and the whole storage speed increased 4 times.The system has a good reliability and a high performance-cost ratio,which can be widely used.
出处
《计算机测量与控制》
CSCD
北大核心
2010年第12期2888-2890,共3页
Computer Measurement &Control
基金
重点实验室基金项目(9140C12040206060C12)