S32K344 resets every three days or RTC system clock returns to initial value every three days

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

S32K344 resets every three days or RTC system clock returns to initial value every three days

ソリューションへジャンプ
1,111件の閲覧回数
SCoder41
Contributor III

(S32K344) I implemented a function where the RTC system clock was set to an initial value (2025-3-11 15:25:0), and then the current system time was obtained every 0.5 seconds and stored on the SD card. I tested continuously for 7 days, but after 7 days, I found that the logs in the SD card would return to the initial value of 2025-3-11 15:25:0 every time it reached [2025-3-13, 4:41:57]. Is it because the system reset or is it just an issue with RTC?

8.png

0 件の賞賛
返信
1 解決策
1,085件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @SCoder41,

Just from the log, I am unable to pinpoint if the issue is mainly the RTC or the MCU. Could you share the code (either here, or by a private message). If not, could you share exactly what the code does? 

Also, if the reset source is not a SW reset, (i.e. hardware reset), the counter value will be reset. You must configure either SIRC or SXOSC, and perform SW reset to avoid resetting the counter: Solved: Does the S32K312 RTC support system time keeping at reset? - NXP Community

Best regards,
Julián

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,086件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @SCoder41,

Just from the log, I am unable to pinpoint if the issue is mainly the RTC or the MCU. Could you share the code (either here, or by a private message). If not, could you share exactly what the code does? 

Also, if the reset source is not a SW reset, (i.e. hardware reset), the counter value will be reset. You must configure either SIRC or SXOSC, and perform SW reset to avoid resetting the counter: Solved: Does the S32K312 RTC support system time keeping at reset? - NXP Community

Best regards,
Julián

0 件の賞賛
返信
1,065件の閲覧回数
SCoder41
Contributor III
I have sent you the code via private message.
0 件の賞賛
返信
1,070件の閲覧回数
SCoder41
Contributor III
My code size exceeds 25MB, is there any other way to send it to you?
0 件の賞賛
返信