PWM configuration on PORT Pin:

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

PWM configuration on PORT Pin:

704 Views
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

Labels (1)
Tags (3)
0 Kudos
1 Reply

368 Views
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 Kudos