首页 | 官方网站   微博 | 高级检索  
     

RT-Thread的SPI总线驱动结构分析 、移植及应用
引用本文:高培,何栋炜,李文翔,林丹楠.RT-Thread的SPI总线驱动结构分析 、移植及应用[J].单片机与嵌入式系统应用,2017,17(12).
作者姓名:高培  何栋炜  李文翔  林丹楠
作者单位:1. 福建商学院,福州,350012;2. 福建工程学院
基金项目:福建对外经济贸易职业技术学院校级课题《UWB技术在智慧城市中的应用》
摘    要:介绍了串行外设接口SPI的通信原理,对RT Thread操作系统下的SPI总线驱动结构进行了详细的研究与分析.以STM32F407ZG对W25Q64的读写为例,介绍了硬件SPI总线驱动的移植步骤,并详细介绍了SPI应用程序设计及技术实施细节.最后通过实验,对SPI驱动移植及程序设计的可行性及有效性进行验证,实验结果表明,RT Thread操作系统下的SPI总线驱动结构设计合理,移植方便且应用程序设计简单,本文所介绍的移植与应用方法可行有效.

关 键 词:RTThread  SPI  驱动结构  分析  移植  应用

Structure Analysis,Migration and Application of SPI Bus Driver for RT-Thread
Gao Pei,He Dongwei,Li Wenxiang,Lin Dannan.Structure Analysis,Migration and Application of SPI Bus Driver for RT-Thread[J].Microcontrollers & Embedded Systems,2017,17(12).
Authors:Gao Pei  He Dongwei  Li Wenxiang  Lin Dannan
Abstract:In the paper ,the communication principle of SPI and the SPI bus driver structure of the RT -Thread operating system are re-searched and analyzed .Taking the example of STM32F407ZG's read and write operation on W25Q64 ,the transplant procedure of hard-ware SPI bus driver ,the SPI application design and technical implementation are introduced .Finally ,the experiment is carried out to veri-fy the feasibility and effectiveness of driver transplantation and program design of SPI .The experiment results show that the RT-Thread operating system under the SPI bus driver has reasonable structural design ,it is convenient to migration and easy for program design ,the transplantation and application method introduced in the paper is feasible and effective .
Keywords:RT-Thread  SPI  driver structure  analysis  migration  application
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号