LPTMR to Trigger ISR every second
08-24-2016
11:49 PM
837 Views

jadeanthonydela
Contributor I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
1 Reply
09-13-2016
06:19 AM
677 Views


NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jade.
Please, could you upload whole project?
Thank you in advance!
Best Regards,
Iva
