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.

CC2640 start SBL by soft reset

Other Parts Discussed in Thread: CC2640

Hello,

I am using CC2640 and would like to do a software reset to SBL but keep the output pin unchange.

I need an output pin of the CC2640 to stay high (without external pull-up) in both application to SBL.

Can I use the following code to reset CC2640?

#define HAL_SYSTEM_RESET()  (HWREG( AON_SYSCTL_BASE + AON_SYSCTL_O_RESETCTL ) |= AON_SYSCTL_RESETCTL_SYSRESET_M);

If no, is there any other reset method to go to SBL but keep my output pin high?

Thanks,

Benson