s32k342 emios hardfault

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

s32k342 emios hardfault

751 Views
drfrefw123
Contributor I

Initializing the emios module with s32k342 entered a hardfault. What is the cause?

drfrefw123_0-1707197058039.pngdrfrefw123_1-1707197116105.pngdrfrefw123_2-1707197141446.pngdrfrefw123_3-1707197171839.pngdrfrefw123_4-1707197181721.png

The emios clock uses a 160 MB system clock

0 Kudos
Reply
5 Replies

738 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @drfrefw123 

From the shared images, the configuration of EMIOS looks correct. Could you share more details about your project? I also suggest you check the Pwm_example 

 

B.R.

VaneB

0 Kudos
Reply

669 Views
drfrefw123
Contributor I

This is my project

0 Kudos
Reply

663 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @drfrefw123 

Did you see the same behavior if you used the same configurations as the PWM example code?

0 Kudos
Reply

660 Views
drfrefw123
Contributor I

No problems using PWM examples, I want to find out where the problem is in my project

0 Kudos
Reply

626 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @drfrefw123 

Could you please try the following test? Change the used pin in your application to the same one used on the example code, and verify if the same error is present. 

0 Kudos
Reply