Kinetis second set of ftm registers

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

Kinetis second set of ftm registers

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

327 次查看
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