STM32H5 VBAT caution in an5711
Hello,
I am designing some hardware with the STM32H523.
I have a rechargeable ML-Lithium Coin battery directly connected to the VBAT pin of the controller. The battery is supposed to power the RTC when there is no VDD. I would like to use the internal charging mechanism to charge the battery when VDD is present.
In AN5711, I came across the following caution:

I am a bit concerned about this current injection. If it is too high, the battery may get damaged. The recommendation is to "connect an external low-drop diode between this power supply and the VBAT pin."
I understand this as placing a low-drop diode between my battery and the VBAT pin. But which side should the anode be on? And how does this affect the charging/discharging?
If anyone could help me out, it would be much appreciated.
