Hi
Most likely RTC function RTC_ConstructUnixAlarmTime contain error:
/* Calculates Year value of first Alarm based on current time and Alarm Config Mask */
tmpCurVal = RTC_1_GetYear(curDateTime.date);
if(0u != ((~((uint32)alarmCfgMask)) & RTC_ALARM_MONTH_MASK)) should be: RTC_ALARM_YEAR_MASK
But maybe I'm wrong?
Thnx.
Solved! Go to Solution.
Hi @VaIk_2708246,
Yes you are right. We have filed an internal ticket to fix this. Thank you for your interest in Cypress products.
Thanks and Regards,
Aashita
Hi @VaIk_2708246,
Yes you are right. We have filed an internal ticket to fix this. Thank you for your interest in Cypress products.
Thanks and Regards,
Aashita