Reset M4 core on RT1176

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Reset M4 core on RT1176

ソリューションへジャンプ
1,744件の閲覧回数
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

タグ(5)
0 件の賞賛
返信
1 解決策
1,729件の閲覧回数
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".

元の投稿で解決策を見る

4 返答(返信)
1,725件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

So cool!

Thanks so much for your sharing

Best Regards,

kerry

0 件の賞賛
返信
1,737件の閲覧回数
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 件の賞賛
返信
1,734件の閲覧回数
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 件の賞賛
返信
1,730件の閲覧回数
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".