This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to set a system reset by software in CC2640?

Other Parts Discussed in Thread: CC2640

Hi,

Based on my knowledge of CC2640,  the clock of watchdog is from 24M/48M OSC, so it could not support during standby mode while 24M/48M inactive. Any misunderstanding here? Is there any possible that make watchdog working with 32K OSC to make it also effective during sleep mode?

Now, to reduce the probability of system going to crash, I suggest customer to add in a system reset by periodical period, like 6 hours. Could you help review any problem with the code?

if(events&SBP_PERIODIC_EVT)
    {
      events &= ~SBP_PERIODIC_EVT;
      Util_startClock(&periodicClock);
      uint32_t time100MiliSec=0;
      time100MiliSec = UTC_getClock();
      if(time100MiliSec>RESET_TIME)
      {
         SysCtrlSystemReset();
      }
    }

 Vivian