Atmel AT91SAM9 Application Note

Text of Atmel AT91SAM9 Application Note

AT91SAM9 LCD Controller

1. Scope This application note explains how to connect the Atmel® ARM® Thumb®-based AT91SAM9 LCD Controller to an STN or TFT display. It includes display selection guidelines, describes the hardware and software configurations and gives perfor- mance results and software examples. AT91 ARM Thumb Microcontrollers Application Note 6300A–ATARM–09-Jul-07

TFT and STN Technologies

The most commonly used display technologies are TFT (Thin Film Transistor) and STN (Super Twisted Nematic). STN displays use a passive matrix screen technology that has no active or controlling element inside the display cell. Pixels are controlled by energizing the appropriate row and column drive lines of the matrix from outside the display, resulting in a slow

The dummy pixels/lines are not part of the frame buffer; they are managed by the LCD Control-

ler. Some delays must be introduced in vertical and horizontal timings to support it. These delays are often described as vertical/horizontal front/back porch delays in the display datasheets. 2.4 Definitions The following definitions and clarifications are necessary when using the LCD Controller. • Bits per pixel (Bp

Display Selection Guide

In order to verify the compatibility of a display with the AT91SAM9 LCD Controller, a list of items to check is given below. 3.1 Technology Type The LCD controller supports TFT RGB (up to 16M colors), color STN (up to 4096 colors) and Monochrome STN (up to 16 gray shades) displays. Other technologies may also be used if their interface is compatible. 3.2 Screen Size The screen size is

According to the AT91SAM9 features, the maximum LCDDOTCK frequency is equal to the mas-

ter clock (in bypass mode). The signal timings provided by the display specification must respect the timings supported by the LCD Controller. • Vertical pulse width from 1 to 64 lines. • Horizontal pulse width from 1 to 64 dot clock cycles. • Vertical Front Porch from 1 to 256 lines. • Vertical Back Porch from 1 to 2

TFT Display Selection Guide Example

4.1 Display Description An example of a display specification (TX09D71VM1CCA on AT91SAM9261-EK): • TFT QVGA • RGB 262K colors • VCC [3.0 to 3.6V] • Frame rate: 60 Hz • Vertical Pulse Width : typ = 1 (in lines) • Vertical Back Porch (VBP) : typ = 4 (in lines) • Vertical Front Porch (VFP) : typ = 2 (in lines) • Horizontal Pulse Width : typ = 5 (in pixels) •

DCLK to LCDDOTCK

DTMG to LCDDEN Add a passive filter between LCDCC and Vctrl. Use a PIO for PCI control. This interface is compatible. 4.2.4 Timings Frame rate 60 Hz: LCDDOTCKfreq = 60 x 320 x 240 = 4.608 MHz < LCDDOTCKfreq max. The delays are all between 1 and 17. The LCD controller is able to manage delays between 1 and 256: all the blanking delays are in a compatible range. The timings are compatible. 4.2.5 C

Atmel Controller Owners Instructions: