implement Pulse trained outpput using 2 FTM modules

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

implement Pulse trained outpput using 2 FTM modules

979 次查看
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 项奖励
回复
1 回复

938 次查看
CarlosGarabito
NXP TechSupport
NXP TechSupport
0 项奖励
回复