Dear All, please, I need a source code example considering 8-MUX LCD.
Thanks a lot.
Best regards,
Cesar
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.
Dear All, please, I need a source code example considering 8-MUX LCD.
Thanks a lot.
Best regards,
Cesar
Sorry, we don't have such an example for 8 MUX LCD.
I think you can generate one by referring to our 4 MUX code example by changing LCDCSSELx
Hello, I am using the 48-pin DGG package, where there I have selected the pin from L0 to L3, L8 to L19 and L24 to L27 as LCD segment function and L28 to L35 as LCD common function. I am trying to turn on the LCD segments using the following positions corresponding to the segments: LCDM0 to LCDM3, LCDM8 to LCDM19, LCDM24 to LCDM27. Is this memory access mode correct? Thank you.
Thanks for your comments. More some details:
For the LCD configuration, I am doing the following (observe that the segments are not continous, there is 2 gaps, one from L4 to L7 and L20 to L23):
LCDPCTL0 = 0xFF0F;
LCDPCTL1 = 0xFF0F;
LCDPCTL2 = 0x000F;
LCDCSSEL0 = 0x0000;
LCDCSSEL1 = 0xF000;
LCDCSSEL2 = 0x000F;
LCDM28 = 0x80; // L28 = COM_7
LCDM29 = 0x40; // L29 = COM_6
LCDM30 = 0x20; // L30 = COM_5
LCDM31 = 0x10; // L31 = COM_4
LCDM32 = 0x08; // L32 = COM_3
LCDM33 = 0x04; // L33 = COM_2
LCDM34 = 0x02; // L34 = COM_1
LCDM35 = 0x01; // L35 = COM_0
and I am trying to turn on/off the LCD segments using the following positions corresponding to the segments: LCDM0 to LCDM3, LCDM8 to LCDM19, LCDM24 to LCDM27.
Is it correct?
Or should it be this way, considering no gaps??
LCDPCTL0 = 0xFFFF;
LCDPCTL1 = 0x0FFF;
LCDPCTL2 = 0x0000;
Thanks for your comments.
LCDPCTL0 it is used to enable the pin. I advise you just enable the pin used by you.
I think you can try to by yourself to check if it is work.
My doubt is that I want to use 20 LCD segments starting from pin (L0 to L3, L8 to L19, L24 to L27) and pins L28(Com0) to L35(Com8) as common pins. As I told you, if you look at the datasheet of this MSP430FR4133 48-pin model, there are pin gaps L4 to L7 and L20 to L23. Considering this, how should I configure LCDPCTL0, LCDPCTL1, LCDPCTL02, LCDCSSEL0, LCDCSSEL1, LCDCSSEL2, LCDM28 to LCDM5 registers?
Considering these LCD segments, how can I write on each LCD segment memory? Should I considering the following positions corresponding to the segments: LCDM0 to LCDM3, LCDM8 to LCDM19, LCDM24 to LCDM27 ?
I am asking because I tried to put to workk and there is no success. I am looking forward to hearing from you.
Thanks a lot.
Cesar
Sorry, I don't have a 8mux LCD in hand.
Here is the document for you to refer https://www.ti.com/lit/an/slaa654a/slaa654a.pdf
My advice is that can you test the wave of these pins to check if they are all work.
**Attention** This is a public forum