implement Pulse trained outpput using 2 FTM modules

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

implement Pulse trained outpput using 2 FTM modules

336 Views
Rivka
Contributor I

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

0 Kudos
1 Reply

295 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport
0 Kudos