2016-03-06 07:06 PM
Hi all,
I have designed a device to track data of car. I have used the STM32F303RE and FreeRTOS to program its operation. When I use SD card task to read data from SD, it take a long time (about 30 minutes) to get data. After that, I found an error relate to RTC of MCU. I have displayed time and day of RTC on Terminal and got a result: 00:68:68 19/02/2000. And the interrupt of RTC also has not operated (I have used AlarmA interrupt of RTC to generate 1 second interrupt). But when I reset device, RTC operated well, time and day displayed correctly.I have tried to understand this error but not successful.Could anyone give me some advice to resolve this problem?Thank you very much. #!stm32-!cubemx-!rtc-!timeout #!stm32-!cubemx-!rtc2016-03-07 10:27 AM
Wouldn't the RTC naturally interrupt on a 1Hz basis, doesn't seem like you'd need an Alarm setting.
Really can't make much sense of your problem from the description, perhaps you can provide a better foundation, with the code configuring the RTC, and the code getting 00:68:68 numbers. Make sure you understand the difference with BIN and BCD modes.