µC/GUI LCD501 Driver

Supported controllers

This driver has been tested with the following LCD controllers:

  • Leadis LDS501

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

Bits per pixel

The supported color depth is 8 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 can only be used with a display data cache, containing a complete copy of the contents of the LCD data RAM. The amount of memory used by the cache is: 96 x 64 = 6144 bytes. The driver can not be used without data cache.

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_INIT_CONTROLLER Initialization sequence for the LCD controller.
LCD_WRITE_A0 Write a byte to display controller with A-line low.
LCD_WRITE_A1 Write a byte to display controller with A-line high.

Additional configuration switches

None.

Special requirements for certain LCD controllers

The driver needs to work in the fixed palette mode 233. The driver does not work with other palettes. Further the driver needs to swap the the red and the blue part of the color index. You should use the following macro definitions in the file LCDConf.h:
#define LCD_FIXEDPALETTE 233
#define LCD_FIXEDPALETTE 233 #define LCD_SWAP_RB