AnsweredAssumed Answered

F1 RTC prescaler

Question asked by Uwe Bonnes on Jan 25, 2017
Latest reply on Jan 26, 2017 by Nesrine M

Hello,

 

while rm0008 Rev. 16 18.4.3 says:

Note: If the input clock frequency (fRTCCLK) is 32.768 kHz, write 7FFFh in this register to get a
signal period of 1 second.

STM32Cube_FW_F1_V1.4.0/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc.c writes

WRITE_REG(hrtc->Instance->PRLL, 0x00008000);

 

What document is right?

Outcomes