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.
Dear All,
I am using MSP430F6779 controller, In software - I enabled internal charger and It works perfectly, I check voltage on AUXVCC3 pin which is 3.3 volt during power on and internal charger enabled.
Also connecting 3 V battering to AUXVCC3 pin via diode. during power off condition I checked voltage on AUXVCC3 pin which is 2.9V supplied by battery.
Now my program running proper and update values of RTC during power on. But after switch off and on it, Its values go to reset.
any one has any ideas or suggestions
waiting for your reply.
Regards
Bhavdipsinh
Hi All Experts,
From Datasheet of MSP430F6779, I got below information.
Low-power mode 3.5 (LPM3.5)
– Internal regulator disabled
– No RAM retention, Backup RAM retained
– I/O pad state retention
– RTC clocked by low-frequency oscillator
– Wakeup from RST/NMI, RTC_C events, Ports P1 and P2
so In my program I am doing lots of other activities in active mode, So shall I need to switch my power mode to LPM3.5 mode when power cut down and RTC work on battery ?
Also, After Power on, do controller automatic switch into active mode from LPM3.5 mode?
waiting for your reply.
Thanks & Regards
Bhavdipsinh
Thanks Former Member
I have gone through documents for RTC_C and low power mode.
Query: is it must to make on LPM3.5 mode during main supply off and RTC module powered by battery at AUXVCC3?
thanks
Bhavdipsinh
Please, can you show the initialization code of RTC and do you passing the program to LMP mode?
You can find it in MSPWare example code. Let me know If you have any problem or error with it.
Regards
Bhavdipsinh
Thank you very much, but i saw this examples. I use msp430f67791 and I have a problem with updating RTC after power cut off. Here are my steps:
1) On start up programm I initializate RTC(I just strart it)
RTCCTL0_H = RTCKEY_H; // Unlock RTC_C module RTCCTL13 |= (RTCHOLD); // Start RTC calendar mode RTCCTL13 &= ~(RTCHOLD); // Start RTC calendar mode RTCCTL0_H = 0; // Lock RTC_C module
2) then I set RTC data
RTCCTL0_H = RTCKEY_H; // Unlock RTC_C module ... set registers RTCSEC, RTCMIN etc. RTCCTL0_H = 0; // Lock RTC_C module
3) next I put device to LPM3.5 and turn power off
// Enter LPM3.5 UCSCTL6 |= XT1OFF; // Turn off clock for LPMx.5 operation. ACLK will still // remain active PMMCTL0_H = PMMPW_H; // Open PMM Registers for write PMMCTL0_L |= PMMREGOFF; // and set PMMREGOFF //__disable_interrupt(); __bis_SR_register(LPM4_bits); // Enter LPM3.5 mode with interrupts enabled __no_operation();
but after power on I have values of RTC registers(RTCSEC...) that were at power off moment.
Please, tell me if you know, what I do wrong
Yea, I connect 3V battery to AUX3
and I got good result - RTC work without dvcc supply, but I found new problem, I describe it at several topic - MSP430f67791 RTC not count after power cut off - MSP low-power microcontroller forum - MSP low-power...
**Attention** This is a public forum