Started by Ravi February 12, 2008
I could able to generate PWM of constant width,
but then how to modulate the width with sine wave amplitude ?
whether I have to make PWMMR1 = sinewave amplitude in ISR routine?
In that case I may not achieve carrier freq of 45 Khz
Bcoz I have to change MR1 in after each PWM pulse.
Is there any other way to do that

On Tue, 12 Feb 2008 Paul Curtis wrote :
> > Hi Paul,
> > My question is how to use single edge/double edge controlled feature
> > of PWM modulator to generate PWM?
>Gee, how about reading the documentation that NXP supply? I mean, it's
>actually quite understandable even for a non-hardware guy like me who has
>actually programmed up the PWM.
>Paul Curtis, Rowley Associates Ltd
>CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors

An Engineer's Guide to the LPC2100 Series