Skip to main content
KSakt.1
Associate
April 20, 2021
Question

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?

  • April 20, 2021
  • 2 replies
  • 1112 views

..

This topic has been closed for replies.

2 replies

Peter BENSCH
Technical Moderator
April 20, 2021

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
KSakt.1
KSakt.1Author
Associate
April 20, 2021

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

Peter BENSCH
Technical Moderator
April 20, 2021

It shouldn't be too complicated if you're using a timer, see your other question.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.