11 years, 1 month ago.

KL25Z FastIO

I have an Mbed project that I am trying to port to a KL25Z. This project implements a communications protocol with standard mbed outputs using FIOSET, CLR, etc

LPC_GPIO1->FIOSET

How can I implement something like this on the KL25Z. I am trying to maximize for speed obviously because of the drop going to the KL25Z. I found some info in the MKL25Z4.h noteing the FPTA, FPTB as the peripheral base addresses. Ca I use these as I did for the LPC_GPIO1? What is the analogous KL25Z version of FIOSET?

2 Answers

tap tap
poster
11 years, 1 month ago.

help?

Is there a syntax for the KL25Z analogous to LPC_GPIO2->FIOPIN etc?

11 years, 1 month ago.

Have a look at the KL25 reference guide: http://cache.freescale.com/files/32bit/doc/ref_manual/KL25P80M48SF0RM.pdf. Also the SDK (handbook -> SDK -> KL25) might help you.

For the reference guidey ou specifically want to look at chapter 11 for stuff like pull-up/pull-down, and most important chapter 41 for GPIO.