ray kavlick

M52259 demo board help with GPIO

Discussion created by ray kavlick on Jan 29, 2010
Latest reply on Feb 2, 2010 by Tom Thompson

I am in need of some help with the GPIO pins on our board.  I just got my coldfire demo kit hooked up to my PC so I can compile and debug.  I have read the documentation and I still cannot grasp how to work with the pins in codewarrior.   How do i initialize and send outputs to the pins?  I am trying to connect this LCD to my MCU,

 

http://www.sparkfun.com/commerce/product_info.php?products_id=9066

 

 

 I have gone through this tutorial but still cannot understand how to change to real gpio pins.

http://www.freescale.com/files/32bit/doc/app_note/AN3905.pdf

 

I really cant find anything online that can help me directly.
How can I create some easy code to output something simple?

 

If you can steer me any way in the right direction on figuring out how this works I would be greatful.

 

Thanks,

Ray

Message Edited by raymond@uci on 2010-01-29 02:35 AM

Outcomes