several interrupts for FTM0 are initialized.
The flag and enable bits int the FTM->CxSC registers are set.
But FTM)_IRQHandler() does not stop and a break at the head of the handler.
Hi Archie Barter,
If the IRQ handler can't be entered, it means your code still have problems.
I don't know what the kinetis chip you are using?
Next time, please tell us the chip part number.
After you enable the module interrupt in the register, please also check the CHF, does this channel Flag also set?
Please note, you also need to enable the IRQ with:
EnableIRQ(FTM0_IRQn);
Please try again
If you still have problem, please tell me your chip part number.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Archie,
Thanks for your updated information.
If you still have problem about it, please kindly let me know.
But if your question is solved, please help me to mark the correct answer, just to close this case, thank you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for your feedback.
You can mark the correct answer button to close it, this function only for the post author.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------