Hii
I am using LPO 1khz clock for rtc and lptmro as delay counter .
the moment i turn on the 1sec delay using LPTMR0 .the interrupts never trigger.
if i remove rtc from my code the lptmro interrupt is working fine.
Can you suggest what is the bug in my code.
Regrads
Mudit Mittal
Hi@Mudit Mittal
first ,I didn't modified your code
And I have tested your code, the LPTMR interrupt hander "delay_irq()" can be entered every second.