Hi,
I am using S32K314 board. In my project I added RTC and calling Rtc_Ip_GetTimeDate to get time.
But I need to get the milliseconds also. Is there any way to get milliseconds in Rtc?
Hi @abhijith_r
Take a look at this post, is for MPC5 but is the same situation for S32K3 because all the functions support seconds only.
B.R.
VaneB
Hi @VaneB ,
Is there any other suggestions to calculate milliseconds other than the sdk functions?
Hi @abhijith_r
The recommendation to use RTC is normally until seconds. If you want to get the milliseconds, I suggest you use another timer for example the PIT.
RTC supports a resolution of 1μs with a high-speed internal oscillator clock, so it is possible to have a resolution of milliseconds. If you want to implement it with this timer, it would already be your implementation, since it is not an application that we give.