Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 8 months 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
11 years, 8 months ago.
help?
Is there a syntax for the KL25Z analogous to LPC_GPIO2->FIOPIN etc?
11 years, 8 months 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.