AnsweredAssumed Answered

RTC error after updating Cuberepo 1.5 to 1.8

Question asked by steevke on Sep 8, 2015
Latest reply on Sep 11, 2015 by 68516
Topic says it all, I get an error in the RTC after updating the library version to 1.8.0

In the old stm32f407xx.h files I find:
/******************** Bits definition for RTC_PRER register *****************/
#define RTC_PRER_PREDIV_A ((uint32_t)0x007F0000)
#define RTC_PRER_PREDIV_S ((uint32_t)0x00001FFF)


In the new stm32f407xx.h files I find:
/******************** Bits definition for RTC_PRER register *****************/
#define RTC_PRER_PREDIV_A ((uint32_t)0x007F0000)
#define RTC_PRER_PREDIV_S ((uint32_t)0x00007FFF)

I'm unable to test right now if this is the cause of my problems but if someone can clear light on why the register definitions changed I would be grateful. I don't seem to find any mention of this in the release notes.

Thanks

Steven

Outcomes