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

nrf52832 device reset

I read several posts on devzone and figured out a workaround for errata 220.
I am going to test this after applying it.
But the test takes time. So, I would like to hear the answer first.
What happens when the errata 220 is triggered?

Currently, some of my ble devices are reset while in use.
When I read the reset register, there is nothing, so I am guessing it is POR or BOR.
However, it is difficult to reproduce in multiple tests.

Is there a chance it will reset when the errata 220 is triggered?

Parents
  • Hi

    I discussed this with a colleague, and this MCU reset could be connected to this erratum if one of the below two cases cause it:

    1. The corrupted link register points to the address in code memory where a reset is executed.

    2. The corrupted link register points to a garbage value with an illegal instruction causing a hardfault and the hardfault handler does the MCU reset explicitly.

    In any case, it should be possible to detect the reset cause by looking into the reset reason register (1. Soft reset, 2. hardfault).

    Best regards,

    Simon

Reply
  • Hi

    I discussed this with a colleague, and this MCU reset could be connected to this erratum if one of the below two cases cause it:

    1. The corrupted link register points to the address in code memory where a reset is executed.

    2. The corrupted link register points to a garbage value with an illegal instruction causing a hardfault and the hardfault handler does the MCU reset explicitly.

    In any case, it should be possible to detect the reset cause by looking into the reset reason register (1. Soft reset, 2. hardfault).

    Best regards,

    Simon

Children
Related