首页 | 本学科首页   官方微博 | 高级检索  
     

基于Linux下nRF24L01设备驱动的设计
引用本文:林丽蓉,余红英,姜世杰,洪永学. 基于Linux下nRF24L01设备驱动的设计[J]. 电子测试, 2012, 11(11): 61-64,89. DOI: 10.3969/j.issn.1000-8519.2012.11.013
作者姓名:林丽蓉  余红英  姜世杰  洪永学
作者单位:1.中北大学信息与通信工程学院,太原,030051;2.中北大学信息与通信工程学院,太原,030051;3.中北大学信息与通信工程学院,太原,030051;4.中北大学信息与通信工程学院,太原,030051
摘    要:nRF24L01是工作在2.4GHz-2.5GHz的ISM频段的单片无线收发器芯片,广泛应用于无线通信领域。其通过SPI接口和外部控制器件进行数据交换,目前大多是通过I/O口软件模拟SPI时序来驱动nRF24L01,在此基础上本文提出了基于Linux下通过ARM的SPI接口来驱动nRF24L01的设计方法。首先介绍了nRF24L01模块的性能特点,详细阐述了硬件和软件的设计要点,然后给出了嵌入式微处理器S3C2440和nRF24L01模块的连接图,介绍了如何用S3C2440的SPI接口的查询模式驱动nRF24L01,最后验证了驱动程序的正确性,从而实现NRF24L01的无线收发。

关 键 词:S3C2440  nRF24L01  SPI  查询

Design of nRF24L01 device drive based on Linux
Lin Lirong,Yu Hongying,Jiang Shijie,Hong Yongxue. Design of nRF24L01 device drive based on Linux[J]. Electronic Test, 2012, 11(11): 61-64,89. DOI: 10.3969/j.issn.1000-8519.2012.11.013
Authors:Lin Lirong  Yu Hongying  Jiang Shijie  Hong Yongxue
Affiliation:(School if Information and Communication Engineering,North University of China, Taiyuan,Shanxi 030051)
Abstract:nRF24L01 is a single chip wireless transceiver chip which working at 2.4GHz~2.5GHz ISM band,it is widely used in the wireless communication field.It exchanges data with external controller through the SPI interface. Nowadays,most use I/O to simulate SPI timing to drive the nRF24L01, based on it,this article proposes a method which through the SPI interface of ARM to drive nRF24L01 based on Linux. In this article, first it introduces the performance and characteristics of the nRF24L01 module, elaborates the mian points of hardware and software design in detail,then it gives the connected graph between embedded microcontroller S3C2440 processor and nRF24L01 module,and showes how to use the SPI interface’polling mode of S3C2440 to drive the nRF24L01, last it verifies the correctness of the driver and achieves nRF24L01’s wireless transceiver.
Keywords:S3C2440  nRF24L01  SPI  poll
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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