STM32L432 LPTIM prescaler behaviour
I have a NUCLEO-L432KC that I am trying to configure such that a LPTIM interrupt fires at a set time period in the future. To simplify calculations, the future time is 2048 low frequency clock ticks away (62.5 ms).
I can achieve this with relative simplicity, using the single shot mode of LPTIM1 and a CMP register value of 2048.
I am measuring the timer period by pulsing a GPIO after the timer is enabled, and inside the the Compare Match interrupt. For a prescaler value of 1x, this works as I expect (I am assuming the slight difference from 62.5 ms is due to the execution overhead of the interrupt)

My problem is that when enabling the prescaler, simply dividing the CMP register by the prescaler ratio does not result in the interrupt occurring with the same period. For example, setting the prescaler ratio to 16x and CMP to 128.

The interrupt period has increase from 62.6 ms up to 64.3 ms. The timer resolution decreases by enabling the prescaler, but that should only account for a change of 480 uS (16 * 30.05 uS). Both tests were run on the same hardware 30 seconds apart, and the trend has been reproduced on several pieces of hardware.
I have attached the `.ioc` file and the minimal reproduction `main.c`, which simply triggers the timer once a second.
Unfortunately my real application needs the prescaler to support longer timeout delays.
I am sure I am missing something to explain the behavior I am seeing, I would appreciate any information on how I can accurately predict the interrupt period given the CMP and prescaler values.
