CLK and TPM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,097件の閲覧回数
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 解決策
879件の閲覧回数
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 返答(返信)
879件の閲覧回数
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 件の賞賛
返信
879件の閲覧回数
carlosomarharoc
Contributor II

Hi David. Is the current version 10.6

0 件の賞賛
返信
880件の閲覧回数
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: