Other Parts Discussed in Thread: MSP430F2272
I am running a MSP430F2272 CPU using CCS 5.3. I have a question about the watchdog.
I have the clocks set up as follows:
MCLK = 8MHz (can’t confirm by scope, this is clock not supported for hardware debug on this CPU)
SMCLK = 2MHz (confirmed by scope using CPU pin to show the clock externally)
ACLK = 32kHz 2MHz (confirmed by scope using CPU pin to show the clock externally)
My question is about the watchdog timeout if in the watchdog control register the WDTIS bit has any effect for watchdog operation.
I was thinking that if the ACLK is 32768Hz, and I set the watchdog register WDTCTL to WDTPW + WDTCNTCL + WDTSSEL; the clock would be divided by 32768 due to the WDTIS field in the WDCTRL register. With the settings as described above where (ACLK=32kHz) and (WDTCTL = WDTPW + WDTCNTCL + WDTSSEL), the watchdog times out almost instantly as far as I can tell in the debugger. I assume the timeout is really 1 second and that that field WDTIS has no effect in watchdog mode. I am referencing the document SLAU144l Jan 1012 and the watchdog is described in Ch10. Is that assumption correct that the WDTIS field has no effect in watchdog mode? Based on my settings, what is the expected watchdog timeout?
Thanks,
Doug