Other Parts Discussed in Thread: MSP430FE425
Hi everybody,
I am doing a project in msp430fe425 which need lcd interface. i have configured the registers but the segment turn on only for 1 to 2 seconds and then off .can any one know the reason for this .My configuration is like this as given below.
void main(void)
{
int i;
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
FLL_CTL0 |= XCAP18PF; // Set load capacitance for xtal
LCDCTL = LCDON + LCDSG0_3 + LCD4MUX; // 4mux LCD, segs0-23 = outputs
BTCTL = BT_fLCD_DIV128; // Set LCD frame freq = ACLK/128
for( i = 0; i < 20; i ++)
{
LCDMEM[i] = 0; // Clear LCD
}
for (;;)
{
for (i=0; i<7; ++i)
LCDMEM[i] = oxFF;
}
}
plz reply immediately .