Hi Anjana, On quick code reading, I think you are right. We have only used RTC_SET_PERIODIC and RTC_CANCEL_PERIODIC in pairs and as a third alarm so have not noticed this before.
Could you please submit a patch or PR when satisfied with your testing. Best Regards, Juha ________________________________ From: Anjana <anj...@tataelxsi.co.in.INVALID> Sent: Friday, March 6, 2020 2:08 PM To: dev@nuttx.apache.org <dev@nuttx.apache.org> Subject: RTC Periodic interrupt issue Hello Team, We were testing periodic interrupt for RX65N, and observed that in function rtc_periodic_callback() in rtc.c file, alarminfo->active = false; As per my understanding, alarminfo->active = false;, this will kill the signal, which will disable the interrupt. In effect, periodic interrupt will behave like alarm interrupt. So, alarminfo->active = false; should not be used in rtc_periodic_callback() Please confirm Regards, Anjana ________________________________ Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient of this message , or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Email transmission cannot be guaranteed to be secure or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender, therefore, does not accept liability for any errors, omissions or contaminations in the contents of this message which might have occurred as a result of email transmission. If verification is required, please request for a hard-copy version. ________________________________