µTasker Forum

µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: neil on February 09, 2020, 06:23:18 PM

Title: mcf52259 RTC
Post by: neil on February 09, 2020, 06:23:18 PM
Hi Mark
   I am thinking of using the onboard RTC instead of an external one. I see in the file M5223X.c file you have support for it. Is there any examples on how to use this with utasker? I want to read/set time and use the 1 Hz interupt.

Best Regards
Neil
Title: Re: mcf52259 RTC
Post by: mark on February 09, 2020, 06:48:31 PM
Hi Neil

See whether this document helps: https://www.utasker.com/docs/uTasker/uTasker_Time.pdf

In about 2015 the "time keeper"module was added to make the time/calendar/alarms interface more generic but it is basically an encapsulation of the RTC (and other possible methods) so the underlying details should still be relevant for older projects too.

Regards

Mark