AnsweredAssumed Answered

kinetis k60N512 can not figure out how to write/read or setup I/O ports

Question asked by derick petrey on Feb 8, 2012
Latest reply on Feb 9, 2012 by Mark Butcher

I am very new to the ARM, we are using the TWR-K60N512 in engineering class and we are using assembly language in codewarrior 10.1, I can not find in the oodles and oodles of documentation anything that can help me write to or read from the I/O ports? On the TWR-K60N512 I see that the LEDS are tied to PTA11, PTA28, PTA29 and PTA10. I know there has to be a SFR of some sort but I have spent hours reading through documents and have found nothing.

 

First question is how do I write and read from the ports? If possible please help in assembly language terminology

 

Second question would be how do I set the ports for input and output?

 

Thank you very much for your help it is much appreciated

Outcomes