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

Device restarting for no obvious reason

Hi, 

When I connect my device to an external power supply, it restarts randomly. It sometimes happens once every minute, sometimes once every 10 minutes. I couldn't find a pattern. 

Is there a way to figure out the reason somewhere in the software? I'm almost sure this is not a 100% HW issue, I changed a lot of things today in the SW only, and yesterday the device was not restarting :( However, when I just power it from the USB it does not restart.

Please, give me some advice. I will try to change the power supply but for now I only have one.

Thanks

Parents
  • Hi,

    See this post.

    You can also check the reason for a reset in the RESETREAS register, in case this is caused by HW issue and not a soft reset executed by software.

    Best regards,
    Jørgen

  • To be fair the impulse on the GPIOTE input pin could (i guess) happen more oftern than 100 times per second. This signal comes from zero crossing detection of a AC current (50hz). It is izolated by an octocoupler, but I guess if there is some noise in AC the timer could overlap, I mean - new signal to start the time could come before the timer expires. But then again - this theoretically should be no problem.

    What if there is noise on the power supply of the NRF51 dongle. I provide the 3V3 to it from a regulated power supply that is again, powered from the same AC network (230VAC -> 3V3 DC). Can this cause problems? 

    I lack some tools to make sure the power source is rock solid to eliminate this for now. Just looking for ideas.

Reply
  • To be fair the impulse on the GPIOTE input pin could (i guess) happen more oftern than 100 times per second. This signal comes from zero crossing detection of a AC current (50hz). It is izolated by an octocoupler, but I guess if there is some noise in AC the timer could overlap, I mean - new signal to start the time could come before the timer expires. But then again - this theoretically should be no problem.

    What if there is noise on the power supply of the NRF51 dongle. I provide the 3V3 to it from a regulated power supply that is again, powered from the same AC network (230VAC -> 3V3 DC). Can this cause problems? 

    I lack some tools to make sure the power source is rock solid to eliminate this for now. Just looking for ideas.

Children
No Data
Related