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.

CC3235SF: How to do complete reset of CC3235SF through application software

Part Number: CC3235SF
Other Parts Discussed in Thread: CC3235MODSF

In CC3235MODsf,how i can reset both application controller(with its peripheral) and WiFi controller through application software.
Currently, I am facing a issue which comes very rarely. When I update the firmware over-the-air, after that its not connecting to WiFi and it keep resetting. After that when i hard reset it through reset pin,it starts working and gets connected to WiFi. This happens very rarely. I am also using watchdog timer in my application.

I am using following functions to reset after downloading TAR file :

sl_Stop(200);

/* Stop the commit WDT */
PowerCC32XX_reset(PowerCC32XX_PERIPH_WDT);


MAP_PRCMHibernateCycleTrigger();

Is above way correct?

  • The sl_Stop(200) is needed to stop the NWP and set the it in test mode. Then, the MAP_PRCMHibernateCycleTrigger should reset the device.

    After the reset, the watchdog timer will be triggered.   

    The "PowerCC32XX_reset(PowerCC32XX_PERIPH_WDT);" should be used if the new image is ok (passes some built in tests, e.g. connecting successfully to the OTA server) after it is committed (OtaArchive_commit). The PowerCC32XX_reset will clear the watchdog timer. 

    Other wise (in case of a failure during the built in tests or other issue with the new image) - you can  use OtaArchive_rollback() and MAP_PRCMHibernateCycleTrigger() or wait till the watchdog expires which will reset the device and automatically revert to the last working code.