Synchronize two FTMs

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

Synchronize two FTMs

804 次查看
MikeAdv
Contributor III

I'm trying to figure out how I can do a software synchronization of FTM0 and FTM1 timers.

 

It looks like I can write to FTMx_SYNC[SWSYNC] for each module and have them setup to reset the CNT value.  However, since that is two separate writes for FTM0 and FTM1 they likely wouldn't be exactly in sync.

 

It looks like I could probably use an external HW sync to drive both modules, but it would be easier if I could do it with a SW sync.

0 项奖励
回复
1 回复

658 次查看
MikeAdv
Contributor III

.... finally found what is probably the answer.

 

The Global Time Base (GTB) feature.

0 项奖励
回复