I understood the working of timers. I'm not clear about using prescalers.I am using Keil to code for ARM-Cortex.
I understood the working of timers. I'm not clear about using prescalers.I am using Keil to code for ARM-Cortex.
I think you will need to describe your problem in a lot more detail to get an answer.
What is it you are trying to do with which timer.
Post the code you use to set it up.
Tell us what it does that you don't like.
MK
I am a beginner in using ARM Cortex, I wish to generate a PWM pulse and code for using servo motor, started with learning how to use timer and prescaler but couldn't understand how to apply properly.I understood the working of timer and counter. I want to know the steps for the generation of PWM and running servo.
Sri - if you won't answer questions no one can help you.
Which timer are you using, what kind of pwm signal do want (frequency, pwm resolution etc).
When you say servo what do you mean - do you mean an RC control type actuator (often called servos) or a real servo motor. How will it be connected to the micro.
And most important - post the code you have so far.
Have you looked at the NXP data sheets and app notes.
MK
Sri - if you won't answer questions no one can help you.
Which timer are you using, what kind of pwm signal do want (frequency, pwm resolution etc).
When you say servo what do you mean - do you mean an RC control type actuator (often called servos) or a real servo motor. How will it be connected to the micro.
And most important - post the code you have so far.
Have you looked at the NXP data sheets and app notes.
MK