Information in this document is subject to change without notice. You may download and use this document, but only for your own use in
evaluating Seiko Epson/EPSON products. You may not modify the document. Epson Research and Development, Inc. disclaims any
representation that the contents of this document are accurate or current. The Programs/Technologies described in this document may contain
material protected under U.S. and/or International Patent laws.
EPSON is a registered trademark of Seiko Epson Corporation. All other trademarks are the property of their respective owners.
Page 2
Page ii
Epson Research and Development
Vancouver Design Center
THIS PAGE LEFT BLANK
S1D13503Issue Date : 01/01/30
Page 3
Epson Research and Development
Vancouver Design Center
CUSTOMER SUPPORT INFORMATION
Comprehensive Support Tools
Seiko Epson Corp. provides to the system designer and computer OEM manufacturer a complete set of resources and tools
for the development of graphics systems.
Evaluation / Demonstration Board
•Assembled and fully tested graphics evaluation board with installation guide and schematics
•To borrow an evaluation board, please contact your local Seiko Epson Corp. sales representative
VGA Chip Documentation
•Technical manual includes Data Sheet, Application Notes, and Programmer’s Reference
Software
Page iii
•Video BIOS
•OEM Utilities
•User Utilities
•Evaluation Software
•To obtain these programs, contact Application Engineering Support
Application Engineering Support
Engineering and Sales Support is provided by:
Japan
Seiko Epson Corporation
Electronic Devices Marketing Division
421-8, Hino, Hino-shi
Tokyo 191-8501, Japan
Tel: 042-587-5812
Fax: 042-587-5564
http://www.epson.co.jp
Hong Kong
Epson Hong Kong Ltd.
20/F., Harbour Centre
25 Harbour Road
Wanchai, Hong Kong
Tel: 2585-4600
Fax: 2827-4346
North America
Epson Electronics America, Inc.
150 River Oaks Parkway
San Jose, CA 95134, USA
Tel: (408) 922-0200
Fax: (408) 922-0238
http://www.eea.epson.com
13503SHOW.EXE Display Utility
13503VIRT.EXE Display Utility
13503BIOS.COM Display Utility
13503MODE.EXE Display Utility
13503PD.EXE Power Down Utility
13503READ.EXE Diagnostic Utility
Page v
TABLE OF CONTENTS
EVALUATION
S5U13503B00C Rev 1 Evaluation Board User Manual
APPLICATION NOTES
Power Consumption
ISA Bus Interface Considerations
MC68340 Interface Considerations
LCD Panel Options/Memory Requirem ent s
S1D13503/S1D13502 Feature Comparison
Issue Date: 01/01/30S1D13503
Page 6
Page vi
Epson Research and Development
Vancouver Design Center
THIS PAGE LEFT BLANK
S1D13503Issue Date : 01/01/30
Page 7
GRAPHICS
S1D13503
January 2001
S1D13503 GRAPHICS LCD CONTROLLER
■
DESCRIPTION
The S1D13503 is a dot matrix graphic LCD controller supporting resolutions up to 1024x1024. It is
capable of displaying a maximum of 256 simultaneous colors out of a possible 4096 or 16 gray shades.
Design flexibility allows the S1D13503 to interface to either an MC68000 family microprocessor or an
8/16-bit MPU/bus with minimum external logic. The Static RAM (SRAM) interface used for the display
buffer is optimized for speed and performance, supporting up to 128K bytes.
Two power save modes , combine d with operat ing volta ges of 2.7 vol ts throu gh 5.5 volt s, all ow for a wi de
range of applications while providing min imum power consumption.
■
FEATURES
CPU Interface
Pin compatible with the S1D13502.
•
16-bit 16 MHz MC68xxx MPU interface.
•
8/16-bit MPU interface controlled by a READY
•
(or WAIT#) signal.
Option to use built-in index register or direct-map-
•
ping to access one of sixteen internal registers.
Memory Int e rface
8/16-bit SRAM interface configurations:
•
128K bytes using one 64Kx16 SRAMs.
128K bytes using two 64Kx8 SRAMs.
64K bytes using two 32Kx8 SRAMs.
40K bytes using one 8Kx8 and one 32Kx8
SRAM.
32K bytes using one 32Kx8 SRAM.
16K bytes using two 8Kx8 SRAMs.
8K bytes using one 8Kx8 SRAM.
Information in this document is subject to change without notice. You may download and use this document, but only for your own use in
evaluating Seiko Epson/EPSON products. You may not modify the document. Epson Research and Development, Inc. disclaims any
representation that the contents of this document are accurate or current. The Programs/Technologies described in this document may contain
material protected under U.S. and/or International Patent laws.
EPSON is a registered trademark of Seiko Epson Corporation. All other trademarks are the property of their respective owners.
Page 10
Page 2Epson Resear ch and Development
Vancouver Design Center
THIS PAGE LEFT BLANK
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 17
Epson Research and DevelopmentPage 9
Vancouver Design Center
1 INTRODUCTION
1.1 Scope
This is the Functional Specification for the S1D13503 Dot Matrix Graphic Color LCD Controller. Included in this
document are timing diagrams, AC and DC characteristics, register descriptions, and power managem ent descriptions. This
document is intended for two audiences, Video Subsystem Designers and Software Developers.
1.2 Overview Description
This device is designed for products where low cost, low power consumption, and low component count are the major
design considerations. This chip operates f rom 2.7 Volts to 5.5 Volts and up t o 25MHz to suit d ifferent power consump tion,
speed and cost requirements. The S1D13503 offers a flexible microprocessor interface, and is pin compatible with the
S1D13502 within the same package types (e.g. the 13503D0A is pin compatible with the 13502; the 13503 is pin
compatible with the 13502).
The S1D13503 is capable of displaying a maximum of 16 levels of gray shade or 256 simultaneous colors. In gray shade
modes, a 16x4 Look-Up Table is provid ed to allow remapping of the 16 possible gray s hades displayed on the LCD panel.
In color modes, three 16x4 Look-Up Tables are prov ided to allo w remappin g of the 4096 pos sibl e colors display ed on the
LCD panel. The S1D13503S1D13503 can interface to an MC68000 family microprocessor or an 8/16-bit MPU/Bus with
minimum external “glue” logic. This device can directly control up to 128K bytes of static RAM with a 16-bit data path,
or up to 64K bytes with an 8-bit data path.
The following figures show typical system implementations of the S1D13503. All of the following block diagrams are
shown without SRAM or LCD display. Refer to the interface specific Application Notes for complete details.
3.1 16-Bit MC68 000 MPU
MC68000
A20 to A23
FC0 to FC1
A1 to A19AB1 to AB19
D0 to D15
DTACK#
UDS#
LDS#
AS#
R/W#
A14 to A16
A10 to A19
Decoder
Decoder
S1D13503
MEMCS#
IOCS#
DB0 to DB15
READY
AB0
BHE#
IOR#
IOW#
Figure 1: 16-Bit 68000 Series
(example implementation only - actual may vary)
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
According to configuration setting VD2, Bus Signal Translation translates MC68000 type MPU signals, or READY type
MPU signals to internal bus interface signals.
3.5.2 Control Regist ers
The Control Register contains 16 internal control and configuration registers. These registers can be accessed by either
direct-mapping or by using the built-in internal index register.
3.5.3 Sequence Controller
The Sequence Controller generates horizont al and vertical dis play timings accordin g to the con figuration regist ers settings.
3.5.4 LCD Pa nel Int erfac e
The LCD Panel Interface performs frame rate modulation and output data pattern formatting for both passive monochrome
and passive color LCD panels.
The Look-Up Table contains three 16x4-bit wide pale ttes. In gray s hade modes , the “g reen” p alette can be configured for
the re-mapping of 16 possible shades of gray. In color modes, all three palettes can be configured for the re-mapping of
4096 possible colors.
3.5.6 Port Decoder
According to configuration settings VD1, VD12 - VD4, IOCS# and address lines AB9-1, the Port Decoder validates a given
I/O cycle.
3.5.7 Memory Decoder
According to configuration settings VD15 - VD13, MEMCS# and address lines AB19-17, the Memo ry Decoder validates
a given memory cycle.
3.5.8 Data Bus Conversion
According to configuration setting VD0, Data Bus Conversion maps the external data bus, either 8-b it or 1 6-b it, into th e
internal odd and even data bus.
3.5.9 Address Generator
The Address Generator generates display refresh addresses to be used to access display memory.
3.5.10 MPU / CRT Selector
The MPU / CRT Selector grants access to the display memory from either the MPU or the display refresh circuitry.
3.5.11 Display Data Formatter
The Display Data Formatter reads in the display data from the display memory and outputs th e correct format for all
supported gray shade and color selections.
3.5.12 Clock Inputs / Timing
Clock Inputs / Timing generates the internal master clock according to gray-level / color selected and display memory
interface. The master clock (MCLK) can be:
- MCLK = input clock
- MCLK = 1/2 input clock
- MCLK = 1/4 input clock.
Pixel clock = input clock = f
OSC.
3.5.13 SRAM Interface
The SRAM Interface generates the necessary signals to interface to the Display Memory (SRAM).
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
I=Input
O=Output
I/O=Bidirectional (Input/Output)
P=Power pin
COx=CMOS level output driver, x denotes driver type (see Table 6-4, “Output Specifications,” on page 28)
COxS=CMOS level output d river with s lew rate cont rol for n oise redu ction, x d enotes dr iver typ e (see Table 6-4,
“Output Spec ifications,” on page 28)
TSx=Tri-state CMOS level output driver, x denotes driver type (see Table 6-4, “Output Specifications,” on
page 28)
TSxD2=Tri-state CMOS level output driver with pull down resistor (typical values of 100KΩ/200ΚΩ at 5V/3.0V
respectively), x denotes driver type (see Table 6-4, “Output Specifications,” on page 28)
TTL=TTL level input (V
= 5.0V, see Table 6-3, “Input Specifications,” on page 27)
DD
TTLS=TTL level input with hysteresis
Table 5-1: Bus Interface
Pin Name Type
F00A
Pin #
F01A
Pin #
D00A
Pad #
DriverDescription
118119,
121125,
128,
TS2
These pins are connected to the system data bus. In 8-bit bus
mode, DB8-DB15 must be tied to V
DD
.
DB0DB15
I/O
94 100, 1,
4 -11
91 - 98,
1 - 8
4-11
In MC68000 MPU interface, this pin is connected to the Upper
AB0I12913TTLS
Data Strobe (UDS#) pin of MC68000. In other MPU/Bus
interfaces, this pin is connected to the system address bus.
14-20,
AB1AB19
I13 - 3110 - 28
22-30,
32-33,
TTLThese pins are connected to the system address bus.
36
In MC68000 MPU interface, this pin is connected to the Lower
BHE#I9188113TTLS
Data Strobe (LDS#) pin of MC68000. In other MPU/Bus
interfaces, this pin is the Byte High Enable input for use with
16-bit system. In 8-bit bus mode tie the BHE# input to V
IOCS#I8481103TTLSActive low input to select one of sixteen internal registers.
DD
.
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 31
Epson Research and DevelopmentPage 23
Vancouver Design Center
Table 5-1: Bus Interface
Pin Name Type
F00A
Pin #
F01A
Pin #
D00A
Pad #
DriverDescription
In MC68000 MPU interface, this pin is connected to the R/W#
pin of MC68000. This input pin defines whether the data
IOW#I8582104TTLS
transfer is a read (active high) or write (active low) cycle. In
other MPU/Bus interfaces, this is the active low input to write
data into an internal register.
In MC68000 MPU interface, this pin is connected to the AS#
IOR#I8683106TTLS
pin of MC68000. This input pin indicates a val i d address is
available on the address bus. In other MPU/Bus interfaces, this
is the active low input to read data from an internal register.
MEMCS#I8784107TTLSActive low input to indicate a memory cycle.
MEMW#I8885109TTLS
MEMR#I8986110TTLS
Active low input to indicate a memory write cycle. This pin
should be tied to V
in an MC68000 MPU interface.
DD
Active low input to indicate a memory read cycle. This pin
should be tied to V
in an MC68000 MPU interface.
DD
For MC68000 MPU interface, this pin is connected to the
DTACK# pin of MC68000 and is driven low when the data
transfer is complete. In other MPU/Bus interfaces, this output
READYO9087112TS3
is driven low to force the system to insert wait states when
needed.
READY is placed in a high impedance (Hi-Z) state after the
transfer is completed.
RESETI322937TTLSActive high input to force all signals to their inactive states.
These pins are connected to the display memory data bus. For 16bit interface, VD0-VD7 are connected to the display memory data
bus of even byte addresses and VD8-VD15 are connected to the
display memory data bus of odd byt e addresses . The out put drivers
of these pins are placed in a high impedance state when RESET is
TS1D2
CO1These pins are connected to the display memory address bus.
high.
On the falling edge of RESET, the values of VD0-VD15 are
latched into the chip to configure various hardware options (see
Section Table 5-6: on page 26).
VD0-VD15 each have an internal pull-down resistor (see Section
Table 6-3: on page 27).
Active low chip-select output to the second or odd byte address
SRAM. See Display Memory Interface section for details.
Active low chip-select output to the first or even byte address
SRAM. See Display Memory Interface section for details.
Active low output used for writing data to the display memory.
This pin is connected to the WE# input of the SRAMs.
Active low output to enable reading of data from the display
memory. This pin is connected to the OE# input of the SRAMs.
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 33
Epson Research and DevelopmentPage 25
Vancouver Design Center
Table 5-3: LCD Interface
TM
Pin Name
UD3-UD0
LD3-LD0
FPDI-1
Pin Name
UD3-UD0
UD3-LD0
a
XSCLFPSHIFTO8178100CO3
Type
O
F00A
Pin #
70 - 73
74 - 77
F01A
Pin #
67 - 70
71 - 74
D00A
Pad #
86 - 89
90 - 93
Driver Description
Panel display data bus. The data format depends on the
CO3S
specific panel connected. For 4-bit single p anels, LD3-LD0
are driven low (0 state).
Display data shift clock. Data is shifted into the LCD
X-drivers on the falling edge of this signal.
Display data latch clock. The falling edge of this signal is
LPF PLINEO797696CO3
used to latch a row of display data in the LCD X-drivers
and to turn on the Y driver (row driver).
For format 1 of 8-bit single color panels this is the second
shift clock.
WF/
XSCL2
MOD
FPSHIFT2
O80 77 97 CO3
For all other modes, this is the LCD backplane BIAS
signal. This output toggles once every frame, or as
programmed in AUX[05] bits 7-2.
Vertical scanning start pulse. A logic ‘1’ on this signal,
YDFPFRAME O787594CO3
sampled by the LCD module on the falling edge of LP, is
used by the panel Y driver (row driver) to indicate the start
of the vertical frame.
LCDENB
a
VESA Flat Panel Display Interface Standard (FPDI-1TM)
-----
O82 79 101 CO2
LCD enable signal output. It can be used externally to turn
off the panel supply voltage and backlight.
Table 5-4: Clock Inputs
Pin
Name
Type
F00A
Pin #
F01A
Pin #
D00A
Pad #
DriverDescription
This pin, along with OSC2, is the 2-terminal crystal interface when
OSC1I9289115*
using a 2-terminal crystal as the clock input. If an external
oscillator is used as a clock source, then this pin is the clock input.
This pin, along with OSC1, is the 2-terminal crystal interface when
OSC2O9390116*
using a 2-terminal crystal as the clock input. If an external
oscillator is used as a clock source this pin should be left
unconnected.
Table 5-5: Power Supply
Pin NameTypeF00A Pin #F01A Pin #D00A Pad #DriverDescripti on
The S1D13503 requires some configuration information on power-up. This information is provided through the SRAM
data lines VD[0...15]. The state of these pins are read on the falling edge of RESET and used to configure the following
options:
Table 5-6: Summary of Power On / Reset Options
Pin Namevalue on this pin at falling edge of RESET is used to configure:(1/0)
1 0
VD016-bit host bus interface8-bit host bus interface
VD1Use direct-mapping for I/O accessesUse internal index register for I/O accesses
VD2MC68000 MPU interface
VD3
VD12-VD4
Swap of high and low data bytes in 16-bit bus
interface
Select I/O mapping address bits [9:1].
These nine bits are latched on power-up and are compared to the MPU address bits [9-1]. A
valid I/O cycle combined with a valid address will enable the internal I/O decoder. Therefore,
both types of I/O mapping are limited to even address boundaries to determine either the
absolute or indexed I/O address of the first register. Note that a “valid I/O cycle” includes
IOCS# being toggled low.
Select memory mapping address bits [3:1]
MPU / Bus interface with memory accesses
controlled by a READY (WAIT#) signal
No byte swap of high and low data bytes in
16-bit bus interface
These three bits are latched on power-up and are compared to the MPU address bits [1 9-1 7]. A
valid memory cycle combined with a valid address will enable the internal memory decoder.
As only the three most significant bits of the address are compared, the maximum amount of
VD15-VD13
Note
The S1D13503 has internal pulldown r esistors on these pins and theref ore will be pulled down
and read on a logic “0” after RESET. If pullup resistors are required refer to Table 6-3, “Input
Specifications,” on page 27 for pulldown resistor values.
Example: If an ISA bus (no byte swap) with memory segment “A” and I/O location 300h are used, the corresponding
settings of VD15-VD0 would be:
memory supported is 128K bytes. Note that a “valid memory cycle” includes MEMCS# being
toggled low.
When using 128K byte memo ry it m us t be m apped at an even address such that all 128K bytes
is available without a change in state on A17, as this would invalidate the internal compare
logic.
Table 5-7: I/O and Memory Addressing Example
8-Bit ISA Bus16-Bit ISA Bus
Index
Register
Direct Mapping
Index
Register
Direct Mapping
Where x = don’t care; 1 = connected to pull-up resistor; 0 = no pull-up resistor
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 35
Epson Research and DevelopmentPage 27
Vancouver Design Center
6 D.C. CHARACTERISTICS
Table 6-1: Absolute Maximum Ratings
SymbolParameterRatingUnits
-0.3 to + 6.0V
-0.3 to V
-0.3 to V
+ 0.5V
DD
+ 0.5V
DD
-65 to 150° C
260 for 10 sec. max at lead° C
= 0 V2.73.0/3.3/5.05.5V
V
SS
= 6 MHz
f
OSC
256 colors
V
SS
--V
4.5/5.0/11mA
-402585° C
f
= 6 MHz
OSC
256 colors
13.5/16.5/55mW
DD
V
V
T
T
V
V
DD
IN
OUT
STG
SOL
Supply Voltage
Input Voltage
Output Voltage
Storage Temperature
Solder Temperature/Time
Table 6-2: Recommended Operating Conditions
SymbolParameterConditionMinTypMaxUnits
V
I
T
P
V
OPR
OPR
TYP
Supply Voltage
DD
Input Voltage
IN
Operatin g Current
Operating Temperature
Typical Active Power Consumption
The nominal frequency must be calculated based on the formulas found in Frame Rate Calculation on page 84.
The crystal oscillator must be “fundamental mode” and have the following recommended RC load values:
R
= 2MΩ ± 5%
L
C
= 6.8 pF
L
The figure below demonstrates both a crystal interface and an oscillator interface to the S1D13503.
Crystal InterfaceOscillator Interface
V
V
CC
CC
NC
S1D13503
92
C
L
R
L
X1
S1D13503
92
OUT
X1
GND
93
C
L
93
Figure 19: Recommended Clock Interface
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 47
Epson Research and DevelopmentPage 39
Vancouver Design Center
7.3 Display Memory Interface Timing
7.3.1 Write Data to Display Memory
VA[15:0]
VCS0#, VCS1#
VWE#
VOE#
VD[15:0]
Hi-Z
INPUT
VALID
t1
t2t3
t4
t5
Hi-Z
t6
OUTPUT
Hi-Z
INPUT
Figure 20: Write Data to Display Memory
Table 7-10: Write Data to Display Memory
3V/3.3V5V
SymbolParameterMinMaxMinMaxUnits
t1
Address cycle time
VA[15:0], VCS0# and VCS1# valid before
t2
VWE# falling edge
VA[15:0], VCS0# and VCS1# hold from
t3
VWE# rising edge
t4
Pulse width of VWE#
t5
VD[15:0] setup to VWE# rising edge
t6
VD[15:0] hold from VWE# rising edge
MCLK - 15MCLK - 10ns
00ns
00ns
MCLK - 15MCLK - 10ns
MCLK - 20MCLK - 15ns
00ns
Hi-Z
Where MCLK period = 1/f
OSC
, or 2/f
OSC
, or 4/f
depending on which display mode th e chip is in. (See section 9.2 and
Table 7-12: LCD Interface Timing - 4-Bit Single and 8-Bit Single/Dual Monochrome Panel
4-Bit Single8-Bit Single/Dual
SymbolParameterMinMaxMinMax Units
t1
LP period (single panel mode)
t1
LP period (dual panel mode)
t2
YD hold from LP falling edge (AUX[01] bit 5 = 0)
t2
YD hold from LP falling edge (AUX[01] bit 5 = 1)
t3
LP pulse width (AUX[01] bit 5 = 0)
t3
LP pulse width (AUX[01] bit 5 = 1)
t4
WF delay from LP falling edge
HT + HNDP -
10
n/a
- 108t
8t
OSC
13t
- 1013t
OSC
6t
- 56t
OSC
5t
- 55t
OSC
020020ns
HT + HNDP -
10
2(HT + HNDP) -
10
- 10ns
OSC
- 10ns
OSC
- 5ns
OSC
- 5ns
OSC
LP setup to XSCL falling edge (AUX[01] bit 5 = 0 and
t5
AUX[03]
n/a2t
- 5ns
OSC
bit 2 = 0)
LP hold from XSCL falling edge (AUX[01] bit 5 = 0 and
t6a
AUX[03] bit 2 = 0)
LP hold from XSCL falling edge (AUX[01] bit 5 = 0 and
t6a
AUX[03] bit 2 = 1)
XSCL falling edge to LP falling edge - single panel mode
t6b
(AUX[01] bit 5 = 1 and AUX[03] bit 2 = 0)
XSCL falling edge to LP falling edge - single panel mode
t6b
(AUX[01] bit 5 = 1 and AUX[03] bit 2 = 1)
XSCL falling edge to LP falling edge - dual panel mode
t6c
(AUX[01] bit 5 = 1 and AUX[03] bit 2 = 0)
XSCL falling edge to LP falling edge - dual panel mode
t6c
(AUX[01] bit 5 = 1 and AUX[03] bit 2 = 1)
LP falling edge to XSCL falling edge (AUX[01] bit 5 = 0 and
t7a
AUX[03] bit 2 = 0)
LP falling edge to XSCL falling edge (AUX[01] bit 5 = 0 and
t7a
AUX[03] bit 2 = 1)
LP falling edge to XSCL falling edge (AUX[01] bit 5 = 1
t7b
and AUX[03] bit 2 = 0)
LP falling edge to XSCL falling edge (AUX[01] bit 5 = 1
t7b
and AUX[03] bit 2 = 1)
t8
XSCL period (AUX[03] bit 2 = 0)
t8
XSCL period (AUX[03] bit 2 = 1)
t9
XSCL high width (AUX[03] bit 2 = 0)
t9
XSCL high width (AUX[03] bit 2 = 1)
t10
XSCL low width (AUX[03] bit 2 = 0)
t10
XSCL low width (AUX[03] bit 2 = 1)
UD[3:0], LD[3:0] setup to XSCL falling edge (AUX[03] bit 2
t11
= 0)
2t
- 54t
2t
OSC
t
- 52t
OSC
13t
- 515t
OSC
12t
- 513t
OSC
n/a31t
n/a29t
2t
- 54t
OSC
t
- 52t
OSC
7t
- 59t
OSC
6t
- 57t
OSC
4t
- 58t
OSC
2t
- 54t
OSC
2t
- 54t
OSC
t
- 52t
OSC
2t
- 104t
OSC
t
- 102t
OSC
- 10**4t
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 5ns
OSC
- 10ns
OSC
- 10ns
OSC
- 10**ns
OSC
ns
ns
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 51
Epson Research and DevelopmentPage 43
Vancouver Design Center
Table 7-12: LCD Interface Timing - 4-Bit Single and 8-Bit Single/Dual Monochrome Panel
UD[3:0], LD[3:0] setup to XSCL falling edge (AUX[03] bit 2
t11
= 1)
UD[3:0], LD[3:0] hold from XSCL falling edge (AUX[03] bit
t12
2 = 0)
UD[3:0], LD[3:0] hold from XSCL falling edge (AUX[03] bit
t12
2 = 1)
t13
LP falling edge to XSCL rising edge (AUX[01] bit 5 = 1)
Where t
where HT = (number of horizontal panel pi xel s ) * t
where HNDP = horizontal non-display period in units of t
** -10 ns for 5V operation, - 24 ns for 3.0V and 3.3V operation.
7.4.2 LCD Interface Timing - 4-Bit Single Color Panel
t2
YD
XSCL
LP
WF
LP
t3
t4
t5
t7
t6
t13
t9
t8
t10
t1
UD
t11t12
123
Figure 23: LCD Interface Timing - 4-Bit Single Color Panel
4
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 53
Epson Research and DevelopmentPage 45
Vancouver Design Center
Table 7-13: LCD Interface Timing - 4-Bit Single Color Panel
SymbolParameterMinTypMaxUnits
t1
t2
t3
t4
t5
t6
t7
t8
t9
t10
t11
t12
t13
Where t
OSC
where HT = (number of horizontal panel pi xel s ) * t
where HNDP = horizontal non-display period in units of t
** 5V operation, for 3.0V and 3.3V operation T11 will be 0.5t
LP period
YD hold from LP falling edge
LP pulse width
WF delay from LP falling edge
LP setup to XSCL falling edge
XSCL falling edge to LP falling edge
LP falling edge to XSCL falling edge
XSCL period
XSCL high width
XSCL low width
UD setup to XSCL falling edge
UD hold from XSCL falling edge
LP falling edge to XSCL rising edge
7.4.3 LC D Interface Timing - 8-Bit Single Color Panels Format 2/8-Bit Dual Color Panels
t2
YD
XSCL
LP
WF
LP
t3
t4
t5
t7
t6
t13
t12t11
t8
t10t9
t1
UD/LD
123
4
Figure 24: LCD Interface Timing - 8-Bit Single Color Panels Format 2/8-Bit Dual Color Panels
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 55
Epson Research and DevelopmentPage 47
Vancouver Design Center
Table 7-14: LCD Interface Timing - 8-Bit Si ngle Color Panels Format 2/8-Bit Dual Color Panels
SymbolParameterMinTypMaxUnits
t1
t1
t2
t3
t4
t5
t6
t6
t7
t8
t9
t10
t11
t12
t13
Where t
OSC
where HT = (number of horizontal panel pi xel s ) * t
where HNDP = horizontal non-display period in units of t
** 5V operation, for 3.0V and 3.3V operation T11 will be 1.5t
LP period (single panel mode)
LP period (dual panel mode)
YD hold from LP falling edge
LP pulse width
WF delay from LP falling edge
LP setup to XSCL falling edge
XSCL falling edge to LP falling edge
(single panel mode)
XSCL falling edge to LP falling edge
(dual panel mode)
LP falling edge to XSCL falling edge
XSCL period
XSCL high width
XSCL low width
UD/LD setup to XSCL falling edge
UD/LD hold from XSCL falling edge
LP falling edge to XSCL rising edge
7.4.4 LCD Interface Timing - 16-Bit Single/Dual Color Panels
t2
YD
XSCL
LP
WF
LP
t4
t6t13
t3
t5
t7
t9
t8
t10
t1
UD/LD
t11t12
123
t14
t15
4
Figure 25: LCD Interface Timing - 16-Bit Single/Dual Color Panels
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 57
Epson Research and DevelopmentPage 49
Vancouver Design Center
Table 7-15: LCD Interface Timing - 16-Bit Single/Dual Color Panels
SymbolParameterMinTypMaxUnits
t1
t1
t2
t3
t4
t5
t6
t6
t7
t8
t9
t10
t11
t12
t13
t14
t15
Where t
OSC
where HT = (number of horizontal panel pixels) * t
where HNDP = horizontal non-display period in units of t
** 5V operation, for 3.0V and 3.3V operation T11 will be 1.5t
LP period (single panel mode)
LP period (dual panel mode)
YD hold from LP falling edge
LP pulse width
WF delay from LP falling edge
LP setup to XSCL falling edge
XSCL falling edge to LP falling edge
(single panel mode)
XSCL falling edge to LP falling edge
(dual panel mode)
LP falling edge to XSCL falling edge
XSCL period
XSCL high width
XSCL low width
UD/LD setup to XSCL falling edge
UD/LD hold from XSCL falling edge
LP falling edge to XSCL rising edge
UD/LD setup to XSCL rising edge
UD/LD hold from XSCL rising edge
7.4.5 LC D Interface Timing - 8-Bit Single Color Panels Format 1
t2
YD
XSCL2
(WF)
XSCL
LP
LP
t7a
t7b
t14b
t6b
t8b
t14a
t6a
t8a
t3
t9b
t11bt10b
t11at10a
t1
t9a
t12at13at12b
UD/LD
t13b
123
Figure 26: LCD Interface Timing - 8-Bit Single Color Panels Format 1
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 59
Epson Research and DevelopmentPage 51
Vancouver Design Center
Table 7-16: LCD Interface Timing - 8-Bit Single Color Panels Format 1
SymbolParameterMinTypMaxUnits
t1
t2
t3
t6a
t6b
t7a
t7b
t8a
t8b
t9a
t9b
t10a
t10b
t11a
t11b
t12a
t12b
t13a
t13b
t14a
t14b
Where t
OSC
where HT = (number of horizontal panel pi xel s ) * t
where HNDP = horizontal non-display period in units of t
** 5V operation, for 3.0V and 3.3V operation T12 will be 1.5t
LP period
YD hold from LP falling edge
LP pulse width
LP setup to XSCL falling edge
LP setup to XSCL2 falling edge
XSCL falling edge to LP falling edge
XSCL2 falling edge to LP falling edge
LP falling edge to XSCL falling edge
LP falling edge to XSCL2 falling edge
XSCL period
XSCL2 period
XSCL high width
XSCL2 high width
XSCL low width
XSCL2 low width
UD/LD setup to XSCL falling edge
UD/LD setup to XSCL2 falling edge
UD/LD hold from XSCL falling edge
UD/LD hold from XSCL2 falling edge
LP falling edge to XSCL rising edge
LP falling edge to XSCL2 rising edge
Figure 36: 16-Bit Dual Color Panel Timing with External Circuit
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 69
Epson Research and DevelopmentPage 61
Vancouver Design Center
8 HARDWARE REGISTER INTERFACE
The S1D13503 is configured and control le d via 16 int ern al 8- bit regi ster s. There are two ways to map these registers into
the system I/O space.
1.Direct-mapping: Absolute I/O address = system address lines AB[3:0] + base I/O mapped address
(where base I/O address is selected by VD7-VD12, see Table 5-6)
This scheme requires 16 sequential I/O addresses starting from the I/O mapped base address selected by VD7-VD12
(see Table 5-6).
2.Indexing: I/O address = internal index register bits [3:0]
This scheme requires 2 sequential I/O addresses starting from the base address selected by VD4-VD12
(see Table 5-6).
To perform an 8-bit I/O access:
write index IOW {I/O mapped address}, {index}; write the index of the register to be accessed
then
write dataIOW {I/O mapped address +1}, {data}; write data to the indexed register
or
read dataIOR {I/O mapped address +1}; read the indexed register
To perform a 16-bit I/O access:
write dataIOW {I/O mapped address}, {index,data} ; write the index and data of the register to be accessed
read dataIOW {I/O mapped address}, {index}; write to the indexed register
IOR {I/O mapped address +1}; read the indexed register
8.1 Register Descriptions
AUX[00] Test Register
I/O address = 0000b, Read/Write
Test Mode
Enable
bit 7Test Mode Enable
bit 6Reserved
bits 5-0Test Mode Input and Output Bits [2:0]
Reserved
When this bit = 0 normal operation is enabled. When this bit = 1 the chip is placed in a special test mode.
The test input bits and test output bits (bits 6:0) are used to select various internal test functions.
During normal operation this bit must = 0.
When bit 7 = 1 these are the Test Input Select Input and Output bits. When bits 6 and 7 = 0 (normal operation) these bits may be used as read/write scratch registers.
This bit selects display on or off. When this bit = 0, Display OFF is selected (LD0-3 and UD0-3 are forced
to 0 ). When this bit = 1, Display ON is selected. This bit goes low on RESET.
bit 6Panel
This bit selects the LCD panel configuration (single or dual). When this bit = 0, Si ngle LC D panel drive is
selected. When this bit = 1 Dual LCD panel drive is selected. This bit goes low on RESET.
bit 5Mask XSCL
XSCL is automatically masked during the horizontal non-display period if any of the following criteria is
met:
• AUX[0C] value is greater than 00h.
• Color panel is selected.
• This bit (AUX[01] bit 5) = 1.
.XSCL will not be masked during the horizontal non-display period if color panel is not selected, AUX[0C]
= 00h and this bit = 0.
bit 4LCDE
The state of this pin determines the state of output pin 82, LCDENB, and is intended for control of an
external LCDBIAS power supply. However, this pin can be used as a general I/O pin if desired. When
LCDE = 0, LCDENB is forced low. When LCDE = 1, LCDENB is forced high. LCDE goes low on
RESET.
bit 3Gray Shade/Color
In gray shade display modes, this bit selects between 16-level or 4-level gray shade display. When this bit
= 1, 16 gray shades are displayed (4 bits/pixel). When this bit = 0, 4 gray shades of a possible 16 are displayed (2 bits/pixel).
In color display modes, this bit selects between 16 color or 4 color display. When this bit = 1, 16 colors are
displayed out of a possible of 4096 colors (4 bits/pixel). When this bit = 0, 4 colors are displayed out of a
possible of 4096 colors (2 bits/pixel).
This bit is ignored when either black-and-white (BW) or 256 color mode is selected (AUX[03] bit 2 = 1).
This bit goes low on RESET.
Table 8-1: Gray Shade/Color Mode Selection
Display
Modes
Gray Shade/
Color
AUX[01] bit 3
BW/
256 Colors
AUX[03] bit 2
Color Mode
AUX[03] bit 1
256 Colorsdon’t care11
16 Colors101
4 Colors001
16 Grays100
4 Grays000
BWdon’t care10
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 71
Epson Research and DevelopmentPage 63
Vancouver Design Center
bit 2LCD Data Width Bit 0
Together with LCD Data Width bit 1 (AUX[03] bit 3) this bit selects different display data formats. The
following table shows the function of these two bits:
Table 8-2: LCD Data Width
Panel
LCD Data
Width Bit 1
AUX[03] bit 3
LCD Data
Width Bit 0
AUX[01] bit 2
Function
Monochromedon’t care04-bit LCD data width
Monochromedon’t care18-bit LCD data width
Color004-bit LCD data width
Color018-bit LCD data width - format 1
Color1016-bit LCD data width (with external circuit)
Color118-bit LCD data width - format 2
For 8-bit dual panels, the data transfer width is forced to 4 bits per panel. This bit goes low on RESET.
bit 1Memory Interface
This bit selects between the 8-bit or 16-bit memory interface. When this bit = 0, the 16-bit memory interface is selected. When this bit = 1, the 8-bit memory interface is selected. If 16-bit bus interface (VD0 = 1
on RESET) or 256 color mode (AUX[03] bits 2-1 = 11) is selected, the Memory Interface bit is forced to 0
internally (16-bit). This bit goes low on RESET.
bit 0RAMS
This bit configures the display memory address lines for an 8-bit memory interface system. When this bit
= 0, addressing for 8Kx8 SRAM on an 8-bit display m emory data bus interface is selected. When this bit =
1, addressing for 32Kx8 SRAM on an 8-bit display memory data bus interface is selected. This bit goes
low on RESET. This bit is ignored for a 16-bit me m ory interface.
AUX[02] Line Byte Count Register (LSB)
I/O address = 0010b, Read/Write.
Line Byte
Count Bit 7
Line Byte
Count Bit 6
Line Byte
Count Bit 5
Line Byte
Count Bit 4
bits 7-0 Line Byte Count Bits [7:0]
Along with Line Byte Count B i t 8 (AUX[03] bit 0), thi s is the n umber of bytes to be fetched per display
line minus 1. To calculate the Line Byte Count use the following formula:
LineByteCount Decimal
()
Example:
T o calculate the Line Byte Count for 640 horizontal pixels with 16 gray shades (4 bits-per-pixel) and 16-bit
memory interface:
The following two tables summarize the maximum value of the Line Byte Count Register for different
display modes and display memory interface.
Table 8-3: Maximum Value of Line Byte Count Register - 8-Bit Display Memory Interface
Display Modes
black-and-white (BW)0FFh256 x 8 = 2048
4-level gray shade / 4 colors0FFh256 x 4 = 1024
16-level gray shade / 16 colors1FFh512 x 2 = 1024
Table 8-4: Maximum Value of Line Byte Count Register - 16-Bit Display Memory Interface
Display Modes
black-and-white (BW)0FFh256 x 16 = 4096
4-level gray shade / 4 colors0FFh256 x 8 = 2048
16-level gray shade / 16 colors0FFh256 x 4 = 1024
256 colors1FFh512 x 2 = 1024
Maximum Value of
Line Byte Count Register
Maximum Value of
Line Byte Count Register
Corresponding Maximum
Number of Pixels in One
Display Line
Corresponding Maximum
Number of Pixels in One
Display Line
AUX[03] Mode Register 1
I/O address = 0011b, Read/Write
PS
Bit 1
bits 7-6PS Bits [1:0]
bit 5LCD Signal State
bit 4LUT Bypass
PS
Bit 0
Selects the Power Save Modes as shown in the following tab le. The PS bits [1:0] go low on RESET.
Refer to Power Save Modes on page 77 for a complete Power Save Mode description.
When this bit = 0, all LCD interface signals are forced low during Power Save modes. When this bit = 1,
all LCD interface signals are forced to a high impedance (Hi-Z) state during Power Save modes. This bit
goes low on RESET.
When the LUT Bypass bit = 0, the Look-Up Table is used for display data output in gray shade modes.
When this bit = 1, the Look-Up Table is bypassed for display data output in gray shade modes (for power
save purposes). There is no effect on changing this bit in BW and color modes. In BW display mode, the
Look-Up Table is always bypasse d an d i n color display mode the Look-Up Table cannot be byp ass ed. The
LUT Bypass bit goes low on RESET.
LCD Signal
State
Table 8-5: Power Save Mode Selection
PS1PS0Mode Activated
00Normal Operation
01Power Save Mode 1
10Power Save Mode 2
11Reserved
LUT
Bypass
LCD Data
Width Bit 1
BW /
256 colors
Color Mode
Line Byte
Count Bit 8
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 73
Epson Research and DevelopmentPage 65
Vancouver Design Center
bit 3LCD Data Width Bit 1
Together with LCD Data Width bit 0 (AUX[01] bit 2), this bit selects different display data formats. See
Table 8 -2, “LCD Dat a Width,” on page 63 for details. This bit goes low on RESET.
bit 2BW / 256 colors
In BW/gray shade display modes, when this bit = 1, black-and-white (BW) mode is selected. When this bit
= 0, either 4-level gray shade mode or 16-level gray shade mode is selected.
In color display modes, when this bit = 1, 256 color mode is selected. When this bit = 0, either 4 color
mode or 16 color mode is selected. See Table 8-1, “Gray Shade/Color Mode Selection,” on page 62 for
details. This bit goes low on RESET.
bit 1Color Mode
When this bit = 1, color display modes are selected. When bit = 0, BW/g ray shade display modes are
selected. See Table 8-1, “Gray Shade/Color Mode Selection,” on page 62 for details. This bit goes low on
RESET.
bit 0Line Byte Count Bit 8
This is the MSB of the number of bytes to be fetched per display lin e minus 1 (see AUX[02]). This bit only
has effect when in either 16 colors/gray shades with 8-bit memory interface or 256 colors with 16-bit
memory interface.
.
AUX[04] Total Display Line Count Register (LSB) (Vertical Total)
I/O address = 0100b, Read/Write.
Total Disp.
Line Count
Bit 7
Total Disp.
Line Count
Bit 6
Total Disp.
Line Count
Bit 5
Total Disp.
Line Count
Bit 4
bits 7-0Total Display Line Count Bits [7:0]
These are the 8 LSB of the 10 bit Total Display Line Count and represent the number of s can lines -1, to a
maximum value of 3FFh or 1024 scan lines.
In single panel mode:
TotalDisplayLineCountNumberOfDisplayLines
In dual pan el mode:
TotalDisplayLineCount
Note that the value programmed partially determines the frame period, and hence affects display duty
cycle. Bits 8 and 9 are located in the following register (AUX[05]).
These bits are used to adjust the WF output signal period. The binary value stored in these bits represents
the number of LP pulses -1 between toggles of the WF output. The power up reset value of these bits is 0,
which causes the WF output to toggle every frame. When values of 01h to 3Fh are programmed into these
bits, the results are WF toggling every 1+n LP pulses, where n is the value programmed. These bits have
no effect when 8-bit single color panel format 1 is selected.
These bits are the two MSB of the Total Display Lin e Count Register ( AUX[04]).
AUX[06] bits 7-0 Screen 1 Display Start Address Bits [15:0]
AUX[07] bits 7-0 These 16 bits determine the Screen 1 Display Start Address. In an 8-bit memory configuration these bits
Note
The absolute address into display mem ory is determined by the Memory Mapping
Address which is set by VD13 - VD15 (see Table 5-6, “Summary of Power On / Reset Options,” on page 26).
Screen 1
Display Start
Addr
Bit 6
Screen 1
Display
Start Addr
Bit 14
set the 16-bit start address (i.e., byte access). In a 16-bit memory configuration these are the 16 most significant bits of a 17-bit start address (i.e., word access).
The Screen 1 Display Start Address is the memory address corresponding to the first displayed pixel (top
left corner). In a dual panel configurati on, screen 1 refers to the upper half of the dis play. While in a single
panel configuration, screen 1 refers to the first screen of the Split Screen Display feature where two different images (screen 1 and screen 2) can be displayed at the same time on one display.
Screen 1
Display Start
Addr
Bit 5
Screen 1
Display
Start Addr
Bit 13
Screen 1
Display Start
Addr
Bit 4
Screen 1
Display
Start Addr
Bit 12
Screen 1
Display Start
Addr
Bit 3
Screen 1
Display
Start Addr
Bit 11
Screen 1
Display St art
Addr
Bit 2
Screen 1
Display
Start Addr
Bit 10
Screen 1
Display St art
Addr
Bit 1
Screen 1
Display
Start Addr
Bit 9
Screen 1
Display St art
Addr
Bit 0
Screen 1
Display
Start Addr
Bit 8
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
AUX[08] bits 7-0 Screen 2 Display Start Address Bits [15:0]
AUX[09] bits 7-0 These 16 bits determine the Screen 2 Display Start Address. In an 8-bit memory configuration these bits
set the 16-bit start address (i.e., byte access). In a 16-bit memory configuration these are the 16 most significant bits of a 17-bit start address (i.e., word access).
In a dual panel configuration, screen 2 refers to the lower half of the display. The Screen 2 Display Start
Address is the memory address corresponding to the first displayed pixel in the first line of the lower half
of the display. If screen 2 is started right after screen 1, the screen 2 display start address can be calculated
with the following formula:
In a single panel configuration, screen 2 refers to the second screen of the Split Screen Display Feature
where two different images (screen 1 and screen 2) can be displayed at the same time on one display. The
Screen 2 Display Start Address is the mem ory addres s corr espond ing to th e first pixel of the second image
stored in display memory. To display screen 2 refer to AUX[0A] Screen 1 Display Line Count Register
(LSB) on page 68.
AUX[0A] Screen 1 Display Line Count Register (LSB)
I/O address = 1010b, Read/Write.
Screen 1
Display
Line Count
Bit 7
AUX[0B] Screen 1 Display Line Count Register (MSB)
I/O address = 1011b, Read/Write.
Screen 1
Display
Line Count
Bit 6
Screen 1
Display
Line Count
Bit 5
Screen 1
Display
Line Count
Bit 4
Screen 1
Display
Line Count
Bit 3
Screen 1
Display
Line Count
Bit 2
Screen 1
Display
Line Count
Bit 1
Screen 1
Display
Line Count
Bit 0
Screen 1
n/an/an/an/an/an/a
AUX[0A] bits 7-0 Screen 1 Display Line Count Bits [9:0]
AUX[0B] bits 1-0 These bits are the eight LSB of a 10-bit v alue used to de termine the n umber of lines displayed for scr een 1.
The remaining lines will automatically display from the screen 2 display start addr ess. Th e 10-bit value
programmed is the number of display lines -1.
This register is used to enable the split screen display feature (single panel only) where two different
images can be displayed at the same time on one display.
For example; AUX[0A] = 20h for a 320x240 display system. The display will display 20h+1 = 33 lines on
the upper part of the screen as dictated by the screen 1 display start address registers (AUX[06] and
AUX[07]), and 240 - 33 = 207 lines will be displayed on the lower part of the screen as dictated by the
screen 2 display start address registers (AUX[08] and AUX[09]).
T w o di f ferent images can b e displayed wh en using a dual pan el conf iguration b y changing the s creen 2 display start address. However, by using this method screen 2 is limited to the lower half of the display.
This registe r is ignored in dual pane l mode.
Display
Line Count
Bit 9
Screen 1
Display
Line Count
Bit 8
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 77
Epson Research and DevelopmentPage 69
Vancouver Design Center
AUX[0C] Horizontal Non-Display Period
I/O address = 1100b, Read/Write.
Horizontal
NonDisplay
Period
Bit 7
bits 7-0Horizontal Non-Display Per iod Bi ts [7: 0]
Horizontal
NonDisplay
Period
Bit 6
These bits are used to adjust the horizontal non-display period (See “Frame Rate Calculation” on page
84 for details). When these bits = 0, the fixed default non-display period (DHNDP) is used. Otherwise, a
non-display period of DHNDP & AUX[0C] +1 is used. The unit of AUX[0C] is the same as the unit of
Line Byte Count Register, i.e. number of bytes to be fetched. See description of AUX[02] and Section
9.3 on page 84 for details.
For example, if an additional 32 pixels wide of horizontal non-display period is desired in a 4
Note that the value programmed determines the period of one line, and hence affects the frame period.
Horizontal
NonDisplay
Period
Bit 5
Horizontal
NonDisplay
Period
Bit 4
Horizontal
NonDisplay
Period
Bit 3
Horizontal
NonDisplay
Period
Bit 2
Horizontal
NonDisplay
Period
Bit 1
Horizontal
NonDisplay
Period
Bit 0
AUX[0D] Address Pitch Adjustment Register
I/O address = 1101b, Read/Write.
Addr Pitch
Adjustment
Bit 7
bits 7-0Address Pitch Adjustm e nt Bits [7:0]
Addr Pitch
Adjustment
Bit 6
This register controls the virtual display by setting the numerical difference between the last address of a
display line, and the first address in the following line.
If the Address Pitch Adjustment is not equal to zero, then a virtual screen is formed. The size of the virtual
screen is only limited by the available display memory. The actual display output is a window that is part
of the whole image stored in the display memory. For example, with 128K of display memory, a 640x400
16-gray image can be stored. If the output display size is 320x240, then the whole image can be seen by
changing display st arti ng addresses through A UX[ 06] and [07], and AUX[08] an d [ 09]. Note that a virtual
screen can be produced on either a single or dual panel.
In 8-bit memory interface, if the Address Pitch Adjustment is not equal to zero, a virtual screen with a line
length of (Line Byte Count +AUX[0D]) bytes is created, with the display reflecting the contents of a window (Line Byte Count+1) bytes wide. The position of the window on the virtual screen is determined by
AUX[06] and [07], and AUX[08] and [09].
In 16-bit memory interface, if the Address Pitch Adjustment is not equal to zero, then a virtual screen with
a line length of 2x(Line Byte Count +AUX[0D]) bytes is created, with the display reflecting the contents
of a window 2x(Line Byte Coun t+1) byt es wide. The pos ition of the wind ow on the virtual screen is determined by AUX[06] and [07], and AUX[08] and [09].
The S1D13503 has three internal 16 position, 4-bit wide Look-Up Tables (palettes). The 4-bit value programmed into each
table position determines the output gray shade / color weighting of display data. These tables are bypa ssed in black-andwhite (BW) display mode.
These three 16 position Look-Up Tables can be arranged in many different configurations to accommodate all the gray
shade / color display modes.
Refer to Look-Up Table Architecture on page 72 for formats.
bits 7-6Green Bank Bits [1:0]
bits 5-4ID Bit / RGB Index Bits [1:0]
Green Bank
Bit 0
In 4-level gray / color display modes (2-bits/pixel), the 16 position Green palette is arranged into four, 4
position “banks”. These two bits control which bank is currently selected. These bits have no effect in 16level gray / color display modes (4-bits/pixel).
In 256 color display modes (8-bit/pixel), the 16 position Green palette is arranged into two, 8 positio n
“banks” for the display of “green” colors. Only bit 0 of these two bits controls which bank is currently
selected.
These bits have dual purpose;
ID Bit /
RGB Index
Bit 1
ID Bit /
RGB Index
Bit 0
Palette
Address
Bit 3
Palette
Address
Bit 2
Palette
Address
Bit 1
Palette
Address
Bit 0
ID Bits: After power on or hardware reset, these bits can be read to identify the S1D13503. These same
bits are used to identify the pin compatible S1D13502 and would only be used in system implementations
where common software is being used. As these bits are R/W they must be read before being written in
order to be used as ID bits.
Table 8-6: ID Bit Usage
Chip
S1D1350300
Power On or
RESET
RGB Index bits [1:0]: These bits are also used to provide access to the three internal Look-Up Tables
(RGB).
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 79
Epson Research and DevelopmentPage 71
Vancouver Design Center
Note
When auto-increment is selected, an internal pointer will default to the Red palette on
power on reset. Each read/write access to Aux[0F] will increment the counter to point
to the next palette in order (RGB). Whenever the Look-Up Table Address register
Aux[0E] is written, the RGB Index will reset the pointer to the Red palette. This pro vides a efficient method for sequential writing of RG B data.
bits 3-0Palette Address Bits [3:0 ]
These 4 bits provide a pointer into the 16 position Look-Up Table currently selected for CPU R/W access.
Note
The Look-Up Table configuration (e.g. 1/2/4 banks) does not affect the R/W access
from the CPU as all 16 positions can be accessed sequentially.
AUX[0F] Look-Up Table Data Register
I/O address = 1111b, Read/Write.
Red Bank
Bit 1
Red Bank
Bit 0
Blue Bank
Bit 1
Blue Bank
Bit 0
Palette Data
Bit 3
Palette Data
Bit 2
Palette Data
Bit 1
Palette Data
Bit 0
bit 7-6Red Bank Bits [1:0]
In 4-level col or display modes , the 16 positio n Red palette is arran ged into four, 4 position “banks”. These
two bits control which bank is currently selected.
In 256 color display modes, the 16 position, Red palette is arranged into two, 8 position “banks” for the
display of “red” colors. Only bit 0 of these two bits controls which bank is currently selected.
These bits have no effect in all gray shade or 16-color display modes.
bit 5-4Blue Bank Bits [1:0]
In both the 4 and 256 color display modes, the 16 position Blue palette is arranged into f our 4 position
“banks” for the display of “blue” colors. These two bits control which bank is currently selected.
These bits have no effect in all gray shade display modes or 16 color display modes.
bits 3-0Palette Data Bits [3:0]
These 4-bits are the gray shade / color values used for display data output. They are programmed into the
4-bit Look-Up Table (palettes) positions pointed to by Palette Address bits [3:0] and RGB Index bit[1:0]
(if in color display modes).
For example; in a 16-level gray shade d isp lay mode, a data value of 0001b (4-bits / pixel) will point to
Look-Up Table position one and display the 4-bit gray shade corresponding to the value programmed into
that location.
Indicates the palette is not used for that display mode
8.2.1 Gray Shade Display Modes
4-Level Gray Shade Mode
Green Look- U p Table
Bank 0
2-bit pixel data
0
1
2
3
Bank 1
0
1
2
3
0
1
2
3
Bank 2
Bank
Select
Logic
4-bit display data output
Bank 3
0
1
2
3
Bank Select bits [1:0]
(Aux[0E] bits [7:6])
Note: the above depiction is intended to show the display data output path only. The CPU R/W access to the individual
Look-Up Tables is not affected by the various ‘banking’ configurations.
Figure 41: 256-Level Color Mode Look-Up Table Architecture
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Page 85
Epson Research and DevelopmentPage 77
Vancouver Design Center
8.3 Power Save Modes
Two software-controlled Power Save Modes have been incorporated into the S1D13503 to accommodate the important
need for power reduction in the hand-h eld devices market. Thes e modes can be enabled by setting the two Power Save bits
(AUX[03] bits 7:6).
The various settings are:
Table 8-9: Power Save Mode Selection
Bit 5 Bit 4Mod e Activated
00Normal Operation
01Power Save Mode 1
10Power Save Mode 2
11Reserved
8.3.1 Power Save Mode 1
Power Save Mode 1 has two states. Initially when set, the S1D13503 enters State 1. If no valid memory cycle is detected
within 1, 2, or 4 clocks (input clock frequency dependent), the chip will enter State 2. The number of clocks of inactivity
before entering State 2 is dependent on the display memory interface and the number of Gray shades.
State 1
•I/O read/write of all registers allowed
•Memory read/write allowed
•LCD outputs are either forced low (AUX[03] bit 5=0), or high impedance (AUX[03] bit 5=1)
State 2
The same as State 1 as well as:
•Master clock for display memory access is disabled
Once a valid memory read/write cycle is detected, the S1D13503 returns to State 1 where the MPU access is serviced. The
transition from going from State 2 to State 1 requires 1, 2, or 4 clocks (as described above).
8.3.2 Power Save Mode 2
•I/O read/write of all registers allowed
•Memory read/write is disabled
•Master clock for display memory access is disabled
•LCD outputs are either forced low (AUX[03] bit 5=0), or high impedance (AUX[03] bit 5=1)
The following tables summarize the preceding information (formulae).
Input clock (f
being used. As a result, different resolutions will have different input clock and memory requirements for a particular frame
rate. Tables 9-3 through 9-5 summ arize the minimum memo ry size and access time requirements for variou s resolutions at
a particular input clock along with the corresponding frame rates.
(1) Memory more than 128KB cannot be supported by S1D13503.
(2) Memory more than 64KB can only be supported through 16-bit display memory interface.
(3) 256 color mode must use 16-bit display memory interface.
* KB = K byte = 1024 bytes
(1) Memory more than 128KB cannot be supported by S1D13503.
(2) Memory more than 64KB can only be supported through 16-bit display memory interface.
(3) 256 color mode must use 16-bit display memory interface.
* KB = K byte = 1024 bytes
Input
Clock
(f
)
OSC
(2)(3)
10 MHz 74 Hz 70 Hz
75 ns
(2)(3)
8 MHz 73 Hz 70 Hz
100 ns
(2)(3)
6 MHz 69 Hz 66 Hz
140 ns
(2)(3)
6 MHz 73 Hz 70 Hz
140 ns
(2)(3)
5 MHz 73 Hz 70 Hz
175 ns
Frame Rate
BW /
Gray
Color
S1D13503Hardware Functional Specification
X18A-A-001-08Issue Date : 01/01/29
Information in this document is subject to change without notice. You may download and use this document, but only for your own use in
evaluating Seiko Epson/EPSON products. You may not modify the document. Epson Research and Development, Inc. disclaims any
representation that the contents of this document are accurate or current. The Programs/Technologies described in this document may contain
material protected under U.S. and/or International Patent laws.
EPSON is a registered trademark of Seiko Epson Corporation. All other trademarks are the property of their respective owners.
Page 98
Page 2
Epson Research and Development
Vancouver Design Center
THIS PAGE LEFT BLANK
S1D13503Programming N otes and Examples
X18A-G-002-06Issue Date : 01/01/30