Hello,
I am working on Kinetis processor MK10DX128.
I am trying to achieve outputting a controlled train of pulses of given length.
In order to do that, I connected 2 FTMs together so one FTM outputs some pulses (let's call it outputting FTM)and the other counts the output pulses and triggers interrupt on counter match (let's call it counting FTM).
The external clock of the counting FTM is connected to outputting FTM and it is basically working.
The only issue is that the interrupt on the counting FTM is issued upon riding edge of outputting FTM pulse, whereas falling edge would be the right behavior for me.
I could not find how to control that behavior.
I'd be grateful to get some help on the matter.
Thanks,
Rebecca Benchimol
Maybe this aplication note can help you https://www.nxp.com/docs/en/application-note/AN4410.pdf