ftm_periodic_interrupt_s32k144

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

ftm_periodic_interrupt_s32k144

1,229 Views
hua4_li
Contributor II

I found the demo named ftm_periodic_interrupt_s32k144 from S32SDK_S32K14x_EAR_0.8.4 can‘t work on the EVB,it could not find FTM_HAL_ClearTimerOverflow(g_ftmBase[INST_FLEXTIMER1]) when I build project,and I tried FTM_DRV_ClearTimerOverflow(g_ftmBase[INST_FLEXTIMER1])  instead,but there is no interrupt occurs,How to solve this problem?

Tags (4)
0 Kudos
2 Replies

1,093 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

Could you please try to choose the ftm_periodic_interrupt_s32k144 from the newest SDK?

There is different function for the clear flags: 

/* Clear FTM Timer Overflow flag */
FTM_DRV_ClearStatusFlags(INST_FLEXTIMER_MC1, (uint32_t)FTM_TIME_OVER_FLOW_FLAG);

pastedImage_1.png

I hope it helps.

Best Regards,

Diana

0 Kudos

1,093 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

the SDK version EAR 0.8.4 old one and this version is not supported by latest S32DS Arm release. You can use similar demo in latest SDK version - RTM 3.0.0. More details you can find here:

https://community.nxp.com/docs/DOC-342805 

Jiri

0 Kudos