2038522_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2038522_en-US

2038522_en-US

RTC callback function cannot be triggered

I am using the S32K344 chip and plan to use RTC to generate logs with timestamps and store them in the SD card, but I am unable to access callback functions.1.png

Re: RTC callback function cannot be triggered

Yes, I did all of these。

2.png3.png4.png

Re: RTC callback function cannot be triggered

Hi @SCoder41,

Have you set a date and time configuration for the RTC? You also need to set the interrupt driver for the RTC IRQ:

DateandTime.png

InterruptControllerRTC.png

After setting a date and time, and the RTC IRQ, the RTC alarm callback should be stepped into when the alarm date&time = current date&time.

Keep in mind you do need to install the handler and enable the IRQ in the source code, as well as setting the time&date, configuring the alarm, enabling interrupt and starting the counter to enable the basic functionality of the RTC alarm.

Best regards,
Julián

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 08:40 PM
Updated by: