How to Trigger a Functional Reset on S32G

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

How to Trigger a Functional Reset on S32G

Jump to solution
817 Views
Jeff-CF-Huang
Contributor III

Hi Sir,

Could you please let me know how to trigger a FUNCTIONAL_RESET?
If I run reboot, it will be DESTRUCTIVE_RESET.

Best regards,

Jeff Huang

0 Kudos
Reply
1 Solution
792 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Jeff-CF-Huang,

Thanks for your questions.

Are you trying to run the Functional Reset on M7 core or A53? 

At the reference manual of the S32G2 you could find the following:

carlos_o_0-1742495471349.png

 

[page 1144, S32G2 Reference Manual, Rev. 8, February 2024]

The software functional reset can be trigger at the following register:

carlos_o_1-1742495601485.png

carlos_o_2-1742495637789.png

[page 1311, S32G2 Reference Manual, Rev. 8, February 2024]

 

From the Linux BSP side I found the following at the BSP 42 User Manual:

carlos_o_3-1742495967978.png

 

Let me know if this information helps, otherwise please give a more detail information of your setup and what you want to accomplish. 

View solution in original post

0 Kudos
Reply
3 Replies
793 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Jeff-CF-Huang,

Thanks for your questions.

Are you trying to run the Functional Reset on M7 core or A53? 

At the reference manual of the S32G2 you could find the following:

carlos_o_0-1742495471349.png

 

[page 1144, S32G2 Reference Manual, Rev. 8, February 2024]

The software functional reset can be trigger at the following register:

carlos_o_1-1742495601485.png

carlos_o_2-1742495637789.png

[page 1311, S32G2 Reference Manual, Rev. 8, February 2024]

 

From the Linux BSP side I found the following at the BSP 42 User Manual:

carlos_o_3-1742495967978.png

 

Let me know if this information helps, otherwise please give a more detail information of your setup and what you want to accomplish. 

0 Kudos
Reply
782 Views
Jeff-CF-Huang
Contributor III

Hi Carlos,

We are working with the S32G3 platform using a multi-core (A53 running Linux and M7 running RTOS).
Is there an easier way to trigger a functional reset?
The reboot command mentioned in the user manual triggers a destructive reset, not a functional reset.

Best regards,
Jeff Huang

0 Kudos
Reply
744 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Jeff-CF-Huang,

I'm assuming that you refer to the BSP User Manual with the reboot command to run on the Linux terminal. 

Another way to run a functional reset is to request it to the registers I share before. At your M7 core using the RTDs you can request the functional reset with the fuctions at Power_IP or Mcu.

Some functions you can review to run the fuctional reset can be:

Power_Ip_PerformReset (definition at Power_Ip.c)
Power_Ip_MC_RGM_PerformReset (definition at Power_Ip_MC_RGM.c)
Mcu_Ipw_PerformReset (definition at Mcu_Ipw.c)
Mcu_PerformReset (definition at Mcu.c)
 
Those function are from RTD 4.4 4.0.2 the names can vary in the different versions. 
0 Kudos
Reply