RT-Thread的SPI总线驱动结构分析、移植及应用  被引量:2

Structure Analysis,Migration and Application of SPI Bus Driver for RT-Thread

在线阅读下载全文

作  者:高培 何栋炜[2] 李文翔 林丹楠 Gao Pei;He Dongwei;Li Wenxiang;Lin Dannan(Fujian Business University,Fuzhou350012,China;Fujian University of Technology)

机构地区:[1]福建商学院,福州350012 [2]福建工程学院

出  处:《单片机与嵌入式系统应用》2017年第12期48-53,共6页Microcontrollers & Embedded Systems

基  金:福建对外经济贸易职业技术学院校级课题(KT201612)

摘  要:介绍了串行外设接口SPI的通信原理,对RT-Thread操作系统下的SPI总线驱动结构进行了详细的研究与分析。以STM32F407ZG对W25Q64的读写为例,介绍了硬件SPI总线驱动的移植步骤,并详细介绍了SPI应用程序设计及技术实施细节。最后通过实验,对SPI驱动移植及程序设计的可行性及有效性进行验证,实验结果表明,RT-Thread操作系统下的SPI总线驱动结构设计合理,移植方便且应用程序设计简单,本文所介绍的移植与应用方法可行有效。In the paper,the communication principle of SPI and the SPI bus driver structure of the RT Thread operating system are researched and analyzed.Taking the example of STM32F407ZG’s read and write operation on W25Q64,the transplant procedure of hardware SPI bus driver,the SPI application design and technical implementation are introduced.Finally,the experiment is carried out to verify 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.

关 键 词:RT-THREAD SPI 驱动结构 分析 移植 应用 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象