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

How to perform reset on nRF51822 chip?

We have made a custom board using nRF51822 connected to a MPU6050 accelerometer running on a battery.

Currently, we have issues performing reset on the chip. We have to reload the firmware to reset it. Is there a way to reset the device through unplugging the board from the battery then plugging it back on?

Parents
  • I'm having a similar issue using a MPU-6050. I initialize the IMU (set acceleration range, gyroscope range, etc) at startup, but I check that it wasn't initialized before using a global variable. The variable is initialized in 0 and after initializing the MPU is set to 1. When I power cycle the nRF (disconnect and reconnect the battery), the value of the variable is not set back to 1, thus not initializing the MPU. If I reset the nRF using Jlink, the variable is correctly set to 1 after reseting.

Reply
  • I'm having a similar issue using a MPU-6050. I initialize the IMU (set acceleration range, gyroscope range, etc) at startup, but I check that it wasn't initialized before using a global variable. The variable is initialized in 0 and after initializing the MPU is set to 1. When I power cycle the nRF (disconnect and reconnect the battery), the value of the variable is not set back to 1, thus not initializing the MPU. If I reset the nRF using Jlink, the variable is correctly set to 1 after reseting.

Children
No Data
Related