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.

MSPM0G3507: About the WWDT

Part Number: MSPM0G3507

Hi team,

 I am using the SDK "mspm0_sdk_1_10_01_05" and the example is "wwdt_window_mode_periodic_reset".

I see it used a timer to feed the wdt and toggle the led. But I wanna see that if i don't feed the WDT , will the cpu reset?

If the cpu reset, will my programe rerun?(run again and again)

Just see those lines. I download this program to my launchpad. And the led doesn't toggle.

So why?

Cpu reset will not run the programe?

And by the way, "DL_SYSCTL_resetDevice()" Could this function reset cpu? How to use it.

Thank you so so much!

  • Hello,

    1), If you don't feed the WDT, the CPU will reset every 500 ms. When the CPU resets, your program will rerun and the GPIO connecting the LED will be reset to high level. After a very short period of time (processing three instructions, about 9 μs), the GPIO connecting the LED will be set to low level. After 500 ms, the CPU will be reset and the above processing has been repeated. Because the time of GPIO maintaining high level is so short, it is difficult to observe the toggle of LED with your eyes. Please use oscilloscope or logic analyzer to observe the GPIO.

    2). The usage of "DL_SYSCTL_resetDevice()" is as shown in the figure.

    BR,

    Janz Bai

  • Thank you Janz! My problem has been resolved.