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
2,070 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
2,045 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
2,046 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
2,035 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
1,997 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
%3CLINGO-SUB%20id%3D%22lingo-sub-2065489%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20Trigger%20a%20Functional%20Reset%20on%20S32G%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2065489%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Sir%2C%3C%2FP%3E%3CP%3ECould%20you%20please%20let%20me%20know%20how%20to%20trigger%20a%26nbsp%3B%3CSPAN%3EFUNCTIONAL_RESET%3C%2FSPAN%3E%3F%3CBR%20%2F%3EIf%20I%20run%20reboot%2C%20it%20will%20be%26nbsp%3B%3CSPAN%3EDESTRUCTIVE_RESET.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EJeff%20Huang%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2067547%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20Trigger%20a%20Functional%20Reset%20on%20S32G%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067547%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F218967%22%20target%3D%22_blank%22%3E%40Jeff-CF-Huang%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EI'm%20assuming%20that%20you%20refer%20to%20the%20BSP%20User%20Manual%20with%20the%20reboot%20command%20to%20run%20on%20the%20Linux%20terminal.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnother%20way%20to%20run%20a%20functional%20reset%20is%20to%20request%20it%20to%20the%20registers%20I%20share%20before.%20At%20your%20M7%20core%20using%20the%20RTDs%20you%20can%20request%20the%20functional%20reset%20with%20the%20fuctions%20at%20Power_IP%20or%20Mcu.%3C%2FP%3E%0A%3CP%3ESome%20functions%20you%20can%20review%20to%20run%20the%20fuctional%20reset%20can%20be%3A%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3EPower_Ip_PerformReset%20(definition%20at%20Power_Ip.c)%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3EPower_Ip_MC_RGM_PerformReset%20(definition%20at%20Power_Ip_MC_RGM.c)%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3EMcu_Ipw_PerformReset%20(definition%20at%20Mcu_Ipw.c)%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3EMcu_PerformReset%20(definition%20at%20Mcu.c)%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3EThose%20function%20are%20from%20RTD%204.4%204.0.2%20the%20names%20can%20vary%20in%20the%20different%20versions.%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2065913%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20Trigger%20a%20Functional%20Reset%20on%20S32G%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2065913%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Carlos%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20are%20working%20with%20the%20S32G3%20platform%20using%20a%20multi-core%20(A53%20running%20Linux%20and%20M7%20running%20RTOS).%3CBR%20%2F%3EIs%20there%20an%20easier%20way%20to%20trigger%20a%20functional%20reset%3F%3CBR%20%2F%3EThe%20reboot%20command%20mentioned%20in%20the%20user%20manual%20triggers%20a%20destructive%20reset%2C%20not%20a%20functional%20reset.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2C%3CBR%20%2F%3EJeff%20Huang%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2065774%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20Trigger%20a%20Functional%20Reset%20on%20S32G%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2065774%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F218967%22%20target%3D%22_blank%22%3E%40Jeff-CF-Huang%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20questions.%3C%2FP%3E%0A%3CP%3EAre%20you%20trying%20to%20run%20the%20Functional%20Reset%20on%20M7%20core%20or%20A53%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAt%20the%20reference%20manual%20of%20the%20S32G2%20you%20could%20find%20the%20following%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22carlos_o_0-1742495471349.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_0-1742495471349.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329124iE81410F224AF04AD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22carlos_o_0-1742495471349.png%22%20alt%3D%22carlos_o_0-1742495471349.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%5Bpage%201144%2C%20S32G2%20Reference%20Manual%2C%20Rev.%208%2C%20February%202024%5D%3C%2FP%3E%0A%3CP%3EThe%20software%20functional%20reset%20can%20be%20trigger%20at%20the%20following%20register%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22carlos_o_1-1742495601485.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_1-1742495601485.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329125i4C006ABA78B665D6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22carlos_o_1-1742495601485.png%22%20alt%3D%22carlos_o_1-1742495601485.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22carlos_o_2-1742495637789.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_2-1742495637789.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329126iA0B6B68665E56E3F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22carlos_o_2-1742495637789.png%22%20alt%3D%22carlos_o_2-1742495637789.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%5Bpage%201311%2C%26nbsp%3BS32G2%20Reference%20Manual%2C%20Rev.%208%2C%20February%202024%5D%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EFrom%20the%20Linux%20BSP%20side%20I%20found%20the%20following%20at%20the%20BSP%2042%20User%20Manual%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22carlos_o_3-1742495967978.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22carlos_o_3-1742495967978.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329129iC83517A5139F0B67%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22carlos_o_3-1742495967978.png%22%20alt%3D%22carlos_o_3-1742495967978.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ELet%20me%20know%20if%20this%20information%20helps%2C%20otherwise%20please%20give%20a%20more%20detail%20information%20of%20your%20setup%20and%20what%20you%20want%20to%20accomplish.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E