Hi
I am using MSP430F4616 processor , I use the built in LCD_A controller of this MCU . We have 32 segments LCD connected to LCD_A controller.
The LCD_A configured with flowing settings
// ********LCDACTL register
//LCDFREQx - 001 ACLK Divide by 64
//LCDMXx - 11 4-mux
//LCDSON - 0 All LCD segments are off
//LCDON - 1 LCD ,module is on
LCDACTL = LCDON | LCD4MUX | LCDFREQ_64;
//**********LCDAPCTL0, LCD_A Port Control Register 0
//LCDS28 - off
//LCDS24
//LCDS20 all on
//LCDS16
//LCDS12
//LCDS8
//LCDS4
//LCDS0
LCDAPCTL0 = LCDS0 | LCDS4 | LCDS8 | LCDS12 | LCDS16 | LCDS20 | LCDS24 | LCDS28;
//************** LCDAPCTL1, LCD_A Port Control Register 1
//LCDS36 - off
//LCDS32 - on
LCDAPCTL1 = LCDS32;
//**************LCDAVCTL0, LCD_A Voltage Control Register 0
//R03EXT - 1 V5 is sourced from the R03 pin
//REXT - 1 V2 - V4 are sourced externally and the internal bias generator is switched off
//VLCDEXT - 0 VLCD is generated internally
//LCDCPEN - 0 Charge pump disabled.
//VLCDREFx - Charge pump reference select default 0
//LCD2B - Bias select, 0 - 1/3 bias
LCDAVCTL0 = LCDR03EXT |LCDREXT ;
//*****************LCDAVCTL1, LCD_A Voltage Control Register 1
//VLCDx Bits - Charge pump voltage select - 0 disabled
LCDAVCTL1 = 0;
I have problems with segment 0 - to segment 3 , I just see nothing when I write to those segments , the another segments (4- 31) working ok.
As I understand , the segment 0 -3 in 4616 its multifunctional pins , which can be GPIO/Analog input/LCD pins.
I configure those pins to be peripherals , via appropriate bits in Port selection register.
But how can I , chose between Analog input and LCD functionality ?
What can be another problem with those segments ?
Thanks a lot
I urgently need the solution for this problem ,please help !!!!