Resolved! Can you write values to the RTC counter registers(RTC_CNTL/RTC_CNTH) after you've set them to an intial value?
I've been trying to implement a clock and calendar into my solar tracker project(using an stm32f103) so that I can set at which time it should go to sleep ( and for how long) , but every time the board goes into standby the counter -unfortunately- ge...