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 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: