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.
Hello!
I have some problems with leading out information on the SBLCDA4 in dynamic mode. LCD blinks permanently with some frequency. I connected LCD in appliance with examples of TI and used firmware from official site of TI. Have You ever seen this problem and how can we solve it?
I used this code
//****************************************************************************** // MSP430x47xx Demo - LCD_A Put "0123456" on SBLCDA4 LCD // // Description; Put "0123456" on SBLCDA4 LCD. // ACLK = LFXT1 = 32768, MCLK = SMCLK = DCO = 32xACLK = 1.048576MHz // //*An external watch crystal is required on XIN/XOUT for ACLK*// // // MSP430x47xx // ----------------- // /|\| XIN|- // | | | 32kHz // --|RST XOUT|- SBLCDA4 // | | ___________ // | S4 |------>|14 | // | S5 |------>|13 | // | .. | .... |.. | // | S17 |------>|1 | // | COM0|------>|15 | // | COM1|------>|16 | // | COM2|------>|17 | // | COM3|------>|18 | // | S18 |------>|19 | // | S19 |------>|20 | // | .. | .... |.. | // | S25 |------>|26 | // |_________________| |___________| // // // P. Thanigai / K.Venkat // Texas Instruments Inc. // November 2007 // Built with CCE Version: 3.2.0 and IAR Embedded Workbench Version: 3.42A //***************************************************************************** #include <msp430x47x4.h> // LCD segment definitions. #define h 0x80 #define e 0x40 #define g 0x20 #define f 0x10 #define d 0x08 #define c 0x04 #define b 0x02 #define a 0x01 const char char_gen[] = { // definitions for digits a+b+c+d+e+f, // Displays "0" b+c, // Displays "1" a+b+d+e+g, // Displays "2" a+b+c+d+g, // Displays "3" b+c+f+g, // Displays "4" a+c+d+f+g, // Displays "5" a+c+d+e+f+g, // Displays "6" a+b+c, // Displays "7" a+b+c+d+e+f+g, // Displays "8" a+b+c+d+f+g // Displays "9" }; void main(void) { volatile unsigned int i; WDTCTL = WDTPW +WDTHOLD; // Stop WDT FLL_CTL0 |= XCAP14PF; // Configure load caps // Wait for xtal to stabilize do { IFG1 &= ~OFIFG; // Clear OSCFault flag for (i = 0x47FF; i > 0; i--); // Time for flag to set } while ((IFG1 & OFIFG)); // OSCFault flag still set? P5SEL = 0x1C; // Set COM pins for LCD LCDACTL = LCDON+LCD4MUX; // 4mux LCD, ACLK/32 LCDAPCTL0 = 0x7E; // Segments 4-24 for( i = 0; i < 20; i ++) { LCDMEM[i] = 0; // Clear LCD } for (i=2;i<9;i++) { LCDMEM[i] = char_gen[i-2]; } _BIS_SR(LPM3_bits); // Enter LPM3 }
blinking LCD http://dl.dropbox.com/u/12914050/MVI_0081-1.gif
oscillogram from COM0 http://forum.cxem.net/uploads/monthly_03_2013/post-129151-0-12196600-1363333512_thumb.jpg
with capacitor 10uF on LCDCAP http://forum.cxem.net/uploads/monthly_03_2013/post-129151-0-45712900-1363335294_thumb.jpg
**Attention** This is a public forum