S32K146 RTC

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

S32K146 RTC

1,432 Views
Artemis
Contributor I

I want to test the difference between the MCU internal clock and the real clock, and I want to use the RTC module to record the time, but I do not know whether it is my configuration problem or other reasons, the RTC clock is nearly 5 minutes slower than the real time every hour. The LPO clock I use, Can you tell me how to configure the RTC module if I want to accurately time.Thanks

0 Kudos
Reply
4 Replies

1,417 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

1,406 Views
Artemis
Contributor I
When I followed the tutorial to configure when I encountered a problem, when set to 32kHz crystal, the time count is very fast, the external one second, the internal clock ran more than ten minutes, I would like to ask why this problem. thank you.
0 Kudos
Reply

1,387 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Artemis

It may be that your RTC-related clock is not configured correctly. Please refer to the routines in the IDE or the demo in the link. This is not a very complicated problem.

0 Kudos
Reply

1,413 Views
Artemis
Contributor I

Thank you.The accuracy has improved a lot after using LPO compensation, but still, I am considering using external crystal oscillator to achieve accurate timing

0 Kudos
Reply