Synchronize two FTMs

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

Synchronize two FTMs

829 Views
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 Kudos
Reply
1 Reply

683 Views
MikeAdv
Contributor III

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

 

The Global Time Base (GTB) feature.

0 Kudos
Reply