PWM configuration on PORT Pin:

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

PWM configuration on PORT Pin:

1,629 次查看
nishasingh
Contributor I

Dear SUpport,

 

I am using your mc9s08pa16 device in 32 pin package.

 

I need 20KHz PWM on PTC4 & PTC5, which is difficult to do. Pls. guide me in overcoming my fault.

 

Attached here pls. find my sample test code for your reference.

 

Regards,

Nisha

Original Attachment has been moved to: test_pwm_pa16.zip

标签 (1)
标记 (3)
0 项奖励
回复
1 回复

1,291 次查看
Robinwithu
Senior Contributor I

Hi Nisha,

Please go through  AN2616 in an attachment .Section 4.6 Describe how to generate PWM using Timer for MC9S08GB60 micro controller.I hope you will modify this code for your controller if not please let me know.

Thanks and Regards,

Robin

0 项奖励
回复