Hello,
I'm working on TWR-KV10Z32 eval board, and i'm using Motor Control Toolbox on Simulink to generate code.
I would like to generate an interrupt when there's a timer overflow, but the bloc that enables that interrupt, attached in the figure below, can only enable the interrupt for module 1 and 2, while i'm using FTM0 (Module 0).
In the help, it's mentionned that i can configure module 0
What can i do to generate the FTM0 overflow interrupt?
Thank you for your support.
Hi chaymabarka,
The TOF is designed to work in conjunction with:
or
Only these blocks can generated a TOF in our current implementation. Please be aware that the generated code is based on the SDK drivers. By the time of the release only this functionality was implemented.
In case you wish to extend the toolbox functionality you could use the Simulink Coder and add your custom code into the Simulink model.
Hope this helps! and sorry for not being able to provide you a workaround with the existing blocks.
Daniel
Thank you for your support