Hi,
From FTM0 register, the counter starts working and TOF(timer overflow flag) is set. Then, the interrupt should be entered.
In general, I checked the SDK demo FTM0 interrupt service routine default named is FTM0_IRQHandler.
So, please check the project and make sure using below two interrupt definitions:
FTM0_IRQn & FTM0_IRQHandler
Otherwise, the FTM0 interrupt service routine will never entered.
Below is an example for your reference:
/* Interrupt number and interrupt handler for the FTM instance used */
#define BOARD_FTM_IRQ_NUM FTM0_IRQn
#define BOARD_FTM_HANDLER FTM0_IRQHandler
Have a great day,
Mike
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------