My nRF51 will occasionally lose connection to the computer, and I have to disconnect and then reconnect it before it will work. How can I reset the device dynamically, without having to physically disconnect the device?
My nRF51 will occasionally lose connection to the computer, and I have to disconnect and then reconnect it before it will work. How can I reset the device dynamically, without having to physically disconnect the device?
You can use sd_nvic_SystemReset() (if using the softdevice) to reset the device. Otherwise NVIC_SystemReset() (if not using the softdevice).
Also can take a look at this: devzone.nordicsemi.com/.../