I am using STM32 controller with stbc02 battery charging chip from st for monitoring the battery level voltage. While trying to read the battery adc voltage from BATMS pin,it always shows 0.How to set the battery to be in working mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-20 12:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-20 3:47 AM
By default the switch behind BATMS is switched off, disconnecting BATSNS from the external voltage divider (see table 8 of the datasheet).
Did you try to enable it using SW_SEL pulse 10?
Did you try to measure the voltage at the external voltage divider using a multimeter?
Regards
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-20 3:55 AM
I have a doubt that how to generate the pulse number as 10? datasheet mentioned with time characteristics also for start and stop bit. Attaching the document below for reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-20 4:38 AM
It shouldn't be too complicated if you're using a timer, see your other question.
Regards
/Peter
