MKL05Z8VFK4 Pin Interrupt Question

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

MKL05Z8VFK4 Pin Interrupt Question

583 Views
LI_Dave
Contributor III

I may have made a false assumption on the ability of mapping interrupts to pin state changes on this part.  I'd like to clarify this as soon as possible.

Some of the language in chapter 11 of the reference manual on Port Control and Interrupts implies that ANY port pin can be configure to generate an interrupt on edge or level.  I'm beginning to see this does not seem to be the case.  Using Processor Expert under KDS, I only seem to be able to create interrupt events for the pins which have the an "IRQ_X" in the pin name or alternate function.  This is only about half the total GPIO count.

Unfortunately I have a board with a signal routed to PTA6/LLWU_P2 that I was hoping to use as an interrupt source.  I do see that it is a LLWU source which seems a little strange for it to be able to wake up the device, but not cause an interrupt.

I do have other free IRQ pins but it will take some re-work to make this happen if I have no way to create an IRQ on this pin.  The action I need to take will all begin with a wake up so another possibility is that I can just have the wake up trigger the event.

If anyone can confirm the lack of an interrupt capability on PTA6/LLWU_P2 I can at least confirm I need to try other paths.

Thanks,

Dave

Labels (1)
0 Kudos
2 Replies

422 Views
adriancano
NXP Employee
NXP Employee

Hi,

In the section 3.10.1.2 Port Control and Interrupt Summary there is a summary of the capabilities of the GPIO pins, there you can find the summary of the pins that support interrupt and dma request. The image below shows a part of the table 3-47. Ports Summary:

ports summary.png

There is only nine pins of the PORTA that support interrupt functionality.

Hope this information can help you.

Regards,

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. It would be nice!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

422 Views
DavidLundquist
Contributor I

Sorry for posting this in two places.  I had originally asked this question in the KDS community and realized it was really a part capability issue.  Thanks for the help

0 Kudos