Other Parts Discussed in Thread: MSP430F437, MSP430F449
Hello,
I want to use some LCD pin of MSP430, as digital I/O type. I have to add one more digital interface, but other digital I/O is already in use for other purpose. And for price/heritage reason, I can't choose another MSP430 MCU.
So I read datasheet/user guide of MSP430, then found it is available. At that document, LCD PIn can work as digital I/O, by "LCDPx" bit set-up. But there's no more information.
I just tried to do that, with IAR C compiler and MSP430 FET device. Following is brief code for that.
{{{ Test code
LCDCTL &= 0x02;
delay(1000);
char* LCD = LCDMEM;
for (i=0; i<20; i++)
{
LCD[i] = 0xFF;
}
}}}
Build, Program Download to MSP430, and other works was completed fine. But there's no change on LCD pin.
I searched web for days, but can't find any clue of it.
So, what can I do to use LCD pin like a GPIO?