S32K344 HardFault

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,671件の閲覧回数
KILLERzheng
Contributor IV

Hi, NXP

I configured a project in EB tresos, but when I try to initialize the CAN module, it occurs the hardfault.

I doubt it that there are faults in MCU clock configuration, but I could not find out the way to deal with it.

Could you please help me?

KILLERzheng_2-1639736608432.png

 

KILLERzheng_1-1639736575351.png

 

タグ(3)
0 件の賞賛
返信
1 解決策
2,637件の閲覧回数
KILLERzheng
Contributor IV

I found the reason of the HardFault, just because the CAN clock has not been enable in the mcumodesetconf of MCU module

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,638件の閲覧回数
KILLERzheng
Contributor IV

I found the reason of the HardFault, just because the CAN clock has not been enable in the mcumodesetconf of MCU module

0 件の賞賛
返信
2,624件の閲覧回数
namnguyenviet
NXP Employee
NXP Employee

Glad to hear that you can find the root cause. It's indeed that you need to enable the Clock in MC_ME partition before starting using the CAN peripheral.

Best Regards,

Nam

0 件の賞賛
返信