High current draw Vbat Bluepill
Hi,
This is the first time I am starting a post, sorry in advance if it's not in the correct place.
I have a Blue-Pill with original STM32F103C8T6. I have Vbat hooked up to a 0.33 F super cap via 100 ohm. Vdd is connected to V bat with a BAT54C Schottky diode. Vbat is decoupled with a 100 nF MLCC capacitor of good quality.
I am using the RTC clock and the backup SRAM. It all works well. However, when powering down it appears that Vbat drops rapidly while drawing somewhere between 2 and 3 mA (depending on the charge level) of the super cap.
At first I thought that I had broken the chip by accident and therefore I ordered another Blue pill, but the effect stayed the same: high current consumption.
I checked the decoupling capacitor. I checked the diode, even took it out during Vbat operation. I also let the program run in an empty while loop. I disconnected the programmer. Nothing seems to help. The AC level on the 32.768 kHz crystal in V bat and normal mode is about 300 mV, measured with a 1:10 scope probe. I have put all unconnected pins in a known output state. Holding the reset button pressed makes no difference, as expected.
According to the schematic diagram of the Bluepill, Vbat is only connected to pin 1 of the board. PC13 (alarm) is connected to the status LED but there is no current flowing through that pin during Vbat operation.
I use CubeIDE 1.13.2.
I made designs with the F411 and the same supercaps, which gives me no problems at all. There is probably some silly reason why I measure this high current, I probably overlooked something. But what?
Regards,
Harold
