Part Number: MSP430F6736A
Tool/software: TI C/C++ Compiler
MY RTC INTERRUPT IS NOT WORKING IN LOW POWER MODE (LPM3)
MY RTC INTERRUPT FLAG (RTCRDYIE ) IS ENABLE
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.
Part Number: MSP430F6736A
Tool/software: TI C/C++ Compiler
MY RTC INTERRUPT IS NOT WORKING IN LOW POWER MODE (LPM3)
MY RTC INTERRUPT FLAG (RTCRDYIE ) IS ENABLE
Hi,
from your description a failure analysis is quiet hard. So I have a couple of questions.
1) Have you enabled the global interrupts?
2) Is the code based on TI software example codes?
Please also see our code examples for peripherals: dev.ti.com/.../
Best regards,
Andre
Hi sir,
Thanks for your reply,
i attach the part of code,
In Sleep Mode I disable the interrupt by the given instruction,
and enter in LPM3 mode,
RTCCTL0_H = RTCKEY_H; // Unlock RTC_C module
RTCCTL0_L &=~(RTCRDYIFG);
RTCCTL0_L &= ~RTCRDYIE; // read ready interrupt
RTCCTL0_H = 0;
__bis_SR_register(LPM3_bits| GIE); // Enter LPM3
and in battery mode i come out from LPM3 mode again and again,
having RTC interrupt enable ,
__bic_SR_register_on_exit(LPM3_bits);
but in LPM3 mode rtc interrupt is not comming and having rtc interrrupt enable,
**Attention** This is a public forum