background image

TOPWAY

LCD Module User Manual

LMT056DIDFWD-ABN

Document Name: LMT056DIDFWD-ABN-Manual-Rev0.2

Page: 12 of 14

8.1.6

Hardware Related Parameter

Booster and Power circuit
Internal DC-DC booster and Backlight driver are controlled by SSD1963 GPIO0 and GPIO1
respectively. It is necessary to enable them for normal operation via command

Backlight Brightness PWM control
It is suggested to config the backlight brightness control signal as 3kHz PWM signal for best
performance.

8.1.7

Startup Program (Example)

_RST=1; delayms(10);

// wait for all power stable

_RST=0; delayms(1);

// reset pulse

_RST=1; delayms(10);

// wait till internal reset routine finish

SdCmd(0xe2); SdData(0x3B); SdData(0x02); SdData(0x04); delayms(10); // config PLL to 200MHz
SdCmd(0xe0); SdData(0x01); delayms(10);

// enable PLL

SdCmd(0xe0); SdData(0x03); delayms(10);

// switch to use PLL clock

SdCmd(0x11);

// exit_sleep_mode

SdCmd(0x13);

// enter_normal_mode (exit_partial_mode)

SdCmd(0x20);

// exit_invert_mode

SdCmd(0x38);

// exit_idle_mode (using full color)

SdCmd(0xB8);

// set_gpio_conf

SdData(0x0f);

// GPIO[0~3] controlled by host

SdData(0x01);

// GPIO0 as normal GPIO

SdCmd(0xba); SdData(0x01); delayms(10);

// GPIO[0~3]=0001, enable DC-CD booster

SdCmd(0xba); SdData(0x03); delayms(10);

// GPIO[0~3]=0011, enable backlight booster

SdCmd(0xf0); SdData(0x00);

// set_pixel_data_interface (MCU) 8bit

SdCmd(0xb0);

// set_lcd_mode

SdData(0x24);

// 24bit, disable FRC or dithering, DCLK=rising edge

SdData(0x20);

// HSYNC=active lo, VSYNC=active low, default TFT m

SdData(0x02); SdData(0x7f);

// panel size 640-1

SdData(0x01); SdData(0xdf);

// panel size 480-1

SdCmd(0xb4);

// set_hori_period

SdData(0x03); SdData(0x1f);

// total pluse per line, HT=800-1

SdData(0x00); SdData(0x9f);

// horizontal front porch, HPS=160-1

SdData(0x07);

// HPW=0x07(default), not use

SdData(0x00); SdData(0x00);

// LPS=0x0000(default), not use

SdData(0x00);

// LPSPP=0x00(default), not use

SdCmd(0xb6);

// set_vert_period

SdData(0x02); SdData(0x0c);

// total line per frame, VT=525-1

SdData(0x00); SdData(0x2c);

// vertical front porch, VPS=45-1

SdData(0x01);

// VPW=0x01(default), not use

SdData(0x00); SdData(0x00);

// FPS=0x0000(default), not use

SdCmd(0xe6); SdData(0x01); SdData(0xe0); SdData(0x00);// config PCLK=40ns(PLL@200MHz)

SdCmd(0x36);

// set_address_mode

SdData(0x00);

// top to bottom, left to right, RGB, normal

SdCmd(0xbe);

// set_pwm_conf

SdData(0x00);

// PWM clock set to 3kHz (PLL@200MHz)

SdData(150);

// PWM width at about 60% (150/255)

SdData(0x01);

// C[3]=0, non_DBC control; C[0]=1, enable PWM

SdData(0xf0);

// DBC manual level at middle

SdData(0x00);

// DBC minimum lever at middle

SdData(0x00);

// disable the DBC response delay setting

SdCmd(0x29);

// display on

SdCmd(0x2c);

// write_memory_start

SdData(0xff); SdData(0xff); SdData(0xff);

// write a white pixel

