This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

About MSP430F4152 LCD Driver

Other Parts Discussed in Thread: MSP430F4152

Hi all:

     I meet a problem on MSP430F4152 MCU about LCD Driving. I use MSP430F4152 's internal charge pump to generate Vlcd. Here is my code:

void LCD_Init(void)
{  
//Setup Sx PIN
    P5SEL  |= BIT7 + BIT6 + BIT5 + BIT4;    //COM0 ~ COM3

//Enable LCD Sx PIN func
    P4SEL   =   0xFF;
    P2SEL   =   0xFF;
   
//LCDA : ACLK / 128 + 4-MUX + LCD SEG ON + LCD MODULE ON
    LCDACTL     = LCDFREQ_128 + LCD4MUX + LCDON; 

//LCDA Port Ctrl: S0 ~ S7 + S16 ~ S23
    LCDAPCTL0   = LCDS0 + LCDS4 + LCDS8 + LCDS12;           // Enable LCD S0 ~ S15   4COM
    LCDAPCTL1   = 0;
    
    LCDAVCTL0   = LCDCPEN;      //Enable internal LCD charge pump
    LCDAVCTL1   = VLCD_1;       //Vlcd = 2.6V is enough
}

and I connect a 10uF Cap on PIN LCDCAP (PIN 43) to ground.

I think the voltage on PIN LCDCAP should be 2.6V after these config, but the voltage on this PIN is about 4.4V ~ 4.8V when MCU running in full speed, and then all LCD Seg light.But when I run MCU step by step, the voltage on this PIN is then 2.6V and LCD display OK. Can anybody share me a hand? Thanks very much.

**Attention** This is a public forum