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.

CC3220SF-LAUNCHXL: software reset

Part Number: CC3220SF-LAUNCHXL

What is the best way to reset the cpu by software?

i need the command to reset the cpu.

  • Hi Asaf,

    When using the power driver from TI drivers (implemented as the power manager), you can call powerShutdown(uint32_t shutdownTime) to put the system into hibernate.

    This performs actions to set a wake signal and configure peripheral states before putting the CPU in shutdown. The lower-level call used by the function to put the system into hibernate is MAP_PRCMHibernateEnter().

    Best Regards,
    Ben M
  • Hi,

    i use TI RTOS, the function powerShutdown(uint32_t shutdownTime) used by the RTOS?

    what is the different between PRCMHibernateEnter() and PRCMHibernateCycleTrigger()?

  • Hi Asaf,

    I'm not sure I understand the question. This function is defined in the platform.c file and calls the Power TI Driver for CC3220. This driver can be used both with or without RTOS (TI-RTOS).

    If called directly, PRCMHibernateEnter() can be used for putting the device in hibernate indefinitely (until a wake up source brings the device out). The PRCMHibernateCycleTrigger() can be used to just put the device in hibernate long enough for a reset (not indefinitely). This function will configure the RTC to bring the device out of reset after the necessary sleep time.

    The powerShutdown() function does the same thing, but it also maintains the power manager state and lets the user specify the sleep duration. I recommend using this method when possible.

    Best Regards,
    Ben M