S32k144 MCAL GPT interrupt can not enable

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

S32k144 MCAL GPT interrupt can not enable

254 Views
BarryQi
Contributor I

My EB configured the LPIT clock of GPT and enabled the hardware interrupt configuration, while specifying the notification function, but the software can not enter the notification function at runtime, may I ask whether the problem is my setting or the function call.

BarryQi_0-1715765817363.pngBarryQi_1-1715765830702.pngBarryQi_2-1715765848585.pngBarryQi_3-1715765930917.pngBarryQi_4-1715765947138.png

 

0 Kudos
3 Replies

229 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @BarryQi 

We provide a Gpt example code using PIT and FTM, could you please test it and let me know if the same behavior is present? 

 

B.R.

VaneB

0 Kudos

204 Views
BarryQi
Contributor I

Hi VaneB:

I just check the interrupt and found below configuration:

BarryQi_0-1715831309954.pngBarryQi_1-1715831339787.png

BarryQi_2-1715831365969.png

I think the way the interrupt was declared was empty resulting in the interrupt not being declared properly, and I just use the default GNU as compiler, what method should I choose to declare an interrupt?

0 Kudos

184 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @BarryQi 

Which RTD version are you using? Did you test the example code? 

0 Kudos