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

how to enter "power down" mode in nrf52832

Hello,

I was using the nrf24LE1 where i used hal_nrf_set_power_mode() to set the radios' power down mode. Options are power-up and power-down. This is when i was using the HAL_NRF library.

Now I am migrating functionality to the nrf52832 in ESB mode (not using soft device) and I want to perform the same power down function. What function do I use?

Also, is there a way to correlate the functions in HAL_NRF to NRF_ESB when migrating

Parents
  • Hi Ed

    The nRF24LE1 radio power mode (inherited from the nRF24L01+) doesn't really exist in the nRF5x series. Instead you have two global power modes (system on and system off), and individual enable/disable states on the different peripherals.

    Only system on sleep allows peripherals like the radio and timers to run (for examples of doing power management without a SoftDevice, refer to this example).

    If you enter system on sleep the base current is only around 2uA, but any peripheral that is running will add to the total. The ESB library should be relatively low power in TX mode, but if you have the receiver enabled it will increase the current consumption significantly.

    There is no proper migration guide from the HAL_NRF library to the new ESB library, but the ESB user guide on the info center is obligatory reading if you are using nrf_esb.

    You can also compare the examples in the nRF5 SDK to the ones in the nRF24LE1 SDK, since they are designed to be compatible.

    Best regards
    Torbjørn

  • thank you - this answers all my questions on this topic

Reply Children
No Data
Related