RTC digital smooth calibration doesn't seems to work (stm32l083rz)
To read the frequency I am using a timer to output frequency then I am reading the value using a frequence counter. I am using the stm32l083rz chip. I have a gate time of 32 seconds on my frequence counter.
I am trying to compensate the drift due to the temperature of a 32.768kHz quartz.
I have tried to use the hal function but I don't see any difference on my frequence counter.
if (HAL_RTCEx_SetSmoothCalib(timeMgr.rtcHandle,
RTC_SMOOTHCALIB_PERIOD_8SEC,
RTC_SMOOTHCALIB_PLUSPULSES_SET,
0x00000FF
) != HAL_OK)
{
Error_Handler();
}
I also tried to use the code exemple given in the STM32L0x3 REFERENCE MANUEL. But same result, the frequency doesn't seem to be recalibrated.
Any thoughts ?
The configuration I use to measure frequency. (TIM22 with LSE)

