AnsweredAssumed Answered

S32K144 RTC use  external crystal 32.768KHZ inaccuracy

Question asked by 建宽高 on Sep 18, 2018
Latest reply on Sep 20, 2018 by Daniel Martynek
  • I use the following configuration

 

first , i config rtc

 

 

second ,i config  clk_in pin

 

 

 

third ,i config clk

 

 

 

 

 

 

it is my code 

 

 

/* Initialize RTC instance
* - See RTC configuration component for options
*/
RTC_DRV_Init(RTCTIMER1, &rtcTimer1_Config0);
/* Set the time and date */
RTC_DRV_SetTimeDate(RTCTIMER1, &rtcTimer1_StartTime0);

/* Start the RTC counter */
RTC_DRV_StartCounter(RTCTIMER1);

 

RTC_DRV_GetCurrentTimeDate(RTCTIMER1, &currentTime);

 

 

 

but i  read inaccuracy time,it run fast.....

Outcomes