Kinetis second set of ftm registers

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

Kinetis second set of ftm registers

502 Views
tommyp
Contributor III

The Kinetis Kx manual makes reference to the "Second set of registers" when FTMEN is 1.  Can anyone clarify how to identify what registers are considered the second set?

0 Kudos
1 Reply

324 Views
mjbcswitzerland
Specialist V

Hi Tom

Compare the TPM register set in a KL device with the FlexTimer set in a K device.

You will see that FTMn_CNTIN, FTMn_MODE, FTMn_SYNC, FTMn_OUTINIT, FTMn_OUTMASK, FTMn_COMBIN, FTMn_DEADTIME and FTMn_EXTTRIG, FTMn_FSM, FTMn_FILTER, FTMn_FLTCTRL, FTMn_QDCTRL, FTMn_FLTPOL, FTMn_SYNCONF, FTMn_INVCTRL, FTMn_SWOCTRL and FTMn_PWMLOAD are only available in the FlexTimer.

These can only be used when FTMEN is set, otherwise the FlexTimer's first set of registers allow it to work in (restricted) TPM compatibe mode.

Regards

Mark

Kinetis: µTasker Kinetis support

For the complete "out-of-the-box" Kinetis experience and faster time to market