10 years ago.

InterruptIn in FRDM-K64F

Are there any limitations on which pins can and cannot be used for InterruptIn for the FRDM-K64F?

Question relating to:

The Freedom-K64F is an ultra-low-cost development platform for Kinetis K64, K63, and K24 MCUs.

2 Answers

10 years ago.

On the K64F all pins of all ports (at least I think Ports A-E are all ports) can be used as InterruptIn.

Accepted Answer

right thanks. The question was prompted by issues of spurious interrupts and having seen this post http://developer.mbed.org/questions/986/mbed-KL25Z-Interrupts-and-Pins/. Apparently not all pins of the KL25Z can be used as InterruptIn. The issue found was that by default all pins are configured as PullUp while I was expecting them to be PullDown.

posted by Mridupawan Das 10 Nov 2014
10 years ago.

When I ask that question of myself, I use it as an opportunity to learn more about the processor reading the K64F manual and mapping it to the specific circuit board.

The Freescale KDS has a Processor Expert that can walk you through options on the pins - http://Freescale.com/kds and http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/

If you aren't comfortable with the manual or circuit diagrams and want to have that answered for you, typically a small embedded system with a ready designed API has a lot more explanation One example using the K20 that is similar to the K64 is http://www.pjrc.com/store/teensy31.html - http://forum.pjrc.com/ Other examples are http://arduino.cc/en/Main/Products

Thank you for your advice.

posted by Mridupawan Das 10 Nov 2014