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

Nrf51 with android and ios

Hi, someone know whi when i press disconnect on iphone the nrf51 restart from the mail?! Why if i disconnect android device the chip does not restart as the iphone?! is normal?!

another question: the chip is in sleep mode current comsumpion = 0.35 UA

Why when I press button to wakeup, the chip restart from the main? is normal?!

Regards Enrico

Parents
  • Wakeup always resets nRF. In order to differentiate reset reason you need either use sd_power_reset_reason_get() function on startup or use NRF_POWER->GPREGRET register which is not corrupted during reset/wakeup. As for unit reset on disconnect, you need to debug what error resets device. Put breakpoint in app_error_handler() or check what you do on disconnect event.

Reply
  • Wakeup always resets nRF. In order to differentiate reset reason you need either use sd_power_reset_reason_get() function on startup or use NRF_POWER->GPREGRET register which is not corrupted during reset/wakeup. As for unit reset on disconnect, you need to debug what error resets device. Put breakpoint in app_error_handler() or check what you do on disconnect event.

Children
No Data
Related