Enable GPIO interrupt on PORTE SDK 2.2 FRDMKL25z

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

Enable GPIO interrupt on PORTE SDK 2.2 FRDMKL25z

Jump to solution
646 Views
huy_dang
Contributor III

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

Labels (1)
1 Solution
523 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Huy,

I am sorry to tell you that the Port E doesn't support interrupt.

PortE interrupt.png

Best Regards,

Robin

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

View solution in original post

2 Replies
524 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Huy,

I am sorry to tell you that the Port E doesn't support interrupt.

PortE interrupt.png

Best Regards,

Robin

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

523 Views
mjbcswitzerland
Specialist V

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

0 Kudos