[ARM] PWM frequency variation in lpc2148

Status
Not open for further replies.

angiey

Junior Member level 1
Joined
Jul 2, 2012
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,436
Hi,

I'm working on LPC2148 controller, and with the example code, user manual
reference getting the constant frequency of 500mHz[square wave], but I need to vary the
frequency from 10hz to 12hz with the particular time duration set and stop the PWM
pulses.
Now i'm getting the PWM output at pin number 33 of port P0.8, and for varying the frequency
I need to use prescaler register??kindly suggest me on this..

Thank you.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…