µC/GUI LCD07X1 Driver

Supported controllers

This driver has been tested with the following LCD controllers:

  • Samsung KSO711
  • Samsung KSO741
  • Solomon SSD1854

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

Bits per pixel

The supported color depth is 2 bpp.

Interfaces

The chip supports three types of interfaces:

  • 8-bit parallel (simple bus) interface
  • 4-pin SPI
  • 3-pin SPI

The current version of the driver supports the 8-bit parallel (simple bus) or 4-pin SPI modes.

Display data RAM organization


The picture above shows the relation between the display memory and the SEG and COM lines of the LCD. The display memory is divided into two panes for each pixel. The lower bit of one pixel is stored in pane 0 and the higher bit is stored in pane 1.

Additional RAM requirements of the driver

This LCD driver may be used with or without a display data cache, containing a com- plete 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_YSIZE + 7) / 8 * LCD_XSIZE * 2

Additional driver functions

LCD_L0_ControlCache

Hardware configuration

This driver accesses the hardware with a simple bus interface as described in the "Low-Level Configuration" chapter of the user manual. The following table lists the macros which must be defined for hardware access:

Parallel mode

Macro Description
LCD_INIT_CONTROLLER Initialization sequence for the LCD controller.
LCD_READ_A0 Read a byte from LCD controller with A-line low. (Used only if working without cache)
LCD_READ_A1 Read a byte from LCD controller with A-line high. (Used only if working without cache)
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

None.