Hello All,
I am using MSP430F5659 processor with its VBAT connected to a battery. I am using RTC_B module to store calendar information. I have noticed that whenever nRST pin is used to reset the processor, the time in RTC_B is reset.
The following condition fails every time the processor is reset.
if((BAKMEM0 == 0xDEAD) && !(RTCCTL01 & RTCOFIFG) && (RTCCTL2 & RTCCALS)) //backup not lost
Questions:
1. Why is RTC_B not retaining the information even though VCC and VBAT are always on?
2. I have noticed that noise on the TST JTAG pin also resets the processor and invalidates the calendar information in RTC_B. What is the link between TST JTAG pin and RTC_B?
Thanks,
Anvesh