随着消费电子技术的飞速发展,SD卡也被越来越广泛的应用到各种终端设备上.在消费电子产品设计中,存储接口方面对SD卡的支持也是重点的考虑.但是在许多主控芯片中,并没有集成SD卡硬件控制器,这时基于GPIO来使用软件实现SD总线对SD卡的读取就显得尤为重要了.本文研究并实现了使用GPIO来模拟SD总线技术,并分析了优化方法及实验结果.
With the rapid growth of consumer electronics technology, the SD card is spread used in variety devices, in the designs of consumer product, considering of SD eard support in storage interface is very popular. But there are so many main chips that have no SD hardware controller, so the GPIO simulation is a important implement. This thesis discusses the SD bus's feature and provides a detailed algorithm for the implement. Finally, the experiment results and optimization are analyzed.