Hi.
Im using a MC9S08MP16 microprocesor
i dont have idea how to use the intern clk and how do a TPM for generate a PWM at 60Hz
I´m new with code warrior.
解決済! 解決策の投稿を見る。
Hi Carlos,
Please find attached to this response a PWM Sample code for your device.
Besides that I recommend the following material in order to a better understanding of the TPM Module:
1. MC9S08MP16 Reference Manual, Chapter 12:
http://www.freescale.com/files/microcontrollers/doc/ref_manual/MC9S08MP16RM.pdf
2. S08 TPM Interface Module course:
S08 TPM Interface Module|Freescale
Hope this information will be useful for you.
Have a great day ! :smileyhappy:
Hello Carlos,
What version of CodeWarrior are you using?
I would like to know your IDE version in order to give you a PWM sample code.
As you are using an 8 bit MCU, you can program it with the Classic CodeWarrior version (6.3) or with the current version (10.6).
David
Hi David. Is the current version 10.6
Hi Carlos,
Please find attached to this response a PWM Sample code for your device.
Besides that I recommend the following material in order to a better understanding of the TPM Module:
1. MC9S08MP16 Reference Manual, Chapter 12:
http://www.freescale.com/files/microcontrollers/doc/ref_manual/MC9S08MP16RM.pdf
2. S08 TPM Interface Module course:
S08 TPM Interface Module|Freescale
Hope this information will be useful for you.
Have a great day ! :smileyhappy: