What HC08 PWM registers are equivalent to FTM registers?

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

What HC08 PWM registers are equivalent to FTM registers?

750 次查看
christophertsch
Contributor III

Hi, I am working on a project where we are replacing an 8-bit MCU with an MK22FN512 MCU. The PWM functionality has been implemented in the more generic flex timer modules. Is there a document that shows the mapping of the old PWM registers to the newer FTM registers? For example the PWM pins would be enabled and disabled using the PCTL1 register bits DISX and DISY. What are the equivalent register/bits in the FTM register space?

Thanks,

Chris

标签 (1)
标记 (4)
0 项奖励
回复
1 回复

598 次查看
david_diaz
NXP Employee
NXP Employee

Hello Chris,

The FlexTimer is built upon a simple timer, the HCS08 Timer PWM Module – TPM, used for many years on Freescale's 8-bit microcontrollers.

Unfortunately there is no a document that shows the mapping of the old PWM registers to the newer FTM registers, but I recommend the “Migration Guide from S08 to Kinetis E Family” document, specially Chapter 13.

This application note outlines the key differences between S08 (specifically S08P) and KE product families, and provides code conversion recommendations to help shorten the learn curve.

Please find the document mentioned above in the following link:

http://www.freescale.com/files/32bit/doc/app_note/AN4757.pdf

Hope this information will be useful for you.

Have a great day.

Best Regards,

David Diaz.

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复