Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: PWMEMR register, what is it?

2005-07-13 by Thomas Varghese

Hello,

I was actually looking for a description of this register, it does not
appear to be documented anywhere that I know of. 

The other question I have is if setting this register is even
necessary, most examples that I have run across don't set this
register.  The book mentioned previously says that this register must
be set.  Just trying to figure out what I really need to do to make
PWM work reliably.  Any recommendations, examples that work, etc?

Thanks. 


--- In lpc2000@yahoogroups.com, Jim Parziale <nuncio.bitis@g...> wrote:
> Not sure about the 2138, but lpc210x.h has:
> 
> #define PWM_EMR        (*((volatile unsigned long *) 0xE001403C))
> 
> Is this what you're looking for?
> 
> Jim
> 
> On 7/13/05, Thomas Varghese <tomv@t...> wrote:
> > Hello,
> > 
> > My apologies if this has been beaten to death but I couldn't find a
> > satisfactory answer.
> > 
> > I'm trying to implement a PWM output on an LPC2138, I see that the
> > Keil example uses an PWMEMR register, but I couldn't find the register
> > in the Philips documentation, nor in the include files under IAR.  The
> > "Insiders Guide to ARM7-Based Microcontrollers" also has the same
> > example and specifically says this register has to be set otherwise
> > things will not work correctly.
> > 
> > I did find an address of 0xE001403C in the Keil include files.  Does
> > this have a different name under IAR or the regular Philips docs?
> > 
> > Any help/pointers would be appreciated.
> > 
> > Thanks.
> > 
> > --
> > Tom V.
> > 
> > 
> > 
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> ----------------------------------------------------------
> Jim Parziale
> Email: nuncio.bitis@g...
> Malden, MA
> ----------------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.