What HC08 PWM registers are equivalent to FTM registers?

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

What HC08 PWM registers are equivalent to FTM registers?

748 Views
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

Labels (1)
Tags (4)
0 Kudos
Reply
1 Reply

596 Views
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 Kudos
Reply