System Off [closed]

Smarto_SB gravatar image

asked 2014-08-19 17:28:46 +0100

Petter gravatar image

updated 2014-09-19 10:54:51 +0100


Can you please tell me how can I put the nRF51822 in System Off mode?

Thank you.

Edit: Format

edit retag flag offensive reopen delete report spam

Closed as "the question is answered, right answer was accepted" by Petter Myhre at 2014-09-19 10:55:19 +0100


4 answers

Sort by » oldest newest most voted
mareknovak gravatar image

answered 2014-08-19 18:40:28 +0100

When using a SoftDevice, ALWAYS use the sd_power_system_off. When the SoftDevice is running, it takes control over numerous interfaces including the internal Flash read and write. If you were using this module, I can imagine a situation where the Flash write is pending or even running and you will put the system into power off directly which may lead to Flash corruption. Using the preprogrammed "sd_" function takes care over all those issues to ensure safe system off.

edit flag offensive delete publish link more
BaN gravatar image

answered 2014-08-19 17:34:03 +0100

If you're using softdevice the call sd_power_system_off(). If you're not using softdevice then do it like this NRF_POWER->SYSTEMOFF = 1;.

edit flag offensive delete publish link more
Smarto_SB gravatar image

answered 2014-08-19 17:37:37 +0100

BaN gravatar image

updated 2014-08-19 18:33:06 +0100

thank you Nikita, can you please tell me what sd_power_system_off() do more than NRF_POWER->SYSTEMOFF=1 !?

edit flag offensive delete publish link more
BaN gravatar image

answered 2014-08-19 18:37:03 +0100

bugg gravatar image

updated 2014-12-26 02:35:01 +0100

It has the same functionality but when softdevice is enabled you have restricted access to the NRF_POWER register and you can access to it only with softdevice calls, for example sd_power_system_off(). P.S. misclicked and converted your comment to answer by mistake.

edit flag offensive delete publish link more

Question Tools



Asked: 2014-08-19 17:28:46 +0100

Seen: 2,012 times

Last updated: sep. 19 '14