Sleeping for a longer period of time

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

User avatar
kulve
Posts: 86
Joined: Mon Nov 28, 2011 8:36 pm

Re: Sleeping for a longer period of time

Post by kulve »

We soldered a board with the bare minimum of components and that seems to consume something in the uA class so there's something in our schema that is consuming the power. Or something that makes the F405 to consume the power even in the StandBy, even though we have really little there.
Ballard90
Posts: 1
Joined: Thu Mar 29, 2012 7:49 am

Re: Sleeping for a longer period of time

Post by Ballard90 »

Hi! it is concerning your additional notes: "It doesn't wake up without the call to rtcSetPeriodicWakeup_v2() so it doesn't wake to anything else." - Can we do something different to wake it up with the call?

____________________________
m4a to mp3 converter
User avatar
kulve
Posts: 86
Joined: Mon Nov 28, 2011 8:36 pm

Re: Sleeping for a longer period of time

Post by kulve »

Ballard90 wrote:Hi! it is concerning your additional notes: "It doesn't wake up without the call to rtcSetPeriodicWakeup_v2() so it doesn't wake to anything else." - Can we do something different to wake it up with the call?


I'm not exactly sure what you are asking, but the MCU can wake from StandBy in the following cases:

WKUP pin, RTC alarm, RTC Wakeup, RTC time stamp event, external reset in NRST pin and IWDG reset.

From Stop mode you can also wake up using EXTI lines.
User avatar
kulve
Posts: 86
Joined: Mon Nov 28, 2011 8:36 pm

Re: Sleeping for a longer period of time

Post by kulve »

kulve wrote:We soldered a board with the bare minimum of components and that seems to consume something in the uA class so there's something in our schema that is consuming the power. Or something that makes the F405 to consume the power even in the StandBy, even though we have really little there.


Answering myself here just in case somebody is interested. Our LM1117 3.3V regulator is taking 5mA from the output pin even when the input pin is not connected at all. Also that regulator needs at least 5mA load for the regulation to work properly.
User avatar
barthess
Posts: 861
Joined: Wed Dec 08, 2010 7:55 pm
Been thanked: 7 times

Re: Sleeping for a longer period of time

Post by barthess »

hi kulve,
kulve wrote:Answering myself here just in case somebody is interested.

Thanks for sharing your information. My board has LM1117 regulator and I have no problems without load on it. Probably you have insert output capacitor with too low ESR (ceramic for example).
User avatar
kulve
Posts: 86
Joined: Mon Nov 28, 2011 8:36 pm

Re: Sleeping for a longer period of time

Post by kulve »

barthess wrote:hi kulve,
Thanks for sharing your information. My board has LM1117 regulator and I have no problems without load on it. Probably you have insert output capacitor with too low ESR (ceramic for example).


I have no idea about the ESR stuff (I haven't made the design, I've been just watching over the shoulder :) ).

This is the regulator we have:
http://www.digikey.fi/product-detail/en ... -ND/483058 (or search for LM1117IMP-3.3CT-ND).

And this is the tantalum capasitor connected on both sides, input and output:
http://www.digikey.fi/product-detail/en ... -ND/564783 (or search for 478-1751-1-ND).

On the test board I soldered only the regulator (no capasitors for it at all) after the f405 was sleeping properly and then it took the 5mA minimum when powered directly to the output side with external 3.3V.
Post Reply