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.

MSP-EXP430FR2355: issue with Watchdog timer

Part Number: MSP-EXP430FR2355
Other Parts Discussed in Thread: MSP430FR2355

Hello team,

We are working on watchdog timer for MSP430FR2355. can we modify WDT time from 32msec to user defined in Watchdog mode?

or we need to use WDT in interval mode to generate a PUC or is there any other work arround ? very thankful if you provide any suggestion through example.

  • Hello vamshi b,

    According to the MSP430 user's guide, the WDT timeout is 32ms based on the SMCLK.  It is possible to select a different clock source and divisor to generate a different "timeout" that can be used to either generate a reset or, if configured in interval timer mode, an interrupt.

    Does this answer your question?

  • Thank you for the reply,

    I tested with the above intervals with WDTIS_5 (2^13) that too in SMCLK (1 Mhz). Now i'm getting waveform as below which is beyond my expectation. my expectation as per WDTCTL register is

    2^13/1Mhz = 8.1msec. but result is above 10msec. Am i mistaken in calculation?

    what exact calculation for different clock source behind this? any help would be very thankful.

      

  • Hi vamshi,

    How are you generating the waveform in the scope plot?

    I assume you have the WDT running in interval mode and you are monitoring a GPIO pin. Do you set this pin high somewhere early in main and when the WDT timesout you clear this pin? Do you configure the system clocks first?  Can you share your code?

  • Hi vamshi,

    I see your other posting with code example.  I will respond to that thread.

  • Closing this thread.

    Click the "This did NOT resolve my issue" button and reply to this thread with more information if you need further assistance with this issue.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

**Attention** This is a public forum