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.

WDT_A in Watch dog mode is not functioning properly

Other Parts Discussed in Thread: MSP430F5438A

Dear All,

             Our  device is turning OFF when reset is initialized by the WDT TIME_OUT expiration.

       In our design we have used MSP430F5438A controller. We are implementing the Watch dog function to perform controlled restart after device hangs due to some unknown reasons. Now I am verifying the functionality to restart our device after 16 sec.

I have added the following line of code in our code to restart our device after 16 sec.

WDTCTL = (WDTPW+WDTCNTCL+WDTSSEL0+ 0x0003);

     But I am facing issue when the device is turned OFF after updating the firmware, and then Turned ON.  I have observed with the help of LED indication that the device is restarted after 16 sec, after after few initial HW initialization device is getting turned OFF.

           The WDT functionality works perfectly fine during the updating the firmware using Code composer studio while debugging. The device is restarting at regular interval of 16 sec every time.

I am unable to understand what could be the issue is?.

      Please reply as ASAP.

Thanks and Regards.

Bhairu

   

  • So you want the device to always restart after 16sec.
    When you use debugger it does just that forever, without it may do it a few times but then stops.

    Resetpin tied to Vcc with 47K resistor?
  • Dear Tony Philipsson,

              Thank you for your quick reply. Yes, I Wanted the device to always restart after every 16 sec. Once this implementation  is successful, Then I will clear WDT before 16 sec so that device will get restarted only if the code hangs due to unknown reason. I wanted to make sure that my device should be functional in all cases, all the time.

      Yes, Reset  pin has tied to 3V power rail via 47k resistor, and here below is the schematic.

              Please let me know as ASAP, How this issue can be fixed. Please reply at the earliest.

    Thanks and Regards,

    Bhairu

**Attention** This is a public forum