AnsweredAssumed Answered

RTC December read problem

Question asked by Majerle.Tilen on Dec 3, 2014
Latest reply on Dec 3, 2014 by Majerle.Tilen

I have my RTC lib, which is working just fine except one thing.
When december arrived, my RTC date register reads 0 as date except 12.

I have read with RTC_GetDate(RTC_Format_BIN,..) and Month is set to 0.

Why is that?

In the stm32f4xx_rcc.h is define for January set to 0x01 and for December to 0x12 (in BCD) so I assume that december is 12 and january is 1 in registers.
I have no idea, please help about that strange error.