MMC/Sd卡以其優越的性能,在單片機嵌入式設備中得到廣泛應用。將MMC/Sd卡作為外部掉電存儲介質應用于音頻信號發生器中,通過8051F330單片機上的SPI接口,實現單片機—MMC/Sd卡的存儲擴展,設計了此硬件平臺上的MMC/Sd卡的單片機驅動程序,并給出了相應的程序代碼,滿足音頻信號發生器的大容量存儲要求。
Abstract:
MMC/SD card is more and more widely used in the single chip embedded devices for their excellent performances.This article introduces the application of MMC/SD card as the external power down storage medium in audio signal generator. The extension technology especially for storage of single chip-MMC/SD card via SPI interfaces in 8051F330 single chip, including designs single chip drive program of MMC/SD card based on hardware platform,and also gives the key coding of the program. The implementation of big capacity storage is meaningful in audio signal generator.
針對眾多低成本數據采集需求,采用帶有片上USB控制器和D/A轉換器的混合信號微處理器C8051F340,設計了一款可通過USB接口和LabVIEW圖形用戶界面實現與PC機聯機的數據采集器,同時借助系統的Sd卡存儲獨立實現現場長時間采集數據。該數據采集器成本低,結構簡單,體積小,已成功用于工業現場。
Abstract:
Aiming at the need of low cost data acquisition, a data acquisition device is designed based on C8051F340 which is a mixed-signal microcontroller and integrates USB controller and A/D controller on a chip.The data acquisition device which can combine with PC by USB interface and LabVIEW graphical user interface,can realize data acquisition. At the same time,it can be solely run a long time in virtue of SD card in field.The date aequisition device features low cost,simple structure and little sharp, and it has been used in industry field.