Internal RTC as wakeup source for S32k358 Non-AUTOSAR

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Internal RTC as wakeup source for S32k358 Non-AUTOSAR

跳至解决方案
2,375 次查看
agouda
Contributor II

Dear NXP team,

Using S32DS IDE  ( RTD 5.0 ) for Non-AUTOSAR configuration (not EB)

I am trying to configure wake up soures as below :

1 - PTD_27 ( external pin PTD_27 WKPU[51] , wakeup channel 55)

2- Internal RTC ( RTC-API RTC timeout).

 

by pressing on switch at PTD_0 : the controller goes to standby mode ( Power_Ip_SetMode(pointer to standby mode)).

 

wake up via external source  PTD_27 ( wakeup channel 55) is working fine, and the controller wakes up as expected.

 

wake up via RTC is not working for some reason. even I have configured ( WKPU , POWER, RTC, Clock [2 configurations] ).

 

I have attached my project for you to check it ( RTD 5.0 ). please let me know if you need more infomration.

 

I would appriate your support.

 

thanks in advance

标记 (1)
0 项奖励
回复
1 解答
2,313 次查看
agouda
Contributor II

Hi Robin,

 

thank you for the hint. 


I enabled SIRC in standby mode, and it's waking up now periodically as expected.

 

BR

Abdullah

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,314 次查看
agouda
Contributor II

Hi Robin,

 

thank you for the hint. 


I enabled SIRC in standby mode, and it's waking up now periodically as expected.

 

BR

Abdullah

 

0 项奖励
回复
2,368 次查看
agouda
Contributor II

to add more infomration about RTC. 

below is debugger screenshot for RTC registers before go to standby mode.

 

agouda_0-1742816879797.png

 

0 项奖励
回复
2,329 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

RTC can be the low-mode wakeup source when SIRC is configured to be enabled in standby mode.

Sirc Standby Configuration Sirc is enabled in standby mode RTC timeout wakeup.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

%3CLINGO-SUB%20id%3D%22lingo-sub-2067207%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%86%85%E9%83%A8%20RTC%20%E4%BD%9C%E4%B8%BA%20S32k358%20%E9%9D%9E%20AUTOSAR%20%E7%9A%84%E5%94%A4%E9%86%92%E6%BA%90%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067207%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%B0%8A%E6%95%AC%E7%9A%84%E6%81%A9%E6%99%BA%E6%B5%A6%E5%9B%A2%E9%98%9F%EF%BC%9A%3C%2FP%3E%3CP%3E%E4%BD%BF%E7%94%A8%20S32DS%20IDE%20(RTD%205.0)%20%E8%BF%9B%E8%A1%8C%E9%9D%9E%20AUTOSAR%20%E9%85%8D%E7%BD%AE%EF%BC%88%E9%9D%9E%20EB%EF%BC%89%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E9%85%8D%E7%BD%AE%E5%94%A4%E9%86%92%E6%BA%90%EF%BC%8C%E5%A6%82%E4%B8%8B%E6%89%80%E7%A4%BA%EF%BC%9A%3C%2FP%3E%3CP%3E1%20-%20PTD_27%20%EF%BC%88%E5%A4%96%E9%83%A8%E5%BC%95%E8%84%9A%20PTD_27%20WKPU%5B51%5D%EF%BC%8C%E5%94%A4%E9%86%92%E9%80%9A%E9%81%93%2055%EF%BC%89%3C%2FP%3E%3CP%3E2-%20%E5%86%85%E9%83%A8%20RTC%EF%BC%88RTC-API%20RTC%20%E8%B6%85%E6%97%B6%EF%BC%89%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%8C%89%E4%B8%8B%20PTD_0%20%E5%A4%84%E7%9A%84%E5%BC%80%E5%85%B3%EF%BC%9A%E6%8E%A7%E5%88%B6%E5%99%A8%E8%BF%9B%E5%85%A5%E5%BE%85%E6%9C%BA%E6%A8%A1%E5%BC%8F%EF%BC%88Power_Ip_SetMode%EF%B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