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

Supported hardware

Controllers

This driver has been tested with the following LCD controller:

  • Samsung S6B33B1X

Bits per pixel

Supported color depth is 16 bpp.

Interfaces

The driver supports 8-bit parallel (simple bus) and 4 pin SPI interface.

Display data RAM organization

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

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: LCD_XSIZE x LCD_YSIZE x 2 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 or with a 4 pin SPI 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.
LCD_WRITEM_A1 Write multiple bytes to LCD 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 565. 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 565
#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