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

Soft Device fault diagnosis assistance NRF52832

Hi, I am running NRF5_SDK_13.0.0_04 and s132_nrf52_4.0.3 on a custom board.

I am getting a Soft Device Fault on an NRF52832 device that I am not able to root cause.   This occurs randomly and is not isolated to a single board/device.   I have went days or even weeks before I have seen the fault occur where it hits the fault handler.  I was finally able to capture it while running the Keil debugger and break in the fault handler so I have as much info as I can on how to diagnose it.   Unfortunately, the call stack does not yield any useful information.  I've attached a picture of the register state and fault information, but I think I need help to determine if anything meaningful can be derived from the state I am left in here.  I have an active debug session right now that can be used to obtain further information if it would be helpful.  This takes so long to reproduce that I don't want to lose anything until as much can be learned as possible.  

Thanks in advance for any ideas on where to go next,

Tim

Parents
  • Hello,

    I can see that the error occurs in the radio event manager, the error is typically seen if the application for some reason prevent the softdevice interrupts to occur as scheduled, so you should look into if you may be disabling interrupts. Also I recommend to update to S132v4.0.5 (this is simply replacing the softdevice binary from v4.0.3->v4.0.5) due to various bug fixes.

    Best regards,
    Kenneth

Reply
  • Hello,

    I can see that the error occurs in the radio event manager, the error is typically seen if the application for some reason prevent the softdevice interrupts to occur as scheduled, so you should look into if you may be disabling interrupts. Also I recommend to update to S132v4.0.5 (this is simply replacing the softdevice binary from v4.0.3->v4.0.5) due to various bug fixes.

    Best regards,
    Kenneth

Children
Related