Internal RTC as wakeup source for S32k358 Non-AUTOSAR

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

Internal RTC as wakeup source for S32k358 Non-AUTOSAR

Jump to solution
1,931 Views
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

Tags (1)
0 Kudos
Reply
1 Solution
1,869 Views
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

 

View solution in original post

0 Kudos
Reply
3 Replies
1,870 Views
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 Kudos
Reply
1,924 Views
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 Kudos
Reply
1,885 Views
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.
-------------------------------------------------------------------------------