AnsweredAssumed Answered

Accessing PORT pins on FRDM-KL25Z

Question asked by Nelson Lobo on May 16, 2015
Latest reply on May 20, 2015 by David E Seymour

Hey guys,


This may seem a little awkward coz im a lil confused as to where to post this article/query but here it is. Ive been developing firmwares for Microchip controllers.

This is my first encounter with Freescale semiconductors. Im currently working on the FRDM-KL25Z and chose the Kinetis Design Studio as my IDE. Well the problem is im not used to automatic code generation provided by Processor Expert hence tried looking for means of accessing the registers manually to perform the initial ritual of Blinking LED. Currently Im lost with how to set the port direction as input/output and how to gain access of individual Port Pins. If you could help me with the libraries or any tutorial that provides a walkthrough on using KL25Z on KDS 3.0 i would be great. Btw i was able to perform debug on an empty loop just to know that the debugger is working fine.