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.

MSP432E401Y: Software reset

Part Number: MSP432E401Y


Hi,

I want to run a software reset on my device, but have been looking through the MSP432E401Y User guides and cannot find anywhere it mentions it. I have found for other MSP432 devices that you can do "A write to WDTCTL with any value other than 05Ah in the upper byte is a password violation and causes a PUC system reset", but my device's user guide does not seem to have a mention of this. Any help would be appreciated, thank you.

  • The software reset for the MSP432E4 is in the APINT (Application Interrupt and Reset Control) register . You also need to set the VECTKEY to the key value in order to make changes. So, the write value becomes:

    Add: #include <ti/devices/msp432e4/driverlib/inc/hw_nvic.h> to INCLUDES
    Then add:
    HWREG(NVIC_APINT) = NVIC_APINT_VECTKEY | NVIC_APINT_SYSRESETREQ;

    Or, just use the driverlib call to do this :
    SysCtlReset(void);

    -Bob L.

**Attention** This is a public forum