LPTMR1 for KL28 or KL82

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

LPTMR1 for KL28 or KL82

1,402 次查看
knishi
Contributor I

Dear community,

Is there any examples or documents explain how I can use the LPTMR1 for KL28Z or KL82Z?
I have FRDM KL28Z and FRDM KL82Z and modified KSDK 2.0 example for lptmr (i.e. replace all LPTMR0 to LPTMR1 on the lptmr.c) but does not have any success (code is not working as code compiled with LPTMR0 instead LPTMR1).

Could you point out what I am missing?

Thank you for your support in advance.

标签 (1)
0 项奖励
回复
2 回复数

875 次查看
knishi
Contributor I

Solved.

The issue is LPTMR1_IRQn is not inside the range that you can use EnableIRQ and you have to enable interrupt using INTMUX functions 

0 项奖励
回复

875 次查看
jeremyzhou
NXP Employee
NXP Employee
Hi,
Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.
If you have any further questions about it, please feel free to contact with me.

Have a great day,
Ping

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复