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 Resear ch 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.
Epson Research and DevelopmentPage 3
Vancouver Design Center
Customer Support Information
Comprehensive Support T ools
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, pleas e c ontact your local Seik o Epson Corp. sales repres entative.
Chip Documentation
• Technical manual includes Data Sheet, Application Notes, and Programmer’s Reference.
Software
• 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
The S1D13504 is a low cost, low power, color/monochrome LCD/CRT controller interfacing to a wide range of CPUs
and LCDs. The S1D13504 architecture is de si gned to meet the requirements of embedded markets such as Office
Automation equipment, Mobile Communi ca tions devices and Hand-Held PCs where Wi ndow s CE may serve as a
primary o perat ing system.
The S1D13504 supports LCD interfaces with data widths up to 16-bits. Using Frame Rate Modulation (FRM), it can
display 16 shades of gray on monochrome LCD panels, up to 4096 colors on passive color LCD, and 64K colors on
active matrix TFT LCD panels. CRT support is handled through the use of an external RAMDAC interface allowing
simultaneous display of both the CRT and LCD panel. A 16-bit memory interface supports up to 2M bytes of FPMDRAM or EDO-DRAM. Supports flexible operating voltages from 2.7V to 5.5V.
■ FEATURES
Memory Interface
16-bit EDO-DRAM or FPM- DRAM in ter face.
•
Memory size options:
•
512K bytes using one 256K×16 device.
2M bytes using one 1M×16 device.
Addressable as a single linear address space.
•
CPU Interface
Suppor ts the following inter faces:
•
Hitachi SH-3.
Motorola M68K.
ISA bus.
MPU bus interface with programmable READY.
i386/486 bus.
Philips MIPS PR31500/ 31700.
NEC MIPS V
CPU write buffer.
•
Display Support
4/8-bit monochrome passive LCD interface.
•
4/8/16-bit color passive LCD interface.
•
Single-panel, single-drive displays.
•
Dual-panel, dual- drive displays.
•
Direct support for 9/12-bit TFT; 18-bit TFT is sup-
•
ported up to 64K color depth (16-bit data).
External RAMDAC support using the upper byte of
•
the LCD data bus for the RAMDAC pixel data bus.
Simultaneous display of CRT and 4/8-bit passive
•
or 9-bit TFT panels, regardless of resolution.
Maximum resolution of 800x600 pixels at a color
•
depth of 16 bpp.
R
4102.
Display Modes
1/2/4/8/16 bit-per-pixel (bpp) support on LCD.
•
1/2/4/8 bit-per-pixel (bpp) on CRT.
•
Up to 16 shades of gray using FRM on
•
monochrome passive LCD panels.
Up to 4096 colors on passive LCD panels.
•
Up to 64K colors on active matrix TFT LCD in
•
16 bpp modes.
Split Screen Display: allows two different images to
•
be simultaneously displayed.
Virtual Display Support: displays images larger
•
than the panel size through the use of panning.
Double Buffering/multi-pages: provides smooth ani-
•
mation and instantaneous screen update.
Acceleration of screen upd ates by allocati ng ful l
•
display buffer bandwidth to CPU.
Clock Source
Single clock input for both pixel and memory clocks.
•
Memory clock can be input clock or (input clock/2),
•
providing flexibility to use CPU bus clock as input.
Pixel clock can be memory clock or (memory clock/
•
2), (memory clock/3) or (memory clock/4).
Power Down Modes
Two pow er do wn modes: one softw are / one hardware.
•
LCD Power Sequencing.
•
General Purpose IO pins
Up to 12 General Purpose IO pins are available.
•
Operating Voltage
2.7 volts to 5.5 volts.
•
Package
128-pin QFP15 surface mount package
•
144-pin QFP20 surface mount package
•
February 2001
X19A-C-002-11 1
GRAPHICS
S1D13504
■
SYSTEM BLOCK DIAGRAM
RAMDAC
EDO-DRAM
FPM-DRAM
CPU
Control
Clock
S1D13504
Digital Out
CONTACT YOUR SALES REPRESENTATIVE FOR THESE
COMPREHENSIVE DESIGN TOOLS:
• S1D13504 Technical Manual
• S5U13504 Evaluation Boards
• Windows
CE Display Driver
• CPU Independent Software Utilities
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
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.com
Analog Out
CRT
Flat Panel
FOR SYSTEM INT EGRATION SERVICES
FOR WINDOWS® CE CONTACT:
Epson Research & Development, Inc.
Suite #320 - 11120 Horseshoe Way
Richmond, B.C., Canada V7A 5H7
Tel: (604) 275-5151
Fax: (604) 275-2167
Email: wince@erd.epson.com
http://www.erd.epson.com
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 Resear ch 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.
Epson Research and DevelopmentPage 11
Vancouver Design Center
1 Introduction
1.1 Scope
This is the Functional Specification for the S1D13504 Series Color Graphics LCD/CRT Controller
Chip. Included in this document are timing diagrams, AC and DC characteristics, register descriptions, and power management descriptions. This document is intended for two audiences: Video
Subsystem Designers and Software Developers.
1.2 Overview Description
The S1D13504 is a low cost, low power color/monochrome LCD/CRT controller interfacing to a
wide range of CPUs and LCDs. The S1D13504 architecture is designed to meet the requ irements of
embedded markets such as Office Automation equipment, Mobile Communications devices and
Hand-Held PCs where Windows CE may serve as a primary operating system.
The S1D13504 supports LCD interfaces with data widths up to 16 bits. Using Frame Rate
Modulation (FRM), it can displa y 16 shades of gray on mo nochrome LCD panels, up t o 4096 colors
on passive color LCDs, and 64K colors on active matrix TFT LCD panels. CRT support is handled
through the use of an external RAMDAC interface allowing simultaneous display of both the CRT
and LCD panel. A 16-bit memory interface supports up to 2M bytes of FPM-DRAM or EDODRAM. Flexible operating voltages from 2.7V to 5.5V provide for very low power consumption.
Epson Research and DevelopmentPage 13
Vancouver Design Center
2.4 Display Modes
• 1/2/4/8/16 bit-per-pixel modes supported on LCD.
• 1/2/4/8 bit-per-pixel modes supported on CRT.
• Up to 16 shades of gray by FRM on monochrome passive LCD panels; a 16x4 Look-Up Table is
used to map 1/2/4 bit-per-pixel modes into these shades.
• Up to 4096 colors on color passive LCD panels; three 16x4 Look-Up Tables are used to map
1/2/4/8 bit-per-pixel mode s int o thes e col or s, 1 6 bit-per-pixel mode is mapped directly using the
4 most significant bits of the red, green and blue colors.
• Up to 64K colors in 16 bit-per-pixel mode on TFT panel s .
• Split screen mode – allows two different images to be simultaneously displayed.
• Virtual display mode – displays images lar ger than the panel size through the use of panning and
scrolling.
• Double buffering / multi-pages – for smooth animation and instantaneous screen update.
• Fast-Update feature – accelerates screen update by allocating full display buffer bandwidth to
CPU (see REG[23h] bit 7).
2.5 Clock Source
• Single clock input for both pixel and memory clocks.
• Memory clock can be input clock or (input clock)/2 – this provides flexibility to use CPU bus
• Pixel clock can be memory clock, (memory clock)/2, (memory clock)/3 or (memory clock)/4.
2.6 Miscellaneous
• The memory data bus MD[15:0], is used to configure the chip at power-on.
• Up to 12 General Purpose Input/Output pins are available:
• Suspend power save mode is initiated by hardware or software.
• The SUSPEND# pin is used either as an input to initiate Suspend mode, or as a General Purpose
2.7 Package and Pin
clock as input clock.
• GPIO0 is always available.
• GPIO[3:1] are available if upper Memory Address pins are not required for DRAM support.
• GPIO[11:4] are available if there is no external RAMDAC.
Output that can be used to control the LCD backlight – its power-on polarity is selected by an
MD configuration pin.
Epson Research and DevelopmentPage 17
Vancouver Design Center
4 Block Description
4.1 Functional Block Diagram
16-bit FPM/EDO
DRAM
Register
CPU
R/W
Host
CPU / MPU
I/F
Bus ClockMemory ClockPixel Clock
Figure 4-1: System Block Diagram Showing Datapaths
4.2 Functional Block Descriptions
Memory
Controller
Display
FIFO
Power Save
Clocks
Look-Up
Table
CRTC
LCD
I/F
LCD
DAC
Data
DAC
Control
4.2.1 Host Interface
The Host Interface block provides the means for the CPU/MPU to communicate with the display
buffer and internal registers, via one of the supported bus interfaces.
4.2.2 Memory Controller
The Memory Controller block arbitrates between CPU accesses and display refresh accesses as well
as generates the necessary signals to interface to one of th e supported 16-bit memory d evices (FPMDRAM or EDO-DRAM).
4.2.3 Display FIFO
The Display FIFO block fetches display data from the Memory Controller for display refresh.
The Look-Up Table block contains three 16x4 Look-Up Tables, one for each primary color. In
monochrome mode only one of these Look-Up Tables is selected and used.
4.2.5 LCD Interface
The LCD Interface block performs frame rate modulation for passiv e LCD panels. It also g enerates
the correct data format and timing control signals for various LCD and TFT panels.
4.2.6 Power Save
The Power Save block contains the power save mode circuitry.
I=Input
O=Output
IO=Bi-Directional (Input/Output)
P=Power pin
C=CMOS level input
CD=CMOS level input with pull-down resistor (typical values of 100KΩ/180KΩ at 5V/3.3V respectively)
CS=CMOS level Schmitt input
COx=CMOS output driver, x denotes driver type (1=3/-1.5mA, 2=6/-3mA, 3=12/-6mA)
TSx=Tri-state CMOS output driver, x denotes driver type (1=3/-1.5mA, 2=6/-3mA, 3=12/-6mA)
TSxD=
CNx=CMOS lo w-noi se output driver, x denotes driver type (1=3/-1. 5m A, 2=6/-3 mA, 3=12/-6m A)
Tri-state CMOS output driver with pull-down resistor (typical values of 100KΩ/180KΩ at 5V/3.3V
respectively), x denotes driver type (1=3/-1.5mA, 2=6/-3mA, 3=12/-6mA)
5.4.1 Host Interface
Table 5-1: Host Interface Pin Descriptions
Pin #
Pin Name Type
AB0I35CSHi-Z
AB[20:1]I
DB[15:0]IO16-3118-33C/TS2Hi-Z
F00A
F01A
111-128
1, 2
F02A
125-142
3,4
Driver
CHi-ZSystem address bus bits [20:1].
Reset =
0 Value
Description
This pin has multiple functions.
• F or SH-3 m ode, this pin inputs system address bit 0 (A0).
• For MC68K Bus 1, this pin inputs the lower data strobe (LDS#).
• For MC68K Bus 2, this pin inputs system address bit 0 (A0).
• For Generic Bus, this pin inputs system address bit 0 (A0).
See Table 5-9: “Host Bus Interface Pin Mapping,” on page 32 for
summary.
System data bus. Unused data pins should be connected to IO
V
.
DD
• For SH-3 mode, these pins are connected to D[15:0].
• For MC68K Bus 1, these pins are connected to D[15:0].
• F or MC68K Bus 2, these pins are c onnected to D[31:16] for 32bit devices (e.g. MC68030) or D[15:0] for 16-bit devices (e.g.
MC68340).
• F or Gen eric Bu s , these pi n s are connected to D[15:0].
See Table 5-9: “Host Bus Interface Pin Mapping,” on page 32
summary.
• For SH-3 mode, this pin inputs the write enable signal for the
lower data byte (WE0#).
WE0#I810CSHi-Z
• For MC68K Bus 1, this pin must be tied to IO V
• For MC68K Bus 2, this pin inputs the bus size bit 0 (SIZ0).
DD.
• For Generic Bus, this pin inputs the write enable signal for the
lower data byte (WE0#).
See Table 5-9: “Host Bus Interface Pin Mapping,” on page 32.
The active polarity of the WAIT# out put is configurable on the
rising edge of RESET# - see Section 5.5,
Configuration Opti ons”
on page 31.
“Summary of
This pin has multiple functions.
• F or SH-3 m ode, this pin outputs the wait reques t sign al
(WAIT#); MD5 must be pulled low during reset by the internal
pull-down resistor.
WAIT#O1315TS2Hi-Z
• For MC68K Bus 1, this pin outputs the data transfer
acknowle dge signal (DTACK#); MD5 m u st be pull ed high
during reset by an external pull-up resistor.
• For MC68K Bus 2, this pin outputs the data transfer and size
acknowle dge bit 1 (DSACK1#); MD5 must be pulled high
during reset by an external pull-up resistor.
• F or Generic Bus , thi s pin ou tputs th e wai t signa l (WAIT#); MD5
must be pulled low du ring res et by the internal pull-down
resistor.
See Table 5-9: “Host Bus Interface Pin Mapping,” on page 32.
RESET#I1113CSInput 0
Active low input to clear all internal registers and to force all
signals to their inacti ve states.
Epson Research and DevelopmentPage 25
Vancouver Design Center
5.4.2 Memory Interface
Table 5-2: Memory Interface Pin Descriptions
Pin #
Pin Name Type
F00A
F01A
F02A
Driver
LCAS#O5056CO1Output 1
UCAS#O4955CO1Output 1
Reset = 0
Value
Description
This pin has multiple functions.
• F or dual C AS# DRAM , th is is th e colu mn address strobe for
the lower byte (LCAS#).
• F or sin gle CAS# DRAM, this is the column address stro be
(CAS#).
See Table 5-10: “Memory Interface Pin Mapping,” on page 32
for summary.
This pin has multiple functions.
• F or dual C AS# DRAM , th is is th e colu mn address strobe for
the upper byte (UCAS#).
• F or single CAS# DRAM, this is the write e nabl e signal f or th e
upper byte (UWE#).
See Table 5-10: “Memory Interface Pin Mapping,” on page 32
for summary.
This pin has multiple functions.
• F or dual CAS# DRAM, this is the write enable signa l (W E#).
WE#O4854CO1Output 1
• F or single CAS# DRAM, this is the write e nabl e signal f or th e
lower byte (LWE#).
See Table 5-10: “Memory Interface Pin Mapping,” on page 32
for summary.
RAS#O4753CO1Output 1 Row address strobe.
These pins have mu ltip le functions.
• Bi-directional memory data bus.
• During reset, these pins are inputs and their states at the
rising edge of RESET# are used to configure the chip.
Internal pull-down resist ors (typ ic al values of
100KΩ/100KΩ/120KΩ at 5.0V/3.3V/3.0V respectively) pull
the reset states to 0. External pull-up resistors can be used
to pull the reset states to 1. See Section 5.5,
• When MD 9 = 0 at rising ed ge of RESET#, this pi n is
an active-low input used to place the S1D13504 into
suspend mode; see Section 13,
on page 128 for details.
• When MD[10:9] = 01 at rising edge of RESET#, this
pin is an output with a reset state of 0. Its state is
SUSPEND# IO106120CS/TS1
Hi-Z /
Output
1
controlled b y REG[2 1h] bi t 7.
• When MD[10:9] = 11 at rising edge of RESET#, this
pin is an output with a reset state of 1. Its state is
controlled b y REG[2 1h] bi t 7.
GPIO0IO1214C/TS1Hi-ZGeneral Purpose IO pin 0.
TSTENI107121CD
Hi-Z
(pulled 0)
Test Enable. This in shoul d be connected to VSS for
normal operation.
Supply VoltageVSS - 0.3 to 4.6V
Supply VoltageVSS - 0.3 to 6.0V
Input VoltageVSS - 0.3 to IO VDD + 0.5V
Output VoltageVSS - 0.3 to IO VDD + 0.5V
Storage Temperature-65 to 150° C
Solder Temperature/Time260 for 10 sec. max at lead° C
Epson Research and DevelopmentPage 37
Vancouver Design Center
Table 7-1: SH-3 Interface Timing
SymbolParameterMinMaxUnits
t9
t10
t11
t12
t13
t14
t15
t16
t1
t2
t3
t4
t5
t6
t7
t8
Clock period
Clock pulse wid th high
Clock pulse wid th lo w
A[20:0], M/R#, RD/WR# setup to CKIO
A[20:0], M/R#, RD/WR# hold from CS#
BS# setup
BS# hold
CSn# setup
2
Falling edge RD# to D[15:0] driven
Rising edge CSn# to WAIT# tri-state
1
Falling edge CSn# to WAIT# driven
CKIO to WAIT# delay
D[15:0] setup to first CKIO after BS# (write cyc le)
D[15:0] hold (write cycle)
D[15:0] valid to WAIT# rising ed ge (read cycle)
Rising edge RD# to D[15:0] tri-state (read cycle)
Epson Research and DevelopmentPage 39
Vancouver Design Center
Table 7-2: MC68K Bus 1 Interface Timing
SymbolParameterMinMaxUnits
t9
t10
t11
t12
t13
t14
t15
t16
t1
t2
t3
t4
t5
t6
t7
t8
1
Clock period
Clock pulse width high
Clock pulse width low
A[20:1], M/R# setup to first CLK where CS# = 0 AS# = 0, and
either UDS#=0 or LDS# = 0
A[20:1], M/R# hold from AS#
CS# hold from AS#
R/W# setup to before to either UDS#=0 or LDS# = 0
R/W# hold from AS#
AS# = 0 and CS# = 0 to DTACK# driven high
AS# high to DTACK# high impedance
D[15:0] valid to se co nd C L K wher e CS # = 0 AS # = 0, and either
UDS#=0 or LDS# = 0 (write cycle)
D[15:0] hold from falling edge of DTACK# (write cycle)
Falling edge of UDS#=0 or LDS# = 0 to D[15:0] driven (read
2
cycle)
D[15:0] valid to DTACK# falling edge (read cycle)
UDS# and LDS# high to D[15:0] invalid/high impedance (read
cycle)
AS# high setup to CLK
30ns
5ns
5ns
4ns
0ns
0ns
5ns
0ns
1ns
15ns
0ns
0ns
3ns
0ns
211ns
3ns
1.If the S1D13504 host interface is disabled, the timing for DTACK# driven high is relative to
the falling edge of AS# or
the first positive edge of CLK after A[20:1] and M/R# become valid,
whichever occurs later.
2.If the S1D13504 host interface is disabled, the timing for D[15:0] driven is relative to the falling edge of UDS#/LDS# or
the first positive edge of CLK after A[20:1] and M/R# become val-
Epson Research and DevelopmentPage 41
Vancouver Design Center
Table 7-3: MC68K Bus 2 Interface Timing
SymbolParameterMinMaxUnits
t9
t10
t11
t12
t13
t14
t15
t16
t1
t2
t3
t4
t5
t6
t7
t8
1
Clock period
Clock pulse width hig h
Clock pulse width low
A[20:0], SIZ[1:0], M/R# setup to first CLK where CS# = 0 AS# =
0, and either UDS#=0 or LDS# = 0
A[20:0], SIZ[1:0], M/R# hold from AS#
CS# hold from AS#
R/W# setup to DS#
R/W# hold from AS#
AS# = 0 and CS# = 0 to DSACK1# driven high
AS# high to DSACK1# high impedance
D[31:16] valid to second CLK where CS# = 0 AS# = 0, and
either UDS#=0 or LDS# = 0 (write cycle)
D[31:16] hold from falli ng edge of DSACK1# (write cycle)
Falling edge of UDS# = 0 or LDS# = 0 to D[31:16] driven (read
2
cycle)
D[31:16] va lid to DSACK1 # falling edge (read cycle)
UDS# and LDS# high to D[31:16 ] invalid/high impedance (read
cycle)
AS# high setup to CLK
30ns
5ns
5ns
4ns
0ns
0ns
5ns
0ns
1ns
15ns
0ns
0ns
3ns
0ns
211ns
3ns
1.If the S1D13504 host interface is disabled, the timing for DSACK1# driven high is relative to
the falling edge of AS# or
the first positive edge of CLK after A[20:0] and M/R# become
valid, whichever occurs later.
2.If the S1D13504 host interface is disabled, the timing for D[15:0] driven is relative to the falling edge of UDS#/LDS# or
the first positive edge of CLK after A[20:1] and M/R# becomes
Input Clock Period (CLKI)12.5ns
Pixel Clock Period (PCLK) not shown25ns
Memory Clock Period (MCLK) not shown25ns
Input Clock Pulse Width High (CLKI)45%55%T
Input Clock Pulse Width Low (CLKI)45%55%T
t
PWL
CLKI
CLKI
Note
When CLKI is more than 40MHz, REG[19h] bit 2 must be set to 1 (MCLK = CLKI/2).
There is no minimum frequency for CLKI.
Random read or write cycle time (REG[22h] bits [6:5] = 00)5 t1ns
t2
Random read or write cycle time (REG[22h] bits [6:5] = 01)4 t1ns
Random read or write cycle time (REG[22h] bits [6:5] = 10)3 t1ns
Row address setup time (REG[22h] bits [3:2] = 00)2.45 t1ns
t3
Row address setup time (REG[22h] bits [3:2] = 01)2 t1ns
Row address setup time (REG[22h] bits [3:2] = 10)1.45 t1ns
Row address hold time (REG[22h] bits [3:2] = 00 or 10)0.45 t1 - 1n s
t4
Row address hold time (REG[22h] bits [3:2] = 01)t1 - 1ns
t5Column address setup time0.45 t1 - 1ns
t6Column address ho ld tim e0.45 t1 - 1ns
t7CAS# pulse width0.45 t10.55 t1 + 1ns
t8CAS# precharge time0.45 t1 - 10.55 t1ns
t9RAS# hold time1 t1ns
Random read or write cycle time (REG[22h] bits [6:5] = 00)5 t1ns
t2
Random read or write cycle time (REG[22h] bits [6:5] = 01)4 t1ns
Random read or write cycle time (REG[22h] bits [6:5] = 10)3 t1ns
Row address setup time (REG[22h] bits [3:2] = 00)2.45 t1ns
t3
Row address setup time (REG[22h] bits [3:2] = 01)2 t1ns
Row address setup time (REG[22h] bits [3:2] = 10)1.45 t1ns
t4
t5
t6
t7
t8
t9
Row address hold time (REG[22h] bits [3:2] = 00 or 10)0.45 t1 - 1ns
Row address hold time (REG[2 2h ] bits [3:2 ] = 01)t1 - 1ns
Column address setup time
Column address hold time
CAS# pulse width
CAS# precharge time
RAS# hold time
Random read or write cycle time (REG[22h] bits [6:5] = 00)5 t1ns
t2
Random read or write cycle time (REG[22h] bits [6:5] = 01)4 t1ns
Random read or write cycle time (REG[22h] bits [6:5] = 10)3 t1ns
Row address setup time (REG[22h] bits [3:2] = 00)2.45 t1ns
t3
Row address setup time (REG[22h] bits [3:2] = 01)2 t1ns
Row address setup time (REG[22h] bits [3:2] = 10)1.45 t1ns
t4
t5
t6
Row address hold time (REG[22h] bits [3:2] = 00 or 10)0.45 t1 - 1ns
Row address hold time (REG[2 2h ] bits [3:2 ] = 01)t1 - 1ns
Column address setup time
Column address hold time
Epson Research and DevelopmentPage 53
Vancouver Design Center
7.3.4 EDO-DRAM CAS Before RAS Refresh Timing
Memory
Clock
RAS#
CAS#
t1
t2t3
t4
t5
t6
Figure 7-10: EDO-DRAM CAS Before RAS Refresh Timin g
Table 7-10: EDO-DRAM CAS Before RAS Refresh Timing
SymbolParameterMin TypMax Units
t1
t2
Memory clock period
RAS# to CAS# precharge time (REG[22h] bits [3:2] = 00) 1.45 t1ns
RAS# to CAS# precharge time (REG[22h] bits [3:2] = 01 or 10)0.45 t1ns
25ns
Random read or write cycle time (R EG [22 h] bits [6:5] = 00)5 t1ns
t3
Random read or write cycle time (R EG [22 h] bits [6:5] = 01)4 t1ns
Random read or write cycle time (R EG [22 h] bits [6:5] = 10)3 t1ns
t4
t5
CAS# precharge time (REG[22h] bits [3:2] = 00) 2 t1ns
CAS# precharge time (REG[22h] bits [3:2] = 01 or 10)1 t1ns
CAS# setup time (REG[22h] bits [3:2] = 00 or 10)
CAS# setup time (REG[22h] bits [3:2] = 01)
Random read or write cycle time (REG[22h] bits [6:5] = 00)5 t1ns
t2
Random read or write cycle time (REG[22h] bits [6:5] = 01)4 t1ns
Random read or write cycle time (REG[22h] bits [6:5] = 10)3 t1ns
Row address setup time (REG[22h] bits [3:2] = 00)2 t1ns
t3
Row address setup time (REG[22h] bits [3:2] = 01)1.45 t1ns
Row address setup time (REG[22h] bits [3:2] = 10)1 t1ns
t4
t5
t6
t7
t8
t9
Row address hold time (REG[2 2h ] bits [3:2 ] = 00 or 10)t1 - 1ns
Row address hold time (REG[2 2h ] bits [3:2 ] = 01)0.45 t1 - 1ns
Column address set-up time
Column address hold time
CAS# pulse width
CAS# precharge time
RAS# hold time
RAS# to CAS# delay time
(REG[22h] bit 4 = 1 and bits [3:2] = 00 or 10)
RAS# to CAS# delay time
(REG[22h] bit 4 = 0 and bits [3:2] = 00 or 10)
1.45 t1 - 21.55 t1ns
2.45 t1 - 22.55 t1ns
RAS# to CAS# delay time (REG[22h] bit 4 = 1 and bits [3:2] = 01)1 t1 - 21 t1ns
RAS# to CAS# delay time (REG[22h] bit 4 = 0 and bits [3:2] = 01)2 t1 - 22 t1ns
Access time from RAS#
(REG[22h] bit 4 = 1 and bits [3:2] = 00 or 10)
t12
Access time from RAS#
(REG[22h] bit 4 = 0 and bits [3:2] = 00 or 10)
Access time from RAS# (REG[22h] bit 4 = 1 and bits [3:2] = 01)
Access time from RAS# (REG[22h] bit 4 = 0 and bits [3:2] = 01)
Memory clock 40ns
Random read or write cycle time (REG[22h] bits [6:5] = 00)5 t1ns
t2
Random read or write cycle time (REG[22h] bits [6:5] = 01)4 t1ns
Random read or write cycle time (REG[22h] bits [6:5] = 10)3 t1ns
Row address setup time (REG[22h] bits [3:2] = 00)2 t1ns
t3
Row address setup time (REG[22h] bits [3:2] = 01)1.45 t1ns
Row address setup time (REG[22h] bits [3:2] = 10)1 t1ns
t4
t5
t6
t7
t8
t9
Row address hold time (REG[2 2h ] bits [3:2 ] = 00 or 10)t1 - 1ns
Row address hold time (REG[2 2h ] bits [3:2 ] = 01)0.45 t1 - 1ns
RAS# to CAS# delay time
(REG[22h] bit 4 = 1 and bits [3:2] = 00 or 10)
RAS# to CAS# delay time
(REG[22h] bit 4 = 0 and bits [3:2] = 00 or 10)
1.45 t1 - 21.55 t1ns
2.45 t1 - 22.55 t1ns
RAS# to CAS# delay time (REG[22h] bit 4 = 1 and bits [3:2] = 01)1 t1 - 21 t1ns
RAS# to CAS# delay time (REG[22h] bit 4 = 0 and bits [3:2] = 01)2 t1 - 22 t1ns
t12
t13
t14
t15
Write command setup tim e0.45 t1 - 1ns
Write command hold time0.45 t1ns
Write Data setup time0.45 t1 - 3ns
Write Data hold time0.45 t1 - 2ns
Random read or write cycle time (REG[22h] bits [6:5] = 00)5 t1ns
t2
Random read or write cycle time (REG[22h] bits [6:5] = 01)4 t1ns
Random read or write cycle time (REG[22h] bits [6:5] = 10)3 t1ns
Row address setup time (REG[22h] bits [3:2] = 00)2 t1ns
t3
Row address setup time (REG[22h] bits [3:2] = 01)1.45 t1ns
Row address setup time (REG[22h] bits [3:2] = 10)1 t1ns
t4
t5
t6
Row address hold time (REG[2 2h ] bits [3:2 ] = 00 or 10)t1 - 1ns
Row address hold time (REG[2 2h ] bits [3:2 ] = 01)0.45 t1 - 1ns
Column address set-up time
Column address hold time
RAS# precharge time (REG[22h] bits [3:2] = 01)1.45 t1 - 1ns
RAS# precharge time (REG[22h] bits [3:2] = 10)1 t1 - 1ns
RAS# to CAS# delay time
(REG[22h] bit 4 = 1 and bits [3:2] = 00 or 10)
t8
RAS# to CAS# delay time
(REG[22h] bit 4 = 0 and bits [3:2] = 00 or 10)
1.45 t1 - 21.55 t1ns
2.45 t1 - 22.55 t1ns
RAS# to CAS# delay time (REG[22h] bit 4 = 1 and bits [3:2] = 01)1 t1 - 21 t1ns
RAS# to CAS# delay time (REG[22h] bit 4 = 0 and bits [3:2] = 01)2 t1 - 22 t1ns
t9
t10
Read Data turn-off delay from CAS#
Write Data enable delay from WE#
Figure 7-20: Single Monochrome 4-Bit Panel A.C. Timing
t1t2
t3
t7t8
t10
t13t14
t4
t12t11
12
Table 7-19: Single Mono chrome 4-Bit Panel A.C. Timing
SymbolParameterMinTypMaxUnits
t1
t2
t3
t4
t5
t6
t7
t8
t9
t10
t11
t12
t13
t14
FPFRAME setup to FPLINE falling edge
FPFRAME hold from FPLINE falling edge
FPLINE pulse width
FPLINE period
MOD transition to FPLINE fall ing ed ge
FPSHIFT falling edge to FPLINE rising edge
FPLINE falling edge to FPSHIFT falling edge
FPSHIFT period
FPSHIFT falling edge to FPLINE falling edge
FPLINE falling edge to FPSHIFT rising edge
FPSHIFT pulse width high
FPSHIFT pulse width low
UD[3:0] setup to FPSHIFT falling edge
UD[3:0] hold to FPSHIFT falling edge
note 2
9Ts (note 1)
9Ts
note 3
33note 4Ts
note 5
t14 + 2Ts
4Ts
note 6
18Ts
2Ts
2Ts
2Ts
2Ts
1.Ts= pixel clock period = memory clock , [mem ory cloc k]/2, [m emory cloc k]/3, [m emory cl ock]/ 4 (see RE G[19 h] bits [1:0 ])
= t4
Figure 7-22: Single Monochrome 8-Bit Panel A.C. Timing
Table 7-20: Single Mono chrome 8-Bit Panel A.C. Timing
SymbolParameterMinTypMaxUnits
t1
t2
t3
t4
t5
t6
t7
t8
t9
t10
t11
t12
t13
t14
FPFRAME setup to FPLINE falling edge
FPFRAME hold from FPLINE falling edge
FPLINE pulse width
FPLINE period
MOD transition to FPLINE falling edge
FPSHIFT falling edge to FPLINE rising edge
FPLINE falling edge to FPSHIFT falling edge
FPSHIFT period
FPSHIFT falling edge to FPLINE falli ng edge
FPLINE falling edge to FPSHIFT rising edge
FPSHIFT pulse width high
FPSHIFT pulse width low
UD[3:0], LD[3:0] setup to FPSHIFT falling edge
UD[3:0], LD[3:0] hold to FPSHIFT falling edge
note 2
9Ts (note 1)
9Ts
note 3
33note 4Ts
note 5
t14 + 4Ts
8Ts
note 6
18Ts
4Ts
4Ts
4Ts
4Ts
1.Ts= pixel clock period = memory clock , [mem ory cloc k]/2, [m emory cloc k]/3, [m emory cl ock]/ 4 (see RE G[19 h] bits [1:0 ])
= t4
FPFRAME setup to FPLINE falling edge
FPFRAME hold from FPLINE falling edge
FPLINE pulse width
FPLINE period
MOD transition to FPLINE fall ing ed ge
FPSHIFT falling edge to FPLINE rising edge
FPLINE falling edge to FPSHIFT falling edge
FPSHIFT period
FPSHIFT falling edge to FPLINE falling edge
FPLINE falling edge to FPSHIFT rising edge
FPSHIFT pulse width high
FPSHIFT pulse width low
UD[3:0], setup to FPSHIFT falling edge
UD[3:0], hold from FPSHIFT falling edge
note 2
9Ts (note 1)
9Ts
note 3
33note 4Ts
note 5
t14 + 0.5Ts
1Ts
note 6
19Ts
0.45Ts
0.45Ts
0.45Ts
0.45Ts
1.Ts= pixel clock period = memory clock , [mem ory cloc k]/2, [m emory cloc k]/3, [m emory cl ock]/ 4 (see RE G[19 h] bits [1:0 ])
= t4
Figure 7-28 : Single Color 8-Bit Panel A.C. Timing (Forma t 2)
t2
t4
t8t9
t3
t12t13
12
Table 7-23: Single Color 8-Bit Panel A.C. Timing (Format 2)
SymbolParameterMinTypMaxUnits
t1
t2
t3
t4
t5
t6
t7
t8
t9
t10
t11
t12
t13
t14
FPFRAME setup to FPLINE falling edge
FPFRAME hold from FPLINE falling edge
FPLINE period
FPLINE pulse width
MOD transition to FPLINE falling edge
FPSHIFT falling edge to FPLINE rising ed ge
FPSHIFT fa lling edge to FPLINE falling edge
FPLINE falling edge to FPSHIFT falling edge
FPSHIFT period
FPSHIFT pulse width low
FPSHIFT pulse width high
UD[3:0], LD[3:0] setup to FPSHIFT falling edge
UD[3:0], LD[3:0] hold to FPSHIFT falling edge
FPLINE falling edge to FPSHIFT rising edge
note 2
9Ts (note 1)
note 3
9Ts
33note 4Ts
note 5
note 6
t14 + 2
2Ts
1Ts
1Ts
1Ts
1Ts
18Ts
1.Ts= pixel clock period = memory clock , [mem ory cloc k]/2, [m emory cloc k]/3, [m emory cl ock]/ 4 (see RE G[19 h] bits [1:0 ])
= t3
Figure 7-30: Si ngle Color 16-Bit Panel A.C. Tim i ng
t3
t10
t11
2
Table 7-24: Single Color 16-Bit Panel A.C. Timing
SymbolParameterMinTypMaxUnits
t1
t2
t3
t4
t5
t6
t7
t8
t9
t10
t11
t12
t13
t14
FPFRAME setup to FPLINE falling edge
FPFRAME hold from FPLINE falling edge
FPLINE period
FPLINE pulse width
MOD transit ion to FPLINE falling edge
FPSHIFT falling edge to FPLINE rising edge
FPSHIFT falling edge to FPLINE falling edge
FPLINE falling edge to FPSHIFT falling ed ge
FPSHIFT period
FPSHIFT pulse width low
FPSHIFT pulse width high
UD[7:0], LD[7:0] setup to FPSHIFT falling edge
UD[7:0], LD[7:0] hold to FPSHIFT falling edge
FPLINE falling edge to FPSHIFT rising edg e
note 2
9Ts (note 1)
note 3
9Ts
33note 4Ts
note 5
note 6
t14 + 3Ts
5Ts
2Ts
2Ts
2Ts
2Ts
18Ts
1.Ts= pixel clock period = memory clock , [mem ory cloc k]/2, [m emory cloc k]/3, [m emory cl ock]/ 4 (see RE G[19 h] bits [1:0 ])
Figure 7-32: Dual Mo nochrome 8-Bit Panel A.C. Timing
Table 7-25: Dual Monochrome 8-Bit Panel A.C. Timing
SymbolParameterMinTypMaxUnits
t1
t2
t3
t4
t5
t6
t7
t8
t9
t10
t11
t12
t13
t14
FPFRAME setup to FPLINE falling edge
FPFRAME hold from FPLINE falling edge
FPLINE period
FPLINE pulse width
MOD transition to FPLINE falling edge
FPSHIFT falling edge to FPLINE rising edge
FPSHIFT falling edge to FPLINE falling edge
FPLINE falling edge to FPSHIFT f all ing ed ge
FPSHIFT period
FPSHIFT pulse width low
FPSHIFT pulse width high
UD[3:0], LD[3:0] setup to FPSHIFT falling edge
UD[3:0], LD[3:0] hold to FPSHIFT falling edge
FPLINE falling edge to FPSHIFT risi ng edg e
note 2
9Ts (note 1)
note 3
9Ts
33note 4Ts
note 5
note 6
t14 + 2Ts
4Ts
2Ts
2Ts
2Ts
2Ts
10Ts
1.Ts= pixel clock period = memory clock , [mem ory cloc k]/2, [m emory cloc k]/3, [m emory cl ock]/ 4 (see RE G[19 h] bits [1:0 ])
= t3
FPFRAME setup to FPLINE falling edge
FPFRAME hold from FPLINE falling edge
FPLINE period
FPLINE pulse width
MOD transition to FPLINE fall ing ed ge
FPSHIFT falling edge to FPLINE rising edge
FPSHIFT falling edge to FPLINE falling edge
FPLINE falling edge to FPSHIFT falling edge
FPSHIFT period
FPSHIFT pulse width low
FPSHIFT pulse width high
UD[3:0], LD[3:0] setup to FPSHIFT falling edge
UD[3:0], LD[3:0] hold to FPSHIFT falling edge
FPLINE falling edge to FPSHIFT rising edge
note 2
9Ts (note 1)
note 3
9Ts
33note 4Ts
note 5
note 6
t14 + 1Ts
1Ts
0.45Ts
0.45Ts
0.45Ts
0.45Ts
11Ts
1.Ts= pixel clock period = memory clock , [mem ory cloc k]/2, [m emory cloc k]/3, [m emory cl ock]/ 4 (see RE G[19 h] bits [1:0 ])
= t3
FPFRAME setup to FPLINE falling edge
FPFRAME hold from FPLINE falling edge
FPLINE period
FPLINE pulse width
MOD transition to FPLINE fall ing ed ge
FPSHIFT falling edge to FPLINE rising edge
FPSHIFT falling edge to FPLINE falling edge
FPLINE falling edge to FPSHIFT falling edge
FPSHIFT period
FPSHIFT pulse width low
FPSHIFT pulse width high
UD[7:0], LD[7:0] setup to FPSHIFT falling edge
UD[7:0], LD[7:0] hold to FPSHIFT falling edge
FPLINE falling edge to FPSHIFT rising edge
note 2
9Ts (note 1)
note 3
9Ts
33note 4Ts
note 5
note 6
t14 + 2
2Ts
1Ts
1Ts
1Ts
1Ts
10Ts
1.Ts= pixel clock period = memory clock , [mem ory cloc k]/2, [m emory cloc k]/3, [m emory cl ock]/ 4 (see RE G[19 h] bits [1:0 ])
Epson Research and DevelopmentPage 85
Vancouver Design Center
Table 7-28: TFT A.C. Timing
SymbolParameterMinTypMaxUnits
t1
t2
t3
t4
t5
t6
t7
t8
t9
t10
t11
t12
t13
t14
t15
t16
t17
FPSHIFT period
FPSHIFT pulse width high
FPSHIFT pulse width low
data setup to FPSHIFT falling edge
data hold from FPSHIFT falling edge
FPLINE cycle time
FPLINE pulse width low
FPFRAME cycle time
FPFRAME pulse width low
horizont al display per iod
FPLINE setup to FPSHIFT falling edge
FPFRAME falling edge to FPLINE falling edge
phase difference
DRDY to FPSHIFT falling edge setup time
DRDY pulse width
DRDY falling edge to FPLINE falling edge
DRDY hold from FPSHIFT falling edge
FPLINE Falling edge to DRDY active
1Ts (note 1)
0.45Ts
0.45Ts
0.45Ts
0.45Ts
note 2
note 3
note 4
note 5
note 6
0.45Ts
note 7
0.45Ts
note 8
note 9
0.45Ts
note 10250Ts
1.Ts= pixel clock period = memory clock, [memory clock]/2, [memory clock]/3, [memory clock]/4 (see REG[19h] bits [1:0])
DACCLK period
DACCLK pulse width high
DACCLK pulse width low
data setup to DACCLK rising edge
data hold from DACCLK rising edge
HRTC cycle time
HRTC pulse width (shown ac tiv e low)
VRTC cycle time
VRTC pulse width (shown activ e low)
horizontal displ ay period
HRTC setup to DACCLK rising edge
VRTC falling edge to FPLINE falling edge
phase difference
BLANK# to DACCLK rising edge setup time
BLANK# pulse width
BLANK# falling edge to HRTC falling edge
BLANK# hold from DACCLK rising edge
1Ts (note 1)
0.45Ts
0.45Ts
0.45Ts
0.45Ts
note 2
note 3
note 4
note 5
note 6
0.45Ts
note 7
0.45Ts
note 8
note 9
0.45Ts
1.Ts= pixel clock period = memory clock , [mem ory cloc k]/2, [m emory cloc k]/3, [mem ory cl ock]/ 4 (see RE G[19 h] bits [1:0 ])
Epson Research and DevelopmentPage 89
Vancouver Design Center
7.4.14 External RAMDAC Read / Write Timing
Read
AB[20:0]
M/R#
DACRS[1:0]
Valid RD# Command
(depends on CPU bus)
DACRD#
Write
Valid WR# command
(depends on CPU bus)
DACWR#
CS#
t1
t3
t5
t6
t4
t2
Figure 7-41: Generic Bus RAMDAC Read / Write Timing
Table 7-30: Generic Bus RAMDAC Read / Write Timing
SymbolParameterMin TypMax Units
T
BCLK
t1
t2
t3
t4
t5
t6
Bus clock period
AB[20:0], CS#, M/R# delay to DACRS[1:0]
DACRS[1:0] hold from AB[20:0], CS#, M/R# negate d
Valid RD# command to DACRS[1:0] delay
DACRD# hold from valid RD# command negated
Valid WR# comman d to D AC WR # del ay
DACWR# pulse width low
The S1D13504 registers are all memory mapped. The system must provide the external address
decoding through the CS# and M/R# input pins. When CS# = 0 and M/R# = 0, the registers are
mapped by address bits AB[5:0], e.g. REG[00h] is mapped t o AB[5:0] = 00000 0, REG[01 h] is
mapped to AB[5:0] = 000001. See the table below:
Table 8-1: S1D13504 Addressing
CS#M/R#Access
Register access:
00
01
1X
• REG[00h] is addre ssed w hen AB[5 :0] = 0
• REG[01h] is addre ssed w hen AB[5 :0] = 1
• REG[n] is addres sed w he n AB[5:0] = n
Memory access: the 2M byte display buffer is addressed by
AB[20:0]
S1D13504 not selected
8.2 Register Descriptions
Note
Unless specified otherwise, all register bits are reset to 0 during power up. Reserved bits should
be written 0 when programming unless otherwise noted.
8.2.1 Revision Code Register
Revision Code Register
REG[00h]RO
Product Code
Bit 5
bits 7-2Product Code Bits [5:0]
bits 1-0Revision Code Bits [1:0]
Product Code
Bit 4
This is a read-only register that indicates the product co de of the chip. The product code is 000001.
This is a read-only register that indicates the revision code of the chip. The revision code is 00.
Epson Research and DevelopmentPage 91
Vancouver Design Center
8.2.2 Memory Configuration Registers
Memory Configuration Register
REG[01h]RW
n/a
Refresh Rate
Bit 2
bits 6-4DRAM Refresh Rate Select Bits [2:0]
Refresh Rate
Bit 1
Refresh Rate
Bit 0
n/aWE# Controln/aMemory Type
These bits specify the amount of div ide from the input clock (CLK I) to generate the DRAM refresh
clock rate, which is equal to 2
Table 8-2: DRAM Refresh Rate Selection
(ValueOfTheseBits + 6)
.
Refresh Rate
Bits [2:0]
00064520 kHz0.5 ms
001128260 kHz1 ms
010256130 kHz2 ms
01151265 kHz4 ms
100102433 kHz8 ms
101204816 kHz16 ms
11040968 kHz32 ms
11181924 kHz64 ms
CLKI Divide Amount
bit 2WE# Control
When this bit = 1, 2-WE# DRAM is selected. When this bit = 0 2-CAS# DRAM is selected.
bit 0Memory Type
When this bit = 1, FPM-DRAM is selected. When this bit = 0, EDO-DRAM is selected.
This bit should be changed only when there are n o read/write DRA M cycles. This conditi on occurs
when both the Display FIFO is disabled (REG[23h] bit 7 = 1) and the Half Frame Buf fer is disabled
(REG[1Bh] bit 0 = 1). For programming information, see
When this bit = 1, 8-bit single color passive LCD panel data format 2 is selected. This bit must be
set to 0 for all other LCD panel formats.
bit 2Color/Mono Panel Select
When this bit = 1, color passive LCD panel is selected. When th is bit = 0, monochrome passive
LCD panel is selected.
bit 1Dual/Single Panel Select
When this bit = 1, dual passive LCD panel is selected. When this bit = 0, single passive LCD panel
is selected.
Setting this bit for single panel mode should be done only when the Half Frame Buffer is idle. The
Half Frame Buffer is idle during vertical non-display periods or while in suspend mode. For
programming information, see
X19A-G-002-xx.
bit 0TFT/Passive LCD Panel Select
When this bit = 1, TFT panel is selected. When this bit = 0, passive LCD panel is selected.
Width Size
TFT Panel Data Width Size
S1D13504 Programming Notes and Examples
, document number
MOD Rate Register
REG[03h]RW
n/an/a
MOD Rate Bit 5MOD Rate Bit 4MOD Rate Bit 3MOD Rate Bit 2MOD Rate Bit 1MOD Rate Bit
0
bits 5-0MOD Rate Bits [5:0]
For a non-zero value these bits specify the number of FPLINE between toggles of the MOD output
signal. When these bits are all 0’s the MOD output signal toggles every FPFRAME. These bits are
for passive LCD panels on l y.
Epson Research and DevelopmentPage 93
Vancouver Design Center
Horizontal Display Width Register
REG[04h]RW
n/a
Horizontal
Displa y Wid th
Bit 6
Horizontal
Display Width
Bit 5
Horizontal
Display Width
Bit 4
Horizontal
Displa y Wid th
Bit 3
Horizontal
Display Width
Bit 2
Horizontal
Display Width
Bit 1
Horizontal
Displa y Wid th
Bit 0
bits 6-0Horizontal Display Width Bits [6:0]
These bits specify the LCD panel and/or the CRT horizontal display width as follows.
Contents of this Register = (Horizontal Display Width ÷ 8) - 1
For passive LCD panels the Horizontal Display Width must be divisible by 16, and for TFT LCD
panels/CRTs the Horizontal Display Width must be divisible by 8. The maximum horizontal display width is 1024 pixe l s .
Note
This register must be programmed such that REG[04h] ≥ 3 (32 pixels)
Horizontal Non-Display Period Register
REG[05h] RW
n/an/an/a
Horizontal
Non-Display
Period Bit 4
Horizontal
Non-Display
Period Bit 3
Horizontal
Non-Display
Period Bit 2
Horizontal
Non-Display
Period Bit 1
Horizontal
Non-Display
Period Bit 0
bits 4-0Horizontal Non-Display Period Bits [4:0]
These bits specify the horizontal non-display period width in 8-pixel resolution as follows.
Contents of this Register = (Horizontal Non-Disp lay Period ÷ 8) - 1
The minimum value which should be programmed into this register is 3 (32 pixels). The maximum
value which can be programmed into this register is 1F , which gives a horizontal non-display period
width of 256 pixels.
Note
This register must be programmed such that
REG[05h] ≥ 3 and (REG[05h] + 1) ≥ (REG[06h] + 1) + (REG[07h] bits [3:0] + 1)
HRTC/FPLINE Start Position Register
REG[06h]RW
n/an/an/a
HRTC/
FPLINE Start
Position Bit 4
HRTC/
FPLINE Start
Position Bit 3
HRTC/
FPLINE Start
Position Bit 2
HRTC/
FPLINE Start
Position Bit 1
HRTC/
FPLINE Start
Position Bit 0
bits 4-0HRTC/FPLINE Start Position Bits [4:0]
For CRTs and TFTs, these bits specify the delay from the start of the horizontal non-display period
to the leading edge of the HRTC pulse and FPLINE pulse respectively.
Contents of this Register = (HRTC/FPLINE Start Position ÷ 8) - 1
The maximum HRTC start delay is 256 pixels.
Note
This register must be programmed such that
(REG[05h] + 1) ≥ (REG[06h] + 1) + (REG[07h] bits [3:0] + 1)
For CRTs, this bit selects the polarity of the HRTC. When this bit = 1, the HRTC pulse is active
high. When this bit = 0, the HRTC pulse is active low.
bit 6FPLINE Polarity Select
This bit selects the polarity of the FPLINE for TFT and passive LCD. When this bit = 1, the
FPLINE pulse is active high for TFT and active low for passive LCD. When this bit = 0, the
FPLINE pulse is active low for TFT and active high for passi v e LCD.
For CRTs and TFTs, these bits specify the pulse width of HRTC and FPLINE res p ect ively. For passive LCDs, FPLINE is automatically created and these bits have no effect.
HRTC/FPLINE pulse width (pixels) = (HRTC/FPLINE Pulse Width Bits [3:0] + 1) × 8.
The maximum HRTC pulse width is 128 pixels.
Note
This register must be programmed such that
(REG[05h] + 1) ≥ (REG[06h] + 1) + (REG[07h] bits [3:0] + 1)
Vertical Display Height Register 0
REG[08h]RW
Vertical
Display
Height Bit 7
Vertical
Display
Height Bit 6
Vertical
Display
Height Bit 5
Vertical
Display
Height Bit 4
Vertical
Display
Height Bit 3
Vertical
Display
Height Bit 2
Vertical
Display
Height Bit 1
Vertical
Display
Height Bit 0
Vertical Display Height Register 1
REG[09h]RW
n/an/an/an/an/an/a
Vertical
Display
Height Bit 9
Vertical
Display
Height Bit 8
REG[08h] bits 7-0Vertical Display Height Bits [9:0]
REG[09h] bits 1-0These bits specify the LCD panel and/or the CRT vertical display height, in 1-line resolution. For a
dual LCD panel only configuration, this register should be programmed to half the panel size.
Vertical display height in number of lines = (ContentsOfThisRegister) + 1.
The maximum vertical display height is 1024 lines.