S32K RTC Demo Bug

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K RTC Demo Bug

1,405件の閲覧回数
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.

タグ(1)
0 件の賞賛
返信
1 返信

1,091件の閲覧回数
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 件の賞賛
返信