I am using Renesas RL78 D1A series R5F10CME MCU 80 PIN device. Configured the RTC to generate constant period interrupt for every 0.5 second i.e. half second. First time the RTC interrupt is generated and I have cleared the RIFG, RTCIF and RTCMK flags. Please note that subsequently RTC interrupt is not getting generated second time and looking for help in this regard. First time RTC interrupt is getting generated and subsequently second time RTC interrupt is not getting generated. I am using E2 Studio with E1 emulator to debug the developed source code with R5F10CME MCU with 80 Pin on the target board. Please help me in this regard.
Please find the initial configuration code of RTC
Please find the following RTC Interrupt Service Routine in which RIFG, RTCIF and RTCMK flags are cleared to generate RTC interrupt again.
Please find the main() function in which RTC functionality defined and count to 0x14 i.e. 20 in decimal to have 10 seconds in steps of 0.5 seconds.