µC/GUI LCD161620 Driver

Supported controllers

This driver has been tested with the following LCD controllers:

  • NEC µPD161620

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

Bits per pixel

The supported color depth is 12 bpp.

Interfaces

The chip supports 8-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. The driver works in ™1-pixel/2-byte™-mode.

Additional RAM requirements of the driver

None.

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_READ_A0 Read a byte from display controller with A-line low.
LCD_READ_A1 Read a byte from display controller with A-line high.
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 444121. The driver does not work with other palettes. You should use the following macro definition in the file LCDConf.h:
#define LCD_FIXEDPALETTE 444121