Hello. We are now starting our review to customize code for the pending use of the Nordic devices in low power mode. Have a mix of Nordic kits now. Using the nRF52832 (PCA10040) kit, downloaded the nRF5_SDK_14.2.0 which offers the ram_retention demo for PCA10040 and PCA10056 (nRF52840 based kit).
The nRF52840 pre-compiled hex file appears to work as documented when applied on the PCA10056 nRF52840 Preview DK.
LED #1 turns ON upon a reset -> a few seconds later -> LED #1 turns OFF. All LEDs are OFF. PB # 1 press turns on LED #2. This is the correct behavior.
Repeat the above using the factory PCA10040 firmware (nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\examples\peripheral\ram_retention\hex) on the nRF52832 kit and the results are:
LED #1 turns ON upon a reset -> a few seconds later -> ALL LEDs turn ON (this is wrong behavior). PB # 1 press turns on LED #2. This is the correct behavior.
In attempting to debug to the best of our limited knowledge, the hard fault is being triggered - if we comment out that routine, the "all leds on" is no longer being enabled.
What is the issue here? Something local with our kit or silicon revision?
What we wish to achieve is to place the pending nRF52832 based module to sleep to save power (wish to run off coin cell battery for as long as possible) -> upon receiving a port pin toggle / trigger -> wake up the Nordic based module and broadcast a value of xx and than back to sleep again. For now, wish to evaluate the power down / up modes.
Will keep testing and update this post if the results change for the better
Thanks in advance for any feedback.