1 Reply Latest reply on Aug 9, 2020 9:39 PM by AlakanandaB_86

    I'm trying to set two alarms with the RTC. I'm currently using CYBLE-416045-EVAL EZ-BLE.



      I figured out with the example code PSoC 6 MCU – MCWDT and RTC Interrupts (Dual CPU) how to set an alarm that goes to the function Cy_RTC_Alarm1Interrupt() and now copied it down so I could use Cy_RTC_Alarm2Interrupt() with a different alarm. I can only have one alarm active at a time and I believe its due to Cy_RTC_SetInterruptMask(CY_RTC_INTR_ALARM2) disabling the alarm 1 interrupt. Is there a way I can use the RTC to have 2 different alarms with two different interrupts?


      Thank you,