SdData(0xff); SdData(0x00); SdData(0x00);

// write a red pixel

..........

// continue wirit display data

Note. Above example program may need modification to fit correspondent application.

 

ZZZWRSZD\GLVSOD\VHX

LQIR#WRSZD\GLVSOD\VHX

 

Summary of Contents for LMT056DIDFWD-ABN

Page 1: ...l Prepared by Yang Checked by Approved by Date 2012 08 01 Date Date Rev Descriptions Release Date 0 1 Preliminary new release 2012 08 01 0 2 Typing Correction on Terminal Function 2012 11 15 ZZZ WRSZD...

Page 2: ...aximum Ratings 5 5 Electrical Characteristics 5 5 1 DC Characteristics 5 6 AC Characteristics 6 6 1 TFT Controller Timing Characteristics 6 6 2 TFT Controller Reset Timing 7 7 Optical Characteristics...

Page 3: ...General Specification beat Signal Interface 8bit data 1bit address Display Technology TFT active matrix Display Mode Transmissive Normal White Screen Size Diagonal 5 6 Outline Dimension 155 2 x 109 0...

Page 4: ...VDD I Positive Power Supply 5 0V 4 5 D C I Register Select D C 0 command D C 1 data or parameter 6 CS I Chip Select signal 7 RESET I Reset signal RESET 1 normal RESET 0 reset execute 8 D0 I O 8bit Da...

Page 5: ...ce value 4 Any Stresses exceeding the Absolute Maximum Ratings may cause substantial damage to the device Functional operation of this device at other conditions beyond those listed in the specificati...

Page 6: ...read cycle 113 9 tMCLK ns Read 113 9 tMCLK ns Address Setup Time tAS 7 8 ns Address Hold Time tAH 9 ns Write Data Setup Time tDSW 11 5 ns Write Data Hold Time tDHW 7 8 ns Write Low Time tPWLW 28 ns R...

Page 7: ...Name LMT056DIDFWD ABN Manual Rev0 2 Page 7 of 14 6 2 TFT Controller Reset Timing VSS 0V VDD 5 0V TOP 25 C Item Symbol MIN TYP MAX Unit Reset setup time trs 2 ms Reset pulse trst 0 2 ms Reset hold tim...

Page 8: ...1 Color chromaticlty WX 0 26 0 31 0 26 WY 0 28 0 33 0 38 Luminance L 350 cd m 2 4 Luminance uniformity YU 70 75 4 Note 1 Definition of Contrast Ratio The contrast ratio could be calculate by the foll...

Page 9: ...eter Command Code and Parameters are 8bit only Number of Parameters is depends on Command type some of the command followed with no parameter Se q D C RD WR Lo byte D7 D0 1 0 1 Command code 2 1 1 Para...

Page 10: ...write_memory_start Transfer image information from the host processor interface to the SSD1963 starting at the location provided by set_column_address and set_page_address 0x2E read_memory_start Trans...

Page 11: ...lcd_gen3 Get the current settings of LCD signal generator 3 0xC8 set_gpio0_rop Set the GPIO0 with respect to the LCD signal generators using ROP operation No effect if the GPIO0 is configured as gener...

Page 12: ...set_lcd_mode SdData 0x24 24bit disable FRC or dithering DCLK rising edge SdData 0x20 HSYNC active lo VSYNC active low default TFT m SdData 0x02 SdData 0x7f panel size 640 1 SdData 0x01 SdData 0xdf pan...

Page 13: ...s damage to polarizer or electrical contacted parts And after fading condensation smear or spot will occur When fixed patterns are displayed for a long time remnant image is likely to occur Module has...

Page 14: ...ots N 2 Dark Dots N 3 Total Bright and Dark Dots N 4 Note 1 The definition of dot The size of a defective dot over 1 2 of whole dot is regarded as one defective dot 2 Bright dot Dots appear bright and...

Reviews: