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