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.

TM4C129ENCPDT: reset indication on a pin?

Part Number: TM4C129ENCPDT

Champs,

Can you think of a way to observe reset success/failure externally ? e.g. is there a pin that will toggle upon successful completion of the reset? I see “digital reset” mentioned in the datasheet a few times but it doesn’t explain what it is exactly (looks like it triggers start of SW execution?) and whether it is possible to observe it externally

 

thanks

Michael

  • Hello Michael,

    There isn't a pin that is built in which would indicate a reset operation having concluded so the best method would be to, immediately after clock configuration, configure a GPIO to turn on an LED.

    To do this, the following API's would be used:

        //
        // Enable the GPIO port that is used for the on-board LED.
        //
        SysCtlPeripheralEnable(SYSCTL_PERIPH_GPION);
    
        //
        // Check if the peripheral access is enabled.
        //
        while(!SysCtlPeripheralReady(SYSCTL_PERIPH_GPION))
        {
        }
    
        //
        // Enable the GPIO pin for the LED (PN0).  Set the direction as output, and
        // enable the GPIO pin for digital function.
        //
        GPIOPinTypeGPIOOutput(GPIO_PORTN_BASE, GPIO_PIN_0);
    
        //
        // Turn on the LED.
        //
        GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_0, GPIO_PIN_0);

    As some added information, if using the Hibernation module, the /HIB pin does indicate if the device is in Hibernation mode or not.

    Best Regards,

    Ralph Jacobi