RTC driver uses BKP registers!
Moderators: RoccoMarco, lbednarz, tfAteba
Re: RTC driver uses BKP registers!
Hi all.
I have tried to swap
lines. It works as expected on my hardware. But I am wandering is that order valid for all STM32F1x? Did you see any notes about that? I can not found any in RM0008.
Giovanni,
Is it worth to backport this change to stable branch?
I have tried to swap
Code: Select all
RCC->BDCR |= RCC_BDCR_RTCEN;
rtc_lld_set_prescaler();lines. It works as expected on my hardware. But I am wandering is that order valid for all STM32F1x? Did you see any notes about that? I can not found any in RM0008.
Giovanni,
Is it worth to backport this change to stable branch?
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: RTC driver uses BKP registers!
Hi Barthess,
Yes, I would backport all changes.
All F1 devices are very similar, so if it works on one it should be valid also for the others.
Giovanni
Yes, I would backport all changes.
All F1 devices are very similar, so if it works on one it should be valid also for the others.
Giovanni