Hi Team,
Our customer is using BQ76952 together with STM32F103RBT6 but the MCU can't communicate with the battery monitor. Initially, he connected the REG1, REG2, BREG and REGIN to GND as shown in the schematic diagram below. He then revised the connections of these pins and use the sample code of SPI for STM32 from the product page of BQ76952. According to him,
After studying the content of the forums and the experience of others, I realized that I should feed REG1 through REGIN. In this way, should feed REGIN about 4.2V until 3.3V appear on REG1 pin.
After floating REGIN and BREG from the ground, we receive noise. When BREG floats and REGIN fed 3.3V, I have the output, but the voltage of some cells is wrong (i think this error have been because of our code). When I connect REGIN to BREG, we have an output but more error and noise. We have 5.5 volts in all modes on BREG pin. I think it should be floating BREG and fed 4.2V to REGIN until the REG1 3.3V, but when REGIN cross from 3.3V, noise level go upper.
Please advise, BREG floats and feed on REGIN? (Should i use the transistor?) Is there a principled method?
Meanwhile, thanks for the code, my friend find error on your code and he sends it back after being fully resolved.
Regards,
Danilo