M52259 demo board help with GPIO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

M52259 demo board help with GPIO

1,207 Views
raymond_uci
Contributor I

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
Labels (1)
0 Kudos
2 Replies

273 Views
raymond_uci
Contributor I
Ok, so I have had some more time to play around with the gpio and I have learned a little more.  I am still confused how to output more than 1 bit per gpio pin though.  I will post some more specifics later, but right now I was wondering if one of the moderators could move my post into the correct forum.  My post really isnt about power and I didnt realize that until just now.
Message Edited by raymond@uci on 2010-02-02 10:59 AM
0 Kudos

273 Views
J2MEJediMaster
Specialist I

This forum is about both ColdFire and Power Architecture parts, so you are in the right place. Be sure to look at some of the example programs in the (CodeWarrior_Examples) folder that is within the CodeWarrior installation folder. There should be one that demonstrates basic I/O in there.

 

---Tom

0 Kudos