NRF24L01跳频程序及方法

上传人:s9****2 文档编号:497693027 上传时间:2024-02-06 格式:DOC 页数:21 大小:1.18MB
返回 下载 相关 举报
NRF24L01跳频程序及方法_第1页
第1页 / 共21页
NRF24L01跳频程序及方法_第2页
第2页 / 共21页
NRF24L01跳频程序及方法_第3页
第3页 / 共21页
NRF24L01跳频程序及方法_第4页
第4页 / 共21页
NRF24L01跳频程序及方法_第5页
第5页 / 共21页
点击查看更多>>
资源描述

《NRF24L01跳频程序及方法》由会员分享,可在线阅读,更多相关《NRF24L01跳频程序及方法(21页珍藏版)》请在金锄头文库上搜索。

1、APPLICATION NOTEFrequency Agility Protocol for nRF24XXnAN24-07NORDICFrequency Agility Protocol for nRF24XXL GeneralThis application note describes the low-level Frequency Agility Protocol for nRF24XX This is a protocol that gives protection against disturbing traffic from frequency stationary system

2、s like WLAN and frequency hopping devices like Bluetooth.The protocol is generic and can be used in many different systems that require resistance against disturbance from other systems. By using this protocol, a system can operate in close proximity with systems using different WLAN channels, 2.4GH

3、z cordless phones. 2,4GHz remote controls, microwave ovens, Bluetooth devices and other proprietary 2,4GHz systems. Basing its functionality on recovery by retransmission of lost packets, it will be much more reliable than a uni-directional communication protocol.This document describes the assumpti

4、ons that the protocol is based on, a description of the functionality, implementation described with state machine diagrams, current consumption calculations and C-code examplesA 2.4GHz-mouse/keyboard application is a typical 2.4GHz application that will be used in proximity with WLAN and Bluetooth

5、nodes This document will for that reason use the wireless mouse/keyboard application when describing the Frequency Agility Protocol for nRF24XX.a aFigure 1: Wireless 2.4GHz mouse/keyboard applicationAs seen in Figure 1, a wireless 2.4GHz mouse/keyboard application consists of a wireless mouse, a wir

6、eless keyboard and a receiver unit for the PC side, referred to as a dongle” in the rest of this document.2. AssumptionsThe frequency agility protocol is built on a series of assumptions regarding mouse / keyboard applications and the traffic in the 2.4GHz bandThe traffic in the 2.4GHz band is mainl

7、y consistent of frequency stationary systems like WLAN and frequency-hopping systems like Bluetooth. While frequency stationary systems operate in a specific part of the band, frequency-hopping systems will generate traffic in the whole band All traffic generated by systems operating in the 2.4GHz b

8、and is packet based.At a given channel in the 2.4GHz band, if a frequency hopping system is present, the likelihood of a collision with traffic from that system is the same in every channel. It is therefore no use in changing the operating channel if disturbed by a frequency hopping system. If the d

9、isturbance comes from a frequency stationary system, it is possible to move in such manner that the likelihood for a collision with the same system on the new channel is minimal.A mouse will require a much higher update rate than a keyboard 1( is assumed that when a mouse is used, it should be updat

10、ed every 8lh millisecond. The mouse will therefore have priority in front of the keyboard regarding updatesThe disturbance from other systems will be strongest close to the PC, and the dongle attached to the PC will suffer the most.3. Frequency agility protocol for a 2.4GHz mouse/keyboard applicatio

11、nBased on the previous assumptions the definition of the frequency agility protocol emerges: A protocol that will move own traffic to another channel in the 2.4G Hz band if a stationary disturhance occurs at the currently lined frequency. MThe main functionality of the frequency agility protocol wil

12、l be to: Detect stationary disturbance Move in such manner that new disturbance from the same source will not occur Do not move if disturbed by a frequency hopping source Give priority to mouse traffic.It is important to notice that this protocol will only force a change in operating frequency when

13、a stationary disturbance occurs After it has changed the operating frequency, it will be on the new channel for a relative long time.The frequency agility protocol functionality is based on the communication between the mouse and the dongle. When the mouse is in use, it will send a packet to the don

14、gle every 8lh millisecond and wait for acknowledge The mouse will re-send a packet up lo two times if no acknowledgement has been received. Bluetooth will stay up to 650 microseconds on one channel before hopping This means that if a Bluetooth system is knocking out the mouses first attempt to send

15、a packet, the next two should get trough since each packet 一 acknowledgement cycle takes about one millisecond. Il is therefore not likely that a frequency hopping system will cause a change in frequencyIf all three attempts to send a packet fail, the mouse and dongle will change channel according t

16、o a table. The table is built up to take care of the functionality that avoids disturbance from the same source at the new channel. Figure 2 shows a typical table with channels used by the frequency agility protocol. The table is WLAN weighted/* meaning it will find the next channel outside of the assumed WLAN channel that is disturbing the currently

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 解决方案

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号