2839 views|1 replies

8

Posts

0

Resources
The OP
 

msp430fr4133 drives 8-channel multiplexing (eight COM) LCD glass [Copy link]

Refer to the MSP430FR4133 LaunchPad Development Kit (MSPEXP430FR4133) for the MSP430FR4133. I'm driving a 4-way multiplexing (four COM) program, but when I change it to 8-way multiplexing, it always can't display normally. Can you help analyze where the problem is or give an 8-way multiplexing example? The code is as follows:
// L0~L25 pins selected LCD_E_setPinAsLCDFunctionEx(LCD_E_BASE, LCD_E_SEGMENT_LINE_0, LCD_E_SEGMENT_LINE_25);
85)]LCD_E_initParam initParams = LCD_E_INIT_PARAM; initParams.clockDivider = LCD_E_CLOCKDIVIDER_3; initParams.muxRate = LCD_E_8_MUX; initParams.segments = LCD_E_SEGMENTS_ENABLED;
// Init LCD as 8-mux mode LCD_E_init(LCD_E_BASE, &initParams);
// LCD Operation - Mode 3, internal 3.02v, charge pump 256Hz LCD_E_setVLCDSource(LCD_E_BASE, LCD_E_INTERNAL_REFERENCE_VOLTAGE, LCD_E_EXTERNAL_SUPPLY_VOLTAGE); LCD_E_setVLCDVoltage(LCD_E_BASE, LCD_E_REFERENCE_VOLTAGE_2_96V);
LCD_E_enableChargePump(LCD_E_BASE); LCD_E_setChargePumpFreq(LCD_E_BASE, LCD_E_CHARGEPUMP_FREQ_16);
// Clear LCD memory LCD_E_clearAllMemory(LCD_E_BASE);
// Configure COMs and SEGs // L0 = COM0, L1 = COM1, L2 = COM2, L3 = COM3 LCD_E_setPinAsCOM(LCD_E_BASE, LCD_E_SEGMENT_LINE_25, LCD_E_MEMORY_COM0); LCD_E_setPinAsCOM(LCD_E_BASE, LCD_E_SEGMENT_LINE_24, LCD_E_MEMORY_COM1); LCD_E_setPinAsCOM(LCD_E_BASE, LCD_E_SEGMENT_LINE_23, LCD_E_MEMORY_COM2); LCD_E_setPinAsCOM(LCD_E_BASE, LCD_E_SEGMENT_LINE_22, LCD_E_MEMORY_COM3); LCD_E_setPinAsCOM(LCD_E_BASE, LCD_E_SEGMENT_LINE_21, LCD_E_MEMORY_COM4); LCD_E_setPinAsCOM(LCD_E_BASE, LCD_E_SEGMENT_LINE_20, LCD_E_MEMORY_COM5); LCD_E_setPinAsCOM(LCD_E_BASE, LCD_E_SEGMENT_LINE_19, LCD_E_MEMORY_COM6); LCD_E_setPinAsCOM(LCD_E_BASE, LCD_E_SEGMENT_LINE_18, LCD_E_MEMORY_COM7);
// Select to display main LCD memory LCD_E_selectDisplayMemory(LCD_E_BASE, LCD_E_DISPLAYSOURCE_MEMORY);
// Turn on LCD LCD_E_on(LCD_E_BASE);
The schematic diagram is as follows:

显示用的程序如下:

LCDMEM[LCD_E_SEGMENT_LINE_0] = 0xFF;
This post is from Microcontroller MCU
 

8

Posts

0

Resources
2
 
LCDMEM[LCD_E_SEGMENT_LINE_0] = 0xFF;         LCDMEM[LCD_E_SEGMENT_LINE_1] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_2] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_3] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_4] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_5] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_6] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_7] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_8] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_9] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_10] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_11] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_12] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_13] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_14] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_15] = 0xFF; LCDMEM[LCD_E_SEGMENT_LINE_16] = 0xFF;         LCDMEM[LCD_E_SEGMENT_LINE_17] = 0xFF;
This post is from Microcontroller MCU
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list