Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
So far in May, you have voted 0 times ou of a total of 20 votes by the community.
Please help us clean the archives from unuseful discussion threads by using the voting system! Details here.
Is this thread worth a thumbs up?
power saving problem - iclim89 - Sep 18 4:28:24 2012
Hi,
I'm using:
- LPC2368
- self designed board
- red-suite v4.0.6
- win7 64bits
I'm having problem on lower down the current.
1) My board without MCU or with MCU but in deep power down mode, the current is
around 33mA. So this is the lowest current for my board.
2) I'm using power down mode and rtc wake up for every 1sec.
3) In my code, after I initialized PLL and set INTWAKE by rtc only. Then my
power down mode current shot to 70mA+. The setting code is placed at top in main
block. Then I block the code go further so this code will not wake up.
I wonder why it will caused the current shot to 70mA.
(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - capiman26061973 - Sep 18 5:06:09 2012
Hello iclim89,
just want to point you to a page, which perhaps gives
you some hints what is missing in your setup:
http://www.microbuilder.eu/blog/10-05-03/Waking_up_from_Deep-Sleep_on_the_LPC1114_and_LPC1343.aspx
Look around there on this website, it was very useful for me
with power down modes (but i haven't used a LPC23xx).
It is for a different NXP processor,
but the one or other action is perhaps useful to check.
One thing which i have in mind, is the setting of GPIO.
Check if you need to set it to input or output,
when output to which level / mode.
Best regards,
Martin
--- In l..., "iclim89"
wrote:
>
> Hi,
>
> I'm using:
> - LPC2368
> - self designed board
> - red-suite v4.0.6
> - win7 64bits
>
> I'm having problem on lower down the current.
>
> 1) My board without MCU or with MCU but in deep power down mode, the current
is around 33mA. So this is the lowest current for my board.
>
> 2) I'm using power down mode and rtc wake up for every 1sec.
>
> 3) In my code, after I initialized PLL and set INTWAKE by rtc only. Then my
power down mode current shot to 70mA+. The setting code is placed at top in main
block. Then I block the code go further so this code will not wake up.
>
> I wonder why it will caused the current shot to 70mA.
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com ) Re: power saving problem - Kevin - Sep 18 5:38:48 2012
It might also be wise to power down the internal peripherals and also the pll.
This way you know for sure what is on and whats not.
--- In l..., "capiman26061973"
wrote:
>
> Hello iclim89,
>
> just want to point you to a page, which perhaps gives
> you some hints what is missing in your setup:
>
>
http://www.microbuilder.eu/blog/10-05-03/Waking_up_from_Deep-Sleep_on_the_LPC1114_and_LPC1343.aspx
>
> Look around there on this website, it was very useful for me
> with power down modes (but i haven't used a LPC23xx).
>
> It is for a different NXP processor,
> but the one or other action is perhaps useful to check.
>
> One thing which i have in mind, is the setting of GPIO.
> Check if you need to set it to input or output,
> when output to which level / mode.
>
> Best regards,
>
> Martin
> --- In l..., "iclim89" wrote:
> >
> > Hi,
> >
> > I'm using:
> > - LPC2368
> > - self designed board
> > - red-suite v4.0.6
> > - win7 64bits
> >
> > I'm having problem on lower down the current.
> >
> > 1) My board without MCU or with MCU but in deep power down mode, the current
is around 33mA. So this is the lowest current for my board.
> >
> > 2) I'm using power down mode and rtc wake up for every 1sec.
> >
> > 3) In my code, after I initialized PLL and set INTWAKE by rtc only. Then my
power down mode current shot to 70mA+. The setting code is placed at top in main
block. Then I block the code go further so this code will not wake up.
> >
> > I wonder why it will caused the current shot to 70mA.
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - arma...@mini-amd.org - Sep 18 5:57:13 2012
Hi,
Just out of curiosity : what else is on your board except the LPC2368 ?
Br,
Armand
On Tue, 18 Sep 2012 05:52:51 -0000, "iclim89"
wrote:
> Hi,
>
> I'm using:
> - LPC2368
> - self designed board
> - red-suite v4.0.6
> - win7 64bits
>
> I'm having problem on lower down the current.
>
> 1) My board without MCU or with MCU but in deep power down mode, the
> current is around 33mA. So this is the lowest current for my board.
>
> 2) I'm using power down mode and rtc wake up for every 1sec.
>
> 3) In my code, after I initialized PLL and set INTWAKE by rtc only. Then
> my power down mode current shot to 70mA+. The setting code is placed at
top
> in main block. Then I block the code go further so
this code will not
wake
> up.
>
> I wonder why it will caused the current shot to 70mA.

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - Shashank Maheshwari - Sep 18 9:31:34 2012
Hey iclim89, Martin and Kelvin
Since you came up with topic it looks you are successful with the power
down modes on LPC. I have been stuck on it for a really long time. The
problem discussed here is the next step to my problem. It would be really
helpful if you could give some pointers...
*Processor* : LPC2148
*Environment* : Keil uVision
*Problem : *I have a hall effect sensor attached to extint. The system is
in Power Down (PD) mode. An edge triggered (both polarities) input from the
sensor wakes the system, LEDs are toggled and an output is sent on UART1
then again goes back into PD mode.
On my practical output I see the LEDs toggle perfectly. However UART doesnt
not function when system wakes up. It does not send any character.
*Exception : *If I remover the PD or Sleep entering statements the system
works perfectly as expected.
*Other Helpful Info :*
1. I am initialising all the peripherals perfectly as without PD or Sleep
mode the system works perfect.
2. Every time system wakes PLL0 is reinitialised (code written in the
extint functions).
3. However I do not reinitialise PLL1 as according to documentation it is
only used by USB and that is not being used by my application.
I would really appreciate any help. Have been stuck at this for a long time.
Regards
Shashank
*
*
On Tue, Sep 18, 2012 at 3:27 PM,
wrote:
> **
> Hi,
>
> Just out of curiosity : what else is on your board except the LPC2368 ?
>
> Br,
>
> Armand
> On Tue, 18 Sep 2012 05:52:51 -0000, "iclim89" wrote:
> > Hi,
> >
> > I'm using:
> > - LPC2368
> > - self designed board
> > - red-suite v4.0.6
> > - win7 64bits
> >
> > I'm having problem on lower down the current.
> >
> > 1) My board without MCU or with MCU but in deep power down mode, the
> > current is around 33mA. So this is the lowest current for my board.
> >
> > 2) I'm using power down mode and rtc wake up for every 1sec.
> >
> > 3) In my code, after I initialized PLL and set INTWAKE by rtc only. Then
> > my power down mode current shot to 70mA+. The setting code is placed at
> top
> > in main block. Then I block the code go further so this code will not
> wake
> > up.
> >
> > I wonder why it will caused the current shot to 70mA.
>
>
>
--
Shashank Maheshwari
Consultant, C&SI
Ericsson Corp.
BITS Pilani

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - Kevin - Sep 18 9:58:39 2012
Have you also re-initialized the uart after comming out of sleep.
Because most/all clocks are stopped during sleep the peripherals (in your case
uart) may be in an incorrect state.
I havn't used sleep mode on the LPC2148, however I think that this might be the
problem. At least it worth a try.
--- In l..., Shashank Maheshwari
wrote:
>
> Hey iclim89, Martin and Kelvin
>
> Since you came up with topic it looks you are successful with the power
> down modes on LPC. I have been stuck on it for a really long time. The
> problem discussed here is the next step to my problem. It would be really
> helpful if you could give some pointers...
>
> *Processor* : LPC2148
> *Environment* : Keil uVision
>
> *Problem : *I have a hall effect sensor attached to extint. The system is
> in Power Down (PD) mode. An edge triggered (both polarities) input from the
> sensor wakes the system, LEDs are toggled and an output is sent on UART1
> then again goes back into PD mode.
>
> On my practical output I see the LEDs toggle perfectly. However UART doesnt
> not function when system wakes up. It does not send any character.
>
> *Exception : *If I remover the PD or Sleep entering statements the system
> works perfectly as expected.
>
> *Other Helpful Info :*
> 1. I am initialising all the peripherals perfectly as without PD or Sleep
> mode the system works perfect.
> 2. Every time system wakes PLL0 is reinitialised (code written in the
> extint functions).
> 3. However I do not reinitialise PLL1 as according to documentation it is
> only used by USB and that is not being used by my application.
>
> I would really appreciate any help. Have been stuck at this for a long
time.
>
> Regards
> Shashank
> *
> *
> On Tue, Sep 18, 2012 at 3:27 PM, wrote:
>
> > **
> >
> >
> > Hi,
> >
> > Just out of curiosity : what else is on your board except the LPC2368 ?
> >
> > Br,
> >
> > Armand
> >
> >
> > On Tue, 18 Sep 2012 05:52:51 -0000, "iclim89" wrote:
> > > Hi,
> > >
> > > I'm using:
> > > - LPC2368
> > > - self designed board
> > > - red-suite v4.0.6
> > > - win7 64bits
> > >
> > > I'm having problem on lower down the current.
> > >
> > > 1) My board without MCU or with MCU but in deep power down mode, the
> > > current is around 33mA. So this is the lowest current for my board.
> > >
> > > 2) I'm using power down mode and rtc wake up for every 1sec.
> > >
> > > 3) In my code, after I initialized PLL and set INTWAKE by rtc only.
Then
> > > my power down mode current shot to 70mA+. The setting code is placed at
> > top
> > > in main block. Then I block the code go further so this code will not
> > wake
> > > up.
> > >
> > > I wonder why it will caused the current shot to 70mA.
> >
> >
> > --
> Shashank Maheshwari
> Consultant, C&SI
> Ericsson Corp.
> BITS Pilani
>
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - "M. Manca" - Sep 18 10:00:40 2012
Il 18/09/2012 15:31, Shashank Maheshwari ha scritto:
Low power modes setup and debugging is not very simple so the first
suggestion in your situation is to put a delay time after the wake up
just to understand if this can solve the UART problem. In my experience
the LPC2148 uart is a little bit sensitive to clock changes so you
should wait a little bit before send/receive any data.
> Hey iclim89, Martin and Kelvin
>
> Since you came up with topic it looks you are successful with the power
> down modes on LPC. I have been stuck on it for a really long time. The
> problem discussed here is the next step to my problem. It would be really
> helpful if you could give some pointers...
>
> *Processor* : LPC2148
> *Environment* : Keil uVision
>
> *Problem : *I have a hall effect sensor attached to extint. The system is
> in Power Down (PD) mode. An edge triggered (both polarities) input from the
> sensor wakes the system, LEDs are toggled and an output is sent on UART1
> then again goes back into PD mode.
>
> On my practical output I see the LEDs toggle perfectly. However UART doesnt
> not function when system wakes up. It does not send any character.
>
> *Exception : *If I remover the PD or Sleep entering statements the system
> works perfectly as expected.
>
> *Other Helpful Info :*
> 1. I am initialising all the peripherals perfectly as without PD or Sleep
> mode the system works perfect.
> 2. Every time system wakes PLL0 is reinitialised (code written in the
> extint functions).
> 3. However I do not reinitialise PLL1 as according to documentation it is
> only used by USB and that is not being used by my application.
>
> I would really appreciate any help. Have been stuck at this for a long
time.
>
> Regards
> Shashank
> *
> *
> On Tue, Sep 18, 2012 at 3:27 PM, wrote:
>
>> **
>> Hi,
>>
>> Just out of curiosity : what else is on your board except the LPC2368 ?
>>
>> Br,
>>
>> Armand
>> On Tue, 18 Sep 2012 05:52:51 -0000, "iclim89" wrote:
>>> Hi,
>>>
>>> I'm using:
>>> - LPC2368
>>> - self designed board
>>> - red-suite v4.0.6
>>> - win7 64bits
>>>
>>> I'm having problem on lower down the current.
>>>
>>> 1) My board without MCU or with MCU but in deep power down mode, the
>>> current is around 33mA. So this is the lowest current for my board.
>>>
>>> 2) I'm using power down mode and rtc wake up for every 1sec.
>>>
>>> 3) In my code, after I initialized PLL and set INTWAKE by rtc only. Then
>>> my power down mode current shot to 70mA+. The setting code is placed at
>> top
>>> in main block. Then I block the code go further so this code will not
>> wake
>>> up.
>>>
>>> I wonder why it will caused the current shot to 70mA.
>>
>>
(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - iclim89 - Sep 19 0:00:33 2012
Hi Armand,
The board contains 3 lvx3245, 2 max3232, 1 hc4051, 1 lm35dz, 1 lm358am, 1
lm2676, 2 7805 and 2 lm1117_3.3. I calculated and measured individual component,
the total current is about 25mA.
--- In l...,
wrote:
>
> Hi,
>
> Just out of curiosity : what else is on your board except the LPC2368 ?
>
> Br,
>
> Armand
> On Tue, 18 Sep 2012 05:52:51 -0000, "iclim89" wrote:
> > Hi,
> >
> > I'm using:
> > - LPC2368
> > - self designed board
> > - red-suite v4.0.6
> > - win7 64bits
> >
> > I'm having problem on lower down the current.
> >
> > 1) My board without MCU or with MCU but in deep power down mode, the
> > current is around 33mA. So this is the lowest current for my board.
> >
> > 2) I'm using power down mode and rtc wake up for every 1sec.
> >
> > 3) In my code, after I initialized PLL and set INTWAKE by rtc only. Then
> > my power down mode current shot to 70mA+. The setting code is placed at
> top
> > in main block. Then I block the code go further so this code will not
> wake
> > up.
> >
> > I wonder why it will caused the current shot to 70mA.
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - iclim89 - Sep 19 0:08:53 2012
Hi Martin,
Yes. I have turned off the peripherals clock power but didn't turn off PLL
because from the datasheet it says PLL will be turned off automatically.
I also set all I/O as input and pull down. *I failed to pull up all the I/O.When
I measure the pin it just 2.2V.
Actually I can reach low current as datasheet stated because I have a bare board
with only MCU and I able to achieve 30uA at Deep power down.
The problem I have now is I don't know why after I set MCU to wake up from RTC
then the current rise.
--- In l..., "Kevin"
wrote:
>
> It might also be wise to power down the internal peripherals and also the pll.
This way you know for sure what is on and whats not.
>
> --- In l..., "capiman26061973" wrote:
> >
> >
> >
> > Hello iclim89,
> >
> > just want to point you to a page, which perhaps gives
> > you some hints what is missing in your setup:
> >
> >
http://www.microbuilder.eu/blog/10-05-03/Waking_up_from_Deep-Sleep_on_the_LPC1114_and_LPC1343.aspx
> >
> > Look around there on this website, it was very useful for me
> > with power down modes (but i haven't used a LPC23xx).
> >
> > It is for a different NXP processor,
> > but the one or other action is perhaps useful to check.
> >
> > One thing which i have in mind, is the setting of GPIO.
> > Check if you need to set it to input or output,
> > when output to which level / mode.
> >
> > Best regards,
> >
> > Martin
> >
> >
> > --- In l..., "iclim89" wrote:
> > >
> > > Hi,
> > >
> > > I'm using:
> > > - LPC2368
> > > - self designed board
> > > - red-suite v4.0.6
> > > - win7 64bits
> > >
> > > I'm having problem on lower down the current.
> > >
> > > 1) My board without MCU or with MCU but in deep power down mode, the
current is around 33mA. So this is the lowest current for my board.
> > >
> > > 2) I'm using power down mode and rtc wake up for every 1sec.
> > >
> > > 3) In my code, after I initialized PLL and set INTWAKE by rtc only. Then
my power down mode current shot to 70mA+. The setting code is placed at top in
main block. Then I block the code go further so this code will not wake up.
> > >
> > > I wonder why it will caused the current shot to 70mA.
> > >
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - iclim89 - Sep 19 0:23:23 2012
Hi,
Instead of toggle LED, you can try to use blinking. So that you can know is PLL
working fine after wake up. If PLL doesn't reinitialize correctly, the LED
should blink slower. If after wake up your LED blink correctly then the problem
is on UART side. It may be caused by UART power is turned off or you can try to
reinitialize UART.
--- In l..., Shashank Maheshwari
wrote:
>
> Hey iclim89, Martin and Kelvin
>
> Since you came up with topic it looks you are successful with the power
> down modes on LPC. I have been stuck on it for a really long time. The
> problem discussed here is the next step to my problem. It would be really
> helpful if you could give some pointers...
>
> *Processor* : LPC2148
> *Environment* : Keil uVision
>
> *Problem : *I have a hall effect sensor attached to extint. The system is
> in Power Down (PD) mode. An edge triggered (both polarities) input from the
> sensor wakes the system, LEDs are toggled and an output is sent on UART1
> then again goes back into PD mode.
>
> On my practical output I see the LEDs toggle perfectly. However UART doesnt
> not function when system wakes up. It does not send any character.
>
> *Exception : *If I remover the PD or Sleep entering statements the system
> works perfectly as expected.
>
> *Other Helpful Info :*
> 1. I am initialising all the peripherals perfectly as without PD or Sleep
> mode the system works perfect.
> 2. Every time system wakes PLL0 is reinitialised (code written in the
> extint functions).
> 3. However I do not reinitialise PLL1 as according to documentation it is
> only used by USB and that is not being used by my application.
>
> I would really appreciate any help. Have been stuck at this for a long
time.
>
> Regards
> Shashank
> *
> *
> On Tue, Sep 18, 2012 at 3:27 PM, wrote:
>
> > **
> >
> >
> > Hi,
> >
> > Just out of curiosity : what else is on your board except the LPC2368 ?
> >
> > Br,
> >
> > Armand
> >
> >
> > On Tue, 18 Sep 2012 05:52:51 -0000, "iclim89" wrote:
> > > Hi,
> > >
> > > I'm using:
> > > - LPC2368
> > > - self designed board
> > > - red-suite v4.0.6
> > > - win7 64bits
> > >
> > > I'm having problem on lower down the current.
> > >
> > > 1) My board without MCU or with MCU but in deep power down mode, the
> > > current is around 33mA. So this is the lowest current for my board.
> > >
> > > 2) I'm using power down mode and rtc wake up for every 1sec.
> > >
> > > 3) In my code, after I initialized PLL and set INTWAKE by rtc only.
Then
> > > my power down mode current shot to 70mA+. The setting code is placed at
> > top
> > > in main block. Then I block the code go further so this code will not
> > wake
> > > up.
> > >
> > > I wonder why it will caused the current shot to 70mA.
> >
> >
> > --
> Shashank Maheshwari
> Consultant, C&SI
> Ericsson Corp.
> BITS Pilani
>
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - Shashank Maheshwari - Sep 20 6:54:47 2012
Hi M Menca
PROBLEM SOLVED
That advise by you was immensely valuable. I added a delay after every wake
up from the sleep modes in the program interrupt functions and 'it worked'
!!
This DOES mean that the UART of LPC is truly sensitive to clock. Though I
do not understand why.
Do you think you have a faster alternative to this 'solved issue' ?
Thanks a lot for the valuable help. I highly appreciate it :)
Shashank
On Wed, Sep 19, 2012 at 9:53 AM, iclim89
wrote:
> **
> Hi,
>
> Instead of toggle LED, you can try to use blinking. So that you can know
> is PLL working fine after wake up. If PLL doesn't reinitialize correctly,
> the LED should blink slower. If after wake up your LED blink correctly then
> the problem is on UART side. It may be caused by UART power is turned off
> or you can try to reinitialize UART.
>
> --- In l..., Shashank Maheshwari
> wrote:
> >
> > Hey iclim89, Martin and Kelvin
> >
> > Since you came up with topic it looks you are successful with the power
> > down modes on LPC. I have been stuck on it for a really long time. The
> > problem discussed here is the next step to my problem. It would be really
> > helpful if you could give some pointers...
> >
> > *Processor* : LPC2148
> > *Environment* : Keil uVision
> >
> > *Problem : *I have a hall effect sensor attached to extint. The system is
>
> > in Power Down (PD) mode. An edge triggered (both polarities) input from
> the
> > sensor wakes the system, LEDs are toggled and an output is sent on UART1
> > then again goes back into PD mode.
> >
> > On my practical output I see the LEDs toggle perfectly. However UART
> doesnt
> > not function when system wakes up. It does not send any character.
> >
> > *Exception : *If I remover the PD or Sleep entering statements the system
> > works perfectly as expected.
> >
> > *Other Helpful Info :*
>
> > 1. I am initialising all the peripherals perfectly as without PD or Sleep
> > mode the system works perfect.
> > 2. Every time system wakes PLL0 is reinitialised (code written in the
> > extint functions).
> > 3. However I do not reinitialise PLL1 as according to documentation it is
> > only used by USB and that is not being used by my application.
> >
> > I would really appreciate any help. Have been stuck at this for a long
> time.
> >
> > Regards
> > Shashank
> > *
> > *
> >
> >
> > On Tue, Sep 18, 2012 at 3:27 PM, wrote:
> >
> > > **
>
> > >
> > >
> > > Hi,
> > >
> > > Just out of curiosity : what else is on your board except the LPC2368 ?
> > >
> > > Br,
> > >
> > > Armand
> > >
> > >
> > > On Tue, 18 Sep 2012 05:52:51 -0000, "iclim89" wrote:
> > > > Hi,
> > > >
> > > > I'm using:
> > > > - LPC2368
> > > > - self designed board
> > > > - red-suite v4.0.6
> > > > - win7 64bits
> > > >
> > > > I'm having problem on lower down the current.
> > > >
> > > > 1) My board without MCU or with MCU but in deep power down mode, the
> > > > current is around 33mA. So this is the lowest current for my board.
> > > >
> > > > 2) I'm using power down mode and rtc wake up for every 1sec.
> > > >
> > > > 3) In my code, after I initialized PLL and set INTWAKE by rtc only.
> Then
> > > > my power down mode current shot to 70mA+. The setting code is placed
> at
> > > top
> > > > in main block. Then I block the code go further so this code will not
> > > wake
> > > > up.
> > > >
> > > > I wonder why it will caused the current shot to 70mA.
> > >
> > >
> > >
> >
> >
> >
> > --
> > Shashank Maheshwari
> > Consultant, C&SI
> > Ericsson Corp.
> > BITS Pilani
> >
> >
> >
> >
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: power saving problem - "M. Manca" - Sep 20 7:34:12 2012
Il 20/09/2012 12:54, Shashank Maheshwari ha scritto:
> Hi M Menca
>
> PROBLEM SOLVED
>
> That advise by you was immensely valuable. I added a delay after every wake
> up from the sleep modes in the program interrupt functions and 'it worked'
> !!
> This DOES mean that the UART of LPC is truly sensitive to clock. Though I
> do not understand why.
> Do you think you have a faster alternative to this 'solved issue' ?
Without debugging your hardware I can't know if the problem is really
on
the UART, in the clock signal chain or in the external hardware but
exiting a low power mode is always a critical period for
microcontrollers because a lot of not powered circuits have to start up
and it is worst then a normal power up because other circuits are
already powered (those powered also in low power mode) so the path of
the current flow should be different. Remember that the final phase of a
normal power up is the RESET phase (it takes some time) that is not
executed when exiting from a low power mode so every microcontroller
needs a different time to exit properly from a low power mode and this
time in my experience is heavily influenced by bypass capacitors on
power rails and more generally by the impedance of the power supply
lines to the microcontroller (more then 2 in modern microcontrollers). I
think you should monitor with a scope the power up and the clock output
(should be present also on a pin in the LPC2148) to see how much time
they takes to reach the correct values to understand if the problem is
outside or inside the microcontroller and only after that try to find a
better solution (hopefully there is a better solution, mine was just a
trial to understand if the problem was simple or not).
>
> Thanks a lot for the valuable help. I highly appreciate it :)
>
> Shashank
> On Wed, Sep 19, 2012 at 9:53 AM, iclim89 wrote:
>
>> **
>> Hi,
>>
>> Instead of toggle LED, you can try to use blinking. So that you can know
>> is PLL working fine after wake up. If PLL doesn't reinitialize correctly,
>> the LED should blink slower. If after wake up your LED blink correctly
then
>> the problem is on UART side. It may be caused by UART power is turned off
>> or you can try to reinitialize UART.
>>
>> --- In l..., Shashank Maheshwari
>> wrote:
>>> Hey iclim89, Martin and Kelvin
>>>
>>> Since you came up with topic it looks you are successful with the power
>>> down modes on LPC. I have been stuck on it for a really long time. The
>>> problem discussed here is the next step to my problem. It would be really
>>> helpful if you could give some pointers...
>>>
>>> *Processor* : LPC2148
>>> *Environment* : Keil uVision
>>>
>>> *Problem : *I have a hall effect sensor attached to extint. The system is
>>> in Power Down (PD) mode. An edge triggered (both polarities) input from
>> the
>>> sensor wakes the system, LEDs are toggled and an output is sent on UART1
>>> then again goes back into PD mode.
>>>
>>> On my practical output I see the LEDs toggle perfectly. However UART
>> doesnt
>>> not function when system wakes up. It does not send any character.
>>>
>>> *Exception : *If I remover the PD or Sleep entering statements the system
>>> works perfectly as expected.
>>>
>>> *Other Helpful Info :*
>>> 1. I am initialising all the peripherals perfectly as without PD or Sleep
>>> mode the system works perfect.
>>> 2. Every time system wakes PLL0 is reinitialised (code written in the
>>> extint functions).
>>> 3. However I do not reinitialise PLL1 as according to documentation it is
>>> only used by USB and that is not being used by my application.
>>>
>>> I would really appreciate any help. Have been stuck at this for a long
>> time.
>>> Regards
>>> Shashank
>>> *
>>> *
>>>
>>>
>>> On Tue, Sep 18, 2012 at 3:27 PM, wrote:
>>>
>>>> **
>>>>
>>>> Hi,
>>>>
>>>> Just out of curiosity : what else is on your board except the LPC2368 ?
>>>>
>>>> Br,
>>>>
>>>> Armand
>>>>
>>>>
>>>> On Tue, 18 Sep 2012 05:52:51 -0000, "iclim89" wrote:
>>>>> Hi,
>>>>>
>>>>> I'm using:
>>>>> - LPC2368
>>>>> - self designed board
>>>>> - red-suite v4.0.6
>>>>> - win7 64bits
>>>>>
>>>>> I'm having problem on lower down the current.
>>>>>
>>>>> 1) My board without MCU or with MCU but in deep power down mode, the
>>>>> current is around 33mA. So this is the lowest current for my board.
>>>>>
>>>>> 2) I'm using power down mode and rtc wake up for every 1sec.
>>>>>
>>>>> 3) In my code, after I initialized PLL and set INTWAKE by rtc only.
>> Then
>>>>> my power down mode current shot to 70mA+. The setting code is placed
>> at
>>>> top
>>>>> in main block. Then I block the code go further so this code will not
>>>> wake
>>>>> up.
>>>>>
>>>>> I wonder why it will caused the current shot to 70mA.
>>>>
>>>>
>>>
>>>
>>> --
>>> Shashank Maheshwari
>>> Consultant, C&SI
>>> Ericsson Corp.
>>> BITS Pilani
>>>
>>>
>>>
>>>
>>
>>
>
>
(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )