Yahoo Groups archive

Lpc2000

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

Message

Re: EXTMODE/EXTPOLAR & VPBDIV

2005-01-19 by philips_apps

Hi Bruce,

There is no shorter way that this could be done. Also, please note, 
while reading the VPBDIV, it should be read twice. So you would want 
to do the following steps.

old= VPBDIV;
old= VPBDIV;

Thanks
Philips apps


--- In lpc2000@yahoogroups.com, Bruce Paterson <bruce@t...> wrote:
> Question below:
> 
> philips_apps wrote:
> > 
> > Hi Kerem,
> > 
> > This is actually a bug which is related to the EXTINT.1 bug 
(present 
> > in the Errata sheet). 
> > 
> > Problem: Incorrect setting of EXTMODE and/or EXTPOLAR register 
while 
> > trying to set them to desired value. 
> ...
> > Before writing to the EXTMODE and EXTPOLAR registers,
> > 1> Write 0x0 to VPBDIV 
> > 2> Then write the desired value to EXTMODE or EXTPOLAR register. 
> > 3> Then write the same value to VPBDIV ( additional step)
> 
> If I want to program both EXTMODE and EXTPOLAR, do I have to do this
> in two passes: old=VPBDIV, VPBDIV=0, EXTMODE=n, VPBDIV=n, VPBDIV=0, 
> EXTPOLAR=y, VPBDIV=y, VPCDIV=old ?
> (or can fewer steps be used somehow ?)
> 
> -- 
> Cheers,
> Bruce
> -------------------------------------------------------------------
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom
> they are addressed. If you have received this email in error please
> notify the system manager.
> 
>      /\\\/\\\/\\\    /   /      Bruce Paterson
>     /  \\\ \\\ \\\  /   /    Senior Design Engineer
>    /   /\\\/\\\/\\\/   /   8 Anzed Court, Mulgrave, Vic, 3170
>   /   /  \\\ \\\ \\\  /  PO Box 4112, Mulgrave, Vic, 3170, Australia
> /   /    \\\/\\\ \\\/   Ph: +61 3 8561 4232   Fax: +61 3 9560 9055
>        Tele-IP Ltd.      Email: bruce@t...    Icq: #32015991
>                          WWW:   http://www.tele-ip.com       VK3TJN
> -------------------------------------------------------------------

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.