AnsweredAssumed Answered

Using GPIO on PC9RS08LE4

Question asked by Jeremy Means on Apr 17, 2010
Latest reply on Apr 20, 2010 by Jeremy Means

Hello all.

 

Here is the deal.

 

My Vcc is 5V from a 7805 regulator.  I am using a few PC9RS08LE4 samples from Freescale.

 

The code is as follows:

    PTDDD = 0xFF;
    PTDD = 0xFF;

 

What voltage should my 8 port pins be for the output?  The datasheet says Vdd-0.8 is Voh, and 0.8V is Vol, but I am getting 0V low, and only 0.3V when they are all on.

 

I've thought that perhaps the LCD functionality was on, but checking the value of LCDC0 in the debugger, it actually is set to 0x03 (the value after reset).  I tried resetting it to     LCDC0 = 0x00; but no luck.

 

Has anyone had any luck with this part using the LCD pins as GPIO?  I'm certainly missing something here, but I have no idea what it could be.

 

Thank you in advance for any help that can be provided!  :smileyvery-happy:

Outcomes