介绍了nRF24101芯片的性能特点,并结合linux系统下字符设备驱动开发的流程和框架,设计了该芯片的liunx驱动程序。其中提出并验证了中断和巡检两种处理方式来接收和发送数据,以适应在实际应用中不同的开发需要。最后给出了基于此驱动的应用程序的设计方法。
This article introduces the parameters and performance of the chip nRF24101, and designs the driver for the chip under linux system refer to the course and the structure of the char device driver development. Additionally, the article designs and verifies interrupt and polling two ways for receving and sending data to meet the different demands of the real application, and introduces the design methods for the applications based on the driver.