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.

CC2340R5 : How to restart CC2340R5 from application.

Other Parts Discussed in Thread: CC2340R5

SystemReset() is not working for CC2340R5. Is there any other way to restart chip? 

  • Hi Amit,

    Thank you for reaching out.

    With CC23xx SDK 6.40 and newer, the device can be reset from the application using the SystemReset() macro when defined as below:

    #include DeviceFamily_constructPath(inc/hw_memmap.h)
    #include DeviceFamily_constructPath(inc/hw_pmctl.h)
    
    #define SystemReset()        __disable_irq();  HWREG(PMCTL_BASE + PMCTL_O_RSTCTL) |= PMCTL_RSTCTL_SYSRST_SET;  while (1) {}
    

    Please note, when the debugger is attached, it prevents reset.

    I hope this will help,

    Best regards,