CLK and TPM

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

CLK and TPM

跳至解决方案
830 次查看
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.

标签 (1)
标记 (1)
1 解答
612 次查看
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:

在原帖中查看解决方案

3 回复数
612 次查看
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 项奖励
612 次查看
carlosomarharoc
Contributor II

Hi David. Is the current version 10.6

0 项奖励
613 次查看
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: