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

How can I read RESETREAS register using a softdevice?

Hello,

I would like to know how I can identify the reason for a reset in my device, I have read about the register NRF_POWER->RESETREAS but I don't know how to check it since I am using a softdevice.

I have read as well this post but I couldn't capture the reset reason with it, thus I am turning to the NRF_POWER->RESETREAS register.

Any hints?

Thanks in advance

Parents Reply
  • Thanks again! I have GPIO and GPIOTE enable. I have some GPIO's set as ouput not input, GPIOTE is not configured to sense any pin (yet), I send my chip to sleep and I have connected an ACC to my board through and arduino board/shield on pins

     #define ADXL362_SCK_PIN   14  //D3
      #define ADXL362_MOSI_PIN  15  //D4
      #define ADXL362_MISO_PIN  16  //D5
      #define ADXL362_CS_PIN    18  //D7
      #define ADXL362_INT1      20  //D9
    

    So I think I am reading well RESETREAS register ;)

Children
No Data
Related