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

Supported hardware

Controllers

This driver has been tested with the following LCD controllers

  • Epson S1D13748

Bits per pixel

Supported color depth is 16 bpp.

Interfaces

The driver supports 16-bit parallel (simple bus) interface.

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

The driver can be used with a write buffer used for drawing multiple pixels of the same color. If multiple pixels of the same color should be drawn the driver first fills the buffer and then executes only one time the macro LCD_WRITEM_A1 to transfer the data to the display controller. The default buffer size is 250 words.

Additional driver functions

None.

Hardware configuration

This driver accesses the hardware with a simple bus interface or with a 3 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_BUFFER_SIZE Using a write buffer increases the performance of the driver. If multiple pixels should be written with the same color the driver first fills the buffer and then writes the contents of the buffer with one execution of the macro LCD_WRITEM_A1 instead of multiple executions. The default buffer size is 500 words.
LCD_READ_A1 Reads a word from display controller with RS-line high.
LCD_WRITEM_A1 Write multiple bytes to display controller with RS-line high.
LCD_WRITE_A0 Writes multiple words to display controller with RS-line low.
LCD_WRITE_A1 Writes multiple words to display controller with RS-line high.

Additional configuration switches

None.

Special requirements

The driver needs to work in the fixed palette mode 565, which is the default value for 16 bit per pixel configurations. The driver does not work with other palettes. Further the driver needs to swap the red and the blue part of the color index. You should use the following macro definitions in the file LCDConf.h:

#define LCD_SWAP_RB 1

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: January 8, 2008