S32k144 MCAL GPT interrupt can not enable

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32k144 MCAL GPT interrupt can not enable

635 次查看
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 项奖励
回复
3 回复数

610 次查看
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 项奖励
回复

585 次查看
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 项奖励
回复

565 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @BarryQi 

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

0 项奖励
回复