SD卡(Secure Digital Memory Card)有着存储量大、微处理器连线简单以及市场价格较低的特点,特别适合作为便携式嵌入式系统的存储介质。SD卡可以工作在串行外设模式即SPI协议下,与主控器通过串行外设接口总线相连。本文重点阐述了如何...SD卡(Secure Digital Memory Card)有着存储量大、微处理器连线简单以及市场价格较低的特点,特别适合作为便携式嵌入式系统的存储介质。SD卡可以工作在串行外设模式即SPI协议下,与主控器通过串行外设接口总线相连。本文重点阐述了如何使用单片机的串行外设接口(SPI接口)对SD卡进行控制,从而实现存储卡从默认工作模式到SPI工作模式的切换,并在SPI模式下对存储卡进行数据的读写。展开更多
This paper introduces an interactive system of sight-singing and ear-training which combines the technology of single chip microprocessor (SCM) with learning music. It contains the functions of scanning keyboard, read...This paper introduces an interactive system of sight-singing and ear-training which combines the technology of single chip microprocessor (SCM) with learning music. It contains the functions of scanning keyboard, reading the key value, interruption service, reading file and displaying file. In order to strengthen the commonality and practicability of the system, SD card is used to store the materials and the ZNFAT32 file system is transplanted to organize the materials in the form of file directory. This interactive system can recognize and perform music automatically for the users and play significant role in education and entertainment.展开更多
文摘SD卡(Secure Digital Memory Card)有着存储量大、微处理器连线简单以及市场价格较低的特点,特别适合作为便携式嵌入式系统的存储介质。SD卡可以工作在串行外设模式即SPI协议下,与主控器通过串行外设接口总线相连。本文重点阐述了如何使用单片机的串行外设接口(SPI接口)对SD卡进行控制,从而实现存储卡从默认工作模式到SPI工作模式的切换,并在SPI模式下对存储卡进行数据的读写。
文摘This paper introduces an interactive system of sight-singing and ear-training which combines the technology of single chip microprocessor (SCM) with learning music. It contains the functions of scanning keyboard, reading the key value, interruption service, reading file and displaying file. In order to strengthen the commonality and practicability of the system, SD card is used to store the materials and the ZNFAT32 file system is transplanted to organize the materials in the form of file directory. This interactive system can recognize and perform music automatically for the users and play significant role in education and entertainment.