Hantronix, Inc.

TFT LCD Modules
OLED Modules
Graphic Modules
Character Module
Custom Glass LCD Panel

Interfacing LCD Panels to LCD Controllers

Interfacing TFT LCD | Optical Bonding | White LED Drivers | Capacitive Touch Panel


Hantronix TFT LCDs will deliver a vibrant, high contrast user interface to any application. Our TFT displays are available in a wide range of sizes, and are easy to incorporate into any design.  We offer the most popular and cost-effective Amorphous Silicon Thin Film Transistor or a-SiTFT panels. This application note discusses how to drive a TFT LCD using widely available microprocessors.
Hantronix TFT LCDs  typically have the input signals shown in Figure 1 and described in Table 1.

Note that some small, lower end panels may not have all of the electronics included with them because of size or cost restraints. Some panels have a simple row and column interface. Some may need an external timing controller. Some have a processor bus type Interface.
Depending on internal circuitry demands, some panels may include a few other signals, such as a reset line. Determining how to drive such simple signals is usually straightforward.
Many LCD controllers, including those integrated into microcontrollers, will directly drive the signals shown in Figure 1. This means that the biggest obstacle to quickly getting an image on the screen is generating the appropriate signal timing. The LCD controller is responsible for generating the timing; however software must be written to correctly program the controller for the specific LCD model.


An LCD panel comprises a matrix of pixels (picture elements), divided into red, green, and blue "sub-pix-els". Each sub-pixel is driven by a small transistor. Typically, LCD panels have internal row and column drivers, much like DRAM. A row is selected by the row driver, then the column driver sequences through each of the columns. After each of the columns has been written, the row driver selects the next row and the process repeats. The VSYNC signal resets both row and column drivers to the upper left pixel. The HSYNC causes the row driver to step to the new row. The clock sequences the column driver through each of the pixels, with each clock edge latching data values for the red, green, and blue sub-pixels. These values drive a form of D/A converter to store an electrical charge in a capacitor in each sub-pixel which controls the drive of the transistor; this in turn controls the brightness of the sub-pixel. A red-green-blue color mask is used to filter the light from each sub-pixel to form its corresponding color.


Like a DRAM, an LCD panel must be constantly refreshed or the image will fade. Most TFT LCD panels work  when refreshed around 60 Hz. The imagedata is usually held in a section of main memory called a frame Buffer.
Each location in the frame buffer corresponds to a pixel on the LCD. The value in the location determines the color displayed for that pixel. See Figure 2. The size of the frame buffer depends on two things: the number of locations needed, and the size of each location.
The total number of locations needed is determined by the panel resolution. For instance, the resolution of the Hantronix HDA350-2G panel is 320 × 240 pixels. Therefore 320 × 240 = 76,800 memory locations will be needed in the frame buffer „ one for each pixel.
TFT panels typically have an input of at least 6 bits of red data, 6 bits of green data, and 6 bits of blue data. A panel with 6 red, 6 green, and 6 blue data lines is termed a 6-bit panel. If the processor or LCD controller doesn't drive as many data lines as the panel requires, use the data line configuration shown in Figure 3 or Figure 5.

The Valid Data time (THd) is equal to the number of pixels in the horizontal direction, in this case 320. From the Timing Table we see that the typical value for the HSYNC pulse (THp) is 12, and the typical number of total clocks per line is 400.
The remaining 400 ... 320 ... 12 = 68 clocks can be split in any combination between the back porch and the front porch as long as all minimums and maximums are met.
The vertical timing is split into the same four areas as the horizontal timing. The formula is:

LCD Manufactures

Most wide range of LCD controllers are available from SEIKO EPSON CORP. And this listing will provide selection guide for specific LCD module.
Additional information can be obtained at www.eea.epson.com

EPSON Controllers