Graphics Library for OSRAM’s OLED Displays
Author: Valeriy Kyrynyuk
Associated Project: Yes
Associated Part Family: All
PSoC Designer Version: 4.2
Associated Application Notes: AN2348
This Application Note describes a graphics library for OLED display operation. Library functions
include drawing, text, and bitmap operations.
Modern designs often require a low-cost and high
quality graphical display. OLED (organic light
emitting diode) displays by OSRAM Opto
Semiconductors (http://www.pictiva.com) meet
these requirements and are the preferred
displays for users and designers. This Application
Note describes a library of functions to interface
with a display that has a resolution of 96 x 48
OSRAM OLED displays have the following
o They are monochrome and have 16
o The interface supply voltage is 2.4-3.5V.
o The OLED supply voltage is 12-13V.
o The operating temperature range is
between -30°C and 70°C.
o They have low power consumption at
220 mW maximum (OLED supply).
o No additional lighting elements are
o Lifetime at standard brightness is
between 10 000 - 40 000 hours.
o Parallel or serial (SPI) are the standard
Consider the display process in detail. An OLED
display is a memory-mapped device. Four bits
are necessary to display one pixel, because an
OLED display has 16 brightness levels of one
basic color; a single byte can hold information for
two pixels. The columns and rows of the display
can serve as the X and Y axes, respectively. One
byte in video memory represents two pixels in the
X direction. Therefore, to simplify algorithms for
the display of images, the X coordinates of
function arguments are assigned as one half of
the real pixel position in its row. The pixel
representation in a video memory byte is shown
in Figure 1.
X X +1
4..7 bits 0..3 bits
Figure 1. Video Memory Byte Format
Interfacing with PSoC®
The demonstration board is implemented using a
CY8C29666 PSoC device. The interconnection
circuit is shown in Figure 2. The connection is
done by parallel interface. For a detailed
description of this interface, refer to reference 
from Solomon Systech Company at the end of
this document. The maximum logic supply
voltage of the display is 3.5V.