Using VBAT pin for monitoring battery voltage in STM32 microcontroller
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-09 1:23 PM
I am updating a PCB design that uses STM32WB35XX series microcontroller and 3 V CR2032 coin cell battery. I want to monitor the voltage level of this battery using the VBAT pin of the microcontroller. I know that is possible as specified in the picture below which is a snapshot from RM0434 reference manual of the microcontroller.Can I connect the positive terminal of the battery to VBAT pin directly for this purpose or do I need additional circuitry for connecting battery to VBAT pin?
Also, about this warning in RM0434 application note, what is the value of this current? Is it equal to value of the current (IDD (BOR_PVD)) that I colored in yellow in the table in second picture?
- Labels:
-
ADC
-
STM32WB series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-09 3:19 PM
use 3,3V VDD ? then need nothing, because vdd - 0,6 = 2,7 . so injection may be, if batt is 2,7 or lower - and that is empty/dead batt anyway.
just use ch18 only for test and switch off after testing, otherwise you kill batt by permanent test current.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-10 3:28 PM
> Can I connect the positive terminal of the battery to VBAT pin directly for this purpose or do I need additional circuitry for connecting battery to VBAT pin?
Yes, you can do this, provided the battery doesn't exceed the pin voltage limits. If you're running the chip directly from the battery, there is no issue.
