2019-02-22 11:08 PM
In stm32l1xx_ll_rtc.h, generated by STM32Cube MCU Package for STM32L1 Series, v1.8.1, line 2110:
__STATIC_INLINE void LL_RTC_ALMB_SetDay(RTC_TypeDef *RTCx, uint32_t Day)
{
MODIFY_REG(RTC->ALRMBR, (RTC_ALRMBR_DT | RTC_ALRMBR_DU),
(((Day & 0xF0U) << (RTC_ALRMBR_DT_Pos - 4U)) | ((Day & 0x0FU) << RTC_ALRMBR_DU_Pos)));
}
The first argument of MODIFY_REG() should be RTCx->ALRMBR, not RTC->ALRMBR.
I think :)
Solved! Go to Solution.
2019-02-27 01:46 AM
Hi,
The issue will be fixed with STM32CubeL1 V1.9.0 release.
Kind Regards,
Imen
2019-02-25 06:20 AM
Hello @jfolsom ,
Thanks for highlighting this issue. I transfer it internally to developer team for fix.
Kind Regards,
Imen
2019-02-27 01:46 AM
Hi,
The issue will be fixed with STM32CubeL1 V1.9.0 release.
Kind Regards,
Imen
2019-02-28 10:27 AM
Thank you :)