void LcdInit()
{
P5SEL = 0xFC;
LCDACTL = LCDON+LCD4MUX+LCDFREQ_128;
LCDAPCTL0 = 0xFF;
LCDAPCTL1 = 0x03;
// LCDAVCTL1 = VLCD_12;
// LCDAVCTL0 = LCDCPEN;
}
以上为初始化函数,不适用电压泵功能液晶一切正常。
当不注释两句电压泵相关配置寄存器后S0-S8不显示,其他都正常。
IO口配置应该也没啥问题,现在搞不懂了
寻求好心人帮助^-^
Susan Yang:
您可以看一下数据手册 第7页 MSP430x461x Terminal Functions
NOTE 1: Segments S0 through S3 are disabled when the LCD charge pump feature is enabled (LCDCPEN = 1) and cannot be used together with the LCD charge pump. In addition, when using segments S0 through S3 with an external LCD voltage supply, VLCD ≤ AVCC.