检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国电子科技集团公司第五十四研究所,河北石家庄050081 [2]中国电子科技集团公司第五十八研究所,江苏无锡214035
出 处:《计算机与网络》2013年第21期58-60,共3页Computer & Network
摘 要:SD卡作为媒体存储设备应用广泛,但很多SoC并未设计SDIO接口,故这种SoC只能通过SPI与SD卡通信,不能直接使用linux内核提供的现有的SD卡驱动。Bitbang协议是一种GPIO模拟SPI接口与SD卡通信的协议。Platform_driver是2.6版本内核以后新提出的驱动结构,有着规范和高效的特点。针对这种情况,采用了Bitbang协议和Platform架构,提出了一种基于SPI模式的SD卡驱动的解决方案。对Bitbang协议和Platform_driver结构的原理和实现方法进行了较为详细的论述,对驱动进行了测试,并最终给出了测试结果。The SD card is used widely as media storage device, but many kinds of SoC have not SDIO interface, such SoCs can communicate with the SD card only through SPI interface and can not directly use the current SD card driver provided by Linux kernel. The Bitbang protocol is a protocol that the GPIO simulates the SPI interface to communicate with the SD card. The Platform_driver is a new proposed drive structure after the kernel version 2.6 of Linux, which has such characteristics as standard and high efficiency. Aiming at this situation, the Bitbang protocol and the Platform architecture are used, and the solution of SD card driver based on SPI mode is proposed. The principles and implement methods of Bitbang protocol and Platform_driver architecture are discussed in detail, the driver is tested and the test results are given finally.
关 键 词:LINUX驱动 SD卡 bitbang协议 SPI模式 platform驱动
分 类 号:TP333[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.12.151.104