2015-05-21 01:20 PM
We are using the STM32F429ZIT6 and we need to keep the RTC running when VDD is not present. Can we hook up a coin-cell battery directly to VBAT, with no switching/monitoring circuit? Any help would be MUCH appreciated!!
Greg2015-05-21 10:54 PM
> We areusing the STM32F429ZIT6 and we need to keep the RTC running when VDD is not present.
> Can we hook up a coin-cell battery directly to VBAT, with no switching/monitoring circuit? Yes. See the respective EVAL board (STM32439I-EVAL perhaps) for inspiration/reference (but there's nothing more than the plain battery holder connected through a jumper there). The gotchas are, that you are supposed to ; and the warning in 5.1.2 Battery backup domain chapter of RM0090 rev.9 (applies for unusually low voltage batteries only). Another gotcha may be the VBAT measurement in ADC, the 50k divider may suck the juice of a smaller battery quite rapidly if left connected for too long or the measurement is repeated too often. JW2015-05-22 05:07 AM
Thanks! This is a big help. We'll be sure to tie VDDA to VDD and we'll also watch for any current injection into VBAT and use a diode to VDD accordingly.
Take care...2015-05-23 01:42 AM
Actually, F4xx devices have built-in option to measure VBAT with internal ADC. You don't need to connect external resistors and everything.
Just enable VBAT measurements by software and on some ADC channel (maybe 18) you will read VBAT value divided for some factor.Read datasheet for more info, Reference manual for F4xx series.