Reset M4 core on RT1176

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

Reset M4 core on RT1176

Jump to solution
1,153 Views
D_TTSA
Contributor V

Good day

I am using NXP's RT1176 processor. I would like to reset the M4 core ONLY, while the M7 continues to run.

I have tried using  NVIC_SystemReset(), but this restarts the entire processor (both cores).

Could someone please advise me on how to do this, or if it is possible?

Kind regards

0 Kudos
1 Solution
1,138 Views
D_TTSA
Contributor V

I found the solution.

I can reset the M4 core by calling SRC_AssertSliceSoftwareReset(SRC, kSRC_M4CoreSlice).

This function can be accessed by including the fsl_soc_src driver in the SDK component menu and including "fsl_soc_src.h".

View solution in original post

4 Replies
1,134 Views
kerryzhou
NXP TechSupport
NXP TechSupport

So cool!

Thanks so much for your sharing

Best Regards,

kerry

0 Kudos
1,146 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @D_TTSA ,

  Do you call  NVIC_SystemReset() in your M4 core or M7 core code?

  You can add the print information in the different core, then in the M4 core code add the reset, whether your M7 core also reset from the print log?

  Please help to confirm the question at first, thanks.

Best Regards,

Kerry

 

0 Kudos
1,143 Views
D_TTSA
Contributor V

Hi @kerryzhou 

Yes, I am calling NVIC_SystemReset() on the M4 core.

I have indeed confirmed that both cores are reset by this call. Please see the print log below:

D_Tram23_1-1628751468438.png

Kind regards

0 Kudos
1,139 Views
D_TTSA
Contributor V

I found the solution.

I can reset the M4 core by calling SRC_AssertSliceSoftwareReset(SRC, kSRC_M4CoreSlice).

This function can be accessed by including the fsl_soc_src driver in the SDK component menu and including "fsl_soc_src.h".