background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
268-0.4
1
SED1330F/1335F/1336F
LCD Controller ICs
Technical Manual
S-MOS Systems, Inc.
September, 1995
Version 0.4
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
2
268-0.4
THIS PAGE INTENTIONALLY BLANK
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
268-0.4
3
Table of Contents
SED1330F/1335F/1336F
CONTENTS
1.0 Overview ............................................................................................................. 9
1.1 Description .................................................................................................................................. 11
1.2 Features ...................................................................................................................................... 11
1.3 Block Diagram ............................................................................................................................. 12
1.4 Pinouts ........................................................................................................................................ 14
1.4.1 SED1330FBA, 1335FBB and SED1336F0A Pinouts ............................................. 14
1.4.2 SED1330FBA and SED1335F0A Pinouts .............................................................. 14
1.5 Package Dimensions ................................................................................................................... 15
2.0 Pin Description ................................................................................................. 17
2.1 SED1330FBA/BB Pin Summary .................................................................................................. 18
2.2 SED1330F/1335F0A/0B Pin Summary ....................................................................................... 19
2.3 SED1336F0A Pin Summary ........................................................................................................ 20
2.4 Pin Functions ............................................................................................................................... 21
2.4.1 Power Supply .......................................................................................................... 21
2.4.2 Oscillator ................................................................................................................. 21
2.4.3 Microprocessor Interface ........................................................................................ 21
2.4.4 Display Memory Control ......................................................................................... 23
2.4.5 LCD Drive Signals .................................................................................................. 23
3.0 Command Description ..................................................................................... 25
3.1 The Command Set ...................................................................................................................... 27
3.2 System Control Commands ........................................................................................................ 28
3.2.1 SYSTEM SET ......................................................................................................... 28
3.2.1.1 C ........................................................................................................ 29
3.2.1.2 M0 ...................................................................................................... 29
3.2.1.3 M1 ...................................................................................................... 29
3.2.1.4 M2 ...................................................................................................... 29
3.2.1.5 W/S .................................................................................................... 29
3.2.1.6 IV ........................................................................................................ 32
3.2.1.7 T/L ...................................................................................................... 32
3.2.1.8 DR ...................................................................................................... 32
3.2.1.9 FX ...................................................................................................... 32
3.2.1.10 WF ................................................................................................... 33
3.2.1.11 FY ..................................................................................................... 33
3.2.1.12 C/R .................................................................................................... 34
3.2.1.13 TC/R ................................................................................................. 34
3.2.1.14 L/F .................................................................................................... 35
3.2.1.15 AP .................................................................................................... 35
3.2.2 SLEEP IN................................................................................................................ 36
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
4
268-0.4
SED1330F/1335F/1336F
Table of Contents
3.3 Display Control Commands ......................................................................................................... 36
3.3.1 DISP ON/OFF ......................................................................................................... 36
3.3.1.1 D ........................................................................................................ 37
3.3.1.2 FC ...................................................................................................... 37
3.3.1.3 FP ...................................................................................................... 37
3.3.2 SCROLL ................................................................................................................. 37
3.3.2.1 C ........................................................................................................ 37
3.3.2.2 SL1, SL2 ............................................................................................ 38
3.3.3 CSRFORM.............................................................................................................. 42
3.3.3.1 CRX ................................................................................................... 42
3.3.3.2 CRY .................................................................................................... 42
3.3.3.3 CM ..................................................................................................... 43
3.3.4 CSRDIR .................................................................................................................. 43
3.3.5 OVLAY .................................................................................................................... 43
3.3.5.1 MX0, MX1 .......................................................................................... 43
3.3.5.2 DM1, DM2 .......................................................................................... 45
3.3.5.3 OV ...................................................................................................... 45
3.3.6 CGRAM ADR .......................................................................................................... 45
3.3.7 HDOT SCR ............................................................................................................. 45
3.3.7.1 D0 to D2 ............................................................................................. 45
3.4 Drawing Control Commands ....................................................................................................... 46
3.4.1 CSRW ..................................................................................................................... 46
3.4.2 CSRR ...................................................................................................................... 46
3.5 Memory Control Commands ....................................................................................................... 47
3.5.1 MWRITE ................................................................................................................. 47
3.5.2 MREAD ................................................................................................................... 47
4.0 Specifications ................................................................................................... 49
4.1 Absolute Maximum Ratings ......................................................................................................... 51
4.1.1 SED1330 ................................................................................................................ 51
4.1.2 SED1335/SED1336 ................................................................................................ 51
4.2 SED 1330 Electrical Characteristics ............................................................................................ 52
4.3 SED1335/1336 Electrical Characteristics .................................................................................... 53
4.4 SED1330 Timing Diagrams ......................................................................................................... 54
4.4.1 System bus READ/WRITE timing I (8080) ............................................................. 54
4.4.1.1 SED1330F ......................................................................................... 54
4.4.2 System bus READ/WRITE timing II (6800) ............................................................ 55
4.4.2.1 SED1330F ......................................................................................... 55
4.4.3 Display memory READ timing ................................................................................ 56
4.4.3.1 SED1330F ......................................................................................... 56
4.4.4 Display memory WRITE timing ............................................................................... 57
4.4.4.1 SED1330F ......................................................................................... 57
4.4.5 LCD control timing .................................................................................................. 58
4.4.5.1 SED1330F ......................................................................................... 59
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
268-0.4
5
4.4.6 Oscillator timing ...................................................................................................... 60
4.4.6.1 SED1330F ......................................................................................... 60
4.4.7 Measurement circuit ............................................................................................... 61
4.5 SED1335/SED1336 AC Timing Diagrams ................................................................................... 62
4.5.1 8080 family Interface Timing ................................................................................... 62
4.5.1.1 SED1335F ......................................................................................... 62
4.5.1.2 SED1336F ......................................................................................... 63
4.5.2 6800 family Interface Timing ................................................................................... 64
4.5.2.1 SED1335F ......................................................................................... 65
4.5.2.2 SED1336F ......................................................................................... 65
4.5.3 Display Memory Read Timing ................................................................................. 66
4.5.3.1 SED1335F ......................................................................................... 66
4.5.3.2 SED1336F ......................................................................................... 67
4.5.4 Display Memory Write Timing ................................................................................. 68
4.5.4.1 SED1335F ......................................................................................... 69
4.5.4.2 SED1336F ......................................................................................... 70
4.5.5 SLEEP IN Command Timing .................................................................................. 71
4.5.5.1 SED1335F ......................................................................................... 71
4.5.5.2 SED1336F ......................................................................................... 71
4.5.6 External Oscillator Signal Timing ............................................................................ 72
4.5.6.1 SED1335F ......................................................................................... 72
4.5.6.2 SED1336F ......................................................................................... 72
4.5.7 E-1330 LCD Controller IC ........................................................................................................ 73
4.5.7.1 SED1335F ......................................................................................... 75
4.5.7.2 SED1336F ......................................................................................... 75
5.0 Display Control Functions .............................................................................. 77
5.1 Character Configuration .............................................................................................................. 79
5.2 Screen Configuration ................................................................................................................... 81
5.2.1 Screen Configuration .............................................................................................. 81
5.2.2 Display Address Scanning ...................................................................................... 81
5.2.3 Display Scan Timing ............................................................................................... 84
5.3 Cursor Control ............................................................................................................................. 85
5.3.1 Cursor Register Function ........................................................................................ 85
5.3.2 Cursor Movement ................................................................................................... 85
5.3.3 Cursor Display Layers ............................................................................................ 85
5.4 Memory to Display Relationship .................................................................................................. 87
5.5 Scrolling ....................................................................................................................................... 90
5.5.1 On-page Scrolling ................................................................................................... 90
5.5.2 Inter-page Scrolling ................................................................................................. 91
5.5.3 Horizontal Scrolling ................................................................................................. 92
5.5.4 Bidirectional Scrolling ............................................................................................. 93
5.5.5 Scroll Units.............................................................................................................. 93
Table of Contents
SED1330F/1335F/1336F
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
6
268-0.4
6.0 Character Generator ........................................................................................ 95
6.1 CG Characteristics ...................................................................................................................... 97
6.1.1 Internal Character Generator .................................................................................. 97
6.1.2 External Character Generator ROM ....................................................................... 97
6.1.3 Character Generator RAM ...................................................................................... 97
6.2 CG Memory Allocation................................................................................................................. 98
6.3 Setting the Character Generator Address ................................................................................... 99
6.3.1 M1 = 1 ................................................................................................................... 100
6.3.2 CG RAM Addressing Example .............................................................................. 100
6.4 Character Codes ....................................................................................................................... 101
7.0 TV Mode (SED1336F only) ............................................................................. 103
7.1 Sync Generator Circuit Timing .................................................................................................. 105
8.0 Description of Circuit Blocks ........................................................................ 109
8.1 Microprocessor Interface ........................................................................................................... 111
8.1.1 System Bus Interface............................................................................................ 111
8.1.1.1 8080 series ...................................................................................... 111
8.1.1.2 6800 series ...................................................................................... 111
8.1.2 Microprocessor Synchronization........................................................................... 111
8.1.2.1 Display Status Indication Output For SED1336F only...................... 111
8.1.2.2 Internal Register Access .................................................................. 111
8.1.2.3 Display Memory Access ................................................................... 111
8.1.3 Interface Examples ............................................................................................... 113
8.1.3.1 Z80® to SED1330F/1335F/1336F Interface .................................... 113
8.1.3.2 6802 to SED1330F/1335F/1336F Interface ..................................... 114
8.2 Display Memory Interface .......................................................................................................... 115
8.2.1 Static RAM ............................................................................................................ 115
8.2.2 Supply Current during Display Memory Access .................................................... 115
8.3 Oscillator Circuit ........................................................................................................................ 116
8.4 Status Flag ................................................................................................................................ 116
8.5 Reset ......................................................................................................................................... 117
9.0 Application Notes ........................................................................................... 119
9.1 Initialization Parameters ............................................................................................................ 121
9.1.1 SYSTEM SET Instruction and Parameters ........................................................... 121
9.1.2 Initialization Example ............................................................................................ 122
9.1.3 Display Mode Setting Example 1: Combining Text and Graphics ......................... 128
9.1.4 Display Mode Setting Example 2: Combining Graphics and Graphics ................. 129
9.1.5 Display Mode Setting Example 3: Combining Three Graphics Layers ................. 130
9.2 System Overview ...................................................................................................................... 132
SED1330F/1335F/1336F
Table of Contents
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
268-0.4
7
Table of Contents
SED1330F/1335F/1336F
9.3 System Interconnection ............................................................................................................. 133
9.3.1 SED1330F/1335F ................................................................................................. 133
9.3.2 SED1336F ............................................................................................................ 134
9.4 Smooth Horizontal Scrolling ...................................................................................................... 135
9.5 Layered Display Attributes ......................................................................................................... 137
9.5.1 Inverse Display ..................................................................................................... 137
9.5.2 Half-tone Display .................................................................................................. 137
9.5.2.1 Menu Pad Display ............................................................................ 137
9.5.2.2 Graph Display .................................................................................. 138
9.5.3 Flashing Areas ...................................................................................................... 138
9.5.3.1 Small Area ........................................................................................ 138
9.5.3.2 Large Area ....................................................................................... 138
9.6 16
×
16-dot Graphic Display ...................................................................................................... 139
9.6.1 Command Usage .................................................................................................. 139
9.6.2 Kanji Character Display ........................................................................................ 139
10.0 Internal Character Generator Font ............................................................. 141
11.0 Glossary of Terms ........................................................................................ 145
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
8
268-0.4
SED1330F/1335F/1336F
Table of Contents
THIS PAGE INTENTIONALLY BLANK
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
268-0.4
9
1.0
Overview
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
10
268-0.4
THIS PAGE INTENTIONALLY BLANK
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
268-0.4
11
1.0 – 1.2
1.0 Overview
1.0 Overview
1.1 Description
The SED1330/1335F/1336F is a family of versatile
LCD controller ICs that can display text and graphics
on a medium size LCD panel. The software is
compatible among all three chips. S-MOS recom-
mends new designs use the SED1335 since the
SED1330 will gradually be replaced by the SED1335.
The SED1336F incorporates a TV sync generator
circuit that is compatible with both NTSC and PAL
systems. The 256
×
200 pixel TV display comprises
three superimposed layers, and is identical to the
simultaneous LCD panel display. When driving an
LCD only, up to 3 overlapping layers can be displayed
on LCD panels up to 640
×
256 pixels in size. The
SED1330/1335F does not incorporate a TV controller.
The SED1330/1335F/1336F can display layered text
and graphics, scroll the display in any direction and
partition the display into multiple screens.
The SED1330/1335F/1336F stores text, character
codes and bit-mapped graphics data in external frame
buffer memory. Display controller functions include
transferring data from the controlling microprocessor
to the buffer memory, reading memory data, convert-
ing data to display pixels and generating timing sig-
nals for the buffer memory, TV monitor and LCD
panel.
The SED1330/1335F/1336F has an internal charac-
ter generator with 160, 5
×
7 pixel characters in
internal mask ROM. The character generators sup-
port up to 64, 8
×
16 pixel characters in external
character generator RAM and up to 256, 8
×
16 pixel
characters in external character generator ROM.
1.2 Features
• Text, graphics and combined text/graphics dis-
play modes
• Three overlapping screens in graphics mode
• 640
×
256 pixel LCD panel display resolution
• Programmable cursor control
• Smooth horizontal and vertical scrolling of all or
part of the display
• 1/2-duty to 1/256-duty LCD drive
• Up to 64 Kbytes of external static RAM frame
buffer memory
• Internal character generator
• 160, 5
×
7 pixel characters in internal mask-
programmed character generator ROM
• Up to 64, 8
×
16 pixel characters in external
character generator RAM
• Up to 256, 8
×
16 pixel characters in external
character generator ROM
• 6800 and 8080 family microprocessor inter-
faces
• NTSC and PAL systems compatible
(SED1336F only)
• 256
×
200 pixel TV monitor display resolution
(SED1336F only)
• Low power consumption—3.5 mA operating
current (V
DD
= 3.5V), 0.05
µ
A standby current
• 4.5 to 5.5V (SED1330F)
• 2.7 to 5.5V (SED1330F/1335F)
• 3.0 to 5.5V (SED1336F)
• Available in 60-pin QFPs
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
12
268-0.4
1.0 Overview
1.3
1.3 Block Diagram
Figure 1. SED1330F block diagram
Video RAM
Character
Generator RAM
Character
Generator ROM
LCD
LCD Controller
Input/Output
Register
Video RAM Interface
Display
Address
Controller
Cursor
Address
Controller
Refresh
Counter
Dot Counter
Layered
Controller
Character
Generator
ROM
Oscillator
Microprocessor Interface
YSCL,YD,YDIS
LP, WF
XSCL, XECL
XD0 to XD3
VD0 to VD7
VA0 to VA15
VCE
VR/W
SEL1
SEL0
RES
RD, WR
A0, CS
D0 to D7
OSC1
OSC2
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
268-0.4
13
1.3 Block Diagram
Figure 2. SED1335F/1336F block diagram
1.3
1.0 Overview
Video RAM
Character
Generator RAM
Character
Generator ROM
LCD Controller
Video RAM Interface
Display
Address
Controller
Cursor
Address
Controller
Refresh
Counter
Dot Counter
Character
Generator
ROM
Layered
Controller
Oscillator
Microprocessor Interface
YSCL, YD, YDIS
LP, WF
XSCL, XECL
XD0 to XD3
VD0 to VD7
VA0 to VA15
VCE,
VRD,
VWR
VRD
VWR
SEL1
SEL0
RES
RD, WR
A0, CS
D0 to D7
XG
XD
TV
Controller*
Input/Output
Register
TV
LCD
VSD
SNC
*SED1336F only
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
14
268-0.4
1.0 Overview
1.4 – 1.4.2
1.4 Pinouts
Index
1
15
31
45
46
60
SED1330F
BB
16
30
XD3
D7
D6
D5
D4
D3
D2
D1
D0
V
DD
A0
CS
OSC2
OSC1
SEL 1
VD3
VD2
VD1
VD0
VA15
VA14
VA13
VA12
VA11
VA10
VA9
VA8
VA7
VA6
NC
VD4
VD5
VD6
VD7
YSCL
YD
YDIS
WF
LP
V
SS
XSCL
XECL
XD0
XD1
XD2
VA5
VA4
VA3
VA2
VA1
VA0
VR/W
VCE
NC
RES
NC
NC
RD
WR
SEL 2
Index
55
1
30
60
5
29
40
45
50
20
15
10
SED1330F
BA
VA8
VA9
VA10
VA11
VA12
VA13
NC
VA14
VA15
VD0
VD1
VD2
XD
CS
A0
V
DD
D0
D1
D2
D3
D4
D5
D6
D7
XD3
XD2
XD1
XD0
XECL
XSCL
V
SS
LP
WF
YDIS
YD
YSCL
VD7
VD6
VD5
VD4
VD3
XG
SEL1
SEL2
WR
RD
NC
NC
RES
NC
VCE
VWR
VA0
VA1
VA2
VA3
VA4
VA5
VA6
VA7
6
Figure 3. SED1330F and SED1335F pinouts
Index
1
15
31
45
46
60
SED1335F
0B
(SED1336F
0A
)
16
30
XD3
D7
D6
D5
D4
D3
D2
D1
D0
V
DD
A0
CS
XD
XG
SEL1
VD3
VD2
VD1
VD0
VA15
VA14
VA13
VA12
VA11
VA10
VA9
VA8
VA7
VA6
NC
VD4
VD5
VD6
VD7
YSCL(SNC)
YD
YDIS
WF
LP
V
SS
XSCL
XECL(VSD)
XD0
XD1
XD2
VA5
VA4
VA3
VA2
VA1
VA0
VWR
VCE
VRD
RES
NC
NC(CLO)
RD
WR
SEL 2(NT/PL)
Index
55
1
30
60
5
29
40
45
50
20
15
10
SED1335F
OA
VA8
VA9
VA10
VA11
VA12
VA13
NC
VA14
VA15
VD0
VD1
VD2
XD
CS
A0
V
DD
D0
D1
D2
D3
D4
D5
D6
D7
XD3
XD2
XD1
XD0
XECL
XSCL
V
SS
LP
WF
YDIS
YD
YSCL
VD7
VD6
VD5
VD4
VD3
XG
SEL1
SEL2
WR
RD
NC
NC
RES
VRD
VCE
VWR
VA0
VA1
VA2
VA3
VA4
VA5
VA6
VA7
6
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
268-0.4
15
1.5 Package Dimensions
QFP5
Unit: mm
Figure 5. SED1330F
BB
, 1335F
0B
and SED1336F
0A
QFP6
Unit: mm
Index
1
15
31
16
45
46
60
30
0 ~ 12
°
1.8
2.7
±
0.1
0.8
±
0.3
0.15
±
0.05
0.35
±
0.15
0.8
±
0.15
17.6
±
0.4
14.0
±
0.2
17.6
±
0.4
14.0
±
0.2
0 ~ 12
°
2.8
2.7
±
0.1
1.5
±
0.3
0.15
±
0.05
Index
6
23
36
24
54
55
1
30
0.35
±
0.1
19.6
±
0.4
14.0
±
0.1
25.6
±
0.4
20.0
±
0.1
60
5
29
35
1.0
±
0.1
Figure 4. SED1330F
BA
and 1335F
0A
package dimensions
1.4 – 1.4.2
1.0 Overview
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
16
268-0.4
THIS PAGE INTENTIONALLY BLANK
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
268-0.4
17
2.0
Pin Description
background image
S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238
18
268-0.4
2.0 Pin Description
2.1 SED1330F
BA/BB
Pin Summary
2.0 Pin Description
2.0 – 2.1
Name
Number
Type
Description
SED1330F
0A
SED1330F
BB
VA0 to VA15
27 to 28
50 to 59
Output
VRAM address bus
30 to 43
1 to 6
VR/W
44
7
Output
VRAM write signal
VCE
45
8
Output
Memory control signal
RES
47
10
Input
Reset
NC
29, 46, 48, 49
9, 11, 12, 60
No connection
RD
50
13
Input
8080 family: Read signal
6800 family: Enable clock (E)
WR
51
14
Input
8080 family: Write signal
6800 family: R/W signal
SEL2
52
15
Input
8080 or 6800 family interface
select
SEL1
53
16
Input
8080 or 6800 family interface
select
OSC1
54
17
Input
Oscillator connection
OSC2
55
18
Output
Oscillator connection
CS
56
19
Input
Chip select
A0
57
20
Input
Data type select
V
DD
58
21
Supply
4.5 to 5.5V supply
D0 to D7
59 to 60
22 to 29
Input/output
Data bus
1 to 6
XD0 to XD3
10 to 7
33 to 30
Output
X-driver data
XECL
11
34
Output
X-driver enable chain clock
XSCL
12
35
Output
X-driver data shift clock
V