Can_Init arise hardFault_handler

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

Can_Init arise hardFault_handler

ソリューションへジャンプ
659件の閲覧回数
MNN
Contributor II

hardFault_handler occurred when I was using Can_example_s32k312 of S32K3 RTD AUTOSAR 4.4 2.0.3D2303。

 

I can do this loopback test when I use the example Can_example_s32k312. But I changed the example from FLEXCAN0 to FLEXCAN2, and running Can_Init produces hardFault_handler. Why is this happening? Can you tell me why?

0 件の賞賛
返信
1 解決策
646件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @MNN 

Could you share the changes made to code configurations?

 

B.R.

VaneB

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
647件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @MNN 

Could you share the changes made to code configurations?

 

B.R.

VaneB

0 件の賞賛
返信
610件の閲覧回数
MNN
Contributor II
thank you

I have solved the problem because I did not enable the clock for can2.

B.R.
MNN
0 件の賞賛
返信
638件の閲覧回数
MNN
Contributor II

Thank you, VaneB.

Sure am. The following is my modification. Except flexcan0 changed to flexcan2, nothing else was modified. Attached is my project.

MNN_1-1699498568254.png

R.R.

MNN

0 件の賞賛
返信