2013-04-15 06:14 AM
Hi Again ;
In my application stm32f407 will enter stanfby mode then should wake up by 2 methods ; a rising edge on the PA0( wakeup _pin) and an alarm occurs everyday one time .. the first one I thing I will not get problem the sec?nd one confused me after we have finished the PCB, is it possible to wakeup from standby using RTC alarm without external wirring ? #lse-rtc2013-04-15 07:49 AM
RTC Alarm wake from standby requires no PCB magic. You will however require a supply on VBAT and an LSE crystal.
2013-04-15 09:36 AM
Thank you Clive ;
I could do it , but now I have 5mA standby current !! what could be the problem?2013-04-15 09:42 AM
On what supply?
Consider what you have attached to the chip, and the state of the GPIO pins, and the circuits/nets to which they are attached. Do you happen to have anything going on with PC13, PC14, PC15 and PI8? Is PDR_ON pulled high? or floating?2013-04-15 09:49 AM
2013-04-15 09:56 AM
The pins I mentioned are in the BKP/PWR domain, at least two should be connected to LSE. Anything connected to them with draw from VBAT.
Others have reported high current issues on VBAT. [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Vbat%20problem%20on%20a%20STM32F4&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=473]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FVbat%20problem%20on%20a%20STM32F4&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=473 Where are you measuring the current? On what supply?2013-04-15 10:09 AM
2013-04-15 10:17 AM
Hard to say, I don't have an F2/F4 strapped up in a suitable configuration.
When I did some aggressive testing on an F1 design. STOP pulled about 1mA, and STANDBY 180uA at my 3.7V lithium cell.2013-04-16 07:05 AM
PC14, PC15 are floating .
This means you don't have an external oscillator or crystal connected to the RTC LSE. Without an LSE you can't use the RTC when it's powered down, because there's no clock to drive the RTC. Your alarm will never trigger because the RTC doesn't increment.
Jack Peacock2013-04-16 12:41 PM