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.

MSP430F6779A: About stop watchdog during start up in function _system_pre_init

Part Number: MSP430F6779A

as we have use ccs IDE with low level process initial function _system_pre_init that stop watchdog below.


#1 Stop watchdog in _system_pre_init

int system_pre_init(void)
{
    /* Insert your low-level initializations here */
    __disable_interrupt();
    WDTCTL = WDTPW+WDTHOLD; // Hold watchdog

    return 1;
}

if we change to start watchdog interval 1 second. Is it better?

#2  Start watchdog  1 second in _system_pre_init

#define DEF_WDTCTL_START_1S (WDTPW + WDTSSEL_1 + WDTCNTCL + WDTIS_4)

int system_pre_init(void)
{
    /* Insert your low-level initializations here */
    __disable_interrupt();
    WDTCTL = DEF_WDTCTL_START_1S; // start watchdog interval 1s

    return 1;
}


If in this state in _system_pre_init, the power supply in not stable yet (the Vsys can drop below 1.8 V).
Can we enable watchdog in this time?

**Attention** This is a public forum