This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to turn radio off in proprietary mode (nrf_esb)?

We make the project where we want to connect new device (currently designing on nRf52832) to existing system made on nRF24.
It's a beacon in proprietary mode. It should periodicaly wake up, send Req, receive Ack, (sometimes another one Req/Ack) and going sleep back.

The main device on nRf24 listen the radio full time. So we just need to control the beacon.

There are we have some questions:

  • How to turn radio off in ESB mode? (for low power, when sleep)
    • I think we can use nrf_esb_suspend  or nrf_esb_disable, but i'm not sure it the right solutiuon.
  • Periodically we lost second Ack in dialog between nRF52832 and nRF24. What can lead to it?
Parents Reply
  • hi everybody, 

    i don't understand how to fit it in my programm. 

    I have a time base made by Timer, and the programm RX mode switching between on and off(low power mode).

    I'm not able to turn it off. 

              handler time base called by the timer: 
               
                on(LED);
    			rf_proprietary_rx_start(); // nrf_esb_start_rx();
    			while(rf_proprietary_rx_get_counter() != 0);
    			rf_proprietary_rx_stop(); // nrf_esb_stop_rx();
    			off(LED);

    It does not work right.

    Thanks

Children
No Data
Related