Synchronize two FTMs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Synchronize two FTMs

834件の閲覧回数
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 返信

688件の閲覧回数
MikeAdv
Contributor III

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

 

The Global Time Base (GTB) feature.

0 件の賞賛
返信