S32K344 HardFault

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K344 HardFault

Jump to solution
535 Views
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

 

0 Kudos
1 Solution
501 Views
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

View solution in original post

0 Kudos
2 Replies
502 Views
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 Kudos
488 Views
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 Kudos