Yahoo Groups archive

Lpc2000

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

Message

Re: PWMEMR register, what is it?

2005-07-14 by lpctools

Hi,
Regarding the PWMEMR Register:
This is not a "secret register". In a preliminary version of the 
User's Manual, this register was mentioned (as the PWM block is 
closely related to the Timer blocks). This might be the reason why 
Keil has mentioned this register in their header file. However, the 
user doesn't need to do anything with this register in his PWM code. 
This register can be simply disregarded.
We actually just noticed that the official LPC213x User's Manual is 
now (finally) on the Philips Web site (not sure if this was 
mentioned already):
http://www.semiconductors.philips.com/acrobat_download/usermanuals/UM
10120_1.pdf
We scanned it and as expected there is no reference to the PWMEMR 
register anywhere.

Regards,
LPC Tools
http://www.lpctools.com

--- In lpc2000@yahoogroups.com, "Klaus" <klaus276@y...> wrote:
> Hello Thomas,
> i contacted the keil support because of this example and that 
special
> register. They confirmed, that the comments in this example are 
wrong
> and they told me, that this register is "confidential". They 
couldn't
> give me a description of it, but they promised me, that Keil would
> provide an example without this register " in the next days". That 
was
> in December 2004.
> 
> Klaus
> 
> 
> --- In lpc2000@yahoogroups.com, "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.

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.