11 years, 7 months ago.

mbed KL25Z Interrupts, and Pins

Does anyone know if you can use any of the GPIO pins on the FRDM-KL25Z as Interrupts?

Yours Simon M.

1 Answer

11 years, 7 months ago.

See: http://mbed.org/handbook/InterruptIn

Only pins on PortA and PortD can be used.

Accepted Answer

When I put the statement InterruptIn event(PTA2);

the printf (using USB serial) quits working on a Freescale KL25Z card. Comment it out and program works normally.

posted by Jim Spruell 10 Jul 2013

They decided to make the board as much equal as possible to the original Arduino board, so PTA1 and PTA2 are also the pins used for serial communication over USB.

posted by Erik - 10 Jul 2013