LPTMR1 for KL28 or KL82

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPTMR1 for KL28 or KL82

1,506件の閲覧回数
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 返答(返信)

979件の閲覧回数
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 件の賞賛
返信

979件の閲覧回数
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 件の賞賛
返信