摘要
串行SPI通信协议是一种标准的通信协议。本文首先简要介绍了SPI总线模式,然后阐述了单片机在SPI协议下与SD卡硬件接口电路,以及软件模拟的SPI总线数据传输,最后给出了具体实现SD卡的初始化、FAT32文件系统的管理和写操作的软件流程。
The serial peripheral interface (SPI) is a standard communication protocol .In this paper, the model of SPI bus is first briefly introduced.Then hardware circuit between MCU and SD card with SPI protocol is presented,using software to simulate the SPI bus time sequence for transmission.Last realization of SD card's initialization,management of FAT32 file system,software How to write are presented.
出处
《微计算机信息》
2009年第26期201-202,200,共3页
Control & Automation