LPTMR1 for KL28 or KL82

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPTMR1 for KL28 or KL82

1,536 Views
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.

Labels (1)
0 Kudos
Reply
2 Replies

1,009 Views
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 Kudos
Reply

1,009 Views
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 Kudos
Reply