NRF52832与SI24R1,NRF24XX通信分析

时间:2019-4-11 分享到:

F51可以支持基于2.4G的互相通信、与NRF24LE1的通信、与NRF24LU1的通信、与NRF24L01的通信。

一、nRF51822基于2.4G和nRF51822通信
  其中nRF51互相通信和之前用51操作nRF24L01很像,涉及到的只有几个核心的函数:
o    nrf_esb_init---初始化ESB
o    nrf_esb_enable---使能ESB
o    nrf_esb_add_packet_to_tx_fifo---将数据送入发送队列
 如果想知道发送是否成功等状态可以用:
o    void nrf_esb_tx_success(uint32_t tx_pipe, int32_t rssi)// If an ACK was received, we send another packet.
o    void nrf_esb_tx_failed(uint32_t tx_pipe)
o    void nrf_esb_rx_data_ready(uint32_t rx_pipe, int32_t rssi)
o    void nrf_esb_disabled(void)

  整个架构比较简单:技术支持:13682455391:2355239042

 NRF52832与SI24R1,NRF24XX通信分析

F51可以支持基于2.4G的互相通信、与NRF24LE1的通信、与NRF24LU1的通信、与NRF24L01的通信。

一、nRF51822基于2.4G和nRF51822通信
  其中nRF51互相通信和之前用51操作nRF24L01很像,涉及到的只有几个核心的函数:
o    nrf_esb_init---初始化ESB
o    nrf_esb_enable---使能ESB
o    nrf_esb_add_packet_to_tx_fifo---将数据送入发送队列
 如果想知道发送是否成功等状态可以用:
o    void nrf_esb_tx_success(uint32_t tx_pipe, int32_t rssi)// If an ACK was received, we send another packet.
o    void nrf_esb_tx_failed(uint32_t tx_pipe)
o    void nrf_esb_rx_data_ready(uint32_t rx_pipe, int32_t rssi)
o    void nrf_esb_disabled(void)

  整个架构比较简单:技术支持:13682455391:2355239042

 NRF52832与SI24R1,NRF24XX通信分析

">
版权所有:https://www.dianrong1.com 转载请注明出处