F65545 B2
F65545 B2
F65545 B2
High Performance
Flat Panel / CRT
VGA Controllers
Data Sheet
Revision 1.2
October 1995
®
CopyrightNotice
Copyright © 1995, Chips and Technologies, Inc. ALL RIGHTS RESERVED.
This manual is copyrighted by Chips and Technologies, Inc. You may not reproduce,
transmit, transcribe, store in a retrieval system, or translate into any language or
computer language, in any form or by any means, electronic, mechanical, magnetic,
optical, chemical, manual, or otherwise, any part of this publication without the express
written permission of Chips and Technologies, Inc.
RestrictedRightsLegend
Use, duplication, or disclosure by the Government is subject to restrictions set forth in
subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at
252.277-7013.
Trademark
Acknowledgement
CHIPS Logotype, CHIPSlink, CHIPSPort, ELEAT, LeAPSet, NEAT, NEATsx, PEAK,
PRINTGINE, SCAT, SuperMathDX, SuperState, and WINGINE are registered trademarks
of Chips and Technologies, Incorporated.
CHIPSet, Super Math, WinPC, and XRAM Video Cache are trademarks of Chips and
Technologies,Incorporated.
IBM® AT, XT, PS/2, Micro Channel, Personal System/2, Enhanced Graphics Adapter,
Color Graphics Adapter, Video Graphics Adapter, IBM Color Display, and IBM
Monochrome Display are trademarks of International Business Machines Corporation.
Hercules is a trademark of Hercules Computer Technology.
MS-DOS and Windows are trademarks of Microsoft Corporation.
MultiSync is a trademark of Nippon Electric Company (NEC).
Brooktree and RAMDAC are trademarks of Brooktree Corporation.
Inmos is a trademark of Inmos Corporation.
TRI-STATE® is a registered trademark of National Semiconductor Corporation.
VESA® is a registered trademark of Video Electronics Standards Association.
VL-Bus is a trademark of Video Electronics Standards Association.
All other trademarks are the property of their respective holders.
Disclaimer
This document is provided for the general information of the customer. Chips and
Technologies, Inc., reserves the right to modify the information contained herein as
necessary and the customer should ensure that it has the most recent revision of the data
sheet. CHIPS makes no warranty for the use of its products and bears no responsibility
for any errors which may appear in this document. The customer should be on notice that
the field of personal computers is the subject of many patents held by different parties.
Customers should ensure that they take appropriate action so that their use of the products
does not infringe upon any patents. It is the policy of Chips and Technologies, Inc. to
respect the valid patent rights of third parties and not to infringe upon or assist others to
infringe upon such rights.
®
65540 / 545
High Performance
Flat Panel / CRT VGA Controller
n Highly integrated design (flat panel / CRT VGA n Interface to CHIPS' PC Video to display "live"
controller, RAMDAC, clock synthesizer) video on flat panel displays
n Multiple Bus Architecture Integrated Interface n Supports panel resolutions up to 1280 x 1024
• Local Bus (32-bit CPU Direct and VL) resolution including 800x600 and 1024x768
• EISA/ISA (PC/AT) 16-bit Bus n Supports non-interlaced CRT monitors with
• PCI Bus (65545) resolutions up to 1024 x 768 / 256 colors
n Flexible display memory configurations n True-color and Hi-color display capability with
• One 256Kx16 DRAM (512KB) flat panels and CRT monitors up to 640x480
• Four 256Kx4 DRAMs (512KB) resolution
• Two 256Kx16 DRAMs (1MB) n Direct interface to Color and Monochrome Dual
n Advanced frame buffer architecture uses Drive (DD) and Single Drive (SS) panels
available display memory, maximizing (supports 8, 9, 12, 15, 16, 18 and 24-bit data
integration and minimizing chip count interfaces)
n Integrated programmable linear address feature n Advanced power management features minimize
accelerates GUI performance power consumption during:
n Hardware windows acceleration (65545) • Normal operation
• Standby (Sleep) modes
• 32-bit graphics engine • Panel-Off Power-Saving Mode
- System-to-screen and screen-to-screen
BitBLT n Flexible on-board Activity Timer facilitates
- 3 operand ROP's ordered shut-down of the display system
- Color expansion n Power Sequencing control outputs regulate
- Optimized for Windows™ BitBLT format application of Bias voltage, +5V to the panel and
• Hardware line drawing +12 V to the inverter for backlight operation
• 64x64x2 hardware cursor
n Hardware pop-up icon (65545) n SMARTMAP™ intelligent color to gray scale
conversion enhances text legibility
• 64x64 pixels by 4 colors
• 128x128 pixels by 2 colors n Text enhancement feature improves white text
contrast on flat panel displays
n High performance resulting from zero wait-state
writes (write buffer) and minimum wait-state n Fully Compatible with IBM™ VGA
reads (internal asynchronous FIFO design) n EIAJ-standard 208-pin plastic flat pack
n Mixed 3.3V ±0.3V / 5.0V ±10% Operation
System Diagram
Revision 1.2 65540 / 545
®
Revision History
Revision History
1.1 9/94 DH Added note: Refer to Electrical Specs for maximum clock frequencies in
'Supported Video Modes' table
Added note: Not all above resolutions can be supported at 3.3V and/or 5V
Changed Mode 50 in Supported Video Modes-Extended Resolution Table
from 16 to 16M
Reset column in Reset/Setup/Test/Standby/Panel-Off Mode table was
incorrect. Now reads: "RESET#/Low/–/–/High/High"
Changed note for Pin List-Bus Interface: from "Drive=5V low drive and
3V high drive" to "IOL and IOH drive listed above indicates 5V low
drive and 3.3V high drive (see also XR6C)"
Changed pin description: pin 25 LDEV# pin type "Out/OC" to "Out"
Changed Config Reg XR01 bits 2-1 VL-Bus description for pin
23=CRESET should read pin 23=RDYRTN#
Changed Ext Reg XR2D and XR2E to (CMPR Enabled) and (CMPR
Disabled) and added note: "For DD panels without frame acceleration,
the programmed value should be doubled"
Updated tables for "No FRC" and "2-Frame FRC"
Updated Flat Panel Timing "CD: 010" should read "CD: 001"
Updated Programming: FLM delay programmed in XR2C should be equal
to: CRT blank time – FLM front porch – FLM width
XR2D LP Delay (CMPR enabled) & XR2E LP Delay (CMPR disabled)
Added note: "Can use external 14.31818 MHz oscillator into XTALI (203)
with XTALO (204) as no connect"
Updated Elec Specs: changed "Max" under "Normal Operating Conditions"
from 90 to 100; "memory clock is assumed to be 68 MHz not 65 MHz;"
and "VL-Bus timing is compatible with VL-Bus Specification 2.0"
Added timing for VL-Bus LDEV#, 14.31818 MHz, DRAM R/M/W and
PC-Video and modified timing for PCI Bus Frame
Clarified function of ACTI output.
1.2 7/95 BB/MP Updated Supported Video Modes table
Updated I/O Map section
Added 64310 to CHIPS VGA Product Family in Register Summary
Updated Extension Registers table
Updated XR33, XR6C, XR6F in the Extension Registers section
Added Rset formula to CRT Panel Interface Circuit
Updated Interface-Optrex DMF-50351NC-FW (640x480 Color STN-DD)
LCD Panel Interface example
Updated 65540/545 DC Characteristics in timing section
Updated Local Bus Input Setup & Hold, Local Bus Output Valid, Local
Bus Output Float Delay, VL-Bus LDEV#, CRT Output, Panel Output
Timing diagrams
Added 65545B2 specifications
Table of Contents
Section Page Section Page
Introduction / Overview .................................. 7 Pinouts (65540) ............................................... 23
Pinouts (65545) ............................................... 24
Minimum Chip Count / Board Space .......... 8
Display Memory Interface........................... 8 Pin Diagram (65540) ................................... 23
CPU Bus Interface ....................................... 10 Pin Diagram (65545) ................................... 24
High Performance Features ......................... 10 Pin Lists ....................................................... 25
65545 Acceleration...................................... 10 Pin Descriptions - ISA/VL-Bus Interface.... 31
65545 Hardware Cursor............................... 10 Pin Descriptions - PCI Bus Interface
PC Video / Overlay Support........................ 10 (65545 only) ............................................ 34
Display Interface.......................................... 11 Pin Descriptions - Display Memory ............ 37
Flat Panel Displays.................................. 11 Pin Descriptions - Flat Panel Interface ........ 39
Panel Power Sequencing ............................. 11 Pin Descriptions - CRT and Clock Interface 40
CRT Displays .......................................... 11 Pin Descriptions - Power / Gnd / Standby... 42
Simultaneous Flat Panel / CRT Display.. 14
Display Enhancement Features ................... 14 Register and Port Address Summaries ............ 43
"True-Gray" Gray Scale Algorithm ........ 14 I/O Map........................................................ 43
RGB Color to Gray Scale Reduction ...... 14 CGA, MDA, and Hercules Registers........... 44
SmartMap™ ............................................ 14 EGA Registers ............................................. 44
Text Enhancement................................... 15 VGA Registers............................................. 44
Vertical and Horizontal Compensation ... 15 VGA Indexed Registers............................... 45
Advanced Power Management.................... 16 Extension Registers ..................................... 46
Normal Operating Mode ......................... 16 32-Bit Registers (65545) ............................. 49
Mixed 3.3V and 5V Operation................ 16 PCI Configuration Registers (65545) .......... 50
Panel Off Mode ....................................... 16
Standby Mode ......................................... 16 Register Descriptions ...................................... 51
CRT Power Management (DPMS) ......... 16
CPU Activity Indicator / Timer ................... 17 Global Control (Setup) Registers ................ 53
Full Compatibility ....................................... 17 PCI Configuration Registers........................ 55
Write Protection ...................................... 17 General Control & Status Registers............. 59
Extension Registers ................................. 17 CGA / Hercules Registers............................ 61
Panel Interface Registers......................... 17 Sequencer Registers..................................... 63
Alternate Panel Timing Registers ........... 17 CRT Controller Registers ............................ 67
Context Switching ................................... 17 Graphics Controller Registers ..................... 81
Reset, Setup, and Test Modes...................... 18 Attribute Controller and
Reset Mode.............................................. 18 VGA Color Palette Registers .................. 89
Setup Mode ............................................. 18 Extension Registers ..................................... 95
Tri-State Mode ........................................ 18 32-Bit Registers (65545 only) ..................... 155
ICT (In-Circuit-Test) Mode .................... 18
Chip Architecture ........................................ 19
Sequencer ................................................ 19
CRT Controller........................................ 19
Graphics Controller ................................. 19
Attribute Controller ................................. 19
VGA / Color Palette DAC....................... 19
Clock Synthesizers .................................. 20
Configuration Inputs.................................... 21
Virtual Switch Register ............................... 21
Light Pen Registers...................................... 21
BIOS ROM Interface................................... 21
Package........................................................ 21
Application Schematics ............................... 22
Table of Contents
Section Page Section Page
Functional Description .................................... 165 Programming and Parameters ......................... 195
System Interface .......................................... 165 General Programming Hints........................ 195
Functional Blocks ................................... 165 Parameters for Initial Boot .......................... 197
Bus Interface .......................................... 165 Parameters for Emulation Modes ................ 198
ISA Interface ..................................... 165 Parameters for Monochrome LCD Panels
VL-Bus Interface ............................... 165 (Panel Mode Only) .................................. 199
Direct Processor Interface ................. 165 Parameters for Monochrome LCD Panels
PCI Interface ..................................... 165 (Simultaneous Mode Display)................. 200
Parameters for Color TFT Panels
Display Memory Interface .......................... 166 (Panel Mode Only) .................................. 201
Memory Architecture ............................. 166 Parameters for Color TFT Panels
Memory Chip Requirements .................. 166 (Simultaneous Mode Display)................. 202
Clock Synthesizer ....................................... 167 Parameters for Color STN SS Panels
MCLK Operation ................................... 167 (Panel & Simultaneous Mode Display)... 203
VCLK Operation .................................... 168 Parameters for Color STN SS Panels
Programming the Clock Synthesizer . 168 (Extended 4-bit Pack).............................. 204
Programming Constraints .................. 168 Parameters for Color STN DD Panels
Programming Example ...................... 169 (Panel & Simultaneous Mode Display)... 205
PCB Layout Considerations ................... 169 Parameters for Plasma Panels...................... 206
Parameters for EL Panels ............................ 207
VGA Color Palette DAC ............................ 170
BitBLT Engine (65545 only) ...................... 171 Application Schematics................................... 209
Bit Block Transfer .................................. 171 System Bus Interface ................................... 210
Sample Screen-to-Screen Transfer ......... 172 VL-Bus / 486 CPU Local Bus Interface...... 211
Compressed Screen-to-Screen Transfer . 173 PCI Local Bus Interface .............................. 212
System-to-Screen BitBLTs .................... 175 Display Memory / PC Video Interface ........ 213
Hardware Cursor (65545 only) ................... 177 CRT / Panel Interface .................................. 214
Programming .......................................... 177
Cursor Data Array Format & Layout 177 Panel Interface Examples ................................ 215
Display Mem Base Addr Formation . 178
VGA Controller Programming .......... 178 Electrical Specifications.................................. 241
Copying Cursor Data to Disp Mem ... 178 Absolute Maximum Conditions................... 241
Setting Position, Type, & Base Addr 178 Normal Operating Conditions ..................... 241
DAC Characteristics .................................... 241
Flat Panel Timing ............................................ 179 DC Characteristics....................................... 242
Overview ..................................................... 179 DC Drive Characteristics............................. 242
Panel Size .................................................... 179 AC Test Conditions ..................................... 243
Panel Type ................................................... 179 AC Characteristics
TFT Panel Data Width................................. 179 Reference Clock Timing ......................... 243
Display Quality Settings.............................. 180 Clock Generator Timing.......................... 244
Frame Rate Control (FRC)...................... 180 Reset Timing ........................................... 245
Dither....................................................... 180 Bus Timing.............................................. 246
M Signal Timing ..................................... 180 DRAM Timing ........................................ 254
Gray / Color Levels ................................. 180 CRT Output Timing ................................ 258
Pixels Per Shift Clock.................................. 181 PC Video Timing .................................... 258
Color STN Pixel Packing ............................ 182 Panel Output Timing ............................... 259
Output Signal Timing .................................. 183
LP Signal Timing .................................... 183 Mechanical Specifications............................... 261
FLM Output Signal Timing..................... 183 Plastic 208-PFP Package Dimensions ......... 261
Blank#/DE Output Signal Timing........... 183
Shift Clock Output Signal Timing .......... 183
Pixel Timing Sequence Diagrams ............... 183
List of Tables
List of Figures
Introduction / Overview
The 65540 / 545 High Performance Flat Panel / system can be implemented with a single 256Kx16
CRT Controllers initiate a family of 208-pin, high DRAM. The 32-bit local bus interface of the 65540
performance solutions for full-featured notebook / / 545 family eliminates external buffers.
sub-notebook and other portable applications that
require the highest graphics performance available. For maximum performance, the 65540 / 545
The 65545 is pin-to-pin compatible with the 65540 supports an additional 256Kx16 DRAM, which
and adds a sophisticated graphics hardware engine provides a 32-bit video memory bus and additional
for Bit Block Transfer (BitBLT), line drawing, display memory to support resolutions up to
hardware cursor, and other functions intensively 1024x768 with 256 colors, 800x600 with 256
used in Graphical User Interfaces (GUIs) such as colors, and 640x480 with 16M colors. In addition,
Microsoft Windows™. The 65540 and 65545 also the 65540 / 545 family can support PC Video multi-
use the same video BIOS, offering the system media features while interfacing to a 32-bit local
manufacturer a wide range of price / performance bus and one MByte of video memory.
points while minimizing overhead for system The 65540 / 545 family supports a wide variety of
integration and improving time-to-market. The monochrome and color Single-Panel, Single-Drive
following table indicates feature differences (SS) and Dual-Panel, Dual Drive (DD) passive STN
between the 65540 and 65545: and active matrix TFT / MIM LCD, EL, and plasma
panels. The 65540 / 545 family supports panel
Features 65540 65545 resolutions of 800x600, 1024x768, and 1280x1024.
Support for all flat panels 3 3 For monochrome panels, up to 64 gray scales are
VESA Local Bus / 16-bit ISA Bus 3 3 supported. Up to 226,981 different colors can be
32-bit PCI Bus — 3 displayed on passive STN LCDs and up to 16M
colors on 24-bit active matrix LCDs using the
Linear Addressing 3 3 65540 / 545 controllers.
Hardware Accelerator — 3
Hardware Cursor — 3 The 65540 / 545 family offers a variety of
Pin Compatible 3 3 programmable features to optimize display quality.
For text modes which do not fill all 480 lines of a
BIOS Compatible 3 3 standard VGA panel, the 65540 / 545 provides tall
The 65540 / 545 family achieves superior font stretching in the hardware. Fast vertical
performance through direct connection to system centering and programmable vertical stretching in
processor buses up to 32-bits in width. When graphics modes offer more options for handling
combined with CHIPS' advanced linear acceleration modes with less than 480 lines. Three selectable
software driver technology, these devices exhibit color-to-grayscale reduction techniques and
exceptional performance compared with devices of SMARTMAP™ are available for improving the
similar architecture. The 65540 / 545 architecture viewability of color applications on monochrome
provides a fast throughput to video memory, panels. CHIPS' polynomial FRC algorithm reduces
maximizing the capability of today's powerful panel flicker on a wider range of panel types with a
microprocessors to manipulate graphics operations. single setting for a particular panel type.
Based on the architecture of the 65540, the 65545 The 65540 / 545 employs a variety of advanced
adds a powerful 32-bit graphics engine to offload power management features to reduce power
graphics processing from the microprocessor for consumption of the display subsystem and extend
maximum performance. battery life. The 65540 / 545's internal logic,
Minimum chip-count, low-power graphics memory interface, bus interface, and flat panel
subsystem implementations are enabled through the interfaces can be independently configured to
high integration level of the 65540 / 545 family. operate at either 3.3 V or 5.0 V. The 65540 / 545 is
These devices integrate the VGA-compatible optimized for minimum power consumption during
graphics controller, true color RAMDAC, and dual normal operation and provides two power-saving
PLL clock synthesizers. The entire graphics sub- modes - Panel Off and Standby. During Panel Off
mode, the 65540 / 545 turns off the flat panel while
the VGA subsystem remains active. The palette interface. The 65540 / 545 employs separate
may also be automatically shut off during Panel Off address and data buses with sufficient drive
mode to further reduce power consumption. During capability such that the bus can be driven directly.
Standby mode, the 65540 / 545 suspends all CPU, The 65540 / 545 also provides up to 24 bits of panel
memory and display activities. In this mode, the data with sufficient drive capability such that
65540 / 545 places the DRAM in self-refresh mode virtually all flat panels can be driven directly.
and the 65540 / 545 reference input clock can be
turned off. The 65540 / 545 also provides a DISPLAY MEMORY INTERFACE
programmable activity timer which monitors VGA
activity. After all display activity ceases, the timer The 65540 / 545 supports multiple display memory
will automatically shut down the panel by either configurations, providing the OEM with the
disabling the backlight or putting the 65540 / 545 in flexibility to use the same VGA controller in
Panel Off mode. several designs with differing cost, power
consumption and performance criteria. The 65540 /
The 65540 / 545 is fully compatible with the VGA 545 supports the following display memory
graphics standard at the register, gate, and BIOS configurations:
levels. The 65540 / 545 provides full backwards
compatibility with the EGA and CGA graphics n One 256Kx16 DRAM (512 KBytes)
standards without using NMIs. CHIPS and third- n Two 256Kx16 DRAMs (1 MBytes)
party vendors supply fully VGA-compatible BIOS, n Four 256Kx4 DRAMs (512 KBytes)
end-user utilities and drivers for common Performance is significantly improved when the
application programs (e.g., Microsoft Windows™, 65540 / 545 is configured with a 32-bit data path to
OS/2, WordPerfect, Lotus, etc.). CHIPS' drivers for display memory, which is accomplished by using
Windows include a Big Cursor (to increase the two 256Kx16 DRAMs. Two 256Kx16 DRAMs
cursor's legibility on monochrome flat panels) and support all standard, Super, and Extended VGA
panning / scrolling capability (to increase resolutions up to 1024x768 256 colors as well as
performance). "high" 16bpp color and "true" 24bpp color modes.
The table on the following page summarizes the
MINIMUM CHIP COUNT / BOARD SPACE display capabilities of the 65540 / 545.
The 65540 / 545 provides a minimum chip count / Display memory control signals are derived from
board space, yet highly flexible VGA subsystem. the integrated clock synthesizer's memory clock.
The 65540 / 545 integrates a high-performance The 65540 / 545 serves as a DRAM controller for
VGA flat panel / CRT controller, industry-standard the system's display memory. It handles DRAM
RAMDAC, clock synthesizer, monitor sense refresh, fetches data from display memory for
circuitry and an activity timer in a 208-pin plastic display refresh, interfaces the CPU to display
flat pack package. In its minimum configuration, memory, and supplies all necessary DRAM control
the 65540 / 545 requires only a single 256Kx16 signals.
DRAM, such that a complete VGA subsystem for
motherboard applications can be implemented with The 65540 / 545 supports 'two-CAS / one-WE' and
just two ICs. This configuration consumes less than 'one-CAS / two-WE' 256Kx16 DRAMs. The 65540
2 square inches (1290 sq mm) of board space and is / 545 supports the self-refresh features of 256Kx16
capable of supporting simultaneous flat panel / CRT DRAMs and certain 256Kx4 DRAMs during
display requirements while directly interfacing to a Standby mode, enabling the 65540 / 545 to be
32-bit local bus. As an option, a second memory powered down completely during suspend/resume
chip may be implemented to increase performance operation.
(via a 32-bit data path to display memory) and
support graphics modes which require more than
512 KBytes of display memory. No external
buffers or glue logic are required for the 65540 /
545's bus interface, memory interface, or panel
CRT Mode Mono LCD DD STN LCD 9-Bit TFT LCD Video Simultaneous
Resolution Color 4 Gray Scales 4 Colors 2, 3, 4 Colors 1, 2, 3, 4 Memory Display
320x200 256 / 256K† 61 / 61 256 / 226,981 256 / 185,193 512KB Yes
640x480 16 / 256K† 16 / 61 16 / 226,981 16 / 185,193 512KB Yes
640x480 256 / 256K† 61 / 61 256 / 226,981 256 / 185,193 512KB Yes
800x600 16 / 256K† 16 / 61 16 / 226,981 16 / 185,193 512KB Yes with 1MB
800x600 256 / 256K† 61 / 61 256 / 226,981 256 / 185,193 512KB Yes with 1MB
1024x768 16 / 256K† 16 / 61 16 / 226,981 16 / 185,193 512KB Yes with 1MB
1024x768 256 / 256K† 61 / 61 256 / 226,981 256 / 185,193 1MB Yes
1280x1024 16 / 256K† 16 / 61 n/a n/a 1MB n/a
Notes:
1 Larger color palettes and simultaneous colors can be displayed on 12-bit, 18-bit, and 24-bit TFT panels via the 65540 / 545 video input port
2 Includes dithering
3 Includes frame rate control
4 Colors are described as number of simultaneous on-screen colors and number of unique colors available in the color palette
† 256K colors assumes DAC output mode is set to 6 bits of R, G, & B. If DAC is set to 8-bit output mode, the number of available colors is 16M
Note: Not all above resolutions can be supported at both 3.3V and 5V.
† Refer to Electrical Specifications section for maximum clock frequencies for 5V and 3.3V operation.
CRT Codes:
A PS/2 fixed frequency analog CRT monitor or equivalent (31.5 / 35.5 KHz Horizontal Frequency Specification)
B Multi-Frequency CRT monitor (37.5 KHz Minimum Horizontal Frequency Specification) (NEC MultiSync 3D or equivalent)
C Multi-Frequency High-Performance CRT Monitor (48.5 KHz Min H Freq Specification) (Nanao Flexscan 9070s, MultiSync 5D, or equivalent)
Simultaneous Flat Panel / CRT Display refresh rate -- has several drawbacks. As the
vertical refresh rate increases, panel power
The 65540 / 545 provides simultaneous display consumption increases, ghosting (cross-talk)
operation with Multi-Sync variable frequency or increases, and contrast decreases. CHIPS'
PS/2 fixed frequency CRT monitors and single polynomial FRC gray scale algorithm reduces
panel-single drive LCDs (LCD-SS), dual panel-dual flicker without increasing the vertical refresh rate.
drive LCDs (LCD-DD), and plasma and EL panels
(which employ single panel-single drive interfaces). RGB Color To Gray Scale Reduction
Single drive panels sequence data in the same
manner as CRTs, so the 65540 / 545 provides The 24 bits of color palette data from the VGA
simultaneous CRT display with LCD-SS, Plasma, standard color lookup table (CLUT) are reduced to
and EL panels by driving the panels with CRT 6 bits for 64 gray scales via one of three selectable
timing. LCD-DD panels require video data alter- RGB color to gray scale reduction techniques:
nating between two separate locations in memory.
In addition, a dual drive panel requires data from 1) NTSC Weighting: 5/16 Red 9/16 Green 2/16 Blue
both locations simultaneously. A framestore area, 2) Equal Weighting: 5/16 Red 6/16 Green 5/16 Blue
also called the frame buffer, is required to achieve 3) Green Only: 6 bits of Green only
this operation. The 65540 / 545 innovative archi- NTSC is the most common weighting, which is
tecture implements the frame buffer in an unused used in television broadcasting. Equal weighting
area of display memory, reducing chip count and increases the weighting for Blue, which is useful for
subsystem cost. As an option, an extra 16-bit wide Applications such as Microsoft Windows 3.1 which
DRAM can be used as an external frame buffer, often uses Blue for background colors. Green-Only
improving performance while in simultaneous flat is useful for replicating on a flat panel the display of
panel/CRT modes. The 65540 / 545 provides software optimized for IBM's monochrome
simultaneous display with monochrome and color monitors which use the six green bits of palette
LCD-DD panels with a single 256Kx16 DRAM. data.
DISPLAY ENHANCEMENT FEATURES SmartMap™
Display quality is one of the most important SmartMap™ is a proprietary feature that can be
features for the success of any flat panel-based invoked to intelligently map colors to gray levels in
system. The 65540 / 545 provides many features to text mode. SmartMap™ improves the legibility of
enhance the flat panel display quality. flat panel displays by solving a common problem:
"TRUE-GRAY" Gray Scale Algorithm Most application programs are optimized for color
CRT monitors using multiple colors. For example,
A proprietary polynomial-based Frame Rate a word processor might use a blue background with
Control (FRC) and dithering algorithm in the 65540 white characters for normal text, underlined text
/ 545's hardware generates a maximum of 61 gray could be displayed in green, italicized text in
levels on monochrome panels. The FRC technique yellow, and so on. This variety of colors, which is
simulates a maximum of 16 gray levels on quite distinct on a color CRT monitor, can be
monochrome panels by turning the pixels on and off illegible on a monochrome flat panel display if the
over several frames in time. The dithering colors are mapped to adjacent gray scale values. In
technique increases the number of gray scales from the example, underlined and italicized text would be
16 to 61 by altering the pattern of gray scales in illegible if yellow is mapped to gray scale 4, green
adjacent pixels. The persistence (response time) to gray scale 6 with the blue background mapped to
of the pixels varies among panel manufacturers and gray scale 5.
models. By re-programming the polynomial (an 8-
bit value in Extension Register XR6E) while SmartMap™ compares and adjusts foreground and
viewing the display, the FRC algorithm can be background grayscale values to produce adequate
adjusted to match the persistence of the particular display contrast on flat panel displays. The
panel without increasing the panel's vertical refresh minimum contrast value and the foreground /
rate. With this technique, the 65540 / 545 produces background grayscale adjustment values are
up to 61 flicker-free gray scales on the latest fast programmed in the 65540 / 545's Extension
response "mouse quick" film-compensated mo- Registers. This feature can be disabled if desired.
nochrome STN LCDs. The alternate method of
reducing flicker -- increasing the panel's vertical
RESET, SETUP, AND TEST MODES low (MAD0 pin 162). The 65540 / 545 will exit
Tri-State mode with the enabling memory data pin
Reset Mode (MAD0) high or RESET# low.
When this mode is activated by pulling the RESET# ICT (In-Circuit Test) Mode
pin low, the 65540 / 545 is forced to VGA-compati-
ble mode and the CRT is selected as the active dis- In this mode, all digital pins of the 65540 / 545 chip
play. In addition, the 65540 / 545 is disabled; it may be tested individually to determine if they are
must be enabled after deactivating the RESET# pin properly connected (the analog RGB and RESET#
by writing to the Global Enable Register (102h in pins cannot be tested in ICT mode). The 65540 /
Setup Mode for ISA bus configurations or to port 545 will enter ICT mode if it sees a rising edge on
3C3h or Local Bus configurations). Access to all XTALI during RESET with one of the display
Extension Registers is always enabled after reset (at memory data pins pulled low (a different pin from
3D6/3D7h). The RESET# pin must be active for at the one used to enable Tri-state mode: MAD1). In
least 64 clock cycles. ICT mode, all digital signal pins become inputs
which are part of a long path starting at ENAVDD
Setup Mode (pin 62) and proceeding to lower pin numbers
around the chip to pin 1 (except analog pins 55, 57,
In this mode, only the Global Enable register is 58, and 60) then to pin 208 and ending at VSYNC
accessible. In IBM-compatible PC implementa- (pin 64). If all pins in the path are high, the
tions, setup mode is entered by writing a 1 to bit-4 VSYNC output will be high. If any pin is low, the
of port 46E8h. This port is incorporated in the VSYNC output will be low. Thus the chip can be
65540 / 545. While in Setup mode, the video checked in circuit to determine if all pins are
output is active if it was active prior to entering connected properly by toggling all pins one at a
Setup mode and inactive if it was inactive prior to time (XTALI last) and observing the effect on
entering Setup mode. After power up, video BIOS VSYNC. XTALI must be toggled last because
can optionally disable the video 46E8 or 3C3 rising edges on XTALI with either of the enabling
registers (via XR70) for compatibility in case other memory data pins high or RESET# low will exit
non-IBM-compatible peripheral devices use those ICT mode. As a side effect, ICT mode effectively
ports. Tri-States all pins except VSYNC.
Tri-State Mode
In this mode, all output pins of the 65540 / 545 chip
may be disabled for testing of circuitry external to
the chip. The 65540 / 545 will enter Tri-State mode
if it sees a rising edge on XTALI during RESET
with one of the display memory data pins pulled
Display
Mode of RESET# STNDBY# Memory Video
Operation Pin†† Pin Access Output
Reset Low xxx ----- -----
Setup ----- ----- No Yes
Test ----- ----- No Yes
Standby† High Low No No
Panel-Off†† High High Yes No
† It is illegal to go from Panel-Off Mode to Standby Mode. Panel-Off Mode must be exited first and a delay must
occur of twice the value programmed into XR5B[7-4] prior to entering Standby Mode.
†† In 65540 ES Silicon reset is active high (RESET); in all following revisions reset is active low (RESET#).
CHIP ARCHITECTURE graphic modes the 4-bit pixel data acts as an index
into a set of 16 internal color look-up registers
The 65540 / 545 integrates six major internal which generate a 6-bit color value. Two additional
modules: bits of color data are added to provide an 8-bit
Sequencer address to the VGA color palette. In 256-color
modes, two 4-bit values may be passed through the
The Sequencer generates all CPU and display color look-up registers and assembled into one 8-bit
memory timing. It controls CPU access of display video data value. In high-resolution 256-color
memory by inserting cycles dedicated to CPU modes, an 8-bit video data value may be provided
access. It also contains mask registers which can directly, bypassing the attribute controller color
prevent writes to individual display memory planes. lookup registers. Text and cursor blink, underline
CRT Controller and horizontal scrolling are also the responsibility
of the Attribute Controller.
The CRT Controller generates all the sync and
timing signals for the display and also generates the VGA / Color Palette DAC
multiplexed row and column addresses used for The 65540 / 545 integrates a VGA compatible triple
both display refresh and CPU access of display 6-bit Color Lookup Table (sometimes referred to as
memory. a "CLUT" or just "LUT") and high speed 6/8-bit
Graphics Controller DACs. Additionally true color bypass modes are
supported displaying color depths of up to 24bpp
The Graphics Controller interfaces the 8, 16, or 32- (8-red, 8-green, 8-blue). The palette DAC can
bit CPU data bus to the 32-bit internal data bus used switch between true color data and LUT data on a
by the four planes (Maps) of display memory. It pixel by pixel basis. Thus, video overlays may be
also latches and supplies display memory data to any arbitrary shape and can lie on any pixel
the Attribute Controller for use in refreshing the boundary. The hardware cursor is also a true color
screen image. For text modes this data is supplied bitmap which may overlay on any pixel boundary.
in parallel form (character generator data and
attribute code); for graphics modes it is converted to The internal palette DAC register I/O addresses
serial form (one bit from each of four bytes form a and functionality are 100% compatible with the
single pixel). The Graphics Controller can also VGA standard. In all bus interfaces the palette
perform any one of several types of logical DAC automatically controls accesses to its registers
operations on data while reading it from or writing to avoid data overrun. This is handled by holding
it to display memory or the CPU data bus. RDY in the ISA configuration and by delaying
RDY# for VL-Bus and local bus interfaces.
Attribute Controller
Extended RAMDAC display modes are selected in
The Attribute Controller generates the 4-bit-wide the Palette Control Register (XR06). Two 16bpp
video data stream used to refresh the display. This formats are supported: 5-red, 5-green, 5-blue Targa
is created in text modes from a font pattern and an format and 5-red, 6-green, 5-blue XGA format.
attribute code which pass through a parallel to serial The internal Palette / DAC may also be disabled via
conversion. In graphics modes, the display memory the Palette Control Register (XR06).
contains the 4-bit pixel data. In text and 16 color
Red
RGB5-6-5ExternalVideo 24
HighColorPixelData Green
Blue
8 Triple6-bit 18
LUTPixelData LUT
Clock Synthesizers
Integrated clock synthesizers support all pixel clock frequencies are set via a programmable 18-bit
(VCLK) and memory clock (MCLK) frequencies divisor value which contains fields for Phase Lock
which may be required by the 65540 / 545. Each of Loop (PLL), Voltage Controlled Oscillator (VCO)
the two clock synthesizers may be programmed to and Pre/Post Divide Control. A block diagram
output frequencies ranging between 1MHz and the showing the clock synthesizer registers is included
maximum specified operating frequency for that below. Refer to the Functional Description section
clock in increments not exceeding 0.5%. The of this document for additional information.
VCLKRegisterTable
VGA CLK0 = 25.175MHz
21
VGA CLK1 = 28.322MHz VCLK Synthesizer
CLK2 = Programmable
XR32:30
MCLKRegisterTable
21
MCLK = Programmable MCLK Synthesizer
CLKSEL1:0
MISC Output Reg[3:2]
CONFIGURATION INPUTS read a selected bit from the 'virtual switch register'
(an extension register set up by BIOS at
The 65540 / 545 can read up to nine configuration initialization time) instead of reading the state of the
bits. These signals are sampled on memory address internal comparator output.
bus AA0-AA8 on the trailing edge of Reset. The
65540 / 545 implements pull-up resistors on-chip LIGHT PEN REGISTERS
on all configuration input pins. If the user wishes to
force a certain option, then a 4.7K ohm resistor may In the CGA and Hercules modes, the contents of the
be used to pull-down the desired configuration pin. Display Address counter are saved at the end of the
65540 / 545 frame before being reset. The saved value can be
Pin # Signal Active Functionality
read in the CRT Controller Register space at indices
10h and 11h. This allows simulation of a light pen
145 LB# Low Bus Configuration hit in CGA and Hercules modes.
146 ISA# Low Bus Configuration
147 2X# Low 2xCPU Clock Select BIOS ROM INTERFACE
148 — Low Reserved In typical ISA bus and VL-Bus applications, the
149 — Low Reserved (Do Not Use) 65540 / 545 is placed on the motherboard and the
150 OS# Low External Oscillator Select video BIOS is integrated with the system BIOS (in
151 AD# Low ENABKL/ACTI=A26,A27 PCI Bus, the video BIOS is always included in the
152 TS# Low Test Mode Enable system BIOS). A separate signal (ROMCS#) is
153 LV# Low Low Voltage Select generated on the A24 pin for ISA bus or may be
created external to the 65540 / 545 for imple-
2X# ISA# LB# menting a separate external ROM BIOS.
(AA2) (AA1) (AA0) Bus Functionality
Pin 147 Pin 146 Pin 145 Typically, an 8-bit BIOS is implemented with one
external ROM chip. A 16-bit dedicated video BIOS
Low Low Low Reserved ROM could be implemented with the 65540 / 545 if
Low Low High Reserved required using two BIOS ROM chips, an external
Low High Low Reserved PAL, and a 74LS244 buffer. However, a higher-
Low High High 32-bit CPU Bus (2x clk) performance and lower-cost video system will
High Low Low Reserved result from implementation of the video BIOS as
High Low High 16-bit ISA Bus either an 8-bit dedicated video BIOS ROM or as
part of the system BIOS and having the video BIOS
High High Low PCI Bus (65545 only) be copied into system RAM by the system BIOS on
High High High 32-bit VL-Bus (1x clk) startup.
AA2 determines the CPU clock rate for purposes of Chips and Technologies, Inc. supplies a video BIOS
local bus implementation (0=2x CPU clock, 1=1x that is optimized for the 65540 / 545 hardware. The
CPU clock). AA3 has no hardware function, but BIOS supports the extended functions of the 65540
the status of the pin is latched in extension register / 545, such as switching between the flat panel and
1 bit 3 on reset so it may be used to input system- the CRT, SMARTMAP™, Vertical Compensation,
specific information. AA4 is reserved and should and palette load/save. The BIOS Modification
be sampled high on reset. AA5, if forced to 0, Program (BMP) enables OEMs to tailor their
indicates that a reference frequency of 14.31818 feature set by programming the extended functions.
MHz must be input on XTALI (pin 203). AA6 CHIPS offers the BIOS as a standard production
selects between ACTI/ENABKL and A26-27 on version, a customized version, or as source code.
pins 53-54 (default is ENABKL and ACTI). AA7,
when forced low, enables clock test mode (VCLK PACKAGE
and MCLK are output on A24-25 (pins 29-30).
AA8, when forced low, selects 3.3V level of The 65540 / 545 is available in a EIAJ-standard
operation for the internal logic and the clock core. 208-pin plastic flat pack with a 28 x 28 mm body
size and 0.5 mm (19.7 mil) lead pitch.
VIRTUAL SWITCH REGISTER
The 65540 / 545 implements a 'virtual switch
register'. In 'EGA' mode, the sense bit of the
Feature control register (3C2 bit 4) may be set up to
(ISA#)
(AD#)
(LV#)
(OS#)
(LB#)
(2X#)
(TS#)
DRAM"B" DRAM"C"
DisplayMemoryUpper512KB FrameBuffer
or
(CFG8)
(CFG7)
(CFG6)
(CFG5)
(CFG4)
(CFG3)
(CFG2)
(CFG1)
(CFG0)
MCD11 (VG7)
MCD10 (VG6)
MCD9 (VG5)
MCD8 (VG4)
MCD7 (VG3)
MCD6 (VG2)
(VR0)
MCD15 (VR5)
MCD14 (VR4)
MCD13 (VR3)
MCD12 (VR2)
MCD5 (VB7)
MCD4 (VB6)
MCD3 (VB5)
MCD2 (VB4)
MCD1 (VB3)
MCD0 (VB2)
24-Bit
PC-Video
MGNDC
MGNDB
CASBH#
MVCCC
Interface
MVCCB
CASBL#
DRAM"A"
MBD15
MBD14
MBD13
MBD12
MBD11
MBD10
OEAB#
RASA#
RASB#
MBD9
MBD8
MBD7
MBD6
MBD5
MBD4
MBD3
MBD2
MBD1
MBD0
WEB#
DisplayMemory AA9
AA8
AA7
AA6
AA5
AA4
AA3
AA2
AA1
AA0
Lower512KB
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
156
155
(32KHZ) 154
153
152
151
150
149
148
147
146
145
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
(WEBL#) 126
(CASB#) 125
(WEBH#) 124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
(WEAH#) WEA# 157 104 (WECL#) (VR6) CASCL#
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
MVCCA 158 Configuration Pins 103 (CASC#) (VR7) CASCH#
(CASA#) CASAH# 159 2X# = 0 2X LCLK 102 (WECH#) (PCLK) WEC#
(WEAL#) CASAL# 160 OS# = 0 External Oscillator (1=Xtal) 101 (KEY) RASC#
MGNDA 161 AD# = 0 ENABKL & ACTI are A26,A27 100 (VR1) OEC#
(TSENA#) MAD0 162 99 (VG0) CA9
(ICTENA#) MAD1 163 TS# = 0 Enable Clock Test Mode 98 (VG1) CA8
MAD2 164 LV# = 0 Input Threshold Level Control 97 (P23) CA7
MAD3 165 96 (P22) CA6
MAD4 166 95 (P21) CA5
MAD5 167 94 (P20) CA4
MAD6 168 93 (P19) CA3
MAD7 169 92 (P18) CA2
MAD8 170 91 (P17) CA1
MAD9
MAD10
MAD11
MAD12
MAD13
171
172
173
174
175
65540 90
89
88
87
86
(P16) CA0
DGND
P15
P14
P13
MAD14
MAD15
STNDBY#
A2
176
177
178
179 <A2>
Flat Panel VGA Controller 85
84
83
82
P12
P11
P10
P9
A3 180 <A3> 10/30/95 81 P8
IVCC 181 Panel 80 IVCC
A4 182 <A4> Interface 79 P7
A5 183 <A5> 78 P6
IGND 184 Group 77 IGND
A6 185 <A6> Pin names shown indicate VL-Bus connections (Default) 76 P5
Bus A7 186 <A7> Pin names in brackets <...> indicate ISA-Bus connections (ISA# = 0) 75 P4
A8 187 <A8> 74 P3
Interface A9 188 <A9> Pin names in parentheses indicate alternate functions 73 P2
Group A10 189 <A10> 72 P1
A11 190 <A11> 71 P0
A12 191 <A12> 70 SHFCLK
(MCLKOUT)††
Clock XTALO
<MEMR#>
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
Group 57
<IOWR#>
204 BLUE
<RFSH#>
<IORD#>
<ZWS#>
<BHE#>
Group CVCC0
<LA23>
205 56 AGND
<RDY>
<AEN>
<ALE>
<IRQ>
<D15>
<D14>
<D13>
<D12>
<D11>
<D10>
<D9>
<D8>
<A0>
<D7>
<D6>
<D5>
<D4>
<D3>
<D2>
<D1>
<D0>
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
Bus
BGND
BGND
BGND
BGND
BVCC
RDYRTN#
LDEV#
LCLK
BVCC
LRDY#
ADS#
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
D31
D30
D29
D28
D27
D26
D25
D24
BE3#
W/R#
D23
D22
D21
D20
D19
D18
D17
D16
BE2#
A23
A24
A25
M/IO#
BE1#
D15
D14
D13
D12
D11
D10
BE0#
Interface
Group
(ISA#)
(AD#)
(LV#)
DRAM"B"
(OS#)
(LB#)
(2X#)
(TS#)
DRAM"C"
DisplayMemoryUpper512KB FrameBuffer
or
(CFG8)
(CFG7)
(CFG6)
(CFG5)
(CFG4)
(CFG3)
(CFG2)
(CFG1)
(CFG0)
MCD11 (VG7)
MCD10 (VG6)
MCD9 (VG5)
MCD8 (VG4)
MCD7 (VG3)
MCD6 (VG2)
(VR0)
MCD15 (VR5)
MCD14 (VR4)
MCD13 (VR3)
MCD12 (VR2)
MCD5 (VB7)
MCD4 (VB6)
MCD3 (VB5)
MCD2 (VB4)
MCD1 (VB3)
MCD0 (VB2)
24-Bit
PC-Video
MGNDC
MGNDB
CASBH#
MVCCC
Interface
MVCCB
CASBL#
DRAM"A"
MBD15
MBD14
MBD13
MBD12
MBD11
MBD10
OEAB#
RASA#
RASB#
MBD9
MBD8
MBD7
MBD6
MBD5
MBD4
MBD3
MBD2
MBD1
MBD0
WEB#
DisplayMemory
AA9
AA8
AA7
AA6
AA5
AA4
AA3
AA2
AA1
AA0
Lower512KB
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
156
155
(32KHZ) 154
153
152
151
150
149
148
147
146
145
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
(WEBL#) 126
(CASB#) 125
(WEBH#) 124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
(WEAH#) WEA# 157 104 (WECL#) (VR6) CASCL#
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
MVCCA 158 Configuration Pins 103 (CASC#) (VR7) CASCH#
(CASA#) CASAH# 159 2X# = 0 2X LCLK 102 (WECH#) (PCLK) WEC#
(WEAL#) CASAL# 160 OS# = 0 External Oscillator (1=Xtal) 101 (KEY) RASC#
MGNDA 161 100 (VR1) OEC#
(TSENA#) MAD0 162 AD# = 0 ENABKL & ACTI are A26,A27 99 (VG0) CA9
(ICTENA#) MAD1 163 TS# = 0 Enable Clock Test Mode 98 (VG1) CA8
MAD2 164 LV# = 0 Input Threshold Level Control 97 (P23) CA7
MAD3 165 96 (P22) CA6
MAD4 166 95 (P21) CA5
MAD5 167 94 (P20) CA4
MAD6 168 93 (P19) CA3
MAD7 169 92 (P18) CA2
MAD8 170 91 (P17) CA1
MAD9
MAD10
MAD11
MAD12
MAD13
171
172
173
174
175
65545 90
89
88
87
86
(P16) CA0
DGND
P15
P14
P13
MAD14
MAD15
STNDBY#
176
177
178
Flat Panel VGA Controller 85
84
83
P12
P11
P10
"reserved" A2 179 <A2> Panel 82 P9
"reserved" A3 180 <A3> 10/30/95 81
Interface 80
P8
IVCC 181 IVCC
"reserved" A4 182 <A4> Group 79 P7
"reserved" A5 183 <A5> 78 P6
IGND 184 Pin names shown indicate VL-Bus connections (Default) 77 IGND
"reserved" A6 185 <A6> 76 P5
"reserved" A7 186 <A7> Pin names in brackets <...> indicate ISA-Bus connections (ISA# = 0) 75 P4
"reserved" A8 187 <A8> Pin names in quotes "..." indicate PCI-Bus connections (LB# = 0) 74 P3
"reserved" A9 188 <A9> 73 P2
"reserved" A10 189 <A10> Pin names in parentheses indicate alternate functions 72 P1
"reserved" A11 190 <A11> 71 P0
"reserved" A12 191 <A12> 70 SHFCLK
"reserved" A13 192 <A13> (DE)(BLANK#) 69 M
(MCLKOUT)††
(VCLKOUT)††
<reserved>
<reserved>
<reserved>
<reserved>
<reserved>
<IOWR#>
<IORD#>
Group CVCC0
<ZWS#>
<BHE#>
<LA23>
205 56 AGND
<RDY>
<AEN>
<ALE>
<IRQ>
<D15>
<D14>
<D13>
<D12>
<D11>
<D10>
<D9>
<D8>
<A0>
<D7>
<D6>
<D5>
<D4>
<D3>
<D2>
<D1>
<D0>
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
Bus
BGND
BGND
BGND
BGND
BVCC
"IRDY#" RDYRTN#
LDEV#
LCLK
BVCC
LRDY#
ADS#
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
D31
D30
D29
D28
D27
D26
D25
D24
BE3#
W/R#
D23
D22
D21
D20
D19
D18
D17
D16
BE2#
A23
A24
A25
M/IO#
BE1#
D15
D14
D13
D12
D11
D10
BE0#
Interface
Group
"DEVSEL#"
"IDSEL"
"TRDY#"
"FRAME#"
"STOP#"
"PAR"
"AD9"
"AD8"
"AD7"
"AD6"
"AD5"
"AD4"
"AD3"
"AD2"
"AD1"
"AD0"
"PERR#"
"SERR#"
"AD31"
"AD30"
"AD29"
"AD28"
"AD27"
"AD26"
"AD25"
"AD24"
"AD23"
"AD22"
"AD21"
"AD20"
"AD19"
"AD18"
"AD17"
"AD16"
"AD15"
"AD14"
"AD13"
"AD12"
"AD11"
"AD10"
"reserved"
"C/BE3#"
"C/BE2#"
"C/BE1#"
"C/BE0#"
Pin Name Pin # Dir Drive Pin Name Pin # Dir Drive Pin Name Pin # Dir Drive
A2 179 In — D0 "AD0" 51 I/O 8mA MBD4 131 I/O 2mA
A3 180 In — D1 "AD1" 50 I/O 8mA MBD5 132 I/O 2mA
A4 182 In — D2 "AD2" 49 I/O 8mA MBD6 133 I/O 2mA
A5 183 In — D3 "AD3" 48 I/O 8mA MBD7 134 I/O 2mA
A6 185 In — D4 "AD4" 47 I/O 8mA MBD8 135 I/O 2mA
A7 186 In — D5 "AD5" 46 I/O 8mA MBD9 136 I/O 2mA
A8 187 In — D6 "AD6" 45 I/O 8mA MBD10 137 I/O 2mA
A9 188 In — D7 "AD7" 44 I/O 8mA MBD11 138 I/O 2mA
A10 189 In — D8 "AD8" 41 I/O 8mA MBD12 140 I/O 2mA
A11 190 In — D9 "AD9" 40 I/O 8mA MBD13 141 I/O 2mA
A12 191 In — D10 "AD10" 38 I/O 8mA MBD14 143 I/O 2mA
A13 192 In — D11 "AD11" 37 I/O 8mA MBD15 144 I/O 2mA
A14 193 In — D12 "AD12" 36 I/O 8mA MCD0 (VB2) 106 I/O 2mA
A15 194 In — D13 "AD13" 35 I/O 8mA MCD1 (VB3) 107 I/O 2mA
A16 195 In — D14 "AD14" 34 I/O 8mA MCD2 (VB4) 109 I/O 2mA
A17 (LA17) 196 In — D15 "AD15" 33 I/O 8mA MCD3 (VB5) 110 I/O 2mA
A18 (LA18) 197 In — D16 (ZWS#) "AD16" 20 I/O 8mA MCD4 (VB6) 111 I/O 2mA
A19 (LA19) 198 In — D17 (MCS16#) "AD17" 19 I/O 8mA MCD5 (VB7) 112 I/O 2mA
A20 (LA20) 199 In — D18 (IOCS16#) "AD18" 18 I/O 8mA MCD6 (VG2) 113 I/O 2mA
A21 (LA21) 200 In — D19 "AD19" 17 I/O 8mA MCD7 (VG3) 114 I/O 2mA
A22 (LA22) "CLK" 201 In — D20 "AD20" 16 I/O 8mA MCD8 (VG4) 115 I/O 2mA
A23 (LA23) 28 In — D21 "AD21" 15 I/O 8mA MCD9 (VG5) 116 I/O 2mA
A24 (ROMCS#) "PERR#" 29 I/O 8mA D22 "AD22" 14 I/O 8mA MCD10 (VG6) 117 I/O 2mA
A25 (IRQ) "SERR#" 30 I/O 8mA D23 "AD23" 13 I/O 8mA MCD11 (VG7) 118 I/O 2mA
AA0 (CFG0) (LB#) 145 I/O 4mA D24 "AD24" 8 I/O 8mA MCD12 (VR2) 119 I/O 2mA
AA1 (CFG1) (ISA#) 146 I/O 4mA D25 "AD25" 7 I/O 8mA MCD13 (VR3) 120 I/O 2mA
AA2 (CFG2) (2X#) 147 I/O 4mA D26 "AD26" 6 I/O 8mA MCD14 (VR4) 121 I/O 2mA
AA3 (CFG3) 148 I/O 4mA D27 "AD27" 5 I/O 8mA MCD15 (VR5) 122 I/O 2mA
AA4 (CFG4) 149 I/O 4mA D28 "AD28" 4 I/O 8mA MGNDA (Memory A) 161 — —
AA5 (CFG5) (OS#) 150 I/O 4mA D29 "AD29" 3 I/O 8mA MGNDB (Memory B) 139 — —
AA6 (CFG6) (AD#) 151 I/O 4mA D30 "AD30" 2 I/O 8mA MGNDC (Memory C) 105 — —
AA7 (CFG7) (TS#) 152 I/O 4mA D31 "AD31" 1 I/O 8mA M/IO# (AEN) "PAR" 31 I/O† 4mA
AA8 (CFG8) (LV#) 153 I/O 4mA DGND (Display) 63 — — MVCCA (Memory A) 158 — —
AA9 (32KHZ) (VR0) 154 I/O 4mA DGND (Display) 89 — — MVCCB (Memory B) 142 — —
ACTI (A26) (VB0) 53 I/O 8mA DVCC (Display) 66 — — MVCCC (Memory C) 108 — —
ADS# (ALE) "FRAME#" 22 In — ENABKL(A27) (VB1) 54 I/O 8mA OEAB# 155 Out 4mA
AGND 56 — — ENAVDD 62 Out 8mA OEC# (VR1) 100 I/O 4mA
AVCC 59 — — ENAVEE(ENABKL) 61 Out 8mA P0 71 Out 8mA
BE0# (A0) "C/BE0#" 43 In — FLM 67 Out 8mA P1 72 Out 8mA
BE1# (BHE#) "C/BE1#" 32 In — GREEN 58 Out — P2 73 Out 8mA
BE2# (A1) "C/BE2#" 21 In — HSYNC 65 Out 12mA P3 74 Out 8mA
BE3# (RFSH#) "C/BE3#" 10 In — IGND (Internal Logic) 77 — — P4 75 Out 8mA
BLUE 57 Out — IGND (Internal Logic) 184 — — P5 76 Out 8mA
BGND (Bus) 12 — — IVCC (Internal Logic) 80 — — P6 78 Out 8mA
BGND (Bus) 26 — — IVCC (Internal Logic) 181 — — P7 79 Out 8mA
BGND (Bus) 39 — — LCLK (IORD#) "STOP#" 27 In — P8 81 Out 8mA
BGND (Bus) 52 — — LDEV# (IOWR#) "DEVSEL#" 25 I/O 12mA P9 82 Out 8mA
BVCC (Bus) 9 — — LRDY# (RDY) "TRDY#" 24 Out 12mA P10 83 Out 8mA
BVCC (Bus) 42 — — LP (BLANK#) (DE) 68 Out 8mA P11 84 Out 8mA
CA0 (P16) 90 Out 4mA M (BLANK#) (DE) 69 Out 8mA P12 85 Out 8mA
CA1 (P17) 91 Out 4mA MAD0 (TSENA#) 162 I/O 2mA P13 86 Out 8mA
CA2 (P18) 92 Out 4mA MAD1 (ICTENA#) 163 I/O 2mA P14 87 Out 8mA
CA3 (P19) 93 Out 4mA MAD2 164 I/O 2mA P15 88 Out 8mA
CA4 (P20) 94 Out 4mA MAD3 165 I/O 2mA RASA# 156 Out 4mA
CA5 (P21) 95 Out 4mA MAD4 166 I/O 2mA RASB# 123 Out 4mA
CA6 (P22) 96 Out 4mA MAD5 167 I/O 2mA RASC# (KEY) 101 I/O 4mA
CA7 (P23) 97 Out 4mA MAD6 168 I/O 2mA RRTN#<MEMW#>"IRDY#" 23 In —
CA8 (VG1) 98 I/O 4mA MAD7 169 I/O 2mA RED 60 Out —
CA9 (VG0) 99 I/O 4mA MAD8 170 I/O 2mA RESET# (540 Rev 0=RESET) 207 In —
CASAH# (CASA#) 159 Out 4mA MAD9 171 I/O 2mA RSET 55 In —
CASAL# (WEAL#) 160 Out 4mA MAD10 172 I/O 2mA SHFCLK 70 Out 8mA
CASBH# (CASB#) 125 Out 4mA MAD11 173 I/O 2mA STNDBY# 178 In —
CASBL# (WEBL#) 126 Out 4mA MAD12 174 I/O 2mA VSYNC 64 Out 12mA
CASCH# (CASC#) (VR7) 103 I/O 4mA MAD13 175 I/O 2mA WEA# (WEAH#) 157 Out 4mA
CASCL# (WECL#) (VR6) 104 I/O 4mA MAD14 176 I/O 2mA WEB# (WEBH#) 124 Out 4mA
CGND0 (Clock) 202 — — MAD15 177 I/O 2mA WEC# (WECH#)(PCLK) 102 Out 4mA
CGND1 (Clock) 208 — — MBD0 127 I/O 2mA W/R# (MEMR#) "IDSEL" 11 In —
CVCC0 (Clock) 205 — — MBD1 128 I/O 2mA XTALI 203 In —
CVCC1 (Clock) 206 — — MBD2 129 I/O 2mA XTALO 204 Out —
Note: Drive = 5V low drive and 3V high drive.MBD3 130 I/O 2mA † I/O in 65545 only for PCI, In for 65540
Note: I OL and IOH drive listed above indicates 5V low drive and 3.3V high drive (see also XR6C)
Note: I OL/IOH are specified in mA; Load is specified in pF
Revision 1.2 26 65540 / 545
®
Pin Lists
Note: I OL and IOH drive listed above indicates 5V low drive and 3.3V high drive (see also XR6C)
Note: I OL/IOH are specified in mA; Load is specified in pF
Revision 1.2 27 65540 / 545
®
Pin Lists
Note: I OL and IOH drive listed above indicates 5V low drive and 3.3V high drive (see also XR6C)
Note: I OL/IOH are specified in mA; Load is specified in pF
Revision 1.2 28 65540 / 545
®
Pin Lists
Note: I OL and IOH drive listed above indicates 5V low drive and 3.3V high drive (see also XR6C)
Note: I OL/IOH are specified in mA; Load is specified in pF
Revision 1.2 29 65540 / 545
®
Note: Pin names in parentheses (...) indicate alternate functions (in this case, ISA bus control)
43 BE0# (A0) (BLE#) In Low Byte Enable 0. Indicates data transfer on D7:D0 for the
current cycle. A0 address input in ISA interfaces. In
16-bit local bus interfaces indicates the low order byte at
the current (16-bit) word address is being accessed.
32 BE1# (BHE#) In Low Byte Enable 1. Indicates data transfer on D15:D8 for
the current cycle. In ISA, indicates high order byte at
the current (16-bit) word address is being accessed.
21 BE2# (A1) In Low Byte Enable 2. Indicates data transfer on D23:D16 for
the current cycle. A1 address in ISA & 16-bit local bus.
10 BE3# (RFSH#) In Low Byte Enable 3. BE3# indicates that data is to be trans-
ferred over the data bus on D31:24 during the current
access. Refresh input in ISA interfaces. Disconnected
in 16-bit local bus interfaces.
179 A2 In High System Address Bus. In ISA, VL-Bus, and direct CPU
180 A3 In High interfaces, the address pins are connected directly to the
182 A4 In High bus. In 386 SX local bus interfaces BE2# is address
183 A5 In High input A1, BE0# is BLE#, and BE1# is BHE#. In ISA
185 A6 In High bus interfaces BE2# is address A1, BE0# is address
186 A7 In High A0, BE1# is BHE#, A17-23 are LA17-23, and A24 is
187 A8 In High ROMCS# (indicates valid ROM access to memory
188 A9 In High address range 0C0000-0C7FFFh).
189 A10 In High
190 A11 In High Address inputs through A23 are always available; A24-
191 A12 In High 27 may be optionally used for other functions:
192 A13 In High In internal clock synthesizer test mode (TS#=0 at
193 A14 In High Reset), A24 becomes VCLK out and A25 becomes
194 A15 In High MCLK out.
195 A16 In High
196 A17 (LA17) In High A25 may alternately be used as a programmable polarity
197 A18 (LA18) In High IRQ output. Set when interrupt on VSYNC is enabled.
198 A19 (LA19) In High Cleared by reprogramming register 11h in the CRT
199 A20 (LA20) In High Controller. See also XR14 bit–7.
200 A21 (LA21) In High For 24-bit RGB Video input, A26-27 may be used as
201 A22 (LA22) In High the two lsbs of the Blue Video. Otherwise, A26 and
28 A23 (LA23) In High A27 may be used as General Purpose I/O pins or as
29 A24 (ROMCS#) (VOUT) I/O High Activity Indicator and Enable Backlight respectively (see
30 A25 (IRQ) (MOUT) I/O High panel interface pin descriptions and XR5C and XR72
for more details).
53 A26 (ACTI) (VB0) (GP0) I/O High
54 A27 (ENBKL) (VB1) (GP1) I/O High
201 CLK In High Bus Clock. This input provides the timing reference for
all bus transactions. All bus inputs except RESET# and
INTA# are sampled on the rising edge of CLK. CLK
may be any frequency from DC to 33MHz.
31 PAR I/O High Parity. This signal is used to maintain even parity
across AD0-31 and C/BE0-3#. PAR is stable and valid
one clock after the address phase. For data phases PAR
is stable and valid one clock after either IRDY# is
asserted on a write transaction or TRDY# is asserted on
a read transaction. Once PAR is valid, it remains valid
until one clock after the completion of the current data
phase (i.e., PAR has the same timing as AD0-31 but
delayed by one clock). The bus master drives PAR for
address and write data phases; the target drives PAR
for read data phases.
24 TRDY# S/TS Low Target Ready. Indicates the target's ability to complete
the current data phase of the transaction. During a read,
TRDY# indicates that valid data is present on AD0-31;
during a write it indicates the target is prepared to accept
data. A data phase is completed on any clock when
both IRDY# and TRDY# are sampled asserted (wait
cycles are inserted until this occurs).
27 STOP# S/TS Low Stop. Indicates the current target is requesting the
master to stop the current transaction.
25 DEVSEL# S/TS Low Device Select. Indicates the current target has decoded
its address as the target of the current access.
Note: S/TS stands for "Sustained Tri-state". These signals are driven by only one device at a time, are driven high for one clock before
being released, and are not driven for at least one cycle after being released by the previous device. A pull-up provided by the
bus controller is used to maintain an inactive level between transactions.
30 SERR# (MCLKOUT) OD Low System Error. Used to report system errors where the
result will be catastrophic (address parity error, data
parity errors for Special Cycle commands, etc.). This
output is actively driven for a single PCI clock cycle
synchronous to CLK and meets the same setup and hold
time requirements as all other bused signals. SERR# is
not driven high by the 65545 after being asserted; it is
pulled high only by a weak pull-up provided by the
system, so SERR# on the PCI bus may take two or
three clock periods to fully return to an inactive state.
28 Reserved n/a n/a These pins are reserved for future use and should not be
179-180 Reserved n/a n/a connected. All the pins in this group are tri-stated at all
182-183 Reserved n/a n/a times in PCI interface mode.
185-200 Reserved n/a n/a
Note: S/TS stands for "Sustained Tri-state". These signals are driven by only one device at a time, are driven high for one clock before
being released, and are not driven for at least one cycle after being released by the previous device. A central pull-up provided by
the bus controller is used to maintain an inactive level between transactions.
Notes:
1 These pins are inputs when using the video input port. These pins are driven as outputs when using a frame buffer DRAM.
Bus/ClockOutputSignalStatusDuringStandbyMode
Signal Status
6554x Pin # Signal Name VL-Bus ISA Bus
204 XTALO Driven (see note 1) Driven (see note 1)
29 ROMCS# / A24 N/A Driven High
30 IRQ / A25 N/A Tri-Stated
53 ACTI / A26 (see previous page) N/A
54 ENABKL / A27 (see previous page) N/A
24 LRDY# / RDY Tri-Stated Tri-Stated
25 LDEV# Driven High N/A
51-44, 41-40,38-33 D0-15 Tri-Stated Tri-Stated
20 D16 / ZWS# Tri-Stated Tri-Stated
19 D17 / MCS16# Tri-Stated Tri-Stated
18 D18 / IOCS16# Tri-Stated Tri-Stated
17-13, 8-1 D19-31 Tri-Stated Tri-Stated
Notes:
1 The XTALO pin will always be driven except when XR33 bit-2 is set to '1'.
I/O Map
n3D0† 32-Bit DR Register Extensions (65545 only) 32-Bit DR Register Extensions (65545 only)
n3D1† 32-Bit DR Register Extensions (65545 only) 32-Bit DR Register Extensions (65545 only)
n3D2† 32-Bit DR Register Extensions (65545 only) 32-Bit DR Register Extensions (65545 only)
n3D3† 32-Bit DR Register Extensions (65545 only) 32-Bit DR Register Extensions (65545 only)
03D4 CRTC Index CRTC Index Color
03D5 CRTC Data CRTC Data Mode
03D6 CHIPS™ Extensions Index CHIPS™ Extensions Index
03D7 CHIPS™ Extensions Data CHIPS™ Extensions Data
03D8 CGA Mode Register (MODE) CGA Mode Register (MODE)
03D9 CGA Color Register (COLOR) CGA Color Register (COLOR)
03DA Status Register (STAT) Feature Control Register (FCR)
03DB -- Clear Light Pen FF (ignored)
03DC -- Set Light Pen FF (ignored)
Reset Codes: x = Not changed by RESET (indeterminate on power-up) – = Not implemented (always reads 0)
d = Set from the corresponding data bus pin on falling edge of RESET • = Reserved (read/write, reset to 0)
h = Read-only Hercules Configuration Register Readback bits 0/1 = Reset to 0/1 by trailing edge of reset
r = Chip revision # (starting from 0000)
Note: Check marks in the table above indicate the register listed to the left is implemented in the chip named at the top of the column
Note: 82C450 & 64xxx VGAs drive CRTs only, 65xxx VGAs drive both CRT and Flat Panel displays (Plasma, EL, and LCD)
Reset Codes: x = Not changed by reset (indeterminate on power-up) – = Not implemented (always reads 0)
d = Set from the corresponding data bus pin on trailing edge of reset • = Reserved (read/write, reset to 0)
h = Read-only Hercules Configuration Register Readback bits 0/1 = Reset to 0/1 by trailing edge of reset
r = Chip revision # (starting from 0000)
Note: Check marks in the table above indicate the register listed to the left is implemented in the chip named at the top of the column
Note: 82C450 & 64xxx VGAs drive CRTs only, 65xxx VGAs drive both CRT and Flat Panel displays (Plasma, EL, and LCD)
Reset Codes: x = Not changed by reset (indeterminate on power-up) – = Not implemented (always reads 0)
d = Set from configuration pin on trailing edge of reset • = Not implemented (read/write, reset to 0)
h = Read-only Hercules Configuration Register Readback bits 0/1 = Reset to 0/1 by trailing edge of reset
r = Chip revision # (starting from 0000)
Note: R = Read, W = Write, C = Clear (1s written to specific bits will clear those bits)
Registers
ATTRIBUTE CONTROLLER AND 4. Clock Registers control the operation of the on-
COLOR PALETTE REGISTERS chip clock synthesizer
The Attribute Controller Index Register contains a 5- 5. MultimediaRegisters control the operation of the
bit index to the Attribute Controller Registers which video input port color key and mask
consist of a 16-entry color lookup table with 6 bits
per entry plus five additional control registers. A 6. BitBLT Registers control the operation of the Bit-
sixth index register bit is used to enable video. The Block-Transfer (BitBLT) engine (65545 only) for
Attribute Controller Registers handle color lookup graphics acceleration.
table mapping, text/graphics mode control, overscan 7. Backwards Compatibility Registers control
color selection, and color plane enabling. One Hercules, MDA, and CGA emulation modes.
register allows the display to be shifted left up to 8 Write Protect functions are provided to increase
pixels. Another register provides default values to flexibility in providing backwards compatibility.
extend the 6-bit lookup table values to 8 bits for
modes providing less than 8 bits per pixel. 8. Alternate Horizontal and Vertical Registers handle
all horizontal and vertical timing, including sync,
The color palette registers control the interface to the blank and offset. These are used for backwards
on-chip color palette. This on-chip palette fully compatibility.
implements the functions of the VGA-standard
palette (Inmos IMSG176, Brooktree BT471/476, or 9. Flat Panel Registers handle all internal logic
equivalent functionality). The color palette primarily specific to driving of flat panel displays.
consists of a 256-entry color lookup table (also
sometimes referred to as a CLUT), a mask register, 32-BIT REGISTERS
index registers used to access the CLUT data, and The 65545 also implements a group of sixteen 32-bit
triple 6 / 8-bit DACs used to drive analog RGB doubleword extension registers (called "DR's").
outputs to a CRT monitor. Each entry in the CLUT These registers are used for control of the high
is 18 bits in length (6 bits each for red, green, and performance BitBLT and Hardware Cursor
blue) so each CLUT data entry must be accessed subsystems and may be mapped anywhere in the I/O
sequentially as 3 separate bytes and each DAC output and/or memory address space.
operates with 6 bits of resolution. In 24-bpp "True-
Color" modes, the CLUT is bypassed and each DAC For ISA and VL-Bus configurations, the 32-bit
operates with 8-bit resolution. registers take up 32 doubleword locations in the 16-
bit I/O address space (only the first 13 registers are
EXTENSION REGISTERS defined; the remaining locations are reserved). An
8-bit extension register is provided to program the
The 65540 / 545 defines a set of extension registers base address. The address is of the form "bnnn
(called "XR's") which are addressed with the 7-bit nn1b bbbb bbxx" (where b specifies the value
Extension Register Index. The I/O port address is programmed into the base register and 'n' selects one
fixed at 3D6-3D7h and read/write access is always of the 32 register locations). The base register is
enabled to improve software performance. typically programmed with '74h' to map the 32-bit
The extension registers handle a variety of inter- registers to I/O addresses x3D0-x3D3h (unused ports
facing, compatibility, and display functions as in the standard VGA I/O address range).
discussed below. They are grouped into the For PCI bus configurations, the 32-bit registers are
following logical groups for discussion purposes: mapped to both the memory and I/O address spaces.
1. Miscellaneous Registers include the chip The PCI configuration registers contain an I/O base
version/revision, configuration, and various register which defines a 1KB space (256
interface control and diagnostic functions. doublewords) which allows the 32-bit register space
to start on any 1KB boundary in the I/O address
2. Mapping Registers include paging controls and space. In addition, the PCI memory base register
base registers for relocation of I/O and memory specifies an 8MB memory address space; display
blocks. memory is mapped into the lower 2 megabytes and
3. Software Flags Registers provide locations for the 32-bit registers are mapped into the upper 6
BIOS and driver software to store various megabytes.
temporary variable values on-chip
Note: The state of most of the standard VGA registers is undefined at reset. The state at Reset of all registers
specific to the 65540 / 545 (extension registers and 32-bit registers) is summarized in the register summary tables.
Revision 1.2 52 65540 / 545
®
Global Control (Setup) Registers
Register I/O
Mnemonic Register Name Index Access I/O Address Page
SETUP Setup Control – W 46E8h (ISA Bus Only) 53
VSE Video Subsystem Enable – W 3C3h (Local Bus Only) 53
ENAB Global Enable – RW 102h (ISA Bus / Setup Mode Only) 54
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
VGA Sleep
Reserved(0)
VGA Enable
VGA Setup Reserved(0)
Reserved(0)
This register is effective in ISA bus configuration This register is accessible in Local Bus
only and is not used in local bus or PCI bus configurations only. It is ignored in ISA bus
configurations. In ISA bus configuration, this regis- configurations (registers 102h and 46E8h are used in
ter is ignored if XR70 bit-7 is set to 1 (the default is ISA bus configurations to control VGA enable and
0). disable). Access to this register may be disabled by
setting XR70 bit-7 to 1 (the default is 0).
In local bus configurations, the VGA may be enabled
and disabled using register 3C3. In PCI bus This register is cleared by RESET to disable the
configurations (65545), the VGA may be enabled VGA. In this state, only register 3C3 is accessible
and disabled via the PCI configuration registers. (the other registers in the VGA I/O address range
Setup mode is available only in ISA bus will be inaccessible and read or write accesses to
configuration via this register. VGA I/O addresses other than 3C3 will be ignored)
until bit-0 of this register is set to 1.
This register is cleared by RESET.
In PCI bus configurations, VGA enable and disable
2-0 Reserved (0) are controlled via the PCI configuration registers and
3 VGA Enable this register is ignored.
0 VGA is disabled 0 VGA Sleep
1 VGA is enabled
0 VGA is disabled
4 Setup Mode 1 VGA is enabled
0 VGA is in Normal Mode 7-1 Reserved (0)
1 VGA is in Setup Mode
7-5 Reserved (0)
D7 D6 D5 D4 D3 D2 D1 D0
VGA Sleep
Reserved(0)
Register
Mnemonic Register Name Offset Access Reset State Page
VENID Vendor ID 00h R 0001 0000 0010 1100 55
DEVID DeviceID 02h R 0000 0000 1101 1000 55
DEVCTL DeviceControl 04h R/W 0000 0010 1000 0000 56
DEVSTAT Device Status 06h R/C 0000 0000 0000 0000 56
REV Revision 08h R 0000 0000 57
PRG Programming Interface 09h R 0000 0000 57
SUB Sub Class Code 0Ah R 0000 0000 57
BASE Base Class Code 0Bh R 0000 0011 57
MBASE Memory Base Address 10h R/W xxxx xxxx xxx0 0000 0000 0000 0000 0000 58
IOBASE I/O Base Address 14h R/W xxxx xxxx xxxx xxxx xxxx xx00 0000 0001 58
Note: 'Access' codes are R=Read, W=Write, and C=Clear (writing a 1 to a bit clears that bit)
15 0 15 0
Vendor ID Device ID
15 0 15 0
I/O Access Ena
Mem Access Ena
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Programming
Interface Base Class Code
Code
31 2322 4 32 1 0 31 10 9 2 1 0
0 (Memory Space) 1 (I/O Space)
0(Reserved)
00 (32-bit Address)
0 (No Prefetching)
0 (Address Mask)
(1KB Range)
0 (Address Mask)
(8MB Range)
Memory
BaseAddress
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
DE/Hsync Output
Reserved(0) Reserved(0)
VerticalRetrace/Video
RGB Comparator / Sense
VideoFeedback
Reserved(0) Reserved(0)
CRT Interrupt Pending VSync Output
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(0)
This register is effective only in CGA modes. It is This register is effective only in Hercules mode. It is
accessible if CGA emulation mode is selected or the accessible in Hercules emulation mode or if the
extension registers are enabled. This register may extension registers are enabled. It may be read back
also be read or written as an Extension Register through XR14 bits 2 & 3. It is cleared by Reset.
(XR7E). It is cleared by Reset.
0 Enable Graphics Mode
3-0 Color
0 Lock the chip in Hercules text mode.
320x200 4-color: Background Color (color In this mode, the CPU has access only
when the pixel value is 0) to memory address range B0000h-
The foreground colors (colors when the B7FFFh (in text mode the same area
pixel value is 1-3) are determined by bit-5 of of display memory wraps around 8
this register. times within this range such that
B0000 accesses the same display
640x200 2-color: memory location as B1000, B2000,
Foreground Color (color when the pixel etc.).
value is 1)
1 Permit entry to Hercules Graphics
The background color (color when the pixel mode
value is 0) is black.
1 Enable Memory Page 1
4 Intensity Enable
0 Prevent setting of the Page Select bit
Text Mode: Enables intensified (bit 7 of the Hercules Mode Control
background colors Register). This function also restricts
320x200 4-color: Enables intensified memory usage to addresses B0000h-
colors 0-3 B7FFFh.
640x200 2-color: Don't care 1 The Page Select bit can be set and the
5 Color Set Select upper part of display memory
(addresses B8000h - BFFFFh) is
This bit selects one of two available CGA available.
color palettes to be used in 320x200
graphics mode (it is ignored in all other 7-2 Reserved (0)
modes) according to the following table:
Pixel Color Set Color Set
Value 0 1
0 0 Color per bits 0-3 Color per bits 0-3
0 1 Green Cyan
1 0 Red Magenta
1 1 Brown White
7-6 Reserved(0)
Sequencer Registers
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Async Reset
SequencerIndex Sync Reset
Reserved(0) Reserved(0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
CHARACTER FONT SELECT The following table shows the display memory plane
REGISTER (SR03) selected by the Character Generator Select A and B
Read/Write at I/O Address 3C5h bits.
Index 03h
Group 1 Protection Code Character Generator Table Location
0 First 8K of Plane 2
1 Second 8K of Plane 2
D7 D6 D5 D4 D3 D2 D1 D0 2 Third 8K of Plane 2
3 Fourth 8K of Plane 2
Font Select B bit-1 4 Fifth 8K of Plane 2
Font Select B bit-2 5 Sixth 8K of Plane 2
Font Select A bit-1 6 Seventh 8K of Plane 2
Font Select A bit-2
7 Eighth 8K of Plane 2
Font Select B bit-0 where 'code' is:
Font Select A bit-0 Character Generator Select A (bits 3, 2, 5) when
bit-3 of the attribute byte is one.
Reserved(0) Character Generator Select B (bits 1, 0, 4) when
bit-3 of the attribute byte is zero.
In text modes, bit-3 of the video data's attribute byte
normally controls the foreground intensity. This bit
may be redefined to control switching between char-
acter sets. This latter function is enabled whenever
there is a difference in the values of the Character
Font Select A and the Character Font Select B bits. If
the two values are the same, the character select
function is disabled and attribute bit-3 controls the
foreground intensity.
SR04 bit-1 must be 1 for the character font select
function to be active. Otherwise, only character
fonts 0 and 4 are available.
1-0 High order bits of Character Generator
Select B
3-2 High order bits of Character Generator
Select A
4 Low order bit of Character Generator
Select B
5 Low order bit of Character Generator
SelectA
7-6 Reserved (0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(0)
ExtendedMemory
Odd/EvenMode
Quad Four Mode Don't Care
Reserved(0)
0 Reserved (0) Writing to SR07 with any data will cause the
horizontal character counter to be held reset
1 Extended Memory (character counter output = 0) until a write to any
0 Restrict CPU access to 4 / 16 / 32 other sequencer register with any data value. The
KBytes write to any index in the range 0-6 clears the latch
1 Allow complete access to memory that is holding the reset condition on the character
counter.
This bit should normally be 1.
The vertical line counter is clocked by a signal
2 Odd/Even Mode derived from horizontal display enable (which does
0 CPU accesses to Odd/Even addresses not occur if the horizontal counter is held reset).
Therefore, if the write to SR07 occurs during vertical
are directed to corresponding odd/even retrace, the horizontal and vertical counters will both
planes be set to zero. A write to any other sequencer
1 All planes are accessed simultaneously register may then be used to start both counters with
(IRGB color) reasonable synchronization to an external event via
Bit-3 of this register must be 0 for this bit to software control.
be effective. This bit affects only CPU write This is a standard VGA register which was not
accesses to display memory. documented by IBM.
3 Quad Four Mode
0 CPU addresses are mapped to display
memory as defined by bit-2 of this
register
1 CPU addresses are mapped to display
memory modulo 4. The two low order
CPU address bits select the display
memory plane.
This bit affects both CPU reads and writes
to display memory.
7-4 Reserved (0)
Note 1: When MDA or Hercules emulation is enabled, the CRTC I/O address should be set to 3B0h-3B7h by
setting the I/O address select bit in the Miscellaneous Output register (3C2h/3CCh bit-0) to zero. When
CGA emulation is enabled, the CRTC I/O address should be set to 3D0h-3D7h by setting Misc Output
Register bit-0 to 1.
Note 2: In the EGA, all CRTC registers except the cursor (CR0C-CR0F) and light pen (CR10 and CR11)
registers are write-only (i.e., no read back). In both the EGA and VGA, the light pen registers are at
index locations conflicting with the vertical sync registers. This would normally prevent reads and writes
from occurring at the same index. Since the light pen registers are not normally useful, the VGA
provides software control (CR03 bit-7) of whether the vertical sync or light pen registers are readable at
indices 10-11.
D7 D6 D5 D4 D3 D2 D1 D0
CRTC Index
Horizontal Display
Reserved(0)
D7 D6 D5 D4 D3 D2 D1 D0
Horizontal Total
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
H Blank End
H Blank Start
DE Skew Control
Light Pen Register Enable
This register is used for all VGA and EGA modes. This register is used for all VGA and EGA modes.
It is also used for 640 column CGA modes and It is also used for 640 column CGA modes and
MDA/Hercules text mode. In all 320 column CGA MDA/Hercules text mode. In all 320 column CGA
modes and Hercules graphics mode, the alternate modes and Hercules graphics mode, the alternate
register is used. register is used.
7-0 Horizontal Blank Start 4-0 Horizontal Blank End
These bits specify the beginning of These are the lower 5 bits of the character
horizontal blank in terms of character clocks clock count used to define the end of
from the beginning of the display scan. The horizontal blank. The interval between the
period between Horizontal Display Enable end of horizontal blank and the beginning of
End and Horizontal Blank Start is the right the display (a count of 0) is the left side
side border on screen. border on the screen. If the horizontal blank
width desired is W clocks, the 5-bit value
programmed in this register = [contents of
CR02 + W] and 1Fh. The most significant
bit is programmed in CR05 bit-7. This bit =
[( CR02 + W) and 20h]/20h.
6-5 Display Enable Skew Control
Defines the number of character clocks that
the Display Enable signal is delayed to
compensate for internal pipeline delays.
7 Light Pen Register Enable
This bit must be 1 for normal operation;
when this bit is 0, CRTC registers CR10
and CR11 function as lightpen readback
registers.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register is used for all VGA and EGA modes. This register is used for all VGA and EGA modes.
It is also used for 640 column CGA modes and It is also used for 640 column CGA modes and
MDA/Hercules text mode. In all 320 column CGA MDA/Hercules text mode. In all 320 column CGA
modes and Hercules graphics mode, the alternate modes and Hercules graphics mode, the alternate
register is used. register is used.
7-0 Horizontal Sync Start 4-0 Horizontal Sync End
These bits specify the beginning of HSync Lower 5 bits of the character clock count
in terms of Character clocks from the which specifies the end of Horizontal Sync.
beginning of the display scan. These bits If the horizontal sync width desired is N
also determine display centering on the clocks, then these bits = (N + contents of
screen. CR04) and 1Fh.
6-5 Horizontal Sync Delay
These bits specify the number of character
clocks that the Horizontal Sync is delayed to
compensate for internal pipeline delays.
7 Horizontal Blank End Bit 5
This bit is the sixth bit of the Horizontal
Blank End Register (CR03).
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
V Total Bit 8
V DE End Bit 8
V Sync Start Bit 8
V Blank Start Bit 8
V Total (Scan Lines) Line Compare Bit 8
(Lower 8 Bits) V Total Bit 9
V DE End Bit 9
V Sync Start Bit 9
This register is used in all modes. This register is used in all modes.
7-0 Vertical Total 0 Vertical Total Bit 8
These are the 8 low order bits of a 10-bit 1 Vertical Display Enable End Bit 8
register. The 9th and 10th bits are located in
the CRT Controller Overflow Register. The 2 Vertical Sync Start Bit 8
Vertical Total value specifies the total 3 Vertical Blank Start Bit 8
number of scan lines (horizontal retrace
periods) per frame. 4 Line Compare Bit 8
5 Vertical Total Bit 9
Programmed Count = Actual Count – 2
6 Vertical Display Enable End Bit 9
7 Vertical Sync Start Bit 9
PRESET ROW SCAN REGISTER (CR08) MAXIMUM SCAN LINE REGISTER (CR09)
Read/Write at I/O Address 3B5h/3D5h Read/Write at I/O Address 3B5h/3D5h
Index 08h Index 09h
Group 3 Protection Group 2 Protection on bits 0-4
Group 4 Protection on bits 5-7
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
4-0 Start Row Scan Count 4-0 Scan Lines Per Row
These bits specify the starting row scan These bits specify the number of scan lines
count after each vertical retrace. Every in a row:
horizontal retrace increments the character
row scan line counter. The horizontal row Programmed Value = Actual Value – 1
scan counter is cleared at maximum row 5 Vertical Blank Start Register Bit 9
scan count during active display. This
register is used for soft scrolling in text 6 Line Compare Register Bit 9
modes. 7 Double Scan
6-5 Byte Panning Control 0 Normal Operation
These bits specify the lower order bits for 1 Enable scan line doubling
the display start address. They are used for The vertical parameters in the CRT
horizontal panning in Odd/Even and Quad Controller (even for a split screen) are not
modes. affected, only the CRTC row scan counter
7 Reserved (0) (bits 0-4 of this register) and display
memory addressing screen refresh are
affected.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Cursor off
Cursor Delay
Reserved(0) Reserved(0)
4-0 Cursor Start Scan Line 4-0 Cursor End Scan Line
These bits specify the scan line of the These bits specify the scan line of a character
character row where the cursor display row where the cursor display ends (i.e., last
begins. scan line for the block cursor):
5 Cursor Off Programmed Value = Actual Value + 1
0 Text Cursor On 6-5 Cursor Delay
1 Text Cursor Off
These bits define the number of character
7-6 Reserved (0) clocks that the cursor is delayed to
compensate for internal pipeline delay.
7 Reserved (0)
Note: If the Cursor Start Line is greater than the
Cursor End Line, then no cursor is generated.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
7-0 Display Start Address High 7-0 Text Cursor Location High
This register contains the upper 8 bits of the This register contains the upper 8 bits of the
display start address. In CGA / MDA / memory address where the text cursor is
Hercules modes, this register wraps around active. In CGA / MDA / Hercules modes,
at the 16K, 32K, and 64KByte boundaries this register wraps around at 16K, 32K, and
respectively. 64KByte boundaries respectively.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
7-0 Display Start Address Low 7-0 Text Cursor Location Low
This register contains the lower 8 bits of the This register contains the lower 8 bits of the
display start address. The display start memory address where the text cursor is
address points to the memory address active. In CGA / MDA / Hercules modes,
corresponding to the top left corner of the this register wraps around at 16K, 32K, and
screen. 64KByte boundaries respectively.
V Sync End
This register is used in all modes. This register is This bit is logically ORed with XR15 bit-6
not readable in (Line Compare bit-9) MDA/Hercules to determine the protection for group 0
emulation or when CR03 bit-7=1. registers. This bit is cleared by RESET.
7-0 Vertical Sync Start 0 Enable writes to CR00-CR07
1 Disable writes to CR00-CR07
The eight low order bits of a 10-bit register.
The 9th and 10th bits are located in the CR07 bit-4 (Line Compare bit-9) is not
CRTC Overflow Register. They define the affected by this bit.
scan line position at which Vertical Sync
becomes active.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Underline Position
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register is used in all modes. This register is used in all modes.
7-0 Vertical Blank Start 7-0 Vertical Blank End
These are the 8 low order bits of a 10-bit These are the 8 low order bits of the scan
register. The 9th and 10th bits are located in line count which specifies the end of Vertical
the CRT Controller Overflow and Maximum Blank. If the vertical blank width desired is
Scan Line Registers respectively. Together Z lines these bits = (Vertical Blank Start + Z)
these 10 bits define the scan line position and 0FFh.
where vertical blank begins. The interval
between the end of the vertical display and
the beginning of vertical blank is the bottom
border on the screen.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register may be used to read the state of 6-0 Reserved (0)
Graphics Controller Memory Data Latch 'n', where
'n' is controlled by the Graphics Controller Read 7 Index/Data
Map Select Register (GR04 bits 0–1) and is in the This bit may be used to read back the state of
range 0–3. the attribute controller index/data latch. This
Writes to this register are not decoded and will be latch indicates whether the next write to the
ignored. attribute controller at 3C0h will be to the
This is a standard VGA register which was not register index pointer or to an indexed
documented by IBM. register.
0 Next write is to the index
1 Next write is to an indexed register
Writes to this register are not decoded and will be
ignored.
This is a standard VGA register which was not
documented by IBM.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Set/Reset Bit 0
Index to Graphics Set/Reset Bit 1
Controller Data Set/Reset Bit 2
Registers Set/Reset Bit 3
Reserved(0) Reserved(0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(0) Reserved(0)
3-0 Enable Set / Reset Planes 3-0 3-0 Color Compare Planes 3-0
This register works in conjunction with the This register is used to 'reduce' 32 bits of
Set/Reset register (GR00). The Graphics memory data to 8 bits for the CPU in 4-
Mode register must be programmed to Write plane graphics mode. These bits provide a
Mode 0 in order for this register to have any reference color value to compare to data read
effect. from display memory planes 0-3. The Color
Don't Care register (GR07) is used to affect
0 The corresponding plane is written the result. This register is active only if the
with the data from the CPU data bus Graphics Mode register (GR05) is set to
1 The corresponding plane is set to 0 or Read Mode 1. A match between the
1 as specified in the Set/Reset Register memory data and the Color Compare register
(GR02) (for the bits specified in the Color
7-4 Reserved (0) Don't Care register) causes a logical 1 to be
placed on the CPU data bus for the
corresponding data bit; a mis-match returns
a logical 0.
7-4 Reserved (0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(0)
4 Odd/Even Mode
0 All CPU addresses sequentially access all planes
1 Even CPU addresses access planes 0 and 2, while odd CPU addresses access planes 1 and 3. This
option is useful for compatibility with the IBM CGA memory organization.
6-5 Shift Register Mode
These two bits select the data shift pattern used when passing data from the four memory planes through
the four video shift registers. If data bits 0-7 in memory planes 0-3 are represented as M0D0-M0D7,
M1D0-M1D7, M2D0-M2D7, and M3D0-M3D7 respectively, then the data in the serial shift registers is
shifted out as follows:
Last Bit 1st Bit Out-
Shifted Shift Shifted put
65 Out Direction Out to:
00: M0D0 M0D1 M0D2 M0D3 M0D4 M0D5 M0D6 M0D7 Bit 0
M1D0 M1D1 M1D2 M1D3 M1D4 M1D5 M1D6 M1D7 Bit 1
M2D0 M2D1 M2D2 M2D3 M2D4 M2D5 M2D6 M2D7 Bit 2
M3D0 M3D1 M3D2 M3D3 M3D4 M3D5 M3D6 M3D7 Bit 3
01: M1D0 M1D2 M1D4 M1D6 M0D0 M0D2 M0D4 M0D6 Bit 0
M1D1 M1D3 M1D5 M1D7 M0D1 M0D3 M0D5 M0D7 Bit 1
M3D0 M3D2 M3D4 M3D6 M2D0 M2D2 M2D4 M2D6 Bit 2
M3D1 M3D3 M3D5 M3D7 M2D1 M2D3 M2D5 M2D7 Bit 3
1x: M3D0 M3D4 M2D0 M2D4 M1D0 M1D4 M0D0 M0D4 Bit 0
M3D1 M3D5 M2D1 M2D5 M1D1 M1D5 M0D1 M0D5 Bit 1
M3D2 M3D6 M2D2 M2D6 M1D2 M1D6 M0D2 M0D6 Bit 2
M3D3 M3D7 M2D3 M2D7 M1D3 M1D7 M0D3 M0D7 Bit 3
Note: If the Shift Register is not loaded every character clock (see SR01 bits 2&4) then the four 8-bit
shift registers are effectively 'chained' with the output of shift register 1 becoming the input to
shift register 0 and so on. This allows one to have a large monochrome (or 4 color) bit map and
display one portion thereof.
Note: If XR28 bit-4 is set (8-bit video path), GR05 bit-6 must be set to 0:
0x and XR28 bit-4=1: M3D0 M2D0 M1D0 M0D0 Bit 0
M3D1 M2D1 M1D1 M0D1 Bit 1
M3D2 M2D2 M1D2 M0D2 Bit 2
M3D3 M2D3 M1D3 M0D3 Bit 3
M3D4 M2D4 M1D4 M0D4 Bit 4
M3D5 M2D5 M1D5 M0D5 Bit 5
M3D6 M2D6 M1D6 M0D6 Bit 6
M3D7 M2D7 M1D7 M0D7 Bit 7
7 Reserved (0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(0) Reserved(0)
D7 D6 D5 D4 D3 D2 D1 D0
Bit Mask
0=Immune to change
1=Change permitted
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(0) Reserved(0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
The contents of this register are logically ANDed 1-0 Palette State 1-0
with the 8 bits of video data coming into the color Status bits indicate the I/O address of the last
palette. Zero bits in this register therefore cause the CPU write to the Color Palette:
corresponding address input to the color palette to be
zero. For example, if this register is programmed 00 The last write was to 3C8h
with 7, only color palette registers 0-7 would be (write mode)
accessible; video output bits 3-7 would be ignored 11 The last write was to 3C7h
and all color values would map into the lower 8 (read mode)
locations in the color palette.
7-2 Reserved (0)
To allow saving and restoring the state of the video
subsystem, this register is required since the color
palette index register is automatically incremented
differently depending on whether the index is written
at 3C7h or 3C8h.
COLOR PALETTE
READ-MODE INDEX REGISTER (DACRX)
Write only at I/O Address 3C7h
Group 6 Protection
COLOR PALETTE
INDEX REGISTER (DACX)
Read/Write at I/O Address 3C8h
Group 6 Protection
D7 D6 D5 D4 D3 D2 D1 D0
Extension Registers
XR00 Misc Chip Version (65540: v=0; 65545: v=1) 00h RO 3D7h 1101v r r r 97
XR01 Misc Configuration 01h RO 3D7h dddddddd 98
XR02 Misc CPU Interface Control 1 02h R/W 3D7h 00000000 99
XR03 Misc CPU Interface Control 2 03h R/W 3D7h - - - - - - 0x 100
XR04 Misc Memory Control 1 04h R/W 3D7h - - 0 - - 000 101
XR05 Misc Memory Control 2 05h R/W 3D7h 00000000 102
XR06 Misc Palette Control 06h R/W 3D7h 00000000 103
XR0E Misc Text Mode Control 0Eh R/W 3D7h 000000 - - 106
XR28 Misc VideoInterface 28h R/W 3D7h 0000 - - 0 - 117
XR29 Misc Half Line Compare 29h R/W 3D7h xxxxxxxx 117
XR70 Misc Setup / Disable Control 70h R/W 3D7h 0------- 150
XR72 Misc External Device I/O 72h R/W 3D7h 0000000 • 151
XR73 Misc DPMS Control 73h R/W 3D7h 00 - - 0000 152
XR7D Misc Diagnostic (65545 Only) 7Dh R/W 3D7h 0------- 152
XR7F Misc Diagnostic 7Fh R/W 3D7h 00xxxx00 153
XR07 Mapping I/O Base (65545 Only) 07h R/W 3D7h 11110100 104
XR08 Mapping Linear Addressing Base 08h R/W 3D7h xxxxxxxx 104
XR0B Mapping CPU Paging 0Bh R/W 3D7h - - 00 •000 105
XR0C Mapping Start Address Top 0Ch R/W 3D7h - - - - - - xx 105
XR10 Mapping Single/Low Map 10h R/W 3D7h xxxxxxxx 108
XR11 Mapping High Map 11h R/W 3D7h xxxxxxxx 108
XR0F Software Flags Software Flags 0 0Fh R/W 3D7h xxxxxxxx 107
XR2B Software Flags Software Flags 1 2Bh R/W 3D7h 00000000 118
XR44 Software Flags Software Flags 2 44h R/W 3D7h xxxxxxxx 127
XR45 Software Flags Software Flags 3 45h R/W 3D7h xxxxxxxx 127
XR30 Clock Clock Divide Control 30h R/W 3D7h • • • •xx xx 121
XR31 Clock Clock M-Divisor 31h R/W 3D7h •x xxxx xx 122
XR32 Clock Clock N-Divisor 32h R/W 3D7h •x xxxx xx 122
XR33 Clock Clock Control 33h R/W 3D7h 00 00 •0 00 123
XR40 BitBLT BitBLT Configuration (65545 Only) 40h R/W 3D7h - - - - - - xx 127
Reset Codes: x = Not changed by reset (indeterminate on power-up) – = Not implemented (always reads 0)
d = Set from the corresponding data bus pin on trailing edge of reset • = Reserved (read/write, reset to 0)
h = Read-only Hercules Configuration Register Readback bits 0/1 = Reset to 0 or 1 by trailing edge of reset
r = Chip revision # (starting from 0000)
XR2C Flat Panel FLM Delay 2Ch R/W 3D7h xx xxxx xx 118
XR2D Flat Panel LP Delay (Comp Enabled) 2Dh R/W 3D7h xx xxxx xx 119
XR2E Flat Panel LP Delay (Comp Disabled) 2Eh R/W 3D7h xx xxxx xx 119
XR2F Flat Panel LP Width 2Fh R/W 3D7h xx xxxx xx 120
XR4F Flat Panel Panel Format 2 4Fh R/W 3D7h xx • • •x xx 128
XR50 Flat Panel Panel Format 1 50h R/W 3D7h xx xxxx xx 129
XR51 Flat Panel Display Type 51h R/W 3D7h 00 0 •00 00 130
XR52 Flat Panel Power Down Control 52h R/W 3D7h 00 0000 01 131
XR53 Flat Panel Panel Format 3 53h R/W 3D7h •0 0000 x0 132
XR54 Flat Panel PanelInterface 54h R/W 3D7h xx xxxx xx 133
XR55 Flat Panel Horizontal Compensation 55h R/W 3D7h xx x • •x xx 134
XR56 Flat Panel Horizontal Centering 56h R/W 3D7h xx xxxx xx 135
XR57 Flat Panel Vertical Compensation 57h R/W 3D7h xx xxxx xx 136
XR58 Flat Panel Vertical Centering 58h R/W 3D7h xx xxxx xx 137
XR59 Flat Panel Vertical Line Insertion 59h R/W 3D7h xx x •xx xx 137
XR5A Flat Panel Vertical Line Replication 5Ah R/W 3D7h • • • •xx xx 138
XR5B Flat Panel Panel Power Sequencing Delay 5Bh R/W 3D7h 10 0000 01 138
XR5C Flat Panel Activity Indicator Control 5Ch R/W 3D7h 0x •xxx xx 139
XR5D Flat Panel FP Diagnostic 5Dh R/W 3D7h 00 0000 00 140
XR5E Flat Panel M (ACDCLK) Control 5Eh R/W 3D7h xx xxxx xx 141
XR5F Flat Panel Power Down Mode Refresh 5Fh R/W 3D7h xx xxxx xx 141
XR60 Flat Panel Blink Rate Control 60h R/W 3D7h 10 0000 11 142
XR61 Flat Panel SmartMap™ Control 61h R/W 3D7h xx xxxx xx 143
XR62 Flat Panel SmartMap™ Shift Parameter 62h R/W 3D7h xx xxxx xx 144
XR63 Flat Panel SmartMap™ Color Mapping Control 63h R/W 3D7h x1 xxxx xx 144
XR68 Flat Panel Vertical Panel Size 68h R/W 3D7h xx xxxx xx 147
XR6C Flat Panel Programmable Output Drive 6Ch R/W 3D7h • • 0000 d• 147
XR6E Flat Panel Polynomial FRC Control 6Eh R/W 3D7h 10 1111 01 148
XR6F Flat Panel Frame Buffer Control 6Fh R/W 3D7h 00 0000 00 149
Reset Codes: x = Not changed by reset (indeterminate on power-up) – = Not implemented (always reads 0)
d = Set from the corresponding data bus pin on trailing edge of reset • = Reserved (read/write, reset to 0)
h = Read-only Hercules Configuration Register Readback bits 0/1 = Reset to 0 or 1 by trailing edge of reset
r = Chip revision # (starting from 0000)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Chip Revision
Index to
Extension Registers - 0=65540, 1=65545
6-0 Index value used to access the extension 7-0 Chip Version - 65540 Chip Versions start at
registers D0h and are incremented for every silicon
step. 65545 Chip Versions start at D8h and
7 Reserved (0) are incremented for every silicon step.
D7 D6 D5 D4 D3 D2 D1 D0
CPU INTERFACE CTRL REGISTER 2 (XR03) This bit may be set to 0 to effectively create a
Read/Write at I/O Address 3D7h CPU-transparent delay, however this is not
Index 03h compatible with some systems: some
systems ignore RDY for palette accesses, so
for those systems, this bit must be set to 1.
D7 D6 D5 D4 D3 D2 D1 D0
5 Diagnostic ( R/W but should be set to 0 )
Palette Write Shadow
DR Access Ena (545 only) 7-6 Reserved (0)
Reserved(0)
Palette RDY Response
Diagnostic (Set to 0)
Reserved(0)
MEMORY CONTROL REGISTER 1 (XR04) DRAMs as 1MB of display memory and set
Read/Write at I/O Address 3D7h to 01 to use DRAM A as 512KB of display
Index 04h memory and DRAM C as an external frame
buffer).
D7 D6 D5 D4 D3 D2 D1 D0
2 Memory Wraparound Control
Memory Configuration This bit enables bits 16-17 of the CRT
Controller address counter (default = 0 on
Memory Wraparound Ctrl reset).
0 Disable CRTC addr counter bits 16-17
Reserved(0) 1 Enable CRTC addr counter bits 16-17
Write Buffer Enable
4-3 Reserved (0)
Reserved(0)
5 CPU Memory Write Buffer
1-0 Memory Configuration 0 Disable CPU memory write buffer
(default)
00 32-bit memory data path. Memory 1 Enable CPU memory write buffer
data bus is on MAD15-0 & MBD15-0
(DRAMs A and B). If frame acceler- 7-6 Reserved (0)
ation is enabled and embedded frame
buffer is selected, the data will be
stored in both DRAMs A and B. An
external frame buffer can be enabled
on DRAM C with this setting.
01 16-bit data path (DRAM A only).
The memory data bus is on MAD15-0.
If frame acceleration is enabled and
embedded frame buffer is selected, the
data will be restricted to storage in
DRAM A only. An external frame
buffer can be enabled on DRAM C
with this setting.
10 32-bit memory data path. Memory
data bus is on MAD15-0 & MCD15-0
(DRAMs A & C). DRAM C cannot
be used as an external frame buffer
with this setting, but programming can
select between this setting and '01' to
switch the function of DRAM C
between use as display memory and
use as an external frame buffer.
11 Reserved
MEMORY CONTROL REGISTER 2 (XR05) 4 CAS# / WE# Select for DRAMs A & B
Read/Write at I/O Address 3D7h
Index 05h 0 2-CAS# / 1-WE# 256Kx16 DRAM
configuration is used (default)
1 1 CAS# and 2 WE# 256Kx16 DRAM
D7 D6 D5 D4 D3 D2 D1 D0 configuration is used
Disable Long CPU Cycles 5 CAS# / WE# Select for DRAM C
CPU Access CAS# Ctrl
This bit is effective when XR6F[7]=1.
Display Access CAS# Ctrl
DRAM CAS# Address 0 2 CAS# and 1 WE# configuration
Memory CAS/WE Select 256Kx16 DRAM is used (default)
Frame Buffr CAS/WE Slct
1 1 CAS# and 2 WE# configuration
256Kx16 DRAM is used
PC Video Interface Enable
PC Video Interface Width 6 PC Video Interface Enable
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
7–0 I/O Base for 32-Bit Registers (65545 only) 7-0 Linear Address Base
In ISA and VL-Bus configuration, these bits In VL-Bus configuration, if linear
determine the I/O range for the Doubleword addressing is enabled (XR0B[4]=1), these 8
Hardware Cursor & BitBLT registers bits are compared to A[27:20] to determine
(DRxx). The value programmed here is the base address of the 1MB of display
matched against CPU addresses A15 & A8- memory in the 256MB VL-Bus address
2. Address A9 must equal 1 and A14-10 space (normally the VL address space is
select one of 32 DR registers. For example, 4GB, but only 28 bits of address are de-
a programmed value of 074h (011101 00b) coded by the chip). For example, if the
would result in this DR register mapping: video memory is to be placed at 12MB
DRxx: nxxx xx1n nnnn nn00b (0C00000-0CFFFFFh), this register should
DR00: 03D0h = 0000 0011 1101 0000b be programmed to '00001100b'. Note that
DR01: 07D0h = 0000 0111 1101 0000b as a result, programming this register to 0 is
DR02: 0BD0h = 0000 1011 1101 0000b typically not useful.
DR03: 0FD0h = 0000 1111 1101 0000b
DR04: 13D0h = 0001 0011 1101 0000b If A26-27 are not available (used for ACTI
DR05: 17D0h = 0001 0111 1101 0000b and ENABKL if Configuration Register
DR06: 1BD0h = 0001 1011 1101 0000b XR01 bit-6 = 1) then bits 6-7 of this register
DR07: 1FD0h = 0001 1111 1101 0000b are ignored and only A20-25 are compared
DR08: 23D0h = 0010 0011 1101 0000b against bits 0-5 of this register to determine
DR09: 27D0h = 0010 0111 1101 0000b the base address for the linear frame buffer
DR0A: 2BD0h = 0010 1011 1101 0000b in the VL-Bus / 486 CPU memory space.
DR0B: 2FD0h = 0010 1111 1101 0000b Similarly, if A25 and/or A24 are not
DR0C: 33D0h = 0011 0011 1101 0000b available (see configuration bits 3, 4, and 7),
The DRxx registers are enabled for access bits 5 and/or 4 are also ignored. In ISA bus
by setting XR03[1]. They are disabled configuration, address inputs A24-27 are
following Reset. The programmer should never available, so bits 4-7 of this register
write this register before enabling access to are ignored and A20-23 are compared
the DRxx registers. against bits 0-3 of this register to determine
the base address for the linear frame buffer
In PCI bus configuration, this register is in the 16MB ISA memory space.
ignored. The PCI Configuration IOBASE
register is used to determine the base address In PCI bus configuration, this register is
for the 32-bit registers in the PCI I/O space. ignored. The PCI Configuration MBASE
Note that for PCI bus configuration only, register is used to determine the base address
the 32-bit registers may also be memory for the linear frame buffer in the 4GB (full
mapped: MBASE defines a 2MB memory 32-bit address) PCI memory address space.
space with frame buffer memory mapped
into the lower megabyte and the 32-bit
registers mapped into the upper megabyte.
Reserved(0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
0 Offset Register LSB This register is effective for both CRT and flat panel
text modes.
This bit provides finer granularity to the
display memory address offset when word 1-0 Reserved (0)
and doubleword modes are used. This bit is
used with the regular Offset register (CR13). 2 Cursor Mode
1 Alternate Offset Register LSB 0 Blinking (default on Reset).
1 Non-blinking
This bit provides finer granularity to the
display memory address offset when word 3 Cursor Style
and doubleword modes are used. This bit is 0 Replace (default on Reset)
used with the Alternate Offset register 1 Exclusive-Or
(XR1E).
6-4 Alternate Cursor Start (65545 Only)
7-2 Reserved (0)
When the alternate CRTC registers are
active, this field may be set to specify the
Cursor Start Scan Line instead of CR0A bits
0-4 (this field specifies alternate bits 0-2
with bits 3-4 assumed to be 0).
VGA software typically changes the shape
of the cursor frequently between underline
and block styles. This field allows the
cursor style to be fixed (typically to 'block'
for improved readability on panels).
7 Synchronous Reset Ignore
When this bit is set, the chip will ignore
SR00 bit-1 (Synchronous Reset) and will
remain in normal operation. Synchronous
reset is a holdover from the original VGA
which is no longer required. VGA
software, however, performs synchronous
resets frequently, creating the possibility for
display memory corruption if the chip is left
in the synchronous reset state for too long.
The 65540 / 545 display memory sequencer
does not need to be periodically reset, so this
bit is provided to prevent potential display
memory corruption problems. For absolute
VGA compatibility, this bit may be set to 0.
D7 D6 D5 D4 D3 D2 D1 D0
Memory Size
Reserved(0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register effects CPU memory address mapping. This register effects CPU memory address mapping.
7-0 Single / Low Map Base Address Bits 17-10 7-0 High Map Base Address Bits 17-10
These bits define the base address in single These bits define the Higher Map base
map mode (XR0B bit-1 = 0), or the lower address in dual map modes (XR0B bit-1=1).
map base address in dual map mode (XR0B The memory map starts on a 1K boundary in
bit-1 = 1). The memory map starts on a 1K planar modes and on a 4K boundary in
boundary in planar modes and on a 4K packed pixel modes. This register controls
boundary in packed pixel modes. In case of the CPU window into display memory
dual mapping, this register controls the CPU based on the contents of GR06 bits 3-2 as
window into display memory based on the follows:
contents of GR06 bits 3-2 as follows:
GR06 bits 3-2 High Map
GR06 00 B0000-BFFFF
Bits 3-2 Low Map 01 A8000-AFFFF
00 A0000-AFFFF 10 Don't care
01 A0000-A7FFF 11 Don't care
10 B0000-B7FFF Single mapping only
11 B8000-BFFFF Single mapping only
D7 D6 D5 D4 D3 D2 D1 D0
7 Write Protect AR11
This bit is ORed with bit-0, therefore writing
Wr Protect Group 1 Regs to AR11 is possible only if both bit-0 and
Wr Protect Group 2 Regs bit-7 are 0. This feature is used for write
Wr Protect Group 3 Regs protection of the overscan color. This is
Wr Protect Group 4 Regs important in order to keep application
Wr Protect Group 5 Regs software from changing the border color
Wr Protect Group 6 Regs
while still permitting the attribute controller
to be changed for the addressable portion of
Wr Protect Group 0 Regs the display. Overscan is increasingly
Wr Protect AR11 becoming an ergonomics requirement and
this bit will ensure software compatibility.
This register controls write protection for various
groups of registers as shown. 0 = unprotected
(default on Reset), 1= protected.
0 Write Protect Group 1 Registers
This bit affects the Sequencer registers
(SR00-04), Graphics Controller registers
(GR00-08), and Attribute Controller
registers (AR00-14).
Note that AR11 is also protected by bit-7
which is ORed with this bit.
1 Write Protect Group 2 Registers
This bit affects CR09 bits 0-4, CR0A, and
CR0B.
2 Write Protect Group 3 Registers
This bit affects CR07 bit-4, CR08, CR11
bits 5-4, CR13, CR14, CR17 bits 0-1 and
bits 3-7, and CR18.
3 Write Protect Group 4 Registers
This bit affects CR09 bits 5-7, CR10, CR11
bits 0-3 and bits 6-7, CR12, CR15, CR16,
and CR17 bit-2.
4 Write Protect Group 5 Registers
This bit affects the Miscellaneous Output
register (3C2h) and the Feature Control
register (3BAh/3DAh).
5 Write Protect Group 6 Registers
This bit affects the VGA color palette
registers (3C6h-3C9h). If this bit is set, all
VGA color palette registers are write
protected.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register is used for both normal and alternate This register is used for both normal and alternate
vertical parameters. horizontal parameters.
0 Vertical Total Bit-10 0 Horizontal Total Bit-8
1 Vertical Display End Bit-10 1 Horizontal Display End Bit-8
2 Vertical Sync Start Bit-10 2 Horizontal Sync Start Bit-8
3 Reserved (R/W) 3 Horizontal Sync End Bit-5
4 Vertical Blank Start Bit-10 4 Horizontal Blank Start Bit-8
5 Reserved (R/W) 5 Horizontal Blank End Bit-6
6 Line Compare Bit-10 6 Line Compare Bit-10
7 Reserved (R/W) 7 Reserved (R/W)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register is used in flat panel and CRT CGA text This register is used in all flat panel modes with
and graphics modes, and Hercules graphics mode. horizontal compression disabled, to set the horizontal
sync start. This register is also used in CRT CGA
7-0 Alternate Horizontal Display End text and graphics modes, and Hercules graphics
mode.
This register specifies the number of
characters displayed per scan line, similar to 7-0 Alternate Horizontal Sync Start
CR01.
These bits specify the beginning of the
Programmed Value = Actual Value – 1 HSync in terms of character clocks from the
beginning of the display scan. Similar to
Note: This register is used in emulation modes only. CR04.
It is not used in CRT or flat panel VGA
modes. Programmed Value = Actual Value – 1
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
FP H Sync End
FP H Total
This register is used in all flat panel modes with This register is used in all flat panel modes with
horizontal compression disabled, CRT CGA text and horizontal compression disabled, CRT CGA text and
graphics modes, and Hercules graphics mode. graphics modes, and Hercules graphics mode.
4-0 Alternate Horizontal Sync End 7-0 Alternate Horizontal Total
Lower 5 bits of the character clock count This register contents are the total number of
which specifies the end of horizontal sync. character clocks per line. Similar to CR00.
Similar to CR05. If the horizontal sync
width desired is N clocks, then programmed Programmed Value = Actual Value – 5
value is:
(N + Contents of XR19) ANDed with 01F Hex
6-5 CRT Alternate Horizontal Sync Delay
See CR05 for description
7 Reserved (0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
H Blank End
H Blank Start
(Horizontal Panel Size)
DE Skew Control
The value in this register is the Horizontal Panel Size Bits 0-6 of this register are used in CRT CGA text
in all Flat Panel Modes. In CRT mode, it is used for and graphics modes and CRT Hercules graphics
CGA text and graphics and Hercules graphics mode. Bit 7 of this register is used for all CRT and
modes. flat panel modes.
7-0 FP Horizontal Panel Size 4-0 CRT Alternate Horizontal Blank Start
Horizontal panel size is programmed in See CR03 for description
terms of number of 8-bit (graphics/text) or
9-bit (text) characters. For double drive flat 6-5 CRTAlternateDisplayEnableSkewControl
panels the actual horizontal panel size must See CR03 for description
be a multiple of two character clocks.
7 Line Compare Fix
Programmed Value = Actual Value – 1
This bit affects all CRT and FP text modes.
or This bit is 0 on reset.
7-0 CRT Alternate Horizontal Blank Start 0 Internal Line Compare (split screen)
See CR02 for description flag is not delayed so that the Vertical
Row Counter is reset too early which
Programmed Value = Actual Value – 1 in text mode causes the first scanline
of the first character row following
split screen to be skipped (not dis-
played). This is IBM VGA com-
patible.
1 Internal Line Compare (split screen)
flag is delayed so that the Vertical
Row Counter is reset properly which
in text mode causes the first scanline
of the first character row following
split screen to be displayed.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Sense Select
This register is used in all flat panel modes, CRT 3-0 Virtual Switch Register
CGA text and graphics modes and Hercules graphics
mode. If bit-7 is '1', then one of these four bits is
read back in Input Status Register 0 (3C2h)
7-0 Alternate Offset bit 4. The selected bit is determined by
Miscellaneous Output Register (3C2h) bits
See CR13 for description 3-2 as follows:
Programmed Value = Actual Value – 1 Misc 3-2 XR1F Bit Selected
00 bit-3
01 bit-2
10 bit-1
11 bit-0
6-4 Reserved (0)
7 Sense Select
0 Select the output of the internal RGB
comparator (Sense) for readback in
Input Status Register 0 bit-4 (default
on Reset).
1 Select one of bits 3-0 for readback in
Input Status Register 0 bit-4.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(R/W)
This register is used in flat panel text mode when This register is used in flat panel mode.
TallFont is enabled during vertical compensation.
7-0 Horizontal Sync Start Offset
4-0 Alternate Maximum Scanlines (AMS)
This value is added to CR04 ( Horizontal
Programmed Value = number of scanlines Sync Start) when XR02 bit 2 is set to '1'.
minus one per character row of TallFont
Double scanned lines, inserted lines, and
replicated lines are not counted.
7-5 Reserved (R/W)
D7 D6 D5 D4 D3 D2 D1 D0
AltText Mode
H Virtual Panel Size
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Flag 0
Flag 1
Flag 2
Flag 3 FLM Delay
Flag 4
Flag 5
Flag 6
Flag 7
This register contains eight read-write bits which This register is used only in flat panel mode when
have no internal hardware function. All bits are XR2F bit-7=0. The First Line Marker (FLM) signal
reserved for use by BIOS and driver software. For is generated from an internal FP VSync active edge
reference, the functions of the bits of this register are with a delay specified by this register. The FLM
currently defined as follows: pulse width is always one line for SS panels and two
lines for DD panels.
7-0 Display Mode
7-0 FLM Delay (VDelay)
These bits are used by the BIOS to store the
current display mode number. These bits define the number of HSyncs
between the internal VSync and the rising
See also XR0F, XR44, XR45 for definition of other edge of FLM.
software flags registers.
LPDELAY REGISTER(CMPRENABLED)(XR2D) LP
DELAYREGISTER (CMPRDISABLED)(XR2E)
Read/Write at I/O Address 3D7h Read/Write at I/O Address 3D7hIndex 2Eh
Index 2Dh
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
LP Delay LP Delay
(graphics mode horizontal (graphics mode horizontal
compression enabled) compression disabled)
This register is used only in flat panel mode when This register is used only in flat panel mode when
XR2F bit-6 = 0 and graphics mode horizontal XR2F bit-6 = 0 and 9-dot text mode is used. The
compression is enabled. The LP output is generated LP output is generated from the FP Blank inactive
from the FP Blank inactive edge with a delay edge with a delay specified by XR2F bit-4 and the
specified by XR2F bit-5 and the value in this value in this register. The LP pulse width is
register. The LP pulse width is specified in register specified in register XR2F.
XR2F.
7-0 LP Delay
7-0 LP Delay
These bits define the number of character
These bits define the number of character clocks between the FP Blank inactive edge
clocks between the FP Blank inactive edge and the rising edge of the LP output in flat
and the rising edge of the LP output in flat panel 9-dot text modes. The msb (bit 8) of
panel mode with 9-dot text mode forced to this parameter is XR2F bit-4.
8-dot text. The msb (bit 8) of this parameter
is XR2F bit-5. Programmed Value = Actual Value – 1
Programmed Value = Actual Value – 1 Note: For DD panels without frame acceleration,
the programmed value should be doubled.
Note: For DD panels without frame acceleration,
the programmed value should be doubled.
D7 D6 D5 D4 D3 D2 D1 D0
LP Width
D7 D6 D5 D4 D3 D2 D1 D0
Reserved(R/W)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(R/W) Reserved(R/W)
The three clock data registers (XR30-XR32) are The three clock data registers (XR30-XR32) are
programmed with the loop parameters to be loaded programmed with the loop parameters to be loaded
into the clock synthesizer. The Memory and Video into the clock synthesizer. The Memory and Video
clock VCO's both have programmable registers. clock VCO's both have programmable registers.
Which of the VCO's is currently selected for Which of the VCO's is currently selected for
programming is determined by the Clock Register programming is determined by the Clock Register
Program Pointer (XR33[5]). Program Pointer (XR33[5]).
The data written to this register is calculated based on The data written to this register is calculated based on
the reference frequency, the desired output the reference frequency, the desired output
frequency, and characteristic VCO constraints as frequency, and characteristic VCO constraints as
described in the Functional Description. described in the Functional Description.
Data is written to registers XR30, and XR31 Data is written to registers XR30, and XR31
followed by a write to XR32. The completion of the followed by a write to XR32. The completion of the
write to XR32 causes data from all three registers is write to XR32 causes data from all three registers is
transferred to the VCO register file simultaneously. transferred to the VCO register file simultaneously.
This prevents wild fluctuations in the VCO output This prevents wild fluctuations in the VCO output
during intermediate stages of a clock programming during intermediate stages of a clock programming
sequence. sequence.
6–0 VCO M-Divisor 6–0 VCO N-Divisor
M-Divisor value calculated for the desired N-Divisor value calculated for the desired
output frequency. output frequency.
7 Reserved (R/W) 7 Reserved (R/W)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
COLOR KEY MASK REGISTER 1 (XR3E) COLOR KEY MASK REGISTER 2 (XR3F)
Read/Write at I/O Address 3D7h Read/Write at I/O Address 3D7h
Index 3Eh Index 3Fh
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
BitBLTCONFIGREGISTER(XR40) (65545 Only) 3-0 Set Panel Type ( 40K BIOS Only )
Read/Write at I/O Address 3D7h 00 Panel #1
Index 40h 01 Panel #2
02 Panel #3
D7 D6 D5 D4 D3 D2 D1 D0 03 Panel #4
04 Panel #5
BitBLT Draw Mode 05 Panel #6
06 Panel #7
07 Panel #8
08-0F Reserved
Reserved(0) 4 Optimal Compensation Enable
0 Disable optimal compensation
1 Enable optimal compensation
7-5 Reserved ( 0 )
1–0 BitBLT Draw Mode ( 65545 only )
See also XR0F, XR2B, XR45 for definition of other
The 65545 supports two color depths in its software flags registers.
drawing engine:
00 Reserved
01 8BPP
10 16BPP SOFTWARE FLAGS REGISTER 3 (XR45)
11 Reserved Read/Write at I/O Address 3D7h
Index 45h
Note: 24BPP is handled in 8BPP mode.
There is no nibble mode access for
4BPP modes. D7 D6 D5 D4 D3 D2 D1 D0
Flag 0
7–2 Reserved ( 0 )
Flag 1
Flag 2
Flag 3
SOFTWARE FLAGS REGISTER 2 (XR44) Flag 4
Read/Write at I/O Address 3D7h Flag 5
Index 44h
Flag 6
Flag 7
D7 D6 D5 D4 D3 D2 D1 D0
This register contains eight read-write bits which
have no internal hardware function. All bits are
Set Panel Type reserved for use by BIOS and driver software. For
reference, the functions of the bits of this register are
currently defined as follows:
Optimal Compensation Ena
7-0 Flags ( Reserved )
See also XR0F, XR2B, XR44 for definition of other
Reserved(0) software flags registers.
These bits are effective for flat panel only. 7 LP During Vertical Blank
00 Single Panel Single Drive (SS) This bit should be set only for SS panels
01 Reserved which require FP HSync (LP) to be active
10 Reserved during vertical blank time when XR54 bit-1
11 Dual Panel Double Drive (DD) = 0 (e.g., Plasma / EL panels). This bit
should be reset when using non-SS panels
2 Display Type (DT) or when XR54 bit-1 = 1.
This bit is effective for CRT and flat panel. 0 FP HSync (LP) is generated from
This bit also controls the BLANK# output. internal FP Blank inactive edge
1 FP HSync (LP) is generated from
0 CRT display (default on reset) internal FP Horizontal Blank inactive
BLANK# outputs CRT Blank edge
1 FP (Flat Panel) display
BLANK# outputs FP Blank
Note: There is no pin dedicated to output of
BLANK#. Therefore this bit is ignored if
BLANK# is not selected to be output on
either the M or LP output pins.
3 Shift Clock Divide
This bit is effective for flat panel only.
0 Shift Clock to Dot Clock relationship
expressed by XR50[6-4].
1 In this mode, the Shift Clock is further
divided by 2 and different video data
is valid on the rising and falling edges
of Shift Clock.
4 Reserved (R/W)
POWER DOWN CONTROL REGISTER (XR52) 5 Standby and Panel Off Control
Read/Write at I/O Address 3D7h
Index 52h This bit is effective in Flat Panel Mode
during Standby and Panel Off modes
(XR52[3] = 1 or (XR52[4] = 1 or
D7 D6 D5 D4 D3 D2 D1 D0 STNDBY#, pin 178 is active (low)).
0 Video data and/or flat panel control
Normal Refresh Count signals are driven inactive (default on
reset).
Panel Off Mode
1 Video data and flat panel control
signals pins are tri-stated with a weak
Software Standby Mode internal pull-down.
Standby/Panel Off Control
Standby Refresh Control Note: XR61 bit-7 controls the inactive level
for video data in text mode; XR63 bit-7
CRT Mode Control
controls the inactive level for video data in
graphics mode:
2-0 FP Normal Refresh Count
0 = low when inactive
These bits specify the number of memory re- 1 = high when inactive
fresh cycles to be performed per scanline. A
minimum value of 1 should be programmed Note: This bit does not affect the HSYNC
in this register. and VSYNC pins. In Standby and Panel Off
modes, HSYNC and VSYNC will be driven
3 Panel Off Mode low.
This bit provides a software alternative to 6 Standby Refresh Control
enter Panel Off mode. Note that Panel Off
mode will be effective in both CRT and flat This bit is effective only in Standby mode
panel modes of operation. (STNDBY# pin low). Standby mode is
effective for both CRT and flat panel modes.
0 Normal mode (default on reset) In Standby mode, CPU interface to display
1 Panel Off mode memory and internal registers is inactive.
In Panel Off mode, the CRT / FP display The CRT / FP display memory interface,
memory interface is inactive but CPU video data and timing signals, and internal
interface and display memory refresh are still RAMDAC are inactive (all CRT and flat
active. The internal RAMDAC is also panel video control and data pins are 3-
inactive. stated). Display memory refresh is
controlled by this bit.
4 Software Standby Mode 0 Self-Refresh DRAM support.
This bit provides an alternative way to enter 1 Display memory refresh frequency is
the Standby mode. When this bit is set, the derived from the 32KHz input or
chip enters Standby mode. To exit Standby RCLK (14.31818MHz Reference
mode, when this bit is set, the STNDBY# Clock) divided per the value in XR5F.
pin must be asserted and then reasserted.
This bit will also be reset when the 7 CRT Mode Control
STNDBY# pin goes active (low).
This bit is effective in CRT mode only (non-
0 Normal Mode (default on reset) simultaneous CRT and flat panel) (XR51
1 Standby Mode bit-2 = 0).
0 Video data and flat panel control
signals are 3-stated with weak internal
pull-down (default on reset).
1 Video data and flat panel control
signals are inactive.
1 FP Blank Select
This bit controls the BLANK# pin output in
flat panel mode. In CRT mode, XR28 bit-1
controls the BLANK# output. This bit also
affects operation of the flat panel video
logic, generation of the FP HSync (LP)
pulse signals, and masking of the Shift
Clock.
0 The BLANK# pin outputs both FP
Vertical and Horizontal Blank. In
480-line DD panels, this option will
generate exactly 240 FP HSync (LP)
pulses.
1 The BLANK# pin outputs only FP
Horizontal Blank. During FP Vertical
Blank, the flat panel video logic will
be active, the FP HSync (LP) pulse
will be generated, and Shift Clock can
not be masked. Note however that
Shift Clock can still be masked during
FP Horizontal Blank.
Note: The signal polarity selected by bit-0 is
applicable for either selection.
HORIZONTALCENTERINGREGISTER(XR56)
Read/Write at I/O Address 3D7h
Index 56h
D7 D6 D5 D4 D3 D2 D1 D0
LeftBorder
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register is used only in flat panel modes when This register is used only in flat panel text mode
non-automatic vertical centering is enabled. when vertical line insertion is enabled.
7-0 Vertical Top Border LSBs (VTB7-0) 3-0 Vertical Line Insertion Height (VLIH3-0)
Programmed value: ProgrammedValue:
Top Border Height (in scan lines) – 1 Number of Insertion Lines – 1
This register contains the eight least signif- The value programmed in this register - 1 is
icant bits of the programmed value of the the number of lines to be inserted between
Vertical Top Border (VTB). The two most the rows. Insertion lines are never double
significant bits are in the Vertical Line scanned even if double scanning is enabled.
Insertion Register (XR59). Insertion lines use the background color.
4 Reserved (0)
6-5 Vertical Top Border MSBs (VTB9-8)
This register contains the two most signif-
icant bits of the programmed value of the
Vertical Top Border (VTB). The eight least
significant bits are in the Vertical Centering
Register (XR58).
7 Hardware Line Replication
This bit is effective in text mode when Line
Replication is selected (XR57[2] = 1).
Hardware line replication, when enabled,
replicates lines to display a 19-line character
from a 16-line font as specified in XR28 bit-
7.
0 Normal text mode line replication
1 Hardware line replication is enabled
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register is used only in flat panel text or This register is used only in flat panel modes. The
graphics modes when vertical line replication is generation of the clock for panel power sequencing
enabled. logic is controlled by XR33[6]. The delay intervals
below assume a 37.5 KHz clock generated by the
3-0 Vertical Line Replication Height (VLRH) internal clock synthesizer. If the 32KHz input is
used, the delay intervals should be scaled accord-
Programmed Value = Number of Lines ingly.
Between Replicated Lines – 1
Double scanned lines are also counted. 3-0 Power Down Delay
In other words, if this field is programmed Programmable value of panel power-
with '7', every 8th line will be replicated. sequencing during power down. This value
can be programmed up to 459 milliseconds
7-4 Reserved (R/W) in increments of 29 milliseconds. A value of
0 is undefined.
7-4 Power Up Delay
Programmable value of panel power
sequencing during power up. This value can
be programmed up to 54 milliseconds in
increments of 3.4 milliseconds. A value of
0 is undefined.
ACTIVITYTIMERCONTROLREGISTER(XR5C)
Read/Write at I/O Address 3D7h
Index 5Ch
D7 D6 D5 D4 D3 D2 D1 D0
Reserved(R/W)
Activity Timer Action
Enable Activity Timer
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
M (ACDCLK) Count
Power Down Refresh Freq
M (ACDCLK) Control
This register is used only in flat panel mode. 7-0 Power Down Refresh Frequency
6-0 M ( ACDCLK ) Count ( ACDCNT ) These bits define the frequency of memory
refresh cycles in power down (standby)
These bits define the number of HSyncs mode (STNDBY# pin low). CAS-Before-
between adjacent phase changes on the M RAS (CBR) refresh cycles are performed.
(ACDCLK) output. These bits are effective
only when bit 7 = 0 and the contents of this If XR52 bit-6 = 1, the interval between two
register are greater than 2. refresh cycles is determined by bits 0-3 of
this register per the table below. Bits 4-7 of
Programmed Value = Actual Value – 2 this register are reserved for future use in
this mode (and should be programmed to 0).
7 M ( ACDCLK ) Control
3210 Approximate Refresh Interval
0 The M (ACDCLK) phase changes
depending on bits 0-6 of this register 0000 16 usec / cycle
1 The M (ACDCLK) phase changes 0001 47 usec / cycle
every frame if the frame accelerator is 0010 63 usec / cycle
not used. If the frame accelerator is 0011 78 usec / cycle
used, the M (ACDCLK) phase 0100 94 usec / cycle
changes every other frame. 0101 109 usec / cycle
0110 125 usec / cycle
If XR4F bit-6 is programmed to one to enable flat 0111 141 usec / cycle
panel DE / BLANK# to be output on the M 1000 156 usec / cycle
(ACDCLK) pin, the contents of this register will be
ignored. These refresh intervals assume a 32 KHz
clock. If the internal clock is used, the
refresh interval is scaled accordingly.
If XR52 bit-6 = 0, a value of 0 causes no
refresh to be performed. Self-Refresh
DRAMs should be used in this case.
D7 D6 D5 D4 D3 D2 D1 D0
Output AR10 bit-1 = 0 AR10 bit-1 = 1 Note: This bit should be set to 0 if XR63[6]
Out0 In0 In0 is set to 1. Conversely, if this bit is
Out1 In1 In1 set to 1, XR63[6] should be set to 0.
Out2 In2 In2
Out3 In3 In0+In1+In2+In3 7 Text Video Output Polarity (TVP)
Out4 In3 In3 This bit is effective for flat panel text mode
Out5 In3 In3 only.
Note: This bit does not affect CRT text / 0 Normal polarity
graphics mode or flat panel graphics mode; 1 Inverted polarity
i.e.: the color lookup table is always used, Note: Graphics video output polarity is
and similarly the internal RAMDAC palette controlled by XR63 bit-7 (GVP).
is used if enabled.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Foreground Shift
Color Threshold
Background Shift
New Text Enhancement
Gr Video Output Polarity
This register is used in flat panel text mode when 5-0 Color Threshold
SmartMap™ is enabled (XR61 bit-0 = 1).
These bits are effective for monochrome
3-0 Foreground Shift (XR51 bit-5 = 1) single/double drive flat
panel with 1 bit/pixel (XR50 bits 4-5 = 11)
These bits define the number of levels that without FRC (XR50 bits 0-1 = 11). They
the foreground color is shifted when the specify the color threshold used to reduce 6-
foreground and background colors are closer bit video to 1-bit video color. Color values
than the SmartMap™ Threshold (XR61 bits equal to or greater than the threshold are
1-4). If the foreground color is "greater" mapped to 1 and color values less than the
than the background color, then this field is threshold are mapped to 0.
added to the foreground color. If the
foreground color is "smaller" than the 6 New Text Enhancement
background color, then this field is sub-
tracted from the foreground color. If set this bit enables new text enhancement
that does not affect the CRT display. If this
7-4 Background Shift bit is set to 1, the old text enhancement bit
(XR61[6]) must be set to 0. Conversely, if
These bits define the number of levels that XR61[6] is 1 then this bit should be set to 0.
the background color is shifted when the Reset defaults this bit to 1.
foreground and background colors are closer
than the SmartMap™ Threshold (XR61 bits 7 Graphics Video Output Polarity (GVP)
1-4). If the background color is "greater"
than the foreground color, then this field is This bit is effective for CRT and flat panel
added to the background color. If the graphics mode only.
background color is "smaller" than the 0 Normal polarity
foreground color, then this field is sub- 1 Inverted polarity
tracted from the background color.
Note: Text video output polarity is
controlled by XR61 bit-7 (TVP).
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register is used in all flat panel modes. This register is used in all flat panel modes.
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This register is used in all flat panel modes. This register is used in all flat panel modes.
7-0 FP Alternate Vertical Sync Start 3-0 FP Alternate Vertical Sync End
The contents of this register are the 8 low The lower 4 bits of the scan line count that
order bits of a 10-bit value. Bits 9 and 10 defines the end of vertical sync. Similar to
are defined in XR65. This value defines the CR11. If the vertical sync width desired is
scan line position at which vertical sync N lines, the programmed value is:
becomes active. Similar to CR10.
(contents of XR66 + N) ANDed with 0FH
Programmed Value = Actual Value – 1
7-4 Reserved (R/W)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Reserved(R/W)
CFG8/LV#: Vcc Select
Flat Panel Output Drive
Bus Interface Output Drive
Vertical Panel Size Mem Intfc A&B Out Drive
Mem Intfc C Out Drive
Reserved(R/W)
This register is used in all flat panel modes. This register is used to control the output drive of the
bus, video, and memory interface pins.
7-0 Vertical Panel Size 0 Reserved (R/W)
The contents of this register define the 1 CFG8 / LV# - Internal Logic Vcc Selection
number of scan lines per frame. This bit determines pad input threshold. On
the trailing edge of reset, this bit will latch
Programmed Value = Actual Value – 1 the state of AA8 pin (CFG8).
0 VCC for internal logic (IVCC) is 3.3V
Panel size bits 8-9 are defined in overflow 1 VCC for internal logic (IVCC) is 5V
register XR65. (Default)
2 Flat Panel Interface Output Drive Select
0 Lower drive (Default) (Use for
DVCC=5V)
1 Higher drive (Use for DVCC=3.3V)
3 Bus Interface Output Drive Select
0 Higher drive (Default) (Use for
BVCC=3.3V)
1 Lower drive (Use for BVCC=5V)
4 MemoryInterfaceA&BOutputDriveSelect
This bit affects memory interface groups A
& B control pins: RASB#, CASBH#,
CASBL#, WEB#, OEB#, MAD[15:0] and
MBD[15:0]
0 Lower drive (Default) (Use for
MVCCA/B=5V)
1 Higher drive (Use for
MVCCA/B=3.3V)
5 Memory Interface C Output Drive Select
This bit affects memory interface group C
control pins: RASC#, CASCH#, CASCL#,
Note: Programming lower drive for 3.3V WEC#, OEC#, and MCD15:0.
operation results in lower than rated output
drive. Programming higher output drive for 0 Lower drive (Default) (Use for
5V operation results in higher than rated MVCCC=5V)
output drive. 1 Higher drive (Use for MVCCC=3.3V)
7-6 Reserved (R/W)
D7 D6 D5 D4 D3 D2 D1 D0
SETUP/DISABLECONTROLREGISTER(XR70)
Read/Write at I/O Address 3D7h
Index 70h
D7 D6 D5 D4 D3 D2 D1 D0
Reserved(0)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
HSYNC Data
HSYNC Control
VSYNC Data
VSYNC Control Reserved(0)
Reserved(0)
BitBLT Clock Control
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
This I/O address is mapped to the same register as 0 3-State Control Bit 0
I/O address 3D9h. This alternate mapping effec-
tively provides a color select register for Hercules 0 Normal outputs (default on reset)
mode. Writes to this register will change the copy at 1 3-state system bus and display output
3D9h. The copy at 3D9h is visible only in CGA pins: HSYNC, VSYNC, FLM, LP,
emulation or when the extension registers are M, SHFCLK, P0-15, LDEV#, and
enabled. The copy at XR7E is visible when the LRDY#.
extension registers are enabled.
1 3-State Control Bit 1
5-0 See Register 3D9 0 Normal outputs (default on reset)
1 3-state memory output pins: RASA#,
7-6 Reserved (0) RASB#, RASC#, CASAL#,
CASAH#, CASBL#, CASBH#,
CASCL#, CASCH#, WEA#, WEB#,
WEC#, OEAB#, OEC#, AA0-9, and
CA0-9.
5-2 Test Function
These bits are used for internal testing of the
chip when bit-6 = 1.
6 Test Function Enable
This bit enables bits 5-2 for internal testing.
0 Disable test function bits (default)
1 Enable test function bits
32-Bit Registers
( 65545 Only )
Reset Codes: x = Not changed by RESET (indeterminate on power-up) – = Not implemented (always reads 0)
d = Set from the corresponding pin on falling edge of RESET • = Not implemented (read/write, reset to 0)
h = Read-only Hercules Configuration Register Readback bits 0/1 = Reset to 0 or 1 by falling edge of RESET
r = Chip revision # (starting from 0000)
3128 27 16 1512 11 0 31 21 20 0
Source Offset
Pattern Pointer
Reserved(0)
Destination Offset
Reserved(0)
Reserved(0)
31 0 31 0
Warning: Only bits 15-0 are used. They are Warning: Only bits 15-0 are used. They are
duplicated in bits 31-16 when this duplicated in bits 31-16 when this
register is read back by the CPU. register is read back by the CPU.
31 21 20 0 31 21 20 0
Reserved(0) Reserved(0)
Warning: Do not read this register Warning: Do not read this register
while a BitBLT is active. while a BitBLT is active.
3128 27 16 1512 11 0
Reserved(0)
Reserved(0)
CURSOR/POP-UPCOLOR0-1REGISTER(DR09) CURSOR/POP-UPCOLOR2-3REGISTER(DR0A)
Write at I/O Address A7D0–A7D3h Write at I/O Address ABD0–ABD3h
Read at I/O Address A7D0–A7D3h Read at I/O Address ABD0–ABD3h
Word or DoubleWord Accessible Word or DoubleWord Accessible
31 27 26 21 20 16 15 11 10 5 4 0 31 27 26 21 20 16 15 11 10 5 4 0
Cursor Colors 0 and 1 are 16-bit high color values Cursor Colors 2 and 3 are 16-bit high color values
consisting of 5 bits of Red, 6 bits of Green, and 5 consisting of 5 bits of Red, 6 bits of Green, and 5
bits of Blue. Colors 0 and 1 may be accessed either bits of Blue. Colors 2 and 3 may be accessed either
as two 16-bit registers or as a single 32-bit register. as two 16-bit registers or as a single 32-bit register.
A write to this register immediately affects the cursor Colors 2 and 3 are only used when the Cursor is in
color displayed. Pop-Up Mode. A write to this register immediately
affects the cursor color displayed.
4–0 CC0 - Blue
4–0 CC2 - Blue
Cursor Color 0 Blue value
Cursor Color 2 Blue value
10–5 CC0 - Green
10–5 CC2 - Green
Cursor Color 0 Green value
Cursor Color 2 Green value
15–11 CC0 - Red
15–11 CC2 - Red
Cursor Color 0 Red value
Cursor Color 2 Red value
20–16 CC1 - Blue
20–16 CC3 - Blue
Cursor Color 1 Blue value
Cursor Color 3 Blue value
26–21 CC1 - Green
26–21 CC3 - Green
Cursor Color 1 Green value
Cursor Color 3 Green value
31–27 CC1 - Red
31–27 CC3 - Red
Cursor Color 1 Red value
Cursor Color 3 Red value
Reserved(0) 31 Y Sign
Sign associated with the Y OFFSET
Y SIGN magnitude which together form the signed
offset of the cursor in the Y direction.
10–0 X Offset In pop-up menu mode negative values are
Cursor X-position. The cursor position is not supported.
calculated as the signed offset (in pixels)
between the Upper Left Corner (ULC) of the
screen (as defined by BLANK#) and the
Upper Left Corner of the cursor. X Offset
is the magnitude portion of the signed offset
of the cursor position in the horizontal axis.
This magnitude in combination with the X
SIGN bit (15) form the signed offset of the
cursor in the X direction.
The X OFFSET and X SIGN may be
written as a 16-bit quantity with bits 14-11
ignored.
The range for the ULC of the cursor is:
–2047 <= X-Position <= 2047
14–11 Reserved (0)
15 X Sign
Sign associated with the X OFFSET
magnitude which together form the signed
offset of the cursor in the X direction.
31 20 19 10 9 0
Reserved(0)
BaseAddress
Reserved(0)
System Interface
The 65540 and 65545 support all VGA text and DRAM Speed Memory Clock Frequency*
graphics modes (planar, packed pixel, odd/even 100 ns 50.000 MHz
chain modes, etc.) but the storage locations of the 80 ns 57.000 MHz
data (i.e., the locations and bit positions in the 70 ns 65.000 MHz
DRAMs) does not correspond to the original VGA
which implemented 256KB of display memory as 4 * DRAM AC timing parameters varies among
physical 'planes' of 64KB (using two 64Kx4 different DRAM manufacturers therefore please
DRAMs to implement each 'plane' with separate check with DRAM specifications and 65540 / 545
address buses for planes 0-1 and 2-3). In other memory timing.
words, no assumptions should be made regarding
the correspondence of the data pins on the display
Clock Synthesizer
An integrated clock synthesizer supports all pixel Specifications for maximum frequencies at 3.3V and
clock (VCLK) and memory clock (MCLK) 5V (the maximum frequency at 3.3V will be slightly
frequencies which may be required by the 65540 / lower). Normal MCLK operational frequencies are
545. Each of the two clock synthesizer phase lock defined by the display memory sequencer parameters
loops may be programmed to output frequencies described in the Memory Timing section. The
ranging between 1MHz and the maximum specified frequency selected is also dependent upon the AC
operating frequency for that clock in increments not characteristics of the display memories connected to
exceeding 0.5%. The frequencies are generated by the 65540 / 545. A typical match is between industry
an 18-bit divisor word. This value contains divisor standard 70ns access memories and a 65MHz
fields for the Phase Lock Loop (PLL), Voltage MCLK. The MCLK output defaults to 60MHz on
Controlled Oscillator (VCO) and Pre/Post Divide reset and is fully programmable. This initial value is
Control blocks. The divisor word for both conservative enough not to violate slow DRAM
synthesizers is programmable via Clock Control parameters but not so slow as to cause a system
Registers XR30-32. timeout on CPU accesses. The MCLK frequency
must always equal or exceed the host clock (CCLK)
MCLK Operation frequency.
Normal operational frequencies for MCLK are
between 50MHz and 68MHz. Refer to the Electrical
VCLKRegisterTable
VGA CLK0 = 25.175MHz
21
VGA CLK1 = 28.322MHz VCLK Synthesizer
CLK2 = Programmable
XR32:30
MCLKRegisterTable
21
MCLK = Programmable MCLK Synthesizer
CLKSEL1:0
MISC Output Reg[3:2]
Clock Synthesizer Register Structure
XR30[0] 1
Internal
Loop Filter
7 ÷4M
XR31[6:0]
3
XR30[3:1]
post-VCO divider select
NOTE: Do
C5 VCC
not connect
Vcc here.
Force the VCC
trace GND
through the C4
Designator Value decoupling GND
C7
C1,C3,C4,C6,C7 0.1µF cap pad. GND
C2,C5 47µF
R1,R2 10Ω
Always pass the Vcc trace through the decoupling cap pad. Do not leave a stub as shown here.
The 65540 / 545 integrates a VGA compatible triple RDY in the ISA configuration and by delaying
6-bit lookup table (LUT) and high speed 6/8-bit LRDY# for VL-Bus and direct processor interfaces.
DACs. Additionally the internal color palette DAC
supports true-color bypass modes displaying color For compatibility with the VL-Bus Specification the
depths up to 24bpp (8-8-8). The palette DAC can 65540 / 545 may be disabled from responding to
switch between true-color data and LUT data on a palette writes (although it will perform them) so that
pixel by pixel basis. Thus, video overlays may be an adapter card on a slow (ISA) bus which is
any arbitrary shape and can lie on any pixel shadowing the palette LUT may see the access. The
boundary. The hardware cursor is also a true-color 65540 / 545 always responds to palette read accesses
bitmap which may overlay both video and graphics so it is still possible for the shadowing adapter to
on any pixel boundary. become out of phase with the internal modulo-3
RGB pointer. It is presumed that this will not be a
The internal palette DAC register I/O addresses and problem with well-behaved software.
functionality are 100% compatible with the VGA
standard. In all bus interfaces the palette DAC Extended display modes may be selected in the
automatically controls accesses to its registers to Palette Control Register (XR06). Two 16bpp
avoid data overrun. This is accomplished by holding formats are supported: 5-5-5 Targa format and 5-6-5
XGA format.
HighColorPixelData Red
Hardware Cursor 24
Triple
ExternalRGBVideo 6/8-bit Green
(565, 666, or 888) DAC
Blue
8 Triple6-bit 18
LUTPixelData LUT
Arrows indicate
Source Dest
appropriate direction for Dest Source
BitBLT progression so
that destination overlap
does not corrupt data.
INC_X = 0; INC_Y = X INC_X = 1; INC_Y = X
Sample Screen-to-Screen Transfer The Pattern ROP Register does not need to be
programmed since there is no pattern involved.
Below is an example of how a screen-to-screen Neither the Foreground Color nor Background Color
BitBLT operation is traditionally performed. The Register has to be programmed since this does not
source and destination blocks both appear on the involve a color expansion or rectangle solid color
visible region of the screen and have the same paint. The BitBLT Control Register contains the
dimensions. The BitBLT is to be a straight source most individual fields to be set:
copy with no raster operation. The memory address
space is 2MBytes and display resolution is 1024 x ROP = Source Copy = 0CCh
768. The size of the block to be transferred is 276 INC_Y = 0 (Bottom to Top)
horizontal x 82 vertical pixels (114h x 52h). The INC_X = 1 (Left to Right)
coordinates of the upper left corner (ULC) of the Source Data = Variable Data = 0
source block is 25h,30h. The ULC coordinates of Source Depth = Source is Color = 0
the destination block are 157h,153h. Because the Pattern Depth = Don't Care = 0
source and destination blocks do not overlap, the Background = Don't Care = 0
INC_X and INC_Y BitBLT direction bits are not BitBLT = Screen-to-Screen = 00
important. We will assume that INC_X = 1, Pattern Seed = Don't Care = 000
INC_Y = 0, and the BitBLT will proceed one scan
line at a time from the lower left corner of the source BitBLT Control Register (DR04) = 002CCh
moving to the right and then from the bottom to the
top. Since the BitBLT will be starting in the lower left
The source and destination offsets are both the same corner (LLC) of the source rectangle, the start
as the screen width (400h): address for the source data is calculated as:
400h (1024)
25h,30h 1FFFFFh 020538h
Off-Screen Line 52h
114h 020425h
52h Source Memory
0C0000h
138h,81h
300h 157h,153h
(768) 06926Ah
Destination
Dest
26Ah, 1A4h 054D57h
020538h 00C938h
Source Line 3
00C025h 00C825h
000000h
2EDh
1024 x 768 x 8BPP 400h
00C538h
Line 2
00C425h
00C138h
Line 1
00C025h
Screen-to-Screen BitBLT
(81h * 400h) + 25h = 020425h determine when the BitBLT is finished so that
BitBLT Source Register (DR05) = 020425h another BitBLT may be issued. No reads or writes
of the display memory by the CPU are permitted
Similarly, the LLC of the destination register calcu- while the BitBLT engine is active.
lated as:
In the present example the BitBLT source and desti-
(1A4h * 400H) + 157h = 069157h nation blocks have the same width as the display. As
can be seen below each scan line is transferred from
BitBLT Destination Register (DR06) = 069157h source to destination. Alignment is handled by the
BitBLT engine without assistance from software.
To begin any BitBLT the Command Register must be
written. This register contains key information about Compressed Screen-to-Screen Transfer
the size of the current BitBLT which must be written Next we consider an example of how a screen-to-
for all BitBLT operations: screen BitBLT operation is performed when the
source and destination blocks have different widths
Lines per Block = 52h (pitch). This type of BitBLT is commonly used to
Bytes per line = 114h (Current example 8bpp) store bitmaps efficiently in offscreen memory or
when recovering a saved bitmap from offscreen
Command Register (DR07) = 00520114h memory.
After the Command Register (XR07) is written the The 65545 display memory consists of a single linear
BitBLT engine performs the requested operation. frame buffer. The number of bytes per scan line and
The status of the BitBLT operation may be read in lines displayed changes with resolution and pixel
DR04[20] (read only bit). This is necessary to depth. For simplification, the concepts of pixels,
069269h 069269h
Dest Dest
054D57h 054D57h
00C138h 054E6Ah
Line 1 Line 1
00C025h 054D57h
lines, and columns are foreign to the BitBLT engine. moving to the right and then from the top to the
Instead, the 65545 operates on groups of bytes bottom.
(rows) which are separated by the width of the
screen. The 65545 permits separation between the The source offset is the same as the screen width
row lengths to be different for source and destination (400h) and the destination offset is the same as the
bitmaps. For efficient use of offscreen memory we source block width (114h):
may assume that the "width" of the screen is the BitBLT Offset Register (DR00) = 01140400h
same as the width of the data.
The Pattern ROP Register does not need to be
Below is an example of how a screen-to-screen programmed since there is no pattern involved.
BitBLT operation is performed with the destination Neither the Foreground Color nor Background Color
data efficiently compressed into the offscreen area. Register has to be programmed since there is no
The reverse operation is also valid to recreate the color expansion. The BitBLT Control Register
original block on the visible screen. Once again the contains the following bit fields:
BitBLT is to be a straight source copy with the
source block in the same location as the previous ROP = Source Copy = 0CCh
example. The destination block is to be located INC_Y = 1 (Top to Bottom)
beginning at the first byte of off-screen memory. INC_X = 1 (Left to Right)
Because the source and destination blocks do not Source Data = Variable Data = 0
overlap the INC_X and INC_Y BitBLT direction bits Source Depth = Source is Color = 0
are not important. We will assume that INC_X = 1, Pattern Depth = Don't Care = 0
INC_Y = 1 and the BitBLT will proceed one scan Background = Don't Care = 0
line at a time from the upper left corner of the source BitBLT = Screen --> Screen = 00
Source Source
020538h 00C938h 0C0336h 020538h
Line 3 Line 3 Source
00C025h 00C825h 0C0228h 00C025h
0C0227h Line 2
000000h 0C0114h 000000h
2EDh 0C0113h Line 1
400h 0C0000h
00C538h
Line 2 Destination
00C425h
00C138h
Line 1
00C025h
Source
Pattern Seed = Don't Care = 000 will be recognized as BitBLT source data and will be
routed to the correct address by the BitBLT engine.
BitBLT Control Register (DR04) = 003CCh This enables the programmer to set up a destination
Since the BitBLT will be beginning in the ULC of pointer into the video address window (doubleword
the source rectangle, the start address for the source aligned) and simply perform a REP MOVSD. Any
data is calculated as: unused data in the last word/doubleword write will
be discarded by the BitBLT Engine.
(30h * 400h) + 25h = 0C025h
BitBLT Source Register (DR05) = 0C025h For system-to-screen monochrome (font) expansions
the data is handled on a scanline by scanline basis.
Similarly, the ULC of the destination register calcu- As with the system-to-screen BitBLT with ROP, this
lated as (Number of scan lines * Bytes per scan line): type of transfer uses the 2 LSbits of the source
address register to determine the beginning byte
300h * 400h = 0C0000h index into the first doubleword. On subsequent
scanlines the source offset register is added to the
BitBLT Destination Register (DR06) = 0C0000h current scanline byte index to determine the indexing
for the start of the next scan line. Monochrome data
As in the previous example the Command Register is taken from bit 7 through bit 0, byte 0 through 3
must be written to begin the BitBLT. This register and expanded left to right in video memory (NOTE:
contains the size of the current BitBLT which must monochrome source only supports left to right
be written for all BitBLT operations: operation). At the end of the first scanline any
remaining data in the active doubleword is flushed
Lines per Block = 52h and the byte pointer for the starting byte in the next
Bytes per line = 114h (Current example 8bpp) doubleword (for the next scanline) is calculated by
adding 2 LSbits of the source offset to the starting
Command Register (DR07) = 00520114h byte position in the previous scanline. Monochrome
expansion then continues bit 7 through 0 incre-
System-to-Screen BitBLTs menting byte (after byte 3 bit 0 a new doubleword
begins at byte 0: bit 7) until the scanline is complete.
When performing a system-to-screen BitBLT the Note that the number of bytes programmed into the
source rotation information is passed in the BitBLT Command register references the number of
Source Address and Source Offset registers. The 2 expanded bytes written; not the number of bytes to
LSbits of the Source Address register indicate the be expanded.
alignment. For example if the system data resides at
system address 0413456h then the processor pointer
should be set to 0413454h (doubleword aligned) and
the Source address register is written with xxxxx2h.
When the end of the scan line is reached (the number
of bytes programmed in the Command Register have
been written) any remaining bytes in the last
doubleword written to the 65545 are discarded. The
2 LSbits of the Source Offset Register are then added
to the 2 LSbits of the Source Address Register to
determine the starting byte alignment for the first
doubleword of the next scanline. This process is
continued until all scanlines are completed. The most
common case will be a doubleword aligned bitmap in
system memory in which case the 2 Lbits of the
Source Address Register are zero. It is also common
for bitmaps to be stored with each scanline
doubleword aligned (Source Offset Register =
xxxxx0h). Once the Command Register is written
and the BitBLT operation has begun the 65545 will
wait for data to be sent to its memory address space.
Any write to a valid 65545 memory address, either in
the VGA space or linear address space if enabled,
The 65545 supports four types of cursors: Cursor Data Array Format and Layout
32 x 32 x 2bpp (and/xor) Cursor data is stored in display memory as shown:
64 x 64 x 2bpp (and/xor)
64 x 64 x 2bpp (4-color) 32x32 2bpp Cursor
128 x 128 x 1bpp (2-color) Offset Line Plane 0 Plane 1 Plane 2 Plane 3
000h 0 A7-0 X7-0 A15-8 X15-8
The first two hardware cursor types indicated as 004h 0 A23-16 X23-16 A31-24 X31-24
'and/xor' above follow the MS Windows™ 008h 1 A7-0 X7-0 A15-8 X15-8
AND/XOR cursor data plane structure which 00Ch 1 A23-16 X23-16 A31-24 X31-24
provides for two colors plus 'transparent' ... ... ... ... ... ...
(background color) and 'inverted' (background color 0FCh 31 A23-16 X23-16 A31-24 X31-24
inverted). The last two types in the list above are 64x64 2bpp Cursor / Pop-Up
also referred to as 'Pop-Ups' because they are
typically used to implement pop-up menu Offset Line Plane 0 Plane 1 Plane 2 Plane 3
capabilities. Hardware cursor / pop-up data is stored 000h 0 A7-0 X7-0 A15-8 X15-8
in display memory, allowing multiple cursor values 004h 0 A23-16 X23-16 A31-24 X31-24
to be stored and selected rapidly. The two or four 008h 0 A39-32 X39-32 A47-40 X47-40
colors specified by the values in the hardware cursor 00Ch 0 A55-48 X55-48 A63-56 X63-56
data arrays are stored in on-chip registers as high- 010h 1 A7-0 X7-0 A15-8 X15-8
014h 1 A23-16 X23-16 A31-24 X31-24
color (5-6-5) values independent of the on-chip color ... ... ... ... ... ...
lookup tables (i.e., Attribute Controller and VGA 3FCh 63 A55-48 X55-48 A63-56 X63-56
Color Palette).
128x128 1bpp Pop-Up
The hardware cursor can overlay either graphics or
video data on a pixel by pixel basis. It may be Offset Line Plane 0 Plane 1 Plane 2 Plane 3
positioned anywhere within screen resolutions up to 000h 0 P7-0 P15-8 P23-16 P31-24
2048x2048 pixels. 64x64 'and/xor' cursors may 004h 0 P39-32 P47-40 P55-48 P63-56
008h 0 P71-64 P79-72 P87-80 P95-88
also be optionally doubled in size to 128 pixels either 00Ch 0 P103-96 P111-104 P119-112 P127-120
horizontally and/or vertically by pixel replication. 010h 1 P7-0 P15-8 P23-16 P31-24
Hardware cursor screen position, type, color, and 014h 1 P39-32 P47-40 P55-48 P63-56
base address of the cursor data array in display ... ... ... ... ... ...
7FCh 127 P103-96 P111-104 P119-112 P127-120
memory may be controlled via the 32-bit 'DR'
extension registers. A7/X7 is the left-most pixel of the cursor pattern
displayed on the screen for all cursor types. Note
Hardware Cursor Programming that 32x32 cursors take up 256 bytes each (the upper
3/4 of the 1KB space allocated for each cursor
Once the 32-bit extension registers are enabled storage location in display memory is unused).
(XR03[1]=1), the cursor registers (DR08-DR0C) 128x128 cursors (pop-ups) take up 2KB each, so
may be accessed. DR08 controls the cursor type and require A10 of the base address to be set to 0.
X/Y zoom (H/V pixel replication). It also enables the
hardware cursor to appear on the screen. DR09 and Cursor data array elements map as follows:
DR0A specify up to four 16-bit RGB (5-6-5) cursor
color values. DR0B specifies the cursor position on Ann Xnn And/Xor Type 4-Color Type
screen in X-Y coordinates (number of pixels from 0 0 Color 0 Color 0
the left and top edges of the addressable portion of 0 1 Color 1 Color 1
the display). DR0C specifies the address in display 1 0 Transparent Color 2
memory where the cursor data array is stored. A 10- 1 1 Inverted Color 3
bit base address may be specified allowing cursor where colors 0 and 1 are defined by DR09 and colors
data patterns to be stored in any of 1024 different 2 and 3 are defined by DR0A. Each pixel in 2-color
locations in the maximum 1MB of display memory. (1bpp) cursors (pop-ups) may be either color 0 or
Each cursor storage area takes up 1024 bytes of color 1.
display memory which is exactly large enough to
hold a 64x64x2 cursor pattern.
Display Memory Base Address Formation Copying Cursor Data to Display Memory
The address bits in the cursor base address register Once the base address for the cursor data pattern in
DR0C are aligned so they are in the proper position display memory has been determined and the VGA
corresponding to the CPU address required to write has been properly programmed, the cursor data
to display memory. However, there are two pattern may be copied from system memory to
methods of addressing display memory, VGA-style display memory. The following program sequence
and 'Linear Frame Buffer' style, so the actual CPU shows an example of one method which may be
address for loading a cursor data array must be used:
constructed differently depending on the addressing
method used. If VGA addressing is used, the lower es:edi = display memory base address for cursor
16-bits of DR0C may be used as an offset into the ds:si = address of AND array in system memory
64KB VGA address space (starting at either ds:bx = address of XOR array in system memory
0A0000h or 0B0000h depending on whether the MOV AL, [SI+1]
VGA is set for text mode or graphics mode). DR0C MOV AH, [BX+1]
bits 16-19 would then be used to control the VGA's SHL EAX,16
paging mechanism to set the 64KB CPU aperture MOV AL, [SI]
into display memory to the correct location for MOV AH, [BX]
storing the cursor pattern (see XR0B, XR10, and STOSD
XR11). If 'linear frame buffer' addressing is used,
the entire 1MB of display memory can be accessed Setting the Cursor Position, Type, and Base Address
directly and the base value in DR0C may be used
directly as a 24-bit offset into a programmable 1MB Following storage of the cursor data array in display
space in system memory (specified in the Linear memory, the location of the cursor in display
Addressing Base register XR08). memory is set via the Cursor Base Address register
(DR0C) and the X-Y coordinates for positioning the
VGA Controller Programming cursor are written to the Cursor Position Register
In order to copy the cursor data pattern to the (DR0B). The cursor type and X/Y zoom (H/V pixel
controller, the VGA controller must be properly replication) factors are then set and the cursor
programmed for 32-bit direct access to all 4 planes. enabled via the Cursor Control Register (DR08).
Proper programming for the controller consists of To update the cursor position, a 32-bit write (or two
putting the controller in either 'text' or 'graphics' 16-bit writes) are performed to the Cursor Position
mode and then setting the following registers as Register (DR0B). This new position will take effect
indicated: on the next frame (synchronized to VSync).
SR04 =0Eh Sequencer Memory Mode When the cursor changes shape, it should normally
SR02 =0Fh Sequencer Plane Mask be disabled, reprogrammed as described above, and
GR05 =00h Graphics Controller Mode then re-enabled. Alternately, a new shape may be
GR06 =04h (text mode) Graphics Controller Misc stored in a different location in display memory, the
=05h (gr mode) Graphics Controller Misc cursor screen XY location updated (via DR0B), then
XR0B =x5h Paging Control the new cursor selected as the active cursor (by
This sets up the VGA controller to allow 32-bit direct reprogramming the base register DR0C). Cursor
access to all 4 planes of all 1MB of display memory base register changes are also synchronized to VSync
in a linear fashion. It also sets the VGA memory to avoid glitching of the cursor on the display.
aperture to a 64KB space at 0A0000h independent of
initial graphics or text mode settings.
Pixels Per Shift Clock The number of bits per pixel is determined as
The 65540 / 545 can be programmed to output 1, 2, follows:
4, 8, or 16 pixels per shift clock. This is achieved 1bpp: Bits/Pixel=000 or 001 or
by programming the frequency ratio between the dot 16-Frame FRC or
clock and the shift clock. The shift clock divide 2-Frame FRC with Bits/Pixel=010
(CD) is set by XR50 bits 6-4. For monochrome
panels, the valid settings are: 2bpp: Not 1bpp and CD=011 (8 Pixels/Clock)
4bpp: Not 1bpp and CD=010 (4 Pixels/Clock)
Pixels Per Pixels Per
Shift Shift Clock Shift Clock 8bpp: Not 1bpp and CD=001 (2 Pixels/Clock) or
Clock without Frm Acc with Frm Acc Not 1bpp and CD=000 (1 Pixels/Clock)
000 Dot clk 1 2 Valid Color TFT panel shift clock divide settings are:
001 Dclk / 2 2 4
010 Dclk / 4 4 8 Pixels
per TFT TFT "B0-n" "G0-n" "R0-n"
011 Dclk / 8 8 16 Shift Output Output Panel Panel Panel
100 Dclk / 16 16 n/a Clock Width Format Outputs Outputs Outputs
Pixels 8-Bit Valid 16-Bit Valid 000 1 16 5-6-5 P0-4 P5-10 P11-15
Per Shift Panel Outputs Panel Outputs 24 8-8-8 P0-7 P8-15 P16-23
Clock Interface (8-bit) Interface (16-bit) 001 2 24 4-4-4 P0-3 P8-11 P16-19
1 8bpp P8-15 8bpp P8-15 P4-7 P12-15 P20-23
2 4bpp P8-15 (8-11 1st) 8bpp P0-15 For 2 pixels/shift clock, the first pixel output is on
4 2bpp P8-15 (8-9 1st) 4bpp P0-15 P0-3, 8-11, and 16-19.
8 1bpp P1,3,5,... (1 1st) 2bpp P0-15
16 n/a n/a 1bpp P0-15 For Color STN, valid shift clock divide settings are:
The pixel on the lowest numbered output pin is Pixels Per Clock Pixels Per Clock
always the first pixel output (the pixel shown first on without with
the left side of the screen). For example, for 8 pixels FrameAcceleration FrameAcceleration
per clock, 1bpp on an 8-bit interface, P1 is the first SS or DD Panels DD Panels Only
pixel, P3 is the second, etc. For 16 pixels per clock, 000 1 2
1bpp on a 16-bit interface, P0 is the first pixel, P1 is 001 2 4
010 4 n/a
the second, etc. For 4 pixels per clock, 2bpp on an
8-bit interface, P8-9 is the first pixel, P10-11 is the For Color STN data, pixel output sequences are
second, etc. controlled by the 'Color STN Pixel Packing' bits
24bit 24bit 16bit 8bit 16bit 16bit 16bit (XR53[5-4]) described on the following page
Color Color Color Mono Mono Mono Mono (packing may be selected as '3-Bit Pack', '4-Bit
Pix/clk: 1 2 1 1 2 4 8 Pack', or 'Extended 4-Bit Pack' sometimes referred
CD: 000 001 000 000 001 010 011 to in this document as 3bP, 4bP, and X4bP). All
P0 B0n B4n B3n – G0n G4n G6n cases in the above table can use 3-Bit Pack or 4-Bit
P1 B1n B5n B4n – G1n G5n G7n Pack. Extended 4-Bit Pack is only used for the
P2 B2n B6n B5n – G2n G4n+1 G6n+1 single case of 2 pixels per shift clock without frame
P3 B3n B7n B6n – G3n G5n+1 G7n+1 acceleration. Pixel Packing is not used for
P4 B4n B4n+1 B7n G0n† G0n+1 G4n+2 G6n+2 EL/Plasma, Monochrome DD, or Color TFT panels
P5 B5n B5n+1 G2n G1n† G1n+1 G5n+2 G7n+2 so the pixel packing bits should be set to 00 for all
P6 B6n B6n+1 G3n G2n† G2n+1 G4n+3 G6n+3 panels except color STN.
P7 B7n B7n+1 G4n G3n† G3n+1 G5n+3 G7n+3
P8 G0n G4n G5n G0n G4n G6n G6n+4 Shift Clock Divide
P9 G1n G5n G6n G1n G5n G7n G7n+4 The above clock divide ('CD') bits (XR50 bits 6-4)
P10 G2n G6n G7n G2n G6n G6n+1 G6n+5
P11 G3n G7n R3n G3n G7n G7n+1 G7n+5 affect both shift clock and data out. XR51[3] (Shift
P12 G4n G4n+1 R4n G4n G4n+1 G6n+2 G6n+6 Clock Divide or SD) may be set so that only the shift
P13 G5n G5n+1 R5n G5n G5n+1 G7n+2 G7n+6 clock (and not the video data) is further divided by
P14 G6n G6n+1 R6n G6n G6n+1 G6n+3 G6n+7 two beyond the setting of XR50 bits 6-4. This has
P15 G7n G7n+1 R7n G7n G7n+1 G7n+3 G7n+7 the effect of causing a new pixel to be output on
P16 R0n R4n – – – – – every clock edge (i.e., both rising and falling) in-
P17 R1n R5n – – – – – stead of just every falling clock edge (the first pixel
P18 R2n R6n – – – – – output on every scan line will be on the rising edge).
P19 R3n R7n – – – – –
P20 R4n R4n+1 – – – – – Extended 4-Bit Pack for Color STN panels requires
P21 R5n R5n+1 – – – – – that the SD bit (XR51[3]) be set to 1. In all other
P22 R6n R6n+1 – – – – – cases in the Color STN table above, either setting
P23 R7n R7n+1 – – – – – may be used.
† For information only, not recommended for panel connections
Revision 1.2 181 65540 / 545
®
Flat Panel Timing
Color STN Pixel Packing ( Pixel Output Order ) Pixel output order for 4-Bit Pack 8-bit STN DD
For color STN panels, pixel packing must be panels:
selected via XR53 bits 5-4: Shift Clock Edge
Packing CD Settings Allowable 1st 2nd 3rd 4th
00 3-Bit Pack SS: 000, 001, or 010 Upper:
P0 R1 G2 B3 ...
DD: 000, 001 (010 w/o FA) P1 G1 B2 R4 ...
01 4-Bit Pack SS: 000, 001, or 010 P2 B1 R3 G4 ...
DD: 000, 001 (010 w/o FA) P3 R2 G3 B4 ...
11 Ext'd 4-Bit Pack SS: 001 (8bit panels only) Lower:
P4 R1 G2 B3 ...
These settings are valid for color STN panels only P5 G1 B2 R4 ...
(these bits must be set to 00 for monochrome and P6 B1 R3 G4 ...
P7 R2 G3 B4 ...
color TFT panels).
The pixel sequence repeats with 8 pixels (4 for each
Pixel output order for 3-Bit Pack STN-SS panels of the upper and lower panels) every 3 shift clock
without frame acceleration: edges. Clock divide must be set to 000 with Frame
CD=000 (1p/clk) CD=001 (2p/clk) CD=010 (4p/clk) Acceleration and 001 without Frame Acceleration.
ShfClk Edge Shift Clock Edge Shift Clock Edge
1st 2nd 3rd 4th 1st 2nd 3rd 4th 1st 2nd 3rd 4th Pixel output order for 16-bit STN panels (4bit Pack):
P0 – – – ... ... STN-SS Panels STN-DD Panels
P1 R1 R2 R3 ... R1 R3 R5 ... R1 R5 R9 ... Shift Clock Edge Shift Clock Edge
P2 G1 G2 G3 ... G1 G3 G5 ... G1 G5 G9 ... 1st 2nd 3rd 4th 1st 2nd 3rd 4th
P3 B1 B2 B3 ... B1 B3 B5 ... B1 B5 B9 ... P0 R1 G6 B11 ... Upper:
P4 – – – – – – – – – P1 G1 B6 R12 ... P0 R1 B3 G6 ...
P5 – – – R2 R4 R6 ... R2 R6 R10 ... P2 B1 R7 G12 ...
P6 – – – G2 G4 G6 ... G2 G6 G10 ... P1 G1 R4 B6 ...
P3 R2 G7 B12 ... P2 B1 G4 R7 ...
P7 – – – B2 B4 B6 ... B2 B6 B10 ... P4 G2 B7 R13 ... P3 R2 B4 G7 ...
P8 – – – – – – ... P5 B2 R8 G13 ...
P9 – – – – – – R3 R7 R11 ... P6 R3 G8 B13 ... P8 G2 R5 B7 ...
P10 – – – – – – G3 G7 G11 ... P7 G3 B8 R14 ... P9 B2 G5 R8 ...
P11 – – – – – – B3 B7 B11 ... P8 B3 R9 G14 ... P10 R3 B5 G8 ...
P12 – – – – – – – – – P11 G3 R6 B8 ...
P9 R4 G9 B14 ...
P13 – – – – – – R4 R8 R12 ... P10 G4 B9 R15 ... Lower:
P14 – – – – – – G4 G8 G12 ... P11 B4 R10 G15 ... P4 R1 B3 G6 ...
P15 – – – – – – B4 B8 B12 ... P12 R5 G10 B15 ... P5 G1 R4 B6 ...
P13 G5 B10R16 ... P6 B1 G4 R7 ...
4b Pack, CD=001 Ext'd 4b Pack, CD=001 P14 B5 R11G16 ... P7 R2 B4 G7 ...
Shift Clock Edge Shift Clock Edge P15 R6 G11B16 ... P12 G2 R5 B7 ...
1st 2nd 3rd 4th 1st 2nd 3rd 4th 5th 6th 7th P13 B2 G5 R8 ...
P0 R1 B3 G6 ... R1 G1 G6 B6 B11 R12 ... P14 R3 B5 G8 ...
P1 G1 R4 B6 ... B1 R2 R7 G7 G12 B12 ... P15 G3 R6 B8 ...
P2 B1 G4 R7 ... G2 B2 B7 R8 R13 G13 ...
P3 R2 B4 G7 ... R3 G3 G8 B8 B13 R14 ...
P4 G2 R5 B7 ... B3 R4 R9 G9 G14 B14 ...
P5 B2 G5 R8 ... G4 B4 B9 R10 R15 G15 ... For STN-SS panels the pixel sequence repeats with
P6 R3 B5 G8 ... R5 G5 G10 B10 B15 R16 ... 16 pixels every 3 shift clock edges (5-1/3 pixels per
P7 G3 R6 B8 ... B5 R6 R11 G11 G16 B16 ... shift clock edge). Clock divide must be set to 010.
The pixel sequence for 3-bit Pack repeats with either For STN-DD panels the pixel sequence repeats with
1, 2, or 4 pixels every shift clock edge depending on 16 pixels (8 for each of the upper and lower panels)
the setting of the clock divide (CD) field. The pixel every 3 shift clock edges (2-2/3 pixels per shift clock
sequence for 4-bit Pack repeats with 8 pixels every 3 edge per panel). Clock divide must be set to 001
shift clock edges. The sequence for Extended 4-Bit with Frame Acceleration and 010 without Frame
Pack repeats with 16 pixels every 6 shift clock Acceleration.
edges. Extended 4-bit Pack is used only for 8-bit
color STN-SS panels. It is not used for color STN
DD panels or for 16-bit color STN interfaces.
LP
BLANK#
SHFCLK
320 Clks / H 320 Clks / H 320 Clks / H
FLM
SHFCLK
(Plasma)
SHFCLK
(EL †)
(1,1) (3,1) (637,1) (639,1) (637,480) (639,480)
P8 –1 –1 –1 –1 –1 –1
(1,1) (3,1) (637,1) (639,1) (637,480) (639,480)
P9
–2 –2 –2 –2 –2 –2
(1,1) (3,1) (637,1) (639,1) (637,480) (639,480)
P10 –4 –4 –4 –4 –4 –4
† EL panels use the rising edge of SHFCLK to clock in panel data, so the SHFCLK
output from the 65540 / 545 must be inverted prior to driving the panel
Panel Output Timing - 640 x 480 Monochrome DD 8-Bit (1 Bit / Pixel, 8 Pixels / Shift Clock)
LP
BLANK#
SHFCLK
160 Clks / H 160 Clks / H 160 Clks / H
(640 x 480) (640 x 480) (640 x 480)
FLM
(1,1)...(640,1) (1,2)...(640,2) (1,240)...(640,240)
P0-7 (1,241)...(640,241) (1,242)...(640,242) (1,480)...(640,480)
240 Data Transfer Cycles / V
(640 x 480)
Panel Output Pixel Order - 640 x 480
(No FA) DCLK (SHFCLK x 8)
CD = 011
(FA) DCLK (SHFCLK x 4)
CD = 010
SHFCLK
(UD3) P0 (1,1) (5,1) (633,1) (637,1) (633,240) (637,240)
(UD2) P1 (2,1) (6,1) (634,1) (638,1) (634,240) (638,240)
(UD1) P2 (3,1) (7,1) (635,1) (639,1) (635,240) (639,240)
(UD0) P3 (4,1) (8,1) (636,1) (640,1) (636,240) (640,240)
(LD3) P4 (1,241) (5,241) (633,241) (637,241) (633,480) (637,480)
(LD2) P5 (2,241) (6,241) (634,241) (638,241) (634,480) (638,480)
(LD1) P6 (3,241) (7,241) (635,241) (639,241) (635,480) (639,480)
(LD0) P7 (4,241) (8,241) (636,241) (640,241) (636,480) (640,480)
FA = Frame Accelerator (Imbedded or External)
Panel Output Timing - 1024 x 768 Monochrome DD 16-Bit (1 Bit / Pixel, 16 Pixels / Shift Clock)
LP
BLANK#
SHFCLK
256 Clks / H 256 Clks / H 256 Clks / H
(1024 x 768) (1024 x 768) (1024 x 768)
FLM
(1,1)...(1024,1) (1,2)...(1024,2) (1,384)...(1024,384)
P0-15 (1,385)...(1024,385) (1,386)...(1024,386) (1,768)...(1024,768)
384 Data Transfer Cycles / V
(1024 x 768)
Pixel Output Pixel Order - 1024 x 768
(No FA) DCLK (SHFCLK x 16)
CD = 100
(FA) DCLK (SHFCLK x 8)
CD = 011
SHFCLK
(UD7) P0 (1,1) (9,1) (1009,384)
(UD6) P1 (2,1) (10,1) (1010,384)
(UD5) P2 (3,1) (11,1) (1011,384)
(UD4) P3 (4,1) (12,1) (1012,384)
(UD3) P4 (5,1) (13,1) (1013,384)
(UD2) P5 (6,1) (14,1) (1014,384)
(UD1) P6 (7,1) (15,1) (1015,384)
(UD0) P7 (8,1) (16,1) (1016,384)
(LD7) P8 (1,385) (9,385) (1009,768)
(LD6) P9 (2,385) (10,385) (1010,768)
(LD5) P10 (3,385) (11,385) (1011,768)
(LD4) P11 (4,385) (12,385) (1012,768)
(LD3) P12 (5,385) (13,385) (1013,768)
(LD2) P13 (6,385) (14,385) (1014,768)
(LD1) P14 (7,385) (15,385) (1015,768)
(LD0) P15 (8,385) (16,385) (1016,768)
DCLK
SHFCLK
DCLK
SHFCLK
DCLK
IDCLK
IDCLK/2
SHFCLKU
(Pin 70)
SHFCLKL
(Pin 81)
P0 R1 G1 G6 B6 B11 R12
P1 B1 R2 R7 G7 G12 B12
P2 G2 B2 B7 R8 R13 G13
P3 R3 G3 G8 B8 B13 R14
P4 B3 R4 R9 G9 G14 B14
P5 G4 B4 B9 R10 R15 G15
P6 R5 G5 G10 B10 B15 R16
P7 B5 R6 R11 G11 G16 B16
Panel Timing - Color LCD STN 8-Bit ( Extended 4-Bit Pack ) Interface
DCLK
IDCLK
SHFCLK
(IDCLK/2)
Panel Pixel Timing - Color LCD STN 16-Bit ( 4-Bit Pack ) Interface
DCLK
SHFCLK
(IDCLK)
8 Pixels (4 each for the upper and lower panels) are transferred every 4 Dot Clocks (3 Shift Clock Edges)
Panel Pixel Timing - Color LCD STN-DD 8-Bit ( 4-Bit Pack ) Interface - With Frame Acceleration
DCLK
IDCLK
SHFCLK
(IDCLK/2)
8 Pixels (4 each for the upper and lower panels) are transferred every 8 Dot Clocks (3 Shift Clock Edges)
Panel Pixel Timing - Color LCD STN-DD 8-Bit ( 4-Bit Pack ) Interface - Without Frame Acceleration
DCLK
IDCLK
SHFCLK
(IDCLK /2)
16 Pixels (8 each for the upper and lower panels) are transferred every 8 Dot Clocks (3 Shift Clock Edges)
Panel Pixel Timing - Color LCD STN-DD 16-Bit ( 4-Bit Pack ) Interface - With Frame Acceleration
DCLK
IDCLK
IDCLK /2
SHFCLK
(IDCLK /4)
P0 R(1,1) B(3,1) G(6,1)
P1 G(1,1) R(4,1) B(6,1)
P2 B(1,1) G(4,1) R(7,1)
P3 R(2,1) B(4,1) G(7,1)
P4 R(1,241) B(3,241) G(6,241)
P5 G(1,241) R(4,241) B(6,241)
P6 B(1,241) G(4,241) R(7,241)
P7 R(2,241) B(4,241) G(7,241)
P8 G(2,1) R(5,1) B(7,1)
P9 B(2,1) G(5,1) R(8,1)
P10 R(3,1) B(5,1) G(8,1)
P11 G(3,1) R(6,1) B(8,1)
P12 G(2,241) R(5,241) B(7,241)
P13 B(2,241) G(5,241) R(8,241)
P14 R(3,241) B(5,241) G(8,241)
P15 G(3,241) R(6,241) B(8,241)
16 Pixels (8 each for the upper and lower panels) are transferred every 16 Dot Clocks (3 Shift Clock Edges)
Panel Pixel Timing - Color LCD STN-DD 16-Bit (4-Bit Pack) Interface - Without Frame Acceleration
GENERAL PROGRAMMING HINTS values have a wide range of acceptable values. The
65540 / 545 also has the versatility to program an
The values presented in this section make certain LP delay to aid in interfacing to panels with a wide
assumptions about the operating environment. The variety of timing requirements.
flat panel clock ('dot clock') is assumed to be
generated by the internal clock synthesizer. The In order to program the 65540 / 545 for simulta-
values programmed into the SmartMap™ control neous display, two FLM signals are required. The
registers (XR61 and XR62) give a threshold of 3 first shorter FLM will match the normal FLM
with foreground and background shift of 3 but frequency as the data is displayed on the first half of
SmartMap™ is turned off. To enable it, set XR61 the CRT display data. The second FLM will be
bit-0 = 1. The 65540 and 65545 provide longer to allow for the CRT blank time. The FLM
programmability of the gray scaling algorithm by delay is programmed in XR2C and should be equal
adjusting 'm' and 'n' polynomial values in extended to the CRT blank time — FLM front porch — FLM
register 6E. width.
The horizontal parameter values presented here are For flat panel types and sizes not presented here,
the minimum required for each panel type. For high start with the parameters for a panel that most
resolution panels, these parameters may be changed closely resembles the target panel. Adjust the flat
to suit the panel size. The horizontal values equal panel configuration registers as needed and adjust
the number of characters clocks output per line. In the horizontal and vertical parameters as needed.
dual drive panels this value includes both panels. Adaption to a non-standard panel is usually a trial
Therefore, the horizontal values are double those and error process.
expected.
These parameters are recommended by Chips and
Due to pipelining of the horizontal counters, certain Technologies, Inc. for the 65540 / 545. They have
sync or blank values may result in no display. been tested on several different flat panel displays.
Generally, the horizontal blank start must equal the Customers should feel free to test other register
display end and the blank end must equal the values to improve the screen appearance or to
horizontal total. The horizontal sync start and end customize the 65540 / 545 for other flat panel
displays.
Table #1 specifies the minimum Extension Register values required for the 65540 / 545 to boot to VGA
mode on an analog CRT monitor.
Table #2 specifies the additional Extension Register values required for emulation of EGA, CGA, MDA
and Hercules backwards compatibility modes. The registers in Table #2 should be used in
conjunction with the registers specified in Table #1. For registers listed in both tables, use the
values in Table #2 (shown in bold text).
Tables #3-11 specify the additional Extension Register values required to support various panels. The registers
in Tables #3-11 should be used in conjunction with the registers specified in Table #1 (and
optionally Table #2). For registers listed in more than one table, use the values in Tables #3-11
(shown in bold text).
Note: 1) Memory Control Register 1 is automatically re-programmed with the proper display memory
configuration by the BIOS
2) The Software Flag Registers are used by the BIOS and should not be re-programmed
Table #3 - Parameters for 640x480 Monochrome LCD-DD Panels (Panel Mode Only)
Extension Register Values for Epson EG9005F-LS
Citizen G6481L-FF
Sharp LM64P80
Sanyo LCM-6494-24NTK
Hitachi LMG5364XUFC
Register Value (in Hex) Register Comments
XR06 02 Palette Control Disable Internal DAC
XR19 57 Alternate Horizontal Sync Start
XR1A 19 Alternate Horizontal Sync End
XR1B 59 Alternate Horizontal Total
XR1C 4F Horizontal Panel Size
XR2C 04 FLM Delay
XR2D 50 LP Delay (CMPR enabled)
XR2E 50 LP Delay (CMPR disabled)
XR2F 00 LP Width
XR4F 44 Panel Format 2
XR50 25 Panel Format 1
XR51 67 Display Type
XR52 41 Power Down Control
XR53 0C Panel Format 3
XR54 3A Panel Interface
XR55 E5 Horizontal Compensation
XR56 00 Horizontal Centering
XR57 1B Vertical Compensation
XR58 00 Vertical Centering
XR59 84 Vertical Line Insertion
XR5A 00 Vertical Line Replication
XR5B 8F Power Sequencing Delay
XR5D 10 FP Diagnostic
XR5E 80 M (ACDCLK) Control
XR64 E4 Alternate Vertical Total
XR65 07 Alternate Overflow
XR66 E0 Alternate Vertical Sync Start
XR67 01 Alternate Vertical Sync End
XR68 DF Vertical Panel Size
XR6C 00 Programmable Output Drive
XR6E 26 Polynomial FRC Control Register Optimize for best display quality
XR6F 1B Frame Buffer Control
Note: 1) Bold text indicates registers with values different from those shown in Table #1
2) Non-bold text indicates additional registers (not included in Table #1)
Table #4 - Parameters for 640x480 Monochrome LCD-DD Panels (Simultaneous Mode Display)
Extension Register Values for Epson EG9005F-LS
Citizen G6481L-FF
Sharp LM64P80
Sanyo LCM-6494-24NTK
Hitachi LMG5364XUFC
Register Value (in Hex) Register Comments
XR19 55 Alternate Horizontal Sync Start
XR1A 00 Alternate Horizontal Sync End
XR1B 5F Alternate Horizontal Total
XR1C 4F Horizontal Panel Size
XR2C 21 FLM Delay
XR2D 50 LP Delay (CMPR enabled)
XR2E 50 LP Delay (CMPR disabled)
XR2F 00 LP Width
XR4F 44 Panel Format 2
XR50 25 Panel Format 1
XR51 67 Display Type
XR52 41 Power Down Control
XR53 0C Panel Format 3
XR54 3A Panel Interface
XR55 E5 Horizontal Compensation
XR56 00 Horizontal Centering
XR57 1B Vertical Compensation
XR58 00 Vertical Centering
XR59 84 Vertical Line Insertion
XR5A 00 Vertical Line Replication
XR5B 8F Power Sequencing Delay
XR5D 10 FP Diagnostic
XR5E 80 M (ACDCLK) Control
XR64 0B Alternate Vertical Total
XR65 26 Alternate Overflow
XR66 EA Alternate Vertical Sync Start
XR67 0C Alternate Vertical Sync End
XR68 DF Vertical Panel Size
XR6C 02 Programmable Output Drive
XR6E 26 Polynomial FRC Control Register Optimize For LCD
XR6F 1B Frame Buffer Control
Note: 1) Bold text indicates registers with values different from those shown in Table #1
2) Non-bold text indicates additional registers (not included in Table #1)
Table #5 - Parameters for 640x480 Color TFT Panels (Panel Mode Only)
Extension Register Values for Hitachi TX26D02VC2AA
Sharp LQ9D011 (set to accommodate the DE signal)
Toshiba LTM-09C015-1
Table #6 - Parameters for 640x480 Color TFT Panels ( Simultaneous Mode Display )
Note: 1) Bold text indicates registers with values different from those shown in Table #1
2) Non-bold text indicates additional registers (not included in Table #1)
Table #7 - Parameters for 640x480 Color STN-SS Panels with 16-Bit Interface 4-Bit Pack
(Panel & Simultaneous Mode Display)
Extension Register Values for Sanyo LM-CK53-22NEZ
Sanyo LCM5327-24NAK
Sanyo LCM5330
Register Value (in Hex) Register Comments
XR06 C2 Palette Control C0 for Simultaneous Display
XR19 56 Alternate Horizontal Sync Start 55 for Simultaneous Display
XR1A 19 Alternate Horizontal Sync End 00 for Simultaneous Display
XR1B 59 Alternate Horizontal Total 5F for Simultaneous Display
XR1C 4F Horizontal Panel Size
XR2C 04 FLM Delay 22 for Simultaneous Display
XR2D 5C LP Delay (CMPR enabled) 62 for Simultaneous Display
XR2E 5C LP Delay (CMPR disabled) 62 for Simultaneous Display
XR2F 5C LP Width 60 for Simultaneous Display
XR4F 44 Panel Format 1
XR50 25 Panel Format 2
XR51 C4 Display Type
XR52 41 Power Down Control
XR53 1C Panel Format 3
XR54 3A Panel Interface
XR55 E5 Horizontal Compensation
XR56 00 Horizontal Centering
XR57 1B Vertical Compensation
XR58 00 Vertical Centering
XR59 84 Vertical Line Insertion
XR5A 00 Vertical Line Replication
XR5B 8F Power Sequencing Delay
XR50 10 Panel Format 1
XR5E 80 M (ACDCLK) Control
XR64 E4 Alternate Vertical Total 0B for Simultaneous Display
XR65 07 Alternate Overflow 26 for Simultaneous Display
XR66 E1 Alternate Vertical Sync Start EA for Simultaneous Display
XR67 02 Alternate Vertical Sync End 0C for Simultaneous Display
XR68 DF Vertical Panel Size
XR6C 02 Programmable Output Drive
XR6E 61 Polynomial FRC Control Optimize for best display quality
XR6F 00 Frame Buffer Control
Note: 1) Bold text indicates registers with values different from those shown in Table #1
2) Non-bold text indicates additional registers (not included in Table #1)
Table #8 - Parameters for 640x480 Color STN-SS Panels with 8-Bit Interface (Extended 4-Bit Pack)
Extension Register Values for Sharp LM64C031
Register Value (in Hex) Register Comments
XR06 C2 Palette Control C0 simultaneous mode
XR19 56 Alternate Horizontal Sync Start 55 simultaneous mode
XR1A 00 Alternate Horizontal Sync End
XR1B 59 Alternate Horizontal Total 5F simultaneous mode
XR1C 4F Horizontal Panel Size
XR2C 02 FLM Delay 2B simultaneous mode
XR2D 50 LP Delay (CMPR enabled)
XR2E 50 LP Delay (CMPR disabled)
XR2F 00 LP Width
XR4F 44 Panel Format 2
XR50 15 Panel Format 1
XR51 6C Display Type
XR52 41 Power Down Control
XR53 3C Panel Format 3
XR54 3A Panel Interface
XR55 E5 Horizontal Compensation
XR56 00 Horizontal Centering
XR57 1B Vertical Compensation
XR58 00 Vertical Centering
XR59 84 Vertical Line Insertion
XR5A 00 Vertical Line Replication
XR5B 8F Power Sequencing Delay
XR5D 10 FP Diagnostic
XR5E 80 M (ACDCLK) Control
XR64 E8 Alternate Vertical Total 15 simultaneous mode
XR65 07 Alternate Overflow 26 simultaneous mode
XR66 E1 Alternate Vertical Sync Start EA simultaneous mode
XR67 02 Alternate Vertical Sync End 0C simultaneous mode
XR68 DF Vertical Panel Size
XR6C 02 Programmable Output Drive
XR6E 36 Polynomial FRC Control Optimize for best display quality
XR6F 00 Frame Buffer Control
Note: 1) Bold text indicates registers with values different from those shown in Table #1
2) Non-bold text indicates additional registers (not included in Table #1)
Table #9 - Parameters for 640x480 Color STN-DD Panels with 16-Bit Interface with Frame Acceleration
(Panel & Simultaneous Mode Display)
Extension Register Values for Sharp LM64C08P
Sanyo LCM5331-22NTK
Hitachi LMG9721XUFC
Toshiba TLX-8062S-C3X
Optrex DMF-50351NC-FW
Register Value (in Hex) Register Comments
XR06 C2 Palette Control
XR19 57 Alternate Horizontal Sync Start
XR1A 19 Alternate Horizontal Sync End
XR1B 59 Alternate Horizontal Total
XR1C 4F Horizontal Panel Size
XR2C 15 FLM Delay 22 for no frame acceleration
XR2D 50 LP Delay (CMPR enabled) 9E for no frame acceleration
XR2E 50 LP Delay (CMPR disabled)
XR2F 00 LP Width
XR4F 04 Panel Format 1
XR50 25 Panel Format 2 35 for no frame acceleration
XR51 67 Display Type
XR52 41 Power Down Control
XR53 1C Panel Format 3
XR54 3A Panel Interface
XR55 E5 Horizontal Compensation
XR56 00 Horizontal Centering
XR57 1B Vertical Compensation
XR58 00 Vertical Centering
XR59 1F Vertical Line Replication
XR5A 00 Vertical Line Replication
XR5B 8F Power Sequencing Delay
XR5D 10 FP Diagnostic
XR5E 80 M (ACDCLK) Control
XR64 0B Alternate Vertical Total
XR65 07 Alternate Overflow
XR66 EA Alternate Vertical Sync Start
XR67 0C Alternate Vertical Sync End
XR68 DF Vertical Panel Size
XR6C 02 Programmable Output Drive
XR6E 33 Polynomial FRC Control Optimize for best display quality.
XR6F 1B Frame Buffer Control 9F for external frame buffer with frame
acceleration. 99 for external frame buffer
without frame acceleration.
Note: 1) Bold text indicates registers with values different from those shown in Table #1
2) Non-bold text indicates additional registers (not included in Table #1)
Table #10 - Parameters for 640x480 Plasma Panels with 16 Internal Gray Levels
Extension Register Values for Matsushita S804
Register Value (in Hex) Register Comments
XR19 60 Alternate Horizontal Sync Start
XR1A 00 Alternate Horizontal Sync End
XR1B 60 Alternate Horizontal Total
XR1C 4F Horizontal Panel Size
XR2C 04 FLM Delay
XR2D 62 LP Delay (CMPR enabled)
XR2E 6D LP Delay (CMPR disabled)
XR2F 08 LP Width
XR4F 04 Panel Format 1
XR50 17 Panel Format 2
XR51 C4 Display Type
XR52 41 Power Down Control
XR53 0C Panel Format 3
XR54 39 Panel Interface
XR55 E5 Horizontal Compensation
XR56 00 Horizontal Centering
XR57 1B Vertical Compensation
XR58 00 Vertical Centering
XR59 84 Vertical Line Insertion
XR5A 00 Vertical Line Replication
XR5B 8F Power Sequencing Delay
XR5D 10 FP Diagnostic
XR5E 80 M (ACDCLK) Control
XR64 0D Alternate Vertical Total
XR65 26 Alternate Overflow
XR66 E8 Alternate Vertical Sync Start
XR67 0A Alternate Vertical Sync End
XR68 DF Vertical Panel Size
XR6C 02 Programmable Output Drive
XR6E 0D Polynomial FRC Control Optimize for best display quality
XR6F 00 Frame Buffer Control
Note: 1) Bold text indicates registers with values different from those shown in Table #1
2) Non-bold text indicates additional registers (not included in Table #1)
This section includes schematic examples showing various 65540 / 65545 interfaces. The schematics are divided
into into three main groups:
1) System Bus Interface
• ISA (PC/AT) Bus (16-bit)
• VL-Bus / 486 CPU-Direct Local Bus (1x Clock) (32-bit)
• PCI Local Bus (32-bit)
2) Display Memory Interface
3) CRT / Panel / Video Interface
To design a system around the 65540 or 65545, one schematic page would be selected from each of the groups
above.
Selection of a bus interface for the VGA controller is generally dictated by the type of bus and CPU available in the
system. If performance is a concern, however, and a 386 or 486 CPU is being used, a local bus interface should
be considered and linear addressing support should be implemented. Linear addressing improves performance in
GUI environments such as Windows™ by allowing the software used to access display memory (typically the
Windows Driver) to be more efficient. Clock connections are shown as part of the bus interface diagrams. A
14.31818 MHz reference crystal is shown, although if a clean source of 14.31818 MHz is available in the system,
it may be input on XTALI and the crystal would then not be required.
Generally, 256Kx16 DRAMs would be used for display memory, although, if desired, the memory interface may
be designed to use 256Kx4's instead. 256Kx16 DRAMs come in two types: one write enable (WE#) with two
CAS# inputs (one for the high byte and one for the low byte) or one CAS# input with two write enables (one for
the high byte and one for the low byte). Either variety of DRAM may be used (default is to the 2-CAS variety with
a programming option in the 65540 / 545 to change the memory control outputs for compatibility with either type).
CHIPS' BIOS is able to detect which type is connected and program the controller accordingly. It is also possible
to lay out a PCB to allow either type to be used. The memory interface diagram also shows how to interface the
6554x to CHIPS' PC-Video products to provide live video overlay capability.
An interface diagram is included showing connections to a standard CRT display. Panel interfaces, however, are
not as standardized (generally every panel interface is different). To show how to interface to a wide variety of
commonly available panels, the interface diagram in this section shows the connections used on CHIPS' DK
(Development Kit) Printed Circuit Board from the 6554x chip to connectors defined by CHIPS on that board. In
the following section of this document, examples are included showing connections from those DK board
connectors to a number of typical panels. The DK board connectors are used to simplify evaluation of the 6554x
with various panels; a real system would not typically use the connectors shown, but would instead interface
directly to the connector(s) used by the panel manufacturer.
J3 = DK PCB J5 = DK PCB
50-Pin Connector 26-Pin Connector
This section includes schematic examples showing how to connect the 65540 / 545 to various flat panel displays.
Plasma / EL Panels
Panel
Panel Panel Panel Panel Panel Data Gray
Mfr Part Number Resolution Technology Drive Interface Transfer Levels Page
1) Matsushita S804 640x480 Plasma SS 8-bit 2 Pixels/Clk 16 217
2) Sharp LJ64ZU50 640x480 EL SS 8-bit 2 Pixels/Clk 16 218
Monochrome LCD Panels
Panel
Panel Panel Panel Panel Panel Data Gray
Mfr Part Number Resolution Technology Drive Interface Transfer Levels Page
3) Epson EG-9005F-LS 640x480 LCD DD 8-bit 8 Pixels/Clk 2 219
4) Citizen G6481L-FF 640x480 LCD DD 8-bit 8 Pixels/Clk 2 220
5) Sharp LM64P80 640x480 LCD DD 8-bit 8 Pixels/Clk 2 221
6) Sanyo LCM-6494-24NTK 640x480 LCD DD 8-bit 8 Pixels/Clk 2 222
7) Hitachi LMG5364XUFC 640x480 LCD DD 8-bit 8 Pixels/Clk 2 223
8) Sanyo LCM-5491-24NAK 1024x768 LCD DD 16-bit 16 Pixels/Clk 2 224
9) Epson ECM-A9071 1024x768 LCD DD 16-bit 16 Pixels/Clk 2 225
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Matsushita S804 Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0] 00
J3-4 Reserved n/c Connector
BLANK#/DE Clock Divide (CD) XR50[6-4] 001
J3-8 34 DISPTMG Shiftclk Div (SD) XR51[3] 0
M (ACDCLK) n/c
J3-7 27 GND Gray/Color Levels XR4F[2-0] 100
J3-6 GND 25 GND TFT Data Width XR50[7] 0 n/a
SHFCLK STN Pixel Packing XR53[5-4] 00 n/a
J3-13 GND 23 CLOCK# Frame Accel Ena XR6F[1] 0 Disabled
J3-14 24 GND
LP (HS)
J3-10 30 HSYNC Output Signal Timing
J3-9 GND 29 GND Shift Clock Mask (SM) XR51[5] 0
FLM (VS)
J3-11 32 VSYNC LP Delay Disable XR2F[6] 0
GND
J3-12 28 GND LP Delay (CMPR ena) XR2F/2D 062h
LP Delay (CMPR disa) XR2F/2E 06Dh
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0] 8h
J3-48 PNL22 n/c LP Polarity XR54[6] 0
PNL21 n/c
J3-46 LP Blank XR4F[7] 0
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7] 1
J3-43 n/c FLM Delay Disable XR2F[7] 0
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C 04h
J3-40 n/c FLM Polarity XR54[7] 0
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0] 1
Blank#/DE H-Only XR54[1] 0
J3-37 PNL15 14 DATA-E0 Blank#/DE CRT/FP XR51[2] 1
PNL14
J3-36 PNL13 18 DATA-E1
J3-34 22 DATA-E2 Alt Hsync Start (CR04) XR19 60h
PNL12 Alt Hsync End (CR05) XR1A 00h
J3-33 26 DATA-E3
J3-31 PNL11 7 DATA-O0 Alt H Total (CR00) XR1B 60h
J3-30 PNL10 11 DATA-O1 Alt V Total (CR06) XR65/64 20Dh
PNL9 Alt Vsync Start (CR10) XR65/66 1E8h
J3-28 PNL8 15 DATA-O2
J3-27 19 DATA-O3 Alt Vsync End (CR11) XR67[3-0] 0Ah
Alt Hsync Polarity XR55[6] 1
J3-25 PNL7 n/c Alt Vsync Polarity XR55[7] 1
J3-24 PNL6 n/c
PNL5 Display Quality Recommendations
J3-22 n/c FRC XR50[1-0] 00 No FRC
PNL4 n/c
J3-21 PNL3 FRC Option 1 XR53[2] 1 Set to 1
J3-19 n/c n/c 1 NC FRC Option 2 XR53[3] 1 Set to 1
J3-18 PNL2 n/c n/c 3 NC
PNL1 FRC Option 3 XR53[6] 0
J3-16 n/c FRC Polynomial XR6E[7-0] n/a
PNL0 n/c
J3-15 Dither XR50[3-2] 01
GND M Phase Change XR5E[7] n/a
J3-17
J3-20 GND M Phase Change Count XR5E[6-0] n/a
J3-23 GND
GND Compensation Typical Settings
J3-26 GND 21 GND H Compensation XR55[0] 1
J3-29 20 GND V Compensation XR57[0] 1
J3-32 GND 17 GND
J3-35 GND 16 GND Fast Centering Disable XR57[7] 0
GND
J3-38 GND 13 GND H AutoCentering XR55[1] 0
J3-41 12 GND V AutoCentering XR57[1] 1
GND
J3-44 10 GND H Centering XR56 00h
J3-47 GND 9 GND V Centering XR59/58 000h
GND
J3-50 5 GND
H Text Compression XR55[2] 1
VDDSAFE (+5V) H AutoDoubling XR55[5] 1
J3-1 31 +5V
33 +5V V Text Stretching XR57[2] 1
V Text Stretch Mode XR57[4-3] 11
+12VSAFE V Stretching XR57[5] 0
J3-2 8 +12V
6 +12V V Stretching Mode XR57[6] 0
4 +12V V Line Insertion Height XR59[3-0] 0Fh
J3-3 VEESAFE (±12 to ±45) 2 +12V V H/W Line Replication XR59[7] 0
V Line Repl Height XR5A[3-0] 0
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Sharp LJ64ZU50 Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0] 00
J3-4 Reserved n/c Connector
BLANK#/DE Clock Divide (CD) XR50[6-4] 001
J3-8 A8 H.D. Shiftclk Div (SD) XR51[3] 0
M (ACDCLK) n/c
J3-7 Gray/Color Levels XR4F[2-0] 100
J3-6 GND B8 GND TFT Data Width XR50[7] 0 n/a
SHFCLK STN Pixel Packing XR53[5-4] 00 n/a
J3-13 GND A7 CKD Frame Accel Ena XR6F[1] 0 Disabled
J3-14 B7 GND
LP (HS) n/c
J3-10 Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5] 0
FLM (VS)
J3-11 A9 V.D. LP Delay Disable XR2F[6] 0
GND
J3-12 B9 GND LP Delay (CMPR ena) XR2F/2D 04Fh
LP Delay (CMPR disa) XR2F/2E 04Eh
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0] 01h
J3-48 PNL22 n/c LP Polarity XR54[6] 1
PNL21 n/c
J3-46 LP Blank XR4F[7] 0
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7] 1
J3-43 n/c FLM Delay Disable XR2F[7] 1
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C 0Ch
J3-40 n/c FLM Polarity XR54[7] 1
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0] 1
Blank#/DE H-Only XR54[1] 0
J3-37 PNL15 A5 D13 Blank#/DE CRT/FP XR51[2] 1
PNL14
J3-36 PNL13 B5 D12
J3-34 A4 Alt Hsync Start (CR04) XR19 52h
PNL12 D11 Alt Hsync End (CR05) XR1A 15h
J3-33 B4 D10
J3-31 PNL11 A3 Alt H Total (CR00) XR1B 54h
PNL10 D03 Alt V Total (CR06) XR65/64 1F0h
J3-30 B3 D02
PNL9 Alt Vsync Start (CR10) XR65/66 1E5h
J3-28 PNL8 A2 D01
J3-27 B2 Alt Vsync End (CR11) XR67[3-0] 0Eh
D00 Alt Hsync Polarity XR55[6] 1
J3-25 PNL7 n/c Alt Vsync Polarity XR55[7] 1
J3-24 PNL6 n/c
PNL5 Display Quality Recommendations
J3-22 n/c FRC XR50[1-0] 00 No FRC
PNL4 n/c
J3-21 PNL3 FRC Option 1 XR53[2] 1 Set to 1
J3-19 n/c FRC Option 2 XR53[3] 1 Set to 1
J3-18 PNL2 n/c
PNL1 FRC Option 3 XR53[6] 0
J3-16 n/c FRC Polynomial XR6E[7-0] n/a
PNL0 n/c
J3-15 Dither XR50[3-2] 01
GND M Phase Change XR5E[7] n/a
J3-17
J3-20 GND M Phase Change Count XR5E[6-0] n/a
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0] 1
J3-29 V Compensation XR57[0] 1
J3-32 GND
J3-35 GND n/c A1 NC Fast Centering Disable XR57[7] 0
GND
J3-38 GND
H AutoCentering XR55[1] 0
J3-41 V AutoCentering XR57[1] 0
GND
J3-44 H Centering XR56 00h
J3-47 GND B10 GND V Centering XR59/58 000h
GND
J3-50 A10 GND
H Text Compression XR55[2] 1
VDDSAFE (+5V) H AutoDoubling XR55[5] 1
J3-1 B12 VL
A12 VL V Text Stretching XR57[2] 0
V Text Stretch Mode XR57[4-3] 11
+12VSAFE V Stretching XR57[5] 0
J3-2 B13 VD
A13 VD V Stretching Mode XR57[6] 0
VEESAFE (±12 to ±45) V Line Insertion Height XR59[3-0] 0Fh
J3-3
V H/W Line Replication XR59[7] 0
V Line Repl Height XR5A[3-0] 0
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Epson EG-9005F-LS Panel Type XR51[1-0]
J3-4 Reserved n/c Panel
BLANK#/DE Connector Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK)
J3-7 5 FR Gray/Color Levels XR4F[2-0]
J3-6 GND
TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND 9 XSCL Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 4 LP Output Signal Timing
J3-9 GND 7 YSCL Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 8 DIN LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 n/c Blank#/DE CRT/FP XR51[2]
PNL14 n/c
J3-36 PNL13
J3-34 n/c Alt Hsync Start (CR04) XR19
PNL12 n/c Alt Hsync End (CR05) XR1A
J3-33
J3-31 PNL11 n/c Alt H Total (CR00) XR1B
J3-30 PNL10 n/c Alt V Total (CR06) XR65/64
PNL9 n/c Alt Vsync Start (CR10) XR65/66
J3-28 PNL8
J3-27 n/c Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 15 LD0 Alt Vsync Polarity XR55[7]
J3-24 PNL6 16 LD1
PNL5 Display Quality Recommendations
J3-22 PNL4 17 LD2 FRC XR50[1-0]
J3-21 PNL3 18 LD3 FRC Option 1 XR53[2]
J3-19 11 UD0 FRC Option 2 XR53[3]
J3-18 PNL2 12 UD1
PNL1 FRC Option 3 XR53[6]
J3-16 13 UD2 FRC Polynomial XR6E[7-0]
PNL0
J3-15 14 UD3 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND n/c 10 NC
J3-35 GND n/c 6 NC Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 H Centering XR56
J3-47 GND V Centering XR59/58
GND
J3-50 2 VSS
H Text Compression XR55[2]
VDDSAFE (+5V) VDD H AutoDoubling XR55[5]
J3-1 1
19 EI V Text Stretching XR57[2]
+12VSAFE 20 EO V Text Stretch Mode XR57[4-3]
J3-2 V Stretching XR57[5]
V Stretching Mode XR57[6]
VEESAFE (±12 to ±45) –19V VLCD V Line Insertion Height XR59[3-0]
J3-3 3
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Citizen G6481L-FF Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c Panel
BLANK#/DE Connector Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK)
J3-7 9 DF Gray/Color Levels XR4F[2-0]
J3-6 GND
TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND 7 CP Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 8 LOAD Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 10 FRAME LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 n/c Blank#/DE CRT/FP XR51[2]
PNL14 n/c
J3-36 PNL13
J3-34 n/c Alt Hsync Start (CR04) XR19
PNL12 n/c Alt Hsync End (CR05) XR1A
J3-33
J3-31 PNL11 n/c Alt H Total (CR00) XR1B
J3-30 PNL10 n/c Alt V Total (CR06) XR65/64
PNL9 n/c Alt Vsync Start (CR10) XR65/66
J3-28 PNL8
J3-27 n/c Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 18 LD0 Alt Vsync Polarity XR55[7]
J3-24 PNL6 17 LD1
PNL5 Display Quality Recommendations
J3-22 PNL4 16 LD2 FRC XR50[1-0]
J3-21 15 LD3 FRC Option 1 XR53[2]
PNL3 UD0
J3-19 14 FRC Option 2 XR53[3]
J3-18 PNL2 13 UD1
PNL1 FRC Option 3 XR53[6]
J3-16 12 UD2 FRC Polynomial XR6E[7-0]
PNL0
J3-15 11 UD3 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND n/c 6 NC H Compensation XR55[0]
J3-29 n/c V Compensation XR57[0]
J3-32 GND 19 NC
GND n/c 20 NC
J3-35 Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 H Centering XR56
J3-47 GND V Centering XR59/58
GND VSS
J3-50 3
H Text Compression XR55[2]
VDDSAFE (+5V) DISPOFF# H AutoDoubling XR55[5]
J3-1 5
4 VDD V Text Stretching XR57[2]
+12VSAFE V Text Stretch Mode XR57[4-3]
J3-2 V Stretching XR57[5]
V Stretching Mode XR57[6]
VEESAFE (±12 to ±45) +28V V Line Insertion Height XR59[3-0]
J3-3 1 VO
2 VAA V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0] 11 DD
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4] 010 Dclk / 4
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c Sharp LM64P80
J3-7 Gray/Color Levels XR4F[2-0] 100 16Level (61w/dith)
J3-6 GND Panel
Connector TFT Data Width XR50[7] 0 n/a
SHFCLK STN Pixel Packing XR53[5-4] 0 n/a
J3-13 GND 3 CP2 Frame Accel Ena XR6F[1] 1 Enabled
J3-14
LP (HS)
J3-10 2 CP1 Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 1 S LP Delay Disable XR2F[6] 0 Enabled
GND
J3-12 LP Delay (CMPR ena) XR2F/2D 050h
LP Delay (CMPR disa) XR2F/2E 050h
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0] 0h
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7] 0
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7] 0 Enabled
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C 04h 4 lines
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 n/c Blank#/DE CRT/FP XR51[2]
PNL14 n/c
J3-36 PNL13
J3-34 n/c Alt Hsync Start (CR04) XR19 57h
PNL12 n/c Alt Hsync End (CR05) XR1A 19h
J3-33
J3-31 PNL11 n/c Alt H Total (CR00) XR1B 59h
J3-30 PNL10 n/c Alt V Total (CR06) XR65/64 1E4h
PNL9 n/c Alt Vsync Start (CR10) XR65/66 1E0h
J3-28 PNL8
J3-27 n/c Alt Vsync End (CR11) XR67[3-0] 1
Alt Hsync Polarity XR55[6] 1 Negative
J3-25 PNL7 12 DL0 Alt Vsync Polarity XR55[7] 1 Negative
J3-24 PNL6 13 DL1
PNL5 Display Quality Recommendations
J3-22 PNL4 14 DL2 FRC XR50[1-0] 01 16-Frame FRC
J3-21 PNL3 15 DL3 FRC Option 1 XR53[2] 1 Set to 1
J3-19 8 DU0 FRC Option 2 XR53[3] 1 Set to 1
J3-18 PNL2 9 DU1
PNL1 FRC Option 3 XR53[6] 0 n/a
J3-16 10 DU2 FRC Polynomial XR6E[7-0] 26h
PNL0
J3-15 11 DU3 Dither XR50[3-2] 01 256-color modes
GND M Phase Change XR5E[7] 1 Every other frame
J3-17
J3-20 GND M Phase Change Count XR5E[6-0] 00h n/a
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0] 1 Enabled
J3-29 V Compensation XR57[0] 1 Enabled
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7] 0 Enabled
GND
J3-38 GND
H AutoCentering XR55[1] 0 Disabled
J3-41 V AutoCentering XR57[1] 1 Enabled
GND
J3-44 H Centering XR56 00h No left border
J3-47 GND V Centering XR59/58 000h No top border
GND
J3-50 6 VSS
H Text Compression XR55[2] 1 Enabled
VDDSAFE (+5V) H AutoDoubling XR55[5] 1 Enabled
J3-1 5 VDD
4 DISP V Text Stretching XR57[2] 0 Disabled
+12VSAFE V Text Stretch Mode XR57[4-3] 11 DS+TF,TF,DS
J3-2
V Stretching XR57[5] 0 Disabled
VEESAFE (±12 to ±45) –18V V Stretching Mode XR57[6] 0 n/a
J3-3 7 VEE
V Line Insertion Height XR59[3-0] 0Fh 16 – 1
V H/W Line Replication XR59[7] 0 Disabled
V Line Repl Height XR5A[3-0] 0 n/a
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Sanyo LCM-6494-24NTK Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c Panel
BLANK#/DE Connector Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK)
J3-7 CN2-18 M Gray/Color Levels XR4F[2-0]
J3-6 GND
TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND CN1-5 CL2 Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 CN1-3 CL1 Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 CN1-1 FLM LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 n/c Blank#/DE CRT/FP XR51[2]
PNL14 n/c
J3-36 PNL13
J3-34 n/c Alt Hsync Start (CR04) XR19
PNL12 n/c Alt Hsync End (CR05) XR1A
J3-33
J3-31 PNL11 n/c Alt H Total (CR00) XR1B
J3-30 PNL10 n/c Alt V Total (CR06) XR65/64
PNL9 n/c Alt Vsync Start (CR10) XR65/66
J3-28 PNL8
J3-27 n/c Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 CN2-12 LD0 Alt Vsync Polarity XR55[7]
J3-24 PNL6 CN2-13 LD1
PNL5 Display Quality Recommendations
J3-22 PNL4 CN2-14 LD2 FRC XR50[1-0]
J3-21 PNL3 CN2-15 LD3 FRC Option 1 XR53[2]
J3-19 CN1-8 UD0 FRC Option 2 XR53[3]
J3-18 PNL2 CN1-9 UD1
PNL1 FRC Option 3 XR53[6]
J3-16 CN1-10 UD2 FRC Polynomial XR6E[7-0]
PNL0
J3-15 CN1-11 UD3 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND n/c CN1-7 NC M Phase Change Count XR5E[6-0]
J3-23 GND n/c CN2-21 NC
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 n/c V Compensation XR57[0]
J3-32 GND CN2-24 VO
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND CN2-20 VSS H AutoCentering XR55[1]
J3-41 CN2-19 VSS V AutoCentering XR57[1]
GND
J3-44 CN1-6 VSS H Centering XR56
J3-47 GND CN1-4 VSS V Centering XR59/58
GND
J3-50 CN1-2 VSS
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 CN2-16 VDD
CN2-17 VDD V Text Stretching XR57[2]
+12VSAFE
J3-2 CN2-25 DISPOFF# V Text Stretch Mode XR57[4-3]
V Stretching XR57[5]
VEESAFE (±12 to ±45) –23V V Stretching Mode XR57[6]
J3-3 CN2-23 VEE
CN2-22 VEE V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c Hitachi LMG5364XUFC
J3-7 Gray/Color Levels XR4F[2-0]
J3-6 GND Panel
Connector TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND 3 CP Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 2 LOAD Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 1 FRAME LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 n/c Blank#/DE CRT/FP XR51[2]
PNL14 n/c
J3-36 PNL13
J3-34 n/c Alt Hsync Start (CR04) XR19
PNL12 n/c Alt Hsync End (CR05) XR1A
J3-33
J3-31 PNL11 n/c Alt H Total (CR00) XR1B
J3-30 PNL10 n/c Alt V Total (CR06) XR65/64
PNL9 n/c Alt Vsync Start (CR10) XR65/66
J3-28 PNL8
J3-27 n/c Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 12 LD0 Alt Vsync Polarity XR55[7]
J3-24 PNL6 13 LD1
PNL5 Display Quality Recommendations
J3-22 PNL4 14 LD2 FRC XR50[1-0]
J3-21 PNL3 15 LD3 FRC Option 1 XR53[2]
J3-19 8 UD0 FRC Option 2 XR53[3]
J3-18 PNL2 9 UD1
PNL1 FRC Option 3 XR53[6]
J3-16 10 UD2 FRC Polynomial XR6E[7-0]
PNL0
J3-15 11 UD3 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 H Centering XR56
J3-47 GND V Centering XR59/58
GND
J3-50 6 VSS
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 5 VDD
4 DISPOFF# V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2
V Stretching XR57[5]
VEESAFE (±12 to ±45) –23V V Stretching Mode XR57[6]
J3-3 7 VEE
V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 7Fh (1024 / 8) – 1
ENABKL Sanyo LCM-5491-24NAK Panel Height XR65/68 2FFh 768 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c Panel
BLANK#/DE Connector Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK)
J3-7 2 M Gray/Color Levels XR4F[2-0]
J3-6 GND
TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND 6 CL2 Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 4 CL1 Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 1 FLM LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 (LD0) 17 LD0 Blank#/DE CRT/FP XR51[2]
PNL14 (LD1)
J3-36 PNL13 (LD2) 18 LD1
J3-34 19 LD2 Alt Hsync Start (CR04) XR19
PNL12 (LD3) Alt Hsync End (CR05) XR1A
J3-33 20 LD3
J3-31 PNL11 (LD4) 21 LD4 Alt H Total (CR00) XR1B
J3-30 PNL10 (LD5) 22 LD5 Alt V Total (CR06) XR65/64
PNL9 (LD6) Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 (LD7) 23 LD6
J3-27 24 LD7 Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 (UD0) 9 UD0 Alt Vsync Polarity XR55[7]
J3-24 PNL6 (UD1) 10 UD1
PNL5 (UD2) Display Quality Recommendations
J3-22 PNL4 (UD3) 11 UD2 FRC XR50[1-0]
J3-21 PNL3 (UD4) 12 UD3 FRC Option 1 XR53[2]
J3-19 13 UD4 FRC Option 2 XR53[3]
J3-18 PNL2 (UD5) 14 UD5
PNL1 (UD6) FRC Option 3 XR53[6]
J3-16 15 UD6 FRC Polynomial XR6E[7-0]
PNL0 (UD7)
J3-15 16 UD7 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 26 VSS1 V AutoCentering XR57[1]
GND
J3-44 27 VSS1 H Centering XR56
J3-47 GND 5 VSS2 V Centering XR59/58
GND
J3-50 8 VSS2
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 25 VDD
V Text Stretching XR57[2]
+12VSAFE V Text Stretch Mode XR57[4-3]
J3-2
V Stretching XR57[5]
VEESAFE (±12 to ±45) +36V
J3-3 28 VEE V Stretching Mode XR57[6]
29 VEE V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 7Fh (1024 / 8) – 1
ENABKL Panel Height XR65/68 2FFh 768 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 n/c
M (ACDCLK) Epson ECM-A9071 Shiftclk Div (SD) XR51[3]
J3-7 n/c Gray/Color Levels XR4F[2-0]
J3-6 GND Panel
Connector TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND A8 XSCL Frame Accel Ena XR6F[1]
J3-14 A10 VSS
LP (HS)
J3-10 A6 LP Output Signal Timing
J3-9 GND A5 VSS Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 A7 DIN LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 (LD0) B12 LD0 Blank#/DE CRT/FP XR51[2]
PNL14 (LD1)
J3-36 PNL13 (LD2) B13 LD1
J3-34 B14 LD2 Alt Hsync Start (CR04) XR19
PNL12 (LD3) Alt Hsync End (CR05) XR1A
J3-33 B15 LD3
J3-31 PNL11 (LD4) B17 LD4 Alt H Total (CR00) XR1B
J3-30 PNL10 (LD5) B18 LD5 Alt V Total (CR06) XR65/64
PNL9 (LD6) Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 (LD7) B19 LD6
J3-27 B20 LD7 Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 (UD0) B2 UD0 Alt Vsync Polarity XR55[7]
J3-24 PNL6 (UD1) B3 UD1
PNL5 (UD2) Display Quality Recommendations
J3-22 PNL4 (UD3) B4 UD2 FRC XR50[1-0]
J3-21 PNL3 (UD4) B5 UD3 FRC Option 1 XR53[2]
J3-19 B7 UD4 FRC Option 2 XR53[3]
J3-18 PNL2 (UD5) B8 UD5
PNL1 (UD6) FRC Option 3 XR53[6]
J3-16 B9 UD6 FRC Polynomial XR6E[7-0]
PNL0 (UD7)
J3-15 B10 UD7 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 B1 VSS V AutoCentering XR57[1]
GND
J3-44 B6 VSS H Centering XR56
J3-47 GND B11 VSS V Centering XR59/58
GND
J3-50 B16 VSS
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 A3 VDD
A4 VDD V Text Stretching XR57[2]
+12VSAFE V Text Stretch Mode XR57[4-3]
J3-2 A9 DISP
V Stretching XR57[5]
VEESAFE (±12 to ±45) +V† V Stretching Mode XR57[6]
J3-3 A1 VDDH
A2 VDDH V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
† Voltage not specified in panel data sheet; contact panel manufacturer V Line Repl Height XR5A[3-0]
for more information.
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Hitachi TM26D50VC2AA Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0] 00
J3-4 Reserved n/c Connector
BLANK#/DE Clock Divide (CD) XR50[6-4] 000
J3-8 15 DTMG Shiftclk Div (SD) XR51[3] 0
M (ACDCLK) n/c
J3-7 Gray/Color Levels XR4F[2-0] 100
J3-6 GND 16 GND TFT Data Width XR50[7] 0 n/a
SHFCLK STN Pixel Packing XR53[5-4] 00 n/a
J3-13 GND 21 DCLK Frame Accel Ena XR6F[1] 0 Disabled
J3-14 20 GND
LP (HS)
J3-10 19 HSYNC Output Signal Timing
J3-9 GND 25 GND Shift Clock Mask (SM) XR51[5] 0
FLM (VS)
J3-11 17 VSYNC LP Delay Disable XR2F[6] 0
GND
J3-12 18 GND LP Delay (CMPR ena) XR2F/2D 04Fh
LP Delay (CMPR disa) XR2F/2E 04Fh
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0] 0Fh
J3-48 PNL22 n/c LP Polarity XR54[6] 1
PNL21 n/c
J3-46 LP Blank XR4F[7] 0
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7] 1
J3-43 n/c FLM Delay Disable XR2F[7] 0
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C 04h
J3-40 n/c FLM Polarity XR54[7] 1
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0] 1
Blank#/DE H-Only XR54[1] 1
J3-37 PNL15 (R4) 2 R3 Blank#/DE CRT/FP XR51[2] 1
PNL14 (R3)
J3-36 PNL13 (R2) 3 R2
J3-34 4 R1 Alt Hsync Start (CR04) XR19 56h
PNL12 (R1) Alt Hsync End (CR05) XR1A 13h
J3-33 5 R0
J3-31 PNL11 (R0) n/c Alt H Total (CR00) XR1B 5Fh
J3-30 PNL10 (G5) 6 G3 Alt V Total (CR06) XR65/64 201h
PNL9 (G4) Alt Vsync Start (CR10) XR65/66 1DFh
J3-28 PNL8 (G3) 7 G2
J3-27 8 G1 Alt Vsync End (CR11) XR67[3-0] 5h
Alt Hsync Polarity XR55[6] 1
J3-25 PNL7 (G2) 9 G0 Alt Vsync Polarity XR55[7] 1
J3-24 PNL6 (G1) n/c
PNL5 (G0) Display Quality Recommendations
J3-22 n/c FRC XR50[1-0] 10
PNL4 (B4)
J3-21 PNL3 (B3) 10 B3 FRC Option 1 XR53[2] 1 Set to 1
J3-19 11 B2 FRC Option 2 XR53[3] 1 Set to 1
J3-18 PNL2 (B2) 12 B1
PNL1 (B1) FRC Option 3 XR53[6] 0
J3-16 13 B0 FRC Polynomial XR6E[7-0] n/a
PNL0 (B0) n/c
J3-15 Dither XR50[3-2] 01
GND M Phase Change XR5E[7] n/a
J3-17 n/c 30 VR1
J3-20 GND n/c 31 VR2 M Phase Change Count XR5E[6-0] n/a
J3-23 GND n/c 32 VR3
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0] 1
J3-29 V Compensation XR57[0] 1
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7] 0
GND
J3-38 GND 29 DOTE H AutoCentering XR55[1] 0
J3-41 14 HREV V AutoCentering XR57[1] 0
GND
J3-44 H Centering XR56 00h
J3-47 GND 1 GND V Centering XR59/58 000h
GND
J3-50 22 GND
H Text Compression XR55[2] 1
VDDSAFE (+5V) H AutoDoubling XR55[5] 1
J3-1 23 VDD
24 VDD V Text Stretching XR57[2] 1
+12VSAFE 28 BLC V Text Stretch Mode XR57[4-3] 11
J3-2 n/c V Stretching XR57[5] 0
26 VEE V Stretching Mode XR57[6] 0
VEESAFE (±12 to ±45) –24V V Line Insertion Height XR59[3-0] 0Fh
J3-3 27 VEE
V H/W Line Replication XR59[7] 0
V Line Repl Height XR5A[3-0] 0
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Sharp LQ9D011 Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0] 00
J3-4 Reserved n/c Connector
BLANK#/DE Clock Divide (CD) XR50[6-4] 000
J3-8 CN2-5 ENAB Shiftclk Div (SD) XR51[3] 0
M (ACDCLK) n/c
J3-7 Gray/Color Levels XR4F[2-0] 100
J3-6 GND CN1-8 GND TFT Data Width XR50[7] 0 n/a
SHFCLK STN Pixel Packing XR53[5-4] 00 n/a
J3-13 GND CN1-1 CK Frame Accel Ena XR6F[1] 0 Disabled
J3-14 CN1-2 GND
LP (HS)
J3-10 CN1-3 HSYNC Output Signal Timing
J3-9 GND CN1-8 GND Shift Clock Mask (SM) XR51[5] 0
FLM (VS)
J3-11 CN1-4 VSYNC LP Delay Disable XR2F[6] 0
GND
J3-12 CN1-12 GND LP Delay (CMPR ena) XR2F/2D 04Fh
LP Delay (CMPR disa) XR2F/2E 04Fh
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0] 0Fh
J3-48 PNL22 n/c LP Polarity XR54[6] 1
PNL21 n/c
J3-46 LP Blank XR4F[7] 0
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7] 1
J3-43 n/c FLM Delay Disable XR2F[7] 0
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C 04h
J3-40 n/c FLM Polarity XR54[7] 1
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0] 1
Blank#/DE H-Only XR54[1] 1
J3-37 PNL15 (R4) CN1-7 R2 Blank#/DE CRT/FP XR51[2] 1
PNL14 (R3)
J3-36 PNL13 (R2) CN1-6 R1
J3-34 CN1-5 R0 Alt Hsync Start (CR04) XR19 56h
PNL12 (R1) n/c Alt Hsync End (CR05) XR1A 13h
J3-33
J3-31 PNL11 (R0) n/c Alt H Total (CR00) XR1B 5Fh
J3-30 PNL10 (G5) CN1-11 G2 Alt V Total (CR06) XR65/64 201h
PNL9 (G4) Alt Vsync Start (CR10) XR65/66 1DFh
J3-28 PNL8 (G3) CN1-10 G1
J3-27 CN1-9 G0 Alt Vsync End (CR11) XR67[3-0] 5h
Alt Hsync Polarity XR55[6] 1
J3-25 PNL7 (G2) n/c Alt Vsync Polarity XR55[7] 1
J3-24 PNL6 (G1) n/c
PNL5 (G0) Display Quality Recommendations
J3-22 n/c FRC XR50[1-0] 10
PNL4 (B4) B2
J3-21 PNL3 (B3) CN1-15 FRC Option 1 XR53[2] 1 Set to 1
J3-19 CN1-14 B1 FRC Option 2 XR53[3] 1 Set to 1
J3-18 PNL2 (B2) CN1-13 B0
PNL1 (B1) FRC Option 3 XR53[6] 0
J3-16 n/c FRC Polynomial XR6E[7-0] n/a
PNL0 (B0) n/c
J3-15 Dither XR50[3-2] 01
GND M Phase Change XR5E[7] n/a
J3-17
J3-20 GND M Phase Change Count XR5E[6-0] n/a
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0] 1
J3-29 V Compensation XR57[0] 1
J3-32 GND
J3-35 GND n/c CN2-6 TST Fast Centering Disable XR57[7] 0
GND
J3-38 GND
H AutoCentering XR55[1] 0
J3-41 V AutoCentering XR57[1] 0
GND
J3-44 H Centering XR56 00h
J3-47 GND CN2-3 GND V Centering XR59/58 000h
GND
J3-50 CN2-4 GND
H Text Compression XR55[2] 1
VDDSAFE (+5V) H AutoDoubling XR55[5] 1
J3-1 CN2-1 VCC
CN2-2 VCC V Text Stretching XR57[2] 1
+12VSAFE n/c V Text Stretch Mode XR57[4-3] 11
J3-2
V Stretching XR57[5] 0
VEESAFE (±12 to ±45) n/c V Stretching Mode XR57[6] 0
J3-3
V Line Insertion Height XR59[3-0] 0Fh
V H/W Line Replication XR59[7] 0
V Line Repl Height XR5A[3-0] 0
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Toshiba LTM-09C015-1 Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0] 00
J3-4 Reserved n/c Connector
BLANK#/DE Clock Divide (CD) XR50[6-4] 000
J3-8 CN2-7 ENAB Shiftclk Div (SD) XR51[3] 0
M (ACDCLK) n/c
J3-7 Gray/Color Levels XR4F[2-0] 100
J3-6 GND CN1-8 GND TFT Data Width XR50[7] 0 n/a
SHFCLK STN Pixel Packing XR53[5-4] 00 n/a
J3-13 GND CN1-1 NCLK Frame Accel Ena XR6F[1] 0 Disabled
J3-14 CN1-2 GND
LP (HS) n/c
J3-10 Output Signal Timing
J3-9 GND CN1-6 GND Shift Clock Mask (SM) XR51[5] 0
FLM (VS) n/c
J3-11 LP Delay Disable XR2F[6] 0
GND
J3-12 CN1-12 GND LP Delay (CMPR ena) XR2F/2D 04Fh
LP Delay (CMPR disa) XR2F/2E 04Fh
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0] 0Fh
J3-48 PNL22 n/c LP Polarity XR54[6] 1
PNL21 n/c
J3-46 LP Blank XR4F[7] 0
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7] 1
J3-43 n/c FLM Delay Disable XR2F[7] 0
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C 04h
J3-40 n/c FLM Polarity XR54[7] 1
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0] 1
Blank#/DE H-Only XR54[1] 0 Reqd for this panel
J3-37 PNL15 (R4) CN1-7 R2 Blank#/DE CRT/FP XR51[2] 1
PNL14 (R3)
J3-36 PNL13 (R2) CN1-5 R1
J3-34 CN1-3 R0 Alt Hsync Start (CR04) XR19 56h
PNL12 (R1) n/c Alt Hsync End (CR05) XR1A 13h
J3-33
J3-31 PNL11 (R0) n/c Alt H Total (CR00) XR1B 5Fh
J3-30 PNL10 (G5) CN1-13 G2 Alt V Total (CR06) XR65/64 201h
PNL9 (G4) Alt Vsync Start (CR10) XR65/66 1DFh
J3-28 PNL8 (G3) CN1-11 G1
J3-27 CN1-9 G0 Alt Vsync End (CR11) XR67[3-0] 5h
Alt Hsync Polarity XR55[6] 1
J3-25 PNL7 (G2) n/c Alt Vsync Polarity XR55[7] 1
J3-24 PNL6 (G1) n/c
PNL5 (G0) Display Quality Recommendations
J3-22 n/c FRC XR50[1-0] 10
PNL4 (B4)
J3-21 PNL3 (B3) CN2-5 B2 FRC Option 1 XR53[2] 1 Set to 1
J3-19 CN2-3 B1 FRC Option 2 XR53[3] 1 Set to 1
J3-18 PNL2 (B2) CN2-1 B0
PNL1 (B1) FRC Option 3 XR53[6] 0
J3-16 n/c FRC Polynomial XR6E[7-0] n/a
PNL0 (B0) n/c
J3-15 Dither XR50[3-2] 01
GND M Phase Change XR5E[7] n/a
J3-17 n/c CN1-15 NC
J3-20 GND M Phase Change Count XR5E[6-0] n/a
J3-23 GND CN2-8 GND
GND Compensation Typical Settings
J3-26 GND CN2-6 GND H Compensation XR55[0] 1
J3-29 V Compensation XR57[0] 1
J3-32 GND CN1-14 GND
J3-35 GND Fast Centering Disable XR57[7] 0
GND
J3-38 GND CN1-10 GND H AutoCentering XR55[1] 0
J3-41 CN1-4 GND V AutoCentering XR57[1] 0
GND
J3-44 H Centering XR56 00h
J3-47 GND CN2-4 GND V Centering XR59/58 000h
GND
J3-50 CN2-2 GND
H Text Compression XR55[2] 1
VDDSAFE (+5V) H AutoDoubling XR55[5] 1
J3-1 CN2-9 VDD
CN2-10 VDD V Text Stretching XR57[2] 1
+12VSAFE n/c V Text Stretch Mode XR57[4-3] 11
J3-2
V Stretching XR57[5] 0
VEESAFE (±12 to ±45) n/c V Stretching Mode XR57[6] 0
J3-3
V Line Insertion Height XR59[3-0] 0Fh
V H/W Line Replication XR59[7] 0
V Line Repl Height XR5A[3-0] 0
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Sharp LQ10D311 Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c Connector
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 CN2-5 ENAB Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c
J3-7 Gray/Color Levels XR4F[2-0]
J3-6 GND CN2-4 GND TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND CN1-1 CK Frame Accel Ena XR6F[1]
J3-14 CN1-2 GND
LP (HS)
J3-10 CN1-3 HSYNC Output Signal Timing
J3-9 GND CN1-8 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 CN1-4 VSYNC LP Delay Disable XR2F[6]
GND
J3-12 CN1-12 GND LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 CN1-7 R5 LP Pulse Width XR2F[3-0]
J3-48 PNL22 CN1-6 R4 LP Polarity XR54[6]
PNL21
J3-46 CN1-5 R3 LP Blank XR4F[7]
PNL20
J3-45 PNL19 CN3-3 R2 LP Active during V XR51[7]
J3-43 CN3-2 R1 FLM Delay Disable XR2F[7]
PNL18
J3-42 PNL17 CN3-1 R0 FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 CN1-11 G5 Blank#/DE CRT/FP XR51[2]
PNL14
J3-36 PNL13 CN1-10 G4
J3-34 CN1-9 G3 Alt Hsync Start (CR04) XR19
PNL12 Alt Hsync End (CR05) XR1A
J3-33 CN3-7 G2
J3-31 PNL11 CN3-6 G1 Alt H Total (CR00) XR1B
J3-30 PNL10 CN3-5 G0 Alt V Total (CR06) XR65/64
PNL9 n/c Alt Vsync Start (CR10) XR65/66
J3-28 PNL8
J3-27 n/c Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 CN1-15 B5 Alt Vsync Polarity XR55[7]
J3-24 PNL6 CN1-14 B4
PNL5 Display Quality Recommendations
J3-22 PNL4 CN1-13 B3 FRC XR50[1-0]
J3-21 PNL3 CN3-11 B2 FRC Option 1 XR53[2]
J3-19 CN3-10 B1 FRC Option 2 XR53[3]
J3-18 PNL2 CN3-9 B0
PNL1 FRC Option 3 XR53[6]
J3-16 n/c FRC Polynomial XR6E[7-0]
PNL0 n/c
J3-15 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17 n/c CN3-14 TST
J3-20 GND n/c CN3-13 TST M Phase Change Count XR5E[6-0]
J3-23 GND n/c CN3-12 TST
GND Compensation Typical Settings
J3-26 GND n/c CN2-6 TST H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 CN3-8 GND H Centering XR56
J3-47 GND CN3-4 GND V Centering XR59/58
GND
J3-50 CN2-3 GND
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 CN2-1 VCC
CN2-2 VCC V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2
V Stretching XR57[5]
VEESAFE (±12 to ±45) n/c V Stretching Mode XR57[6]
J3-3
V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 7Fh (1024 / 8) – 1
ENABKL Panel Height XR65/68 2FFh 768 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c Sharp LQ10DX01
J3-7 Gray/Color Levels XR4F[2-0]
J3-6 GND n/c Panel
Connector TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND CN2-2 CK Frame Accel Ena XR6F[1]
J3-14 CN2-1 GND
LP (HS)
J3-10 CN2-4 HSYNC Output Signal Timing
J3-9 GND CN2-3 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 CN2-6 VSYNC LP Delay Disable XR2F[6]
GND
J3-12 CN2-5 GND LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 (even pixel red msb) CN1-7 R12 LP Pulse Width XR2F[3-0]
J3-48 PNL22 CN1-6 R11 LP Polarity XR54[6]
PNL21 (even pixel red lsb)
J3-46 CN1-5 R10 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19 (odd pixel red msb)
LP Active during V XR51[7]
J3-43 CN1-4 R02 FLM Delay Disable XR2F[7]
PNL18
J3-42 PNL17 (odd pixel red lsb) CN1-3 R01 FLM Delay XR2C
J3-40 PNL16 n/c CN1-2 R00 FLM Polarity XR54[7]
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 (even pixel green msb) CN1-14 G12 Blank#/DE CRT/FP XR51[2]
PNL14
J3-36 PNL13 (even pixel green lsb) CN1-13 G11
J3-34 CN1-12 G10 Alt Hsync Start (CR04) XR19
PNL12 n/c Alt Hsync End (CR05) XR1A
J3-33
J3-31 PNL11 (odd pixel green msb) CN1-11 G02 Alt H Total (CR00) XR1B
J3-30 PNL10 CN1-10 G01 Alt V Total (CR06) XR65/64
PNL9 (odd pixel green lsb) Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 n/c CN1-9 G00
J3-27 Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 (even pixel blue msb) CN1-21 Alt Vsync Polarity XR55[7]
PNL6 B12
J3-24 CN1-20 B11 Display Quality Recommendations
PNL5 (even pixel blue lsb)
J3-22 PNL4 CN1-19 B10 FRC XR50[1-0]
J3-21 n/c FRC Option 1 XR53[2]
PNL3 (odd pixel blue msb)
J3-19 CN1-18 B02 FRC Option 2 XR53[3]
J3-18 PNL2 CN1-17 B01
PNL1 (odd pixel blue lsb) FRC Option 3 XR53[6]
J3-16 CN1-16 B00 FRC Polynomial XR6E[7-0]
PNL0 n/c
J3-15 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND n/c CN2-8 TEST2 Fast Centering Disable XR57[7]
GND n/c CN2-7 TEST1
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 CN1-1 GND H Centering XR56
J3-47 GND CN1-8 GND V Centering XR59/58
GND
J3-50 CN1-15 GND
H Text Compression XR55[2]
VDDSAFE (+5V) +5V H AutoDoubling XR55[5]
J3-1 CN2-13 VCC
CN2-14 VCC V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2 CN2-15 VCC
V Stretching XR57[5]
VEESAFE (±12 to ±45) CN2-9 TEST3
J3-3 n/c V Stretching Mode XR57[6]
V Line Insertion Height XR59[3-0]
Use separate +12V source, not +12VSAFE CN2-10 VDD V H/W Line Replication XR59[7]
(sequenced), for panel VDD (panel VDD CN2-11 VDD V Line Repl Height XR5A[3-0]
+12V
must be active before panel VCC) CN2-12 VDD
DK6554x
Programming Recommendations/Requirements
PCB Sanyo Parameter Register Value Comment
Connector LM-CK53-22NEZ Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL (LCM 5330) Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c Panel
BLANK#/DE Connector Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK)
J3-7 29 M Gray/Color Levels XR4F[2-0]
J3-6 GND
TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND 25 CL2 Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 27 CL1 Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 30 FLM LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 (R6...) 15 LD0 Blank#/DE CRT/FP XR51[2]
PNL14 (B5...)
J3-36 PNL13 (G5...) 23 UD0
J3-34 14 LD1 Alt Hsync Start (CR04) XR19
PNL12 (R5...) Alt Hsync End (CR05) XR1A
J3-33 22 UD1
J3-31 PNL11 (B4...) 13 LD2 Alt H Total (CR00) XR1B
J3-30 PNL10 (G4...) 21 UD2 Alt V Total (CR06) XR65/64
PNL9 (R4...) Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 (B3...) 12 LD3
J3-27 20 UD3 Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 (G3...) 11 LD4 Alt Vsync Polarity XR55[7]
J3-24 PNL6 (R3...) 19 UD4
PNL5 (B2...) Display Quality Recommendations
J3-22 PNL4 (G2...) 10 LD5 FRC XR50[1-0]
J3-21 PNL3 (R2...) 18 UD5 FRC Option 1 XR53[2]
J3-19 9 LD6 FRC Option 2 XR53[3]
J3-18 PNL2 (B1...) 17 UD6
PNL1 (G1...) FRC Option 3 XR53[6]
J3-16 8 LD7 FRC Polynomial XR6E[7-0]
PNL0 (R1...)
J3-15 16 UD7 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND n/c 1 NC H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND 26 VSS H AutoCentering XR55[1]
J3-41 24 VSS V AutoCentering XR57[1]
GND
J3-44 H Centering XR56
J3-47 GND 6 GND V Centering XR59/58
GND
J3-50 5 GND
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 7 VDD
28 DISP V Text Stretching XR57[2]
+12VSAFE V Text Stretch Mode XR57[4-3]
J3-2 VO V Stretching XR57[5]
V Stretching Mode XR57[6]
VEESAFE (±12 to ±45) +38V V Line Insertion Height XR59[3-0]
J3-3 4 VEE
3 VEE V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
6554x Interface - Sanyo LM-CK53-22NEZ ( LCM 5330 ) ( 640x480 Color STN LCD Panel )
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Sanyo LCM-5327-24NAK Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c Panel
BLANK/DE# Connector Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK)
J3-7 2 M Gray/Color Levels XR4F[2-0]
J3-6 GND
TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND 6 CL2 Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 4 CL1 Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 1 FLM LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 (R6...) 16 LD0 Blank#/DE CRT/FP XR51[2]
PNL14 (B5...)
J3-36 PNL13 (G5...) 8 UD0
J3-34 17 LD1 Alt Hsync Start (CR04) XR19
PNL12 (R5...) Alt Hsync End (CR05) XR1A
J3-33 9 UD1
J3-31 PNL11 (B4...) 18 LD2 Alt H Total (CR00) XR1B
J3-30 PNL10 (G4...) 10 UD2 Alt V Total (CR06) XR65/64
PNL9 (R4...) Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 (B3...) 19 LD3
J3-27 11 UD3 Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 (G3...) 20 LD4 Alt Vsync Polarity XR55[7]
J3-24 PNL6 (R3...) 12 UD4
PNL5 (B2...) Display Quality Recommendations
J3-22 PNL4 (G2...) 21 LD5 FRC XR50[1-0]
J3-21 PNL3 (R2...) 13 UD5 FRC Option 1 XR53[2]
J3-19 22 LD6 FRC Option 2 XR53[3]
J3-18 PNL2 (B1...) 14 UD6
PNL1 (G1...) FRC Option 3 XR53[6]
J3-16 23 LD7 FRC Polynomial XR6E[7-0]
PNL0 (R1...)
J3-15 15 UD7 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 26 VSS1 V AutoCentering XR57[1]
GND
J3-44 27 VSS1 H Centering XR56
J3-47 GND 5 VSS2 V Centering XR59/58
GND
J3-50 8 VSS2
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 25 VDD
3 DISPOFF V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2
V Stretching XR57[5]
VEESAFE (±12 to ±45) +36V V Stretching Mode XR57[6]
J3-3 28 VEE
29 VEE V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c Sharp LM64C031
J3-7 Gray/Color Levels XR4F[2-0]
J3-6 GND Panel
Connector TFT Data Width XR50[7]
SHFCLK (SCL) STN Pixel Packing XR53[5-4]
J3-13 GND 3 XCKL Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 2 LP Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 1 YD LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 n/c Blank#/DE CRT/FP XR51[2]
PNL14 n/c
J3-36 PNL13
J3-34 n/c Alt Hsync Start (CR04) XR19
PNL12 n/c Alt Hsync End (CR05) XR1A
J3-33
J3-31 PNL11 n/c Alt H Total (CR00) XR1B
J3-30 PNL10 n/c Alt V Total (CR06) XR65/64
PNL9 n/c Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 (SCH)
J3-27 4 XCKU Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 (B5...) 17 D7 Alt Vsync Polarity XR55[7]
J3-24 PNL6 (R5...) 16 D6
PNL5 (G4...) Display Quality Recommendations
J3-22 PNL4 (B3...) 15 D5 FRC XR50[1-0]
J3-21 PNL3 (R3...) 14 D4 FRC Option 1 XR53[2]
J3-19 13 D3 FRC Option 2 XR53[3]
J3-18 PNL2 (G2...) 12 D2
PNL1 (B1...) FRC Option 3 XR53[6]
J3-16 11 D1 FRC Polynomial XR6E[7-0]
PNL0 (R1...)
J3-15 10 D0 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND n/c 5 NC Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 18 VSS H Centering XR56
J3-47 GND 9 VSS V Centering XR59/58
GND
J3-50 7 VSS
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 6 VDD
V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2
V Stretching XR57[5]
VEESAFE (±12 to ±45) +32V V Stretching Mode XR57[6]
J3-3 8 VEE
V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Kyocera KCL6448 Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c Panel
BLANK#/DE Connector Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK)
J3-7 10 DF Gray/Color Levels XR4F[2-0]
J3-6 GND 26 DF TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND 6 CP Frame Accel Ena XR6F[1]
J3-14 30 CP
LP (HS)
J3-10 8 LOAD Output Signal Timing
J3-9 GND 28 LOAD Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 1 FRM LP Delay Disable XR2F[6]
GND
J3-12 35 FRM LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 n/c Blank#/DE CRT/FP XR51[2]
PNL14 n/c
J3-36 PNL13
J3-34 n/c Alt Hsync Start (CR04) XR19
PNL12 n/c Alt Hsync End (CR05) XR1A
J3-33
J3-31 PNL11 n/c Alt H Total (CR00) XR1B
J3-30 PNL10 n/c Alt V Total (CR06) XR65/64
PNL9 n/c Alt Vsync Start (CR10) XR65/66
J3-28 PNL8
J3-27 n/c Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 (LR2...) 5 LD0 Alt Vsync Polarity XR55[7]
J3-24 PNL6 (LB1...) 4 LD1
PNL5 (LG1...) Display Quality Recommendations
J3-22 PNL4 (LR1...) 3 LD2 FRC XR50[1-0]
J3-21 PNL3 (UR2...) 2 LD3 FRC Option 1 XR53[2]
J3-19 31 HD0 FRC Option 2 XR53[3]
J3-18 PNL2 (UB1...) 32 HD1
PNL1 (UG1...) FRC Option 3 XR53[6]
J3-16 33 HD2 FRC Polynomial XR6E[7-0]
PNL0 (UR1...)
J3-15 34 HD3 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 H Centering XR56
J3-47 GND V Centering XR59/58
GND
J3-50 18 GND
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 27 VDD
9 VDD V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2 7 DISP#
V Stretching XR57[5]
VEESAFE (±12 to ±45) n/c 29 DISP#
J3-3 V Stretching Mode XR57[6]
V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c Hitachi LMG9720XUFC
J3-7 Gray/Color Levels XR4F[2-0]
J3-6 GND Panel
Connector TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND 3 CL2 Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 2 CL1 Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 1 FLM LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 n/c Blank#/DE CRT/FP XR51[2]
PNL14 n/c
J3-36 PNL13
J3-34 n/c Alt Hsync Start (CR04) XR19
PNL12 n/c Alt Hsync End (CR05) XR1A
J3-33
J3-31 PNL11 n/c Alt H Total (CR00) XR1B
J3-30 PNL10 n/c Alt V Total (CR06) XR65/64
PNL9 n/c Alt Vsync Start (CR10) XR65/66
J3-28 PNL8
J3-27 n/c Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 12 LD0 Alt Vsync Polarity XR55[7]
J3-24 PNL6 13 LD1
PNL5 Display Quality Recommendations
J3-22 PNL4 14 LD2 FRC XR50[1-0]
J3-21 PNL3 15 LD3 FRC Option 1 XR53[2]
J3-19 8 UD0 FRC Option 2 XR53[3]
J3-18 PNL2 9 UD1
PNL1 FRC Option 3 XR53[6]
J3-16 10 UD2 FRC Polynomial XR6E[7-0]
PNL0
J3-15 11 UD3 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 H Centering XR56
J3-47 GND V Centering XR59/58
GND
J3-50 6 VSS
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 5 VDD
4 DISPOFF# V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2
V Stretching XR57[5]
VEESAFE (±12 to ±45) +27V V Stretching Mode XR57[6]
J3-3 7 VEE
V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c Sharp LM64C08P
J3-7 Gray/Color Levels XR4F[2-0]
J3-6 GND Panel
Connector TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND CN1-3 XCK Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 CN1-2 LP Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 CN1-1 YD LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 (LG3...) CN2-17 LD0 Blank#/DE CRT/FP XR51[2]
PNL14 (LR3...)
J3-36 PNL13 (LB2...) CN2-18 LD1
J3-34 CN2-19 LD2 Alt Hsync Start (CR04) XR19
PNL12 (LG2...) Alt Hsync End (CR05) XR1A
J3-33 CN2-20 LD3
J3-31 PNL11 (UG3...) CN1-8 UD0 Alt H Total (CR00) XR1B
J3-30 PNL10 (UR3...) CN1-9 UD1 Alt V Total (CR06) XR65/64
PNL9 (UB2...) Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 (UG2...) CN1-10 UD2
J3-27 CN1-11 UD3 Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 (LR2...) CN2-21 DL4 Alt Vsync Polarity XR55[7]
J3-24 PNL6 (LB1...) CN2-22 DL5
PNL5 (LG1...) Display Quality Recommendations
J3-22 PNL4 (LR1...) CN2-23 DL6 FRC XR50[1-0]
J3-21 PNL3 (UR2...) CN2-24 DL7 FRC Option 1 XR53[2]
J3-19 CN1-12 DU4 FRC Option 2 XR53[3]
J3-18 PNL2 (UB1...) CN1-13 DU5
PNL1 (UG1...) FRC Option 3 XR53[6]
J3-16 CN1-14 DU6 FRC Polynomial XR6E[7-0] 0BAh ** Important **
PNL0 (UR1...)
J3-15 CN1-15 DU7 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND CN1-6 VSS H AutoCentering XR55[1]
J3-41 CN2-1 VSS V AutoCentering XR57[1]
GND
J3-44 CN2-10 VSS H Centering XR56
J3-47 GND CN2-16 VSS V Centering XR59/58
GND
J3-50 CN2-25 VSS
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 CN1-5 VDD
CN1-4 DISP V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2
V Stretching XR57[5]
VEESAFE (±12 to ±45) +25V V Stretching Mode XR57[6]
J3-3 CN1-7 VEE
V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Sanyo LCM-5331-22NTK Parameter Register Value Comment
Connector Panel Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Single Dual Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c Connector Connector
BLANK#/DE (Panel Spec) (Prototypes) Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK)
J3-7 29 CN1-2 M Gray/Color Levels XR4F[2-0]
J3-6 GND
TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND 25 CN1-6 CL2 Frame Accel Ena XR6F[1]
J3-14 26 CN1-7 VSS
LP (HS)
J3-10 27 CN1-4 CL1 Output Signal Timing
J3-9 GND 24 CN1-5 VSS Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 30 CN1-1 FLM LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 15 CN2-16 LD0 Blank#/DE CRT/FP XR51[2]
PNL14
J3-36 PNL13 14 CN2-17 LD1
J3-34 13 CN2-18 LD2 Alt Hsync Start (CR04) XR19
PNL12 Alt Hsync End (CR05) XR1A
J3-33 12 CN2-19 LD3
J3-31 PNL11 23 CN1-8 UD0 Alt H Total (CR00) XR1B
J3-30 PNL10 22 CN1-9 UD1 Alt V Total (CR06) XR65/64
PNL9 Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 21 CN1-10 UD2
J3-27 20 CN1-11 UD3 Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 11 CN2-20 LD4 Alt Vsync Polarity XR55[7]
J3-24 PNL6 10 CN2-21 LD5
PNL5 Display Quality Recommendations
J3-22 PNL4 9 CN2-22 LD6 FRC XR50[1-0]
J3-21 PNL3 8 CN2-23 LD7 FRC Option 1 XR53[2]
J3-19 19 CN1-12 UD4 FRC Option 2 XR53[3]
J3-18 PNL2 18 CN1-13 UD5
PNL1 FRC Option 3 XR53[6]
J3-16 17 CN1-14 UD6 FRC Polynomial XR6E[7-0]
PNL0
J3-15 16 CN1-15 UD7 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND n/c 1
GND NC
J3-35 Fast Centering Disable XR57[7]
GND
J3-38 GND 28 DISPOFF# H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 H Centering XR56
J3-47 GND 6 CN2-26 VSS V Centering XR59/58
GND
J3-50 5 CN2-25 VSS
H Text Compression XR55[2]
VDDSAFE (+5V)
J3-1 7 CN2-24 VDD H AutoDoubling XR55[5]
V Text Stretching XR57[2]
VEESAFE +30V
J3-3 3 CN2-27 VEE V Text Stretch Mode XR57[4-3]
(±12 to ±45) 4 CN2-28 VEE V Stretching XR57[5]
V Stretching Mode XR57[6]
+12VSAFE V Line Insertion Height XR59[3-0]
J3-2 2 CN2-29 VO
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
Programming Recommendations/Requirements
DK6554x Parameter Register Value Comment
PCB Panel Width XR1C 4Fh (640 / 8) – 1
Connector
ENABKL Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c Hitachi LMG9721XUFC
J3-7 Gray/Color Levels XR4F[2-0]
GND Panel
J3-6 TFT Data Width XR50[7]
Connector
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND CN1-3 CL2 Frame Accel Ena XR6F[1]
J3-14 LP (HS)
J3-10 CN1-2 CL1 Output Signal Timing
GND Shift Clock Mask (SM) XR51[5]
J3-9
J3-11 FLM (VS) CN1-1 FLM LP Delay Disable XR2F[6]
GND LP Delay (CMPR ena) XR2F/2D
J3-12
LP Delay (CMPR disa) XR2F/2E
PNL23 n/c LP Pulse Width XR2F[3-0]
J3-49
PNL22 n/c LP Polarity XR54[6]
J3-48
J3-46 PNL21 n/c LP Blank XR4F[7]
PNL20 n/c LP Active during V XR51[7]
J3-45
PNL19 n/c FLM Delay Disable XR2F[7]
J3-43 PNL18
J3-42 n/c FLM Delay XR2C
PNL17 n/c FLM Polarity XR54[7]
J3-40 PNL16
J3-39 n/c Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 CN2-6 LD4 Blank#/DE CRT/FP XR51[2]
J3-36 PNL14 CN2-7 LD5
PNL13 Alt Hsync Start (CR04) XR19
J3-34 PNL12 CN2-8 LD6 Alt Hsync End (CR05) XR1A
J3-33 PNL11 CN2-9 LD7 Alt H Total (CR00) XR1B
J3-31 CN2-1 UD4 Alt V Total (CR06) XR65/64
J3-30 PNL10 CN2-2 UD5
PNL9 Alt Vsync Start (CR10) XR65/66
J3-28 CN2-3 UD6 Alt Vsync End (CR11) XR67[3-0]
PNL8
J3-27 CN2-4 UD7 Alt Hsync Polarity XR55[6]
PNL7 Alt Vsync Polarity XR55[7]
J3-25 CN1-12 LD0
J3-24 PNL6 CN1-13 LD1 Display Quality Recommendations
J3-22 PNL5 CN1-14 LD2 FRC XR50[1-0]
PNL4
J3-21 PNL3 CN1-15 LD3 FRC Option 1 XR53[2]
J3-19 PNL2 CN1-8 UD0 FRC Option 2 XR53[3]
J3-18 CN1-9 UD1 FRC Option 3 XR53[6]
J3-16 PNL1 CN1-10 UD2 FRC Polynomial XR6E[7-0]
J3-15 PNL0 CN1-11 UD3 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17 GND M Phase Change Count XR5E[6-0]
J3-20
J3-23 GND
GND Compensation Typical Settings
J3-26 H Compensation XR55[0]
GND
J3-29 GND V Compensation XR57[0]
J3-32 GND
J3-35 Fast Centering Disable XR57[7]
J3-38 GND H AutoCentering XR55[1]
GND V AutoCentering XR57[1]
J3-41 GND
J3-44 CN2-10 VSS H Centering XR56
GND V Centering XR59/58
J3-47 CN2-5 VSS
J3-50 GND CN1-6 VSS H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 CN1-5 VDD V Text Stretching XR57[2]
CN1-4 DISPOFF# V Text Stretch Mode XR57[4-3]
+12VSAFE n/c
J3-2 V Stretching XR57[5]
VEESAFE (±12 to ±45) +V† V Stretching Mode XR57[6]
J3-3 CN1-7 VEE V Line Insertion Height XR59[3-0]
† Voltage not specified in panel data sheet; contact panel manufacturer V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
for more information.
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c Toshiba TLX-8062S-C3X
J3-7 Gray/Color Levels XR4F[2-0]
J3-6 GND Panel
Connector TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND CN1-3 SCP Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 CN1-2 LP Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 CN1-1 FP LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 CN2-2 LD0 Blank#/DE CRT/FP XR51[2]
PNL14
J3-36 PNL13 CN2-3 LD1
J3-34 CN2-4 LD2 Alt Hsync Start (CR04) XR19
PNL12 Alt Hsync End (CR05) XR1A
J3-33 CN2-5 LD3
J3-31 PNL11 CN1-8 UD0 Alt H Total (CR00) XR1B
J3-30 PNL10 CN1-9 UD1 Alt V Total (CR06) XR65/64
PNL9 Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 CN1-10 UD2
J3-27 CN1-11 UD3 Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 CN2-6 LD4 Alt Vsync Polarity XR55[7]
J3-24 PNL6 CN2-7 LD5
PNL5 Display Quality Recommendations
J3-22 PNL4 CN2-8 LD6 FRC XR50[1-0]
J3-21 PNL3 CN2-9 LD7 FRC Option 1 XR53[2]
J3-19 CN1-12 UD4 FRC Option 2 XR53[3]
J3-18 PNL2 CN1-13 UD5
PNL1 FRC Option 3 XR53[6]
J3-16 CN1-14 UD6 FRC Polynomial XR6E[7-0]
PNL0
J3-15 CN1-15 UD7 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 CN2-10 GND H Centering XR56
J3-47 GND CN2-1 GND V Centering XR59/58
GND
J3-50 CN1-6 GND
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 CN1-5 VDD
CN1-4 DISP V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2
V Stretching XR57[5]
VEESAFE (±12 to ±45) +24.5V V Stretching Mode XR57[6]
J3-3 CN1-7 VEE
V Line Insertion Height XR59[3-0]
V H/W Line Replication XR59[7]
V Line Repl Height XR5A[3-0]
DK6554x
Programming Recommendations/Requirements
PCB Parameter Register Value Comment
Connector Panel Width XR1C 4Fh (640 / 8) – 1
ENABKL Panel Height XR65/68 1DFh 480 – 1
J3-5 n/c Panel Type XR51[1-0]
J3-4 Reserved n/c
BLANK#/DE Clock Divide (CD) XR50[6-4]
J3-8 n/c Shiftclk Div (SD) XR51[3]
M (ACDCLK) n/c Optrex DMF-50351NC-FW
J3-7 Gray/Color Levels XR4F[2-0]
J3-6 GND Panel
Connector TFT Data Width XR50[7]
SHFCLK STN Pixel Packing XR53[5-4]
J3-13 GND CN1-3 CP Frame Accel Ena XR6F[1]
J3-14
LP (HS)
J3-10 CN1-2 LP Output Signal Timing
J3-9 GND Shift Clock Mask (SM) XR51[5]
FLM (VS)
J3-11 CN1-1 FLM LP Delay Disable XR2F[6]
GND
J3-12 LP Delay (CMPR ena) XR2F/2D
LP Delay (CMPR disa) XR2F/2E
J3-49 PNL23 n/c LP Pulse Width XR2F[3-0]
J3-48 PNL22 n/c LP Polarity XR54[6]
PNL21 n/c
J3-46 LP Blank XR4F[7]
PNL20 n/c
J3-45 PNL19
LP Active during V XR51[7]
J3-43 n/c FLM Delay Disable XR2F[7]
PNL18 n/c
J3-42 PNL17
FLM Delay XR2C
J3-40 n/c FLM Polarity XR54[7]
PNL16 n/c
J3-39 Blank#/DE Polarity XR54[0]
Blank#/DE H-Only XR54[1]
J3-37 PNL15 CN2-2 DL0 Blank#/DE CRT/FP XR51[2]
PNL14
J3-36 PNL13 CN2-3 DL1
J3-34 CN2-4 DL2 Alt Hsync Start (CR04) XR19
PNL12 Alt Hsync End (CR05) XR1A
J3-33 CN2-5 DL3
J3-31 PNL11 CN1-8 DU0 Alt H Total (CR00) XR1B
J3-30 PNL10 CN1-9 DU1 Alt V Total (CR06) XR65/64
PNL9 Alt Vsync Start (CR10) XR65/66
J3-28 PNL8 CN1-10 DU2
J3-27 CN1-11 DU3 Alt Vsync End (CR11) XR67[3-0]
Alt Hsync Polarity XR55[6]
J3-25 PNL7 CN2-6 DL4 Alt Vsync Polarity XR55[7]
J3-24 PNL6 CN2-7 DL5
PNL5 Display Quality Recommendations
J3-22 PNL4 CN2-8 DL6 FRC XR50[1-0]
J3-21 PNL3 CN2-9 DL7 FRC Option 1 XR53[2]
J3-19 CN1-12 DU4 FRC Option 2 XR53[3]
J3-18 PNL2 CN1-13 DU5
PNL1 FRC Option 3 XR53[6]
J3-16 CN1-14 DU6 FRC Polynomial XR6E[7-0]
PNL0
J3-15 CN1-15 DU7 Dither XR50[3-2]
GND M Phase Change XR5E[7]
J3-17
J3-20 GND M Phase Change Count XR5E[6-0]
J3-23 GND
GND Compensation Typical Settings
J3-26 GND H Compensation XR55[0]
J3-29 V Compensation XR57[0]
J3-32 GND
J3-35 GND Fast Centering Disable XR57[7]
GND
J3-38 GND
H AutoCentering XR55[1]
J3-41 V AutoCentering XR57[1]
GND
J3-44 CN2-10 VSS H Centering XR56
J3-47 GND CN2-1 VSS V Centering XR59/58
GND
J3-50 CN1-6 VSS
H Text Compression XR55[2]
VDDSAFE (+5V) H AutoDoubling XR55[5]
J3-1 CN1-5 VCC
CN1-4 DISPOFF# V Text Stretching XR57[2]
+12VSAFE n/c V Text Stretch Mode XR57[4-3]
J3-2
V Stretching XR57[5]
VEESAFE (±12 to ±45) +V† V Stretching Mode XR57[6]
J3-3 CN1-7 VEE
V Line Insertion Height XR59[3-0]
† Voltage not specified in panel data sheet; contact panel manufacturer V H/W Line Replication XR59[7]
for more information. V Line Repl Height XR5A[3-0]
Electrical Specifications
65540 / 545 DAC CHARACTERISTICS (Under Normal Operating Conditions Unless Noted Otherwise)
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
65540 / 545 DC CHARACTERISTICS (Under Normal Operating Conditions Unless Noted Otherwise)
Symbol Parameter Notes Min Typ Max Units
ICCDE Power Supply Current 0°C, 5.5V, 68 MHz, DAC on, 65540 – 180 230 mA
ICCDO Power Supply Current 0°C, 5.5V, 68 MHz, DAC off, 65540 – 140 200 mA
ICCDO Power Supply Current 0°C, 3.3V, 62 MHz, DAC off, 65540 – 78 132 mA
ICCDE Power Supply Current 0°C, 5.5V, 68 MHz, DAC on, 65545 – TBD TBD mA
ICCDO Power Supply Current 0°C, 5.5V, 68 MHz, DAC off, 65545 – TBD TBD mA
ICCDO Power Supply Current 0°C, 3.3V, 56 MHz, DAC off, 65545 – TBD TBD mA
ICCS Power Supply Current 0°C, 5.5V, Standby†, 65540 – – 200 µA
ICCS Power Supply Current 0°C, 5.5V, Standby†, 65545 – – TBD µA
IIL Input Leakage Current – 100 – +100 uA
IOZ Output Leakage Current High Impedance – 100 – +100 uA
IOZ Output Leakage Current High Impedance – 100 – +100 uA
VIL Input Low Voltage All input pins – 0.5 – 0.8 V
VOL Output Low Voltage Under max load per table below (5V) – – 0.5 V
VOL Output Low Voltage Under max load per table below (3.3V) – – 0.5 V
VOH Output High Voltage Under max load per table below (5V) VCC– 0.5 – – V
VOH Output High Voltage Under max load per table below (3.3V) 2.4 – – V
VIH Input High Voltage All pins except XTALI 2.0 – VCC+0.5 V
VIH Input High Voltage All pins except XTALI 2.0 – VCC+0.5 V
65540 / 545 DC DRIVE CHARACTERISTICS (Under Normal Operating Conditions Unless Noted Otherwise)
Symbol Parameter OutputPins DCTestConditions Min Units
IOL Output Low Drive H/VSYNC, LDEV#, LRDY#, ROMCS#, IRQ VOUT=VOL, VCC=4.5V 12 mA
FLM, LP, M, P0-15, SHFCLK, D0-31 VOUT=VOL, VCC=4.5V 8 mA
ENAVEE, ENAVDD, ENABKL, ACTI VOUT=VOL, VCC=4.5V 8 mA
RASA#, CASAH/L#, WEA#, PAR (65545 only) VOUT=VOL, VCC=4.5V 4 mA
RASB#, CASBH/L#, WEB#, OEAB#, AA0-9 VOUT=VOL, VCC=4.5V 4 mA
RASC#, CASCH/L#, WEC#, OEC#, CA0-9 VOUT=VOL, VCC=4.5V 4 mA
All other outputs VOUT=VOL, VCC=4.5V 2 mA
IOH Output High Drive H/VSYNC, LDEV#, LRDY#, ROMCS#, IRQ VOUT=VOH, VCC=4.5V 12 mA
FLM, LP, M, P0-15, SHFCLK, D0-31 VOUT=VOL, VCC=4.5V 8 mA
ENAVEE, ENAVDD, ENABKL, ACTI VOUT=VOH, VCC=4.5V 8 mA
RASA#, CASAH/L#, WEA#, PAR (65545 only) VOUT=VOH, VCC=4.5V 4 mA
RASB#, CASBH/L#, WEB#, OEAB#, AA0-9 VOUT=VOH, VCC=4.5V 4 mA
RASC#, CASCH/L#, WEC#, OEC#, CA0-9 VOUT=VOH, VCC=4.5V 4 mA
All other outputs VOUT=VOH, VCC=4.5V 2 mA
Note: IOL and IOH drive listed above indicates 5V low drive and 3.3V high drive (see also XR6C)
Note: †Standby power was measured using Self Refresh DRAMs with all chip inputs driven to inactive levels and outputs not
connected (or connected to typical external loads).
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
65540 / 545 AC TEST CONDITIONS (Under Normal Operating Conditions Unless Noted Otherwise)
Output Output Capacitive
OutputPins LowVoltage HighVoltage Load
All 12mA and 8mA outputs plus PAR for PCI bus in the 65545 VOL 2.4V 80pF
All Other 4mA output pads VOL 2.4V 50pF
All Other 2mA output pads VOL 2.4V 30pF
TREF
THI
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
TC
TCH TCL
VCLK
TM
TMH TML
MCLK
Clock Timing
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
ResetwithChipOperating
InitialPower-UpReset andPowerStable
VCC
TIPR
TORS
14.318 MHz Valid
(from external oscillator) TRES
RESET#
TRSR TRSR
TCSU TCHD TCSU TCHD
Configuration Lines
AA0-AA8
TRSO
Bus Output Pins
Reset Timing
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
TLCP
TLCH
CCLK / LCLK
CCLK / LCLK
(2x Bus Clock
Configuration)
TCRH TCRS
CRESET†
† 65540/545 CRESET to CCLK timing should match CPU RESET to CLK2 timing of the CPU.
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
65540 / 65545 AC TIMING CHARACTERISTICS - LOCAL BUS INPUT SETUP & HOLD (33 MHz)
Symbol Parameter Notes Min Max Units
TADS Setup Time - A2-31, BEn#, M/IO#, W/R# 7 – nS
TASS Setup Time - ADS# 7 – nS
TDWS Setup Time - D0-31 (Write) 7 – nS
TRRS Setup Time - RDYRTN# 5 – nS
TADH Hold Time - A2-31, BEn#, M/IO#, W/R# 2 – nS
TASH Hold Time - ADS# 2 – nS
TDWH Hold Time - D0-31 (Write) 2 – nS
TRRH Hold Time - RDYRTN# 2 – nS
CCLK / LCLK
TDWS TDWH
D31-0 (Write)
TRRS TRRH
RDYRTN#
TASS TASH
ADS#
TADS TADH
BEn#, A31-2
M/IO#, W/R#
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
CCLK / LCLK
TDAV min max
CCLK / LCLK
TDAF
D31-0 (Read) ValidN
TRDF
LRDY#
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
Address Valid
TLDV TLDV
LDEV#
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
CLK 1 2 3 4
TFRS
Hi-Z Bus Hi-Z
FRAME# Turnaround
TCMS TCMH TBEH
TBES
Hi-Z Bus Hi-Z
C/BE#[3:0] Command Byte Enables Byte Enables Turnaround
TADS TADH TDAD TDAH
Read AD[31:0] Hi-Z Address
Read Bus Hi-Z
Read Data Turnaround
Turnaround
TADS TADH TDAS TDAH
WriteAD[31:0] Hi-Z Address WriteData WriteData Turnaround
Bus Hi-Z
Note: The above diagram shows a typical PCI bus cycle. PCI bus read cycles require a bus turn-around cycle between address output
and data input on AD31:0. PCI bus write cycles do not require this bus turnaround cycle so the write data is available from the
bus master immediately after address output (in clock cycle 2 instead of clock cycle 3).
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
CLK
TSZH TSHL TSLH TSHZ
High Z
STOP#
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
RFSH#, AEN,
A0-19, BHE#
TALE
ALE
TAHC
TASC TCPW TNXT
Command Strobe
IORD#, IOWR#
MEMR#,MEMW# TRLC TRPW TCHR
RDY TICS
IOCS16#, MCS16#
TRSR TRDZ
TRDH
Data (Read)
TWDD TWDH
Data(Write)
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
TRC
TRAS TRP
RAS#
TCRP TRCD TPC TRSH
TCAS TCP TCAS
CAS#
TCSH
TASR TRAH TCAH TCAH TASR
TASC
Address Row Column Column Row
TASC
WE#
TCAC TCAC
TRAC
High Z High Z High Z
Data Read Read
TRC
TRAS TRP
RAS#
TCRP TRCD TPC TRSH
TCAS TCAS
CAS#
TCSH TCP
TASR TRAH TASC TCAH TCAH TASR
TASC
Address Row Column Column Row
TWS TWH
WE#
Note: The above diagrams represent typical page mode cycles. The number of actual CAS cycles may vary.
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
TRRMW
RAS#
Note: The above diagrams represent typical page mode cycles. The number of actual CAS cycles may vary.
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
TRAS
RAS#
TCSR TCHR
CAS#
High Z
Dout
Address
Note: Upon exiting self-refresh mode, the 65540 / 65545 will perform a complete set of CBR refresh cycles before resuming normal
DRAM activity. The duration of the burst refresh will equal the panel power sequencing delay, programmed in XR5B bits 7-4.
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
VCLK in
TSYN
HSYNC, VSYNC out
TSD
SHFCLK out
PCLK
TPVS TPVH
VideoData
HSYNC
VSYNC
PC Video Timing
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
LP
TS2L TL2S
SHFCLK
TDSU
TDLY TDH
Data TFSU TFSH
FLM
LP
First Second Last
Line Line Line
Data Data Data
Transfer Transfer Transfer
FLM
Note: Unless otherwise specified, specifications above apply to both 5V & 3.3V operation & memory clock is assumed to be 68MHz.
Electrical specifications contained herein are preliminary and subject to change without notice.
Mechanical Specifications
Lead Length
0.5 ±0.2
(0.020 ±0.008)
Lead Pitch
0.50 (0.0197)
Lead Width
0.20 ±0.10
(0.008 ±0.004)
208-Pin
Plastic Flat Pack DIMENSIONS:
mm (in)
CHIPS Part No. and Revision
F6554x R
Body Size
Footprint
Vendor Mask Identifier XXXXXXX
Date Code and Country of Assembly YYWW CCCCCC
Lot Code (Optional)
LLLLLLL
Clearance
0.25 (0.010)
Minimum
Height
Body Size 28.0 ±0.1 (1.102 ±0.004)
Pin 1 Seating Plane 4.07 (0.160)
Footprint 30.6 ±0.4 (1.205 ±0.016) Maximum