STM32
直播中

熊本熊

8年用户 1330经验值
擅长:处理器/DSP
私信 关注
[问答]

NRD24L01 NRF24L01_TxPacket一直返回1E的原因是什么

NRD24L01 NRF24L01_TxPacket一直返回1E的原因是什么

回帖(1)

荣徽

2021-12-17 14:32:04



Data pipe 0 has a unique 40 bit configurable address. Each of data pipe 1-5 has an 8 bit unique address and shares the 32 most significant address bits. All data pipes can perform full Enhanced ShockBurst™ functionality.
终于找到NRD24L01 NRF24L01_TxPacket一直返回1E的原因,一直等应答信号。An nRF24L01 configured as PTX with Enhanced ShockBurst™ enabled, will use the
ShockBurst™ feature to send a packet whenever the microcontroller wants to. After
the packet has been transmitted, nRF24L01 will switch on its receiver and expect an
acknowledgement to arrive from the terminating part. If this acknowledgement fails to
arrive, nRF24L01 will retransmit the same packet until it receives an
acknowledgement or the number of retries exceeds the number of allowed retries
given in the SETUP_RETR_ARC register.
关于频道:
RF-CH共包括六位,这六位决定了不同的工作方式频率,nRF24L01无线通信模块中工作通道频率由RF-CH寄存器的内容确定,可由以下公式计算得出:Fo=(2400+RF-CH)MHz.
扩展:射频频道的频率决定射频收/发所使用频道的中心频率,在速率为250Kbps或1Mbps时,频道占用的带宽小于1M,而在速率为2Mbps时,所占宽带小于2M,射频收发器工作的频率范围从2.400-2.525GHz,无线频道设置的频率分辨率为1MHz。
由于在2Mbps通信速率时,占用宽带为超过频道分辨率,为了确保在2Mbps速率下不出现重叠,频道间隔必须设定为2M或更宽一些,250Kbps或1Mbps速率下占用宽带等于或低于频道分辨率。
无线频率由RF-CH寄存器的内容确定,可由以下公式计算得出:Fo=(2400+RF-CH)MHz
为确保相互通信,发射器和接收器须编程为同一个频率
举报

更多回帖

发帖
×
20
完善资料,
赚取积分