I have an example of blink and Led toggle on interrupt. i tried to change the Output pin instead of the On board Led. I referred the documentations and user guide to configure it, but i am not able to get it done. Is there any tutorials for configuring the GPIOs ?
Hi Kamalesh,
Please download the SDK 2.x refer the method in 'Generating a downloadable MCUXpresso SDK v.2 package'.
There is a led_output example in SDK_2.2_FRDM-K82F folder.
And you can attach the project here, so that we can check it.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
----------------------------------------------------------------------------------------------------------------------
Hi Kamalesh
The K82's GPIOs are the same as all other K parts.
Use the open source uTasker project to simulate the GPIO operation (link below).
It uses the macros below for all port control and its simulator shows you the state/peripheral of each port so that you can easily learn and then check the behavior so that you can already be sure that everything will work on the HW.
http://www.utasker.com/forum/index.php?topic=1875.msg6798#msg6798.html
Regards
Mark
http://www.utasker.com/kinetis.html
http://www.utasker.com/kinetis/FRDM-K82F.html
http://www.utasker.com/kinetis/TWR-K80F150M.html