Hello,
I am using a TI MSP430 5522 in our design. I have noticed infrequently that the processor has reset. Upon looking at a capture of the SYSRSTIV register I see that a SVSL and a SVSH have occurred (in that order).
Looking at www.ti.com/.../slau387d.pdf it states A PUC is always generated when a POR is generated, but a POR is not generated by a PUC. A watchdog timeout is a PUR event. So this seems to indicate to me that a watchdog timeout could NOT be the cause of the SVSL and SVSH events since SVSL and SVSH e are POR events.
I am questioning this due to an older post (5 years ago) https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/67916 where it was posted:
Markus,
From the User's Guide I see that a PUC (as in a key violation) causes the SVSHE and SVSLE bits to be set. In your case the supervisor circuitry has not been "up" because you had the supervisors off. Perhaps the SVS delay mechanism (used automatically when software changes the SVS registers) doesn't work properly in this case and the supervisors immediately cause POR. It just so happens that POR clears the KEYV and WDTIFG bits, which would explain why those sources never show up in the SYSRSTIV register.
Anything that causes a PUC would have the same results in your application. Even a watchdog timeout would look like an SVS reset.
I don't immediately see a workaround that allows proper detection of a watchdog timeout. You may just have to leave the supervisors on.
Jeff
I can not find this in any documentation.
Which is correct?
Thanks for any information.
Brent