µC/GUI LCDSlin Driver

Supported controllers

This driver has been tested with the following LCD controllers:

  • Epson SED1330
  • Epson SED1335
  • Toshiba T6963

It should be assumed that it will also work with any controller of similar organization.

Bits per pixel

The supported color depth is 1 bpp.

Interfaces

The driver supports 8-bit parallel (simple bus) interfaces.

Display data RAM organization


The picture above shows the relation between the display memory and the SEG and COM lines of the LCD.

Additional RAM requirements of the driver

This LCD driver may be used with or without a display data cache, containing a complete copy of the contents of the LCD data RAM. If a cache is not used, there are no additional RAM requirements.
It is recommended to use this driver with a data cache for faster LCD-access. The amount of memory used by the cache may be calculated as follows:

Size of RAM (in bytes) = (LCD_XSIZE + 7) / 8 * LCD_YSIZE

Additional driver functions

None.

Hardware configuration

This driver accesses the hardware with a simple bus interface. The following table lists the macros which must be defined for hardware access:

Macro Description
LCD_READ_A0 Read a byte from LCD controller with A-line low.
LCD_READ_A1 Read a byte from LCD controller with A-line high.
LCD_WRITE_A0 Write a byte to LCD controller with A-line low.
LCD_WRITE_A1 Write a byte to LCD controller with A-line high.

Additional configuration switches

The following table shows optional configuration switches available for this driver:

Macro Description
LCD_EXTENDED_WAIT If set to 1 (default value) it keeps sure, that no distortion will be shown when the driver writes to the LCD controller.

LCD_EXTENDED_WAIT

There is only a short time window to write to the LCD controller if you want to make sure, no distortion is visible on the LCD display when the driver writes to the LCD controller. If the configuration macro is set to 1 (default value) it makes sure that no distortion will be visible. If you disable this behavior the driver performance will be accelerated. But when writing to the display small distortions will be visible. To disable the LCD_EXTENDED_WAIT macro add the following line to your LCDConf.h:
#define LCD_EXTENDED_WAIT 0

Special requirements for certain LCD controllers

None.