Sinapse-Energia / MIFARE-US

2 stars 0 forks source link

[BUG] RTC static #25

Closed soporteHW closed 7 years ago

soporteHW commented 7 years ago

It seems that RTC remains frozen. I checked the _MX_RTC_Init_() and _SystemClockConfig() functions, It look OK.

The problem has appeared since the RFID was integrated. Is there conflict with SPI interface?

soporteHW commented 7 years ago

Posted in: https://community.st.com/message/170417-stm32f030-rtc-interface

soporteHW commented 7 years ago

BUG RESOLVED. The problem was that RTC struct local variable was not being updated. For this, it's necessary to call _MIC_Get_RTC()_ function,