AnsweredAssumed Answered

STM32F1 Clock/Calendar BUG

Question asked by Kruger on Apr 24, 2014
Latest reply on Apr 29, 2014 by Kruger
Hello, I noticed a problem in the software implementation of STM32F1 's clock/calendar. If the device is switched off for a long time (>= 255 days) it will enter infinite loop inside  CheckForDaysElapsed() (which is inside RTC_Configuration() function) because the for(;;) loop variable is only 8bits in size. I replaced several microcontrollers before finding this as I thought they were faulty.
Has anyone encountered this issue ?