S32K RTC Demo Bug

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

S32K RTC Demo Bug

828 Views
kawadaxi
Contributor II

Hi, I have imported Demo project "rtc_alarm_s32k144" to S32DS ,However ,I found the Interrupt peroid is not 1 second in function "secondsISR()", Actually it is far less than 1 second。

pastedImage_2.png

On the other way, it will work well if i change ".clockSelect" to RTC_CLK_SRC_LPO_1KHZ, as below.

pastedImage_1.png

Can somebody tell me why? Thanks.

Tags (1)
0 Kudos
1 Reply

514 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The LPOCLKS[RTCCLKSEL] register is a write-once register.

It is reset only on POR or LVD.

So please run the code from Flash, not RAM, and power-on reset the MCU.

 

Regards,

Daniel

0 Kudos