When using RTC, the GPIO pin state of PA4 may be corrupted. RM0454, section 23.3.3 says: "In addition, it is possible to output RTC_OUT2 on PA4 pin thanks to OUT2EN bit. Thisoutput is not available in VBAT mode. The different functions are mapped on ...