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.

Why my watchdog is disabled by default?

Other Parts Discussed in Thread: CONTROLSUITE

Hi, I am writing some code to tell whether the MCU was reset by watchdog. Base on the document, it seems quite straight forward, just checking WDFLAG bit in WDCR. But my code just does not work.

I check WDCR at the first line of my main(), but everytime WDCR shows 0x0040 here. I can even see that WDCR changes to 0x0080 after I issues a software reset based on watchdog, it changes back to 0x0040 when it enters main. 

0x0040 means that watchdog is disabled, but base on the document, WDDIS should be enabled on reset.(On reset, the watchdog module is enabled.) Why my watchdog is disabled by default after reset, and then why WDFLAG can not survive? Is there any registers else needs to be set/configured?

By the way, my SCSR shows 0x0005 always, and it seems correct.

My project is on F28335 with SYS/BIOS.