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.
解決済! 解決策の投稿を見る。
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:
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
Yes, I did all of these。