Not able to go to STOP1/STOP2/VLPS Modes using Power management SDKs

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

Not able to go to STOP1/STOP2/VLPS Modes using Power management SDKs

Jump to solution
2,453 Views
KARTHKSARODE
Contributor III

Hi Team 

I'm trying to go to STOP/VLPS mode using only power management SDKs but unfortunately it is not happening for STOP1/STOP2/VLPS but the same power management SDKs are able to switch mode to HSRUN , VLPR 

Right now , I'm using 2 statements from SDKs POWER_SYS_Init & POWER_SYS_SetMode 

Please let me know if I'm doing something wrong , when I tried to execute some sample code which doesnt have any SDKs , it is going to STOP mode 

But I want some referenece of Power Management SDKs

 

Thanks & Regards

Karthik SV

Best Regards
KARTHIK SV
0 Kudos
Reply
1 Solution
2,389 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Karthik,

It can also go from VLPS to VLPR if VLPR was the active mode before VLPS.

 

danielmartynek_0-1636984851249.png

 

The Pretending network mode is supported in STOP1 and STOP2

danielmartynek_1-1636985101154.png

Example S32K144 FlexCAN Pretended Networking STOP mode test S32DS.ARM.2.2

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-FlexCAN-Pretended-Networking-STOP-m...

 

Regards,

Daniel

 

 

View solution in original post

0 Kudos
Reply
6 Replies
2,442 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Karthik,

Have you tried the power_mode_switch_s32k144 SDK example?

It shows transitions to all the available power modes.

 

BR, Daniel

 

0 Kudos
Reply
2,438 Views
KARTHKSARODE
Contributor III

Hi Daniel 

I have not seen that example & couldnt find in S32K144 Examples link

Can you please share that project with me

 

Best Regards

Karthik SV

Best Regards
KARTHIK SV
0 Kudos
Reply
2,434 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Which version of S32 Design Studio do you have?

Go to: File / New / S32 Project from Example

You should see it there.

This is S32DS 2.2 with SDK RTM 3.0.0:

danielmartynek_0-1636712396837.png

 

BR, Daniel

0 Kudos
Reply
2,397 Views
KARTHKSARODE
Contributor III

Hi Daneil 

I could able to go to STOP1/STOP2/VLPS mode using the example code 

But help me understanding following things in that example code :

  • Once it reaches STOP1/STOP2/VLPS mode , Is it automatically entering RUN mode(Clearly written in Print Statement -- PFA) ?
  • Screenshot (21).png

     If it is automatically entering RUN mode , how to disable that ??

  • If it is not entering RUN mode , if I configure pretended CAN network , will it recover from STOP1/STOP2/VLPS Mode if I recieve CAN message???

 

Best Regards

Karthik SV

Best Regards
KARTHIK SV
0 Kudos
Reply
2,390 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Karthik,

It can also go from VLPS to VLPR if VLPR was the active mode before VLPS.

 

danielmartynek_0-1636984851249.png

 

The Pretending network mode is supported in STOP1 and STOP2

danielmartynek_1-1636985101154.png

Example S32K144 FlexCAN Pretended Networking STOP mode test S32DS.ARM.2.2

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-FlexCAN-Pretended-Networking-STOP-m...

 

Regards,

Daniel

 

 

0 Kudos
Reply
2,429 Views
KARTHKSARODE
Contributor III

Hey Daniel

Let me look into that & get back to you 

 

Thanks

Karthik SV

Best Regards
KARTHIK SV
0 Kudos
Reply