Hi all,
For reasons, I need to be able to use a button to do an interrupt on PORTE for the KL25z board. I got my code to work for interrupt on a different port (PORTD) but I can't get it to work on PORTE. I know I have to modify values in startup mkl25z4.c and MKL25Z4.h to enable it. I tried replacing all PORTD_IRQn and PORTD_IRQHandler with PORTE_IRQN and PORTE_IRQHandler but so far I have no luck. Please help me to enable this interrupt.
Thanks in advance,
Huy
Solved! Go to Solution.
Hi Huy,
I am sorry to tell you that the Port E doesn't support interrupt.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Huy,
I am sorry to tell you that the Port E doesn't support interrupt.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
You can get background information about the port interrupts here: https://www.youtube.com/watch?v=CubinvMuTwU
The concept is easily understood and they you will be able to fix any issues you have. Or just use the free open source uTasker package for KL25 for more performance and simplicity.
Regards
Mark
Complete Kinetis solutions for faster/more efficient professional needs, training and support: http://www.utasker.com/kinetis.html
i.MX RT project compatibility: http://www.utasker.com/iMX.html
Including FreeRTOS integration for all Kinetis parts
Kinetis KL25, KL26, KL27, KL28, KL43, KL46, KL82
- http://http://www.utasker.com/kinetis/FRDM-KL25Z.html
- http://www.utasker.com/kinetis/TWR-KL25Z48M.html
- http://www.utasker.com/kinetis/FRDM-KL26Z.html
- http://www.utasker.com/kinetis/TEENSY_LC.html
- http://www.utasker.com/kinetis/FRDM-KL27Z.html
- http://www.utasker.com/kinetis/Capuccino-KL27.html
- http://www.utasker.com/kinetis/FRDM-KL28Z.html
- http://www.utasker.com/kinetis/FRDM-KL43Z.html
- http://www.utasker.com/kinetis/TWR-KL43Z48M.html
- http://www.utasker.com/kinetis/FRDM-KL46Z.html
- http://www.utasker.com/kinetis/TWR-KL46Z48M.html
- http://www.utasker.com/kinetis/FRDM-KL82Z.html
uTasker: supporting >1'000 registered Kinetis users get products faster and cheaper to market
Request Free emergency remote desk-top consulting at http://www.utasker.com/services.html
Open Source version at https://github.com/uTasker/uTasker-Kinetis
https://community.nxp.com/thread/512558
https://community.nxp.com/thread/352862
https://community.nxp.com/thread/498809