Information about weird LPTIM compare match behavior. (stm32L462RE)
Datasheet: "Interrupt flag is raised when the content of the Counter register (LPTIM_CNT) matches the content of the compare register (LPTIM_CMP)."
Some forums: "Compare match Interrupt flag is raised if CNT >= CMP and not CNT = CMP"
Can we have detailed information about this "quirck" ?
On my side, using continuous mode, I can indeed see some "erroneous" CMP interrupt very few time (one count more ?) after having set CMP register to a value lower than current CNT ???
Notice that when seting CMP register, CMP interrupt is disable, CMP_OK is correctly expected and received, and at this moment the CMP interrupt flag is not yet set.
Thanks for any detailed information about this.