AnsweredAssumed Answered

LPTMR to Trigger ISR every second

Question asked by Jade Anthony De la Peña on Aug 24, 2016
Latest reply on Sep 13, 2016 by Iva Susnova

Hello all,

 

I am trying to write an application that uses the LPTMR module of the FRDM-KL26Z to toggle an LED every second.

However, the LED is just lighting steadily. I am not sure if the ISR that I have created has been triggered or is correct. Below is the code for my LPTMR module.

 

 

The "DELAY_MS" has a value of 1000 in my header file.

RESET = 0 in my header file.

 

I got an idea that the ISR that I have created needs to be added in the startup file written in assembly.

Can anyone help me?

 

Thank you in advanced.

 

Best Regards,

Jade

Outcomes