LPTMR to Trigger ISR every second

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPTMR to Trigger ISR every second

1,035 次查看
jadeanthonydela
Contributor I

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.

question.PNG

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

标记 (4)
0 项奖励
回复
1 回复

875 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Jade.

Please, could you upload whole project?

Thank you in advance!

Best Regards,

Iva

0 项奖励
回复