900,000+ datasheet pdf search and download

Datasheet4U offers most rated semiconductors data sheet pdf




Cypress Semiconductor Electronic Components Datasheet

AN2356 Datasheet

Graphics Library

No Preview Available !

Application Note
AN2356
Graphics Library for OSRAM’s OLED Displays
www.DataSheet4U.com
Author: Valeriy Kyrynyuk
Associated Project: Yes
Associated Part Family: All
PSoC Designer Version: 4.2
Associated Application Notes: AN2348
Abstract
This Application Note describes a graphics library for OLED display operation. Library functions
include drawing, text, and bitmap operations.
Introduction
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
pixels.
OLED Review
OSRAM OLED displays have the following
characteristics:
o They are monochrome and have 16
brightness levels.
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
required.
o Lifetime at standard brightness is
between 10 000 - 40 000 hours.
o Parallel or serial (SPI) are the standard
interface options.
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 [1]
from Solomon Systech Company at the end of
this document. The maximum logic supply
voltage of the display is 3.5V.
3/16/2006
Revision A
-1-


Cypress Semiconductor Electronic Components Datasheet

AN2356 Datasheet

Graphics Library

No Preview Available !

AN2356
www.DataSheet4U.com
PWM_FB
PWM
D7
D5
D3
D1
U1
1
2
3
4
P0[7]
P0[5]
P0[3]
5 P0[1]
6
7
8
9
P2[7]
P2[5]
P2[3]
P2[1]
10
11
12
13
P4[7]
P4[5]
P4[3]
P4[1]
14 SMP
15
16
17
18
P3[7]
P3[5]
P3[3]
P3[1]
19
20
21
22
P5[3]
P5[1]
P1[7]
P1[5]
23
24
P1[3]
P1[1]
Vss
CY 8C29666
J1
1
2
3
4
5
ISSP
3.3V
Vcc
P0[6]
P0[4]
P0[2]
P0[0]
P2[6]
P2[4]
P2[2]
P2[0]
P4[6]
P4[4]
P4[2]
P4[0]
Xres
P3[6]
P3[4]
P3[2]
P3[0]
P5[2]
P5[0]
P1[6]
P1[4]
P1[2]
P1[0]
3.3V
C1
48 0.1uF
47
46
45
44
43
42
41
40
39
38
37
36
35 XRes
34
33 E
32 R/W
31 D/C#
30 RST#
29 CS#
28 D6
27 D4
26 D2
25 D0
CS#
RST#
D/C#
R/W
E
D0
D1
D2
D3
D4
D5
D6
D7
XRes
3.3V
L2
10uH
PWM
R51
100k
D7
BAV99
Q5
IRLM2502
C58
100uF
12V
D6
C55
0,1uF
SM6T15A
R29 15k
R30
3.3k
PWM_FB
J2
1 CS#
2 RES#
3 BS1
4 D/C#
5 R/W
6E
7 D0
8 D1
9 D2
10 D3
11 D4
12 D5
13 D6
14 D7
15 NC
16 Vdd
17 OLED
18 GND
OLED
Figure 2. PSoC-OLED Interconnection Circuit, Vcc = 3.3V
When working with dynamic graphics, the device
does not have enough of its own memory to
buffer the contents of video memory. This
requires about 3 Kbytes (96x64/2) of RAM. The
data must be read from the video memory of the
display. Therefore, the D0..D7 lines should be
bidirectional.
The user can choose other pins for OLED
support. In this case, within the Device Editor of
PSoC Designer™, the PSoC-OLED signal should
be configured to other pins. After that, in the
oled.inc file the port numbers and bit template for
the interface signals must be assigned. It is
important that wires D0..D7 be located on the
same port without changing the order in which
the pins are numbered.
3/16/2006
Revision A
-2-


Part Number AN2356
Description Graphics Library
Maker Cypress
Total Page 6 Pages
PDF Download

AN2356 Datasheet PDF

View PDF for Mobile








Similar Datasheet

1 AN2352 I2C USB Bridge Usage
Cypress
2 AN2356 Graphics Library
Cypress





Part Number Start With

0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F    G    H    I    J    K    L    M    N    O    P    Q    R    S    T    U    V    W    X    Y    Z

Site map

Webmaste! click here

Contact us

Buy Components

Privacy Policy