I have a problem with LPTMR and port Interrupts.
If an LPTMR is correctly working and enabling the interruptions of the ports and immediately after, the interruption occurs, the LPTMR stops working. On the contrary, if enabling the port interruptions, and I wait a second (real, no delay in code), the LPTMR continues working properly.
Why the LPTMR stops working when the interruption occurs inmediately after they have been enabled?
Note1: Impossible to solve with a delay on the code.
Note2: KW41Z and MCUXpresso.
Thanks in advance,