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.

CCS/TM4C1294NCPDT: (POR) Power on Reset

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

I know that it is possible to perform a software reset using the SysCtlReset() command.

Would it be possible to perform the POR(Power on Reset) on the TM4C1294? As if using the RST pin.


  • Hi Simion,

      You can only generate simulated POR if the reset source comes from nRST pin, Brown-out or Watchdog. You cannot generate simulated POR for software reset. 

  • I decided to try to use the watchdog just to trigger the POR, I know it is not a usual way to do this, but look what I did. I set up the following function:

            void POR_RESET(void) {
                ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_WDOG0);
                ROM_IntEnable(INT_WATCHDOG);
                ROM_WatchdogReloadSet(WATCHDOG0_BASE, g_ui32SysClock);
                ROM_WatchdogResetEnable(WATCHDOG0_BASE);
                ROM_WatchdogEnable(WATCHDOG0_BASE);
                while(1)
                {
                    /* loop */
                }
            }

    and in the handler function, I just left it empty:

    void WatchdogIntHandler(void){
        /* empty */
    }

    It works! My question is, is there a problem with this solution?

    Remembering that I don't use watchdog in my code.

  • Hi,

      That is what I would have suggested too, using WD. Please note that the WD will not generate NMI as you configure to generate Reset instead. So the WatchdogIntHandler should never be entered