AnsweredAssumed Answered

In LPC4357 – is it possible to generate RTC interrupt every second and once in 2 minutes generate RTC alarm interrupt  (or once in a hour etc.) ?.

Question asked by S S on May 6, 2019
Latest reply on Jun 10, 2019 by Sebastian Delrio

Hi,

We have configured the RTC to generate interrupt for every second. Set ALRM mask registers such that it generates alarm interrupt only when seconds match and set the seconds to 59 and it generates alarm interrupt for every 59 seconds. Now want to test generating alarm interrupt once in 2 minutes and changed the alarm mask register (0xfd) and set the alarm register for 2 minutes.  Now alarm interrupt occurs only once, while RTC interrupt occurs every second. Any idea?  

Thanks

Outcomes