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.

MSP430F5659: RTC_B Calender data is NOT valid if processor is reset by RST pin

Part Number: MSP430F5659

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

  • Hi,

    1. I think you can refer to the user guide. Some register will affected by reset.

    2. All the things I come up with Test pin is that, it is the entrance to JTAG, SBW and BSL mode. It may be this situation: enter SBW. I advice you can add a capacitor to the TEST pin.

    Eason

**Attention** This is a public forum