It is checked if calculated is bigger or equal to the value passed via init function. This test passes for most of the targets, because of their LSI frequency value which after division throgh it gives good integer value so that reload value can be calculated without any rounding. But not in the case of STM32-L0xx boards where the LSI frequency value is set to 37 kHz.

So should we change the test so we accept rounding down, or should we round the values up (if it doesn't exceed the upper limit of timeout)?