CLK and TPM

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

CLK and TPM

Jump to solution
1,096 Views
carlosomarharoc
Contributor II

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.

Labels (1)
Tags (1)
1 Solution
878 Views
david_diaz
NXP Employee
NXP Employee

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:

View solution in original post

3 Replies
878 Views
david_diaz
NXP Employee
NXP Employee

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

0 Kudos
Reply
878 Views
carlosomarharoc
Contributor II

Hi David. Is the current version 10.6

0 Kudos
Reply
879 Views
david_diaz
NXP Employee
NXP Employee

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: