AnsweredAssumed Answered

LPTMR and Port Interrupts

Question asked by Alejandro Pérez on Sep 11, 2018
Latest reply on Sep 12, 2018 by Alejandro Pérez

Hi everybody,

 

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,
Alejandro Pérez

Outcomes