Segger Logo Embedded Software Solutions
Software productsHardware productsDownloadsPricesCustomersOur PartnersSitemapForumAbout us
emWin: LCD501 driver

Supported hardware

Controllers

This driver has been tested with the following LCD controllers

  • Leadis LDS501

Bits per pixel

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 Explanation
LCD_INIT_CONTROLLER Initialization sequence for the LCD controller.
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

None.

Special requirements

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

Copyright SEGGER Microcontroller GmbH & Co.KG. All rights reserved.
For more information, please visit our web site www.segger.com or contact us at info@segger.com
Last update: December 7, 2007