How to Know the BLE stack Hand up and stack delayed situation before Reset occurs

Hi Team,

We are working on nRF52840 SOC with BLE functionalities.

We need the mechanism for to find out the BLE or BLE Stack is in Hanging state before the processor is going to Reset the board.

We have any specific Registers or any other way to know this condition.If you know before we will address the situation and giving message to some reset circuit with out waiting for system Reset.

Suppose BLE stack or SD along with Controller is in hanging state or stuck up state is there any way to know it advanced. So that we will take action and update the status to User.

Regards,

Srinivas.V

Parents
  • I don't see any other way than to try to implement this by some software solution, e.g. that you have a app_timer that just increment some timing variable, then in main while loop you can read this timing variable to a latest time variable, and then you can have a high priority interrupt that check compare the timing variable with the lates timing variable, and if you see that differ by a lot then you will know that someting is hanging causing the code not to reach the main loop.

    Kenneth

Reply
  • I don't see any other way than to try to implement this by some software solution, e.g. that you have a app_timer that just increment some timing variable, then in main while loop you can read this timing variable to a latest time variable, and then you can have a high priority interrupt that check compare the timing variable with the lates timing variable, and if you see that differ by a lot then you will know that someting is hanging causing the code not to reach the main loop.

    Kenneth

Children
No Data
Related