Question
RTC December read problem
Posted on December 03, 2014 at 19:49
Hi.
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.