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.

C5505 RTC ms interrupt problem



Hello,

I have problem to set up the interrupt system to be my RTC interrupt routine called every millisecond. When I write value 0x0002 to RTCINTREG register my RTC interrupt routine is called every second. Super! But if I write value 0x0003 or 0x0001 to RTCINTREG register my RTC interrupt routine is never called. I have checked that RTC interrupt is enabled - there is value 0x0001 in RTCINTEN register, bit 2 in IER1 is set, interrupt is globally enabled. Although RTCINTFL register indicates, that second and millisecond event interrupt has occured (value 0x0003), bit 2 in IFR1 remains 0. Do you have an idea why?

Jirka