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.

CC3200: How to do the clean reboot of the CC3200 without using the watchdog

Part Number: CC3200


May i know how to  do complete system reboot without using watchdog.

use case is like : After OTA i need to reboot the system and also after AP mode configuration i want to reboot the system 

  • See RebootMCU() in the ota_update example (in the SDK).

    //****************************************************************************
    //
    //! Reboot the MCU by requesting hibernate for a short duration
    //!
    //! \return None
    //
    //****************************************************************************
    static void RebootMCU()
    {
    
      //
      // Configure hibernate RTC wakeup
      //
      PRCMHibernateWakeupSourceEnable(PRCM_HIB_SLOW_CLK_CTR);
    
      //
      // Delay loop
      //
      MAP_UtilsDelay(8000000);
    
      //
      // Set wake up time
      //
      PRCMHibernateIntervalSet(330);
    
      //
      // Request hibernate
      //
      PRCMHibernateEnter();
    
      //
      // Control should never reach here
      //
      while(1)
      {
    
      }
    }