Texas Instruments (TI) reserves the right to make changes to its products or to
discontinue any semiconductor product or service without notice, and advises its
customers to obtain the latest version of relevant information to verify, before placing
orders, that the information being relied on is current.
TI warrants performance of its semiconductor products and related software to the
specifications applicable at the time of sale in accordance with TI’s standard warranty.
T esting and other quality control techniques are utilized to the extent TI deems necessary
to support this warranty. Specific testing of all parameters of each device is not
necessarily performed, except those mandated by government requirements.
Certain applications using semiconductor products may involve potential risks of death,
personal injury , or severe property or environmental damage (“Critical Applications”).
TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, INTENDED,
AUTHORIZED, OR WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT
APPLICATIONS, DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS.
Inclusion of TI products in such applications is understood to be fully at the risk of the
customer. Use of TI products in such applications requires the written approval of an
appropriate TI officer . Questions concerning potential risk applications should be directed
to TI through a local SC sales office.
In order to minimize risks associated with the customer’s applications, adequate design
and operating safeguards should be provided by the customer to minimize inherent or
procedural hazards.
TI assumes no liability for applications assistance, customer product design, software
performance, or infringement of patents or services described herein. Nor does TI
warrant or represent that any license, either express or implied, is granted under any
patent right, copyright, mask work right, or other intellectual property right of TI covering
or relating to any combination, machine, or process in which such semiconductor
products or services might be or are used.
The TVP3026 is an advanced video interface palette (VIP) from T exas Instruments implemented in EPIC
0.2-micron CMOS process. The TVP3026 is a 64-bit VIP that supports packed-24 modes enabling 24-bit
true color and high resolution at the same time without excessive amounts of frame buffer memory. For
example, a 24-bit true color display with 1280 x 1024 resolution may be packed into 4M of VRAM. A
PLL-generated, 50 % duty cycle reference clock is output in the packed-24 modes, maximizing VRAM cycle
time and the screen refresh rate.
The TVP3026 supports all of the pixel formats of the TVP3020 VIP. Data can be split into 4 or 8 bit planes
for pseudo-color mode or split into 12-, 16- or 24-bit true-color and direct-color modes. For the 24-bit direct
color modes, an 8-bit overlay plane is available. The 16-bit direct- and true-color modes can be configured
to IBM XGA
An additional 12-bit mode with 4-bit overlay (4, 4, 4, 4) is supported with 4 bits for each color and overlay .
All color modes support selection of little or big endian data format for the pixel bus. Additionally, the device
is also software compatible with the INMOS IMSG176/8 and Brooktree Bt476/8 color palettes.
Two fully programmable phase-locked loops (PLLs) for pixel clock and memory clock functions are
provided, as well as a simple frequency doubler for dramatic improvements in graphics system cost and
integration. A third loop clock PLL is incorporated making pixel data latch timing much simpler than with other
existing color palettes. In addition, four digital clock inputs (2 TTL- and 2 ECL /TTL-compatible) may be
utilized and are software selectable. The video clock provides a software selected divide ratio of the chosen
pixel clock. The shift clock output may be used directly as the VRAM shift clock. The reference clock output
is driven by the loop clock PLL and provides a timing reference to the graphics accelerator.
Like the TVP3020, the TVP3026 also integrates a complete IBM XGA-compatible hardware cursor on chip,
making significant graphics performance enhancements possible. Additionally, hardware port select and
color-keyed switching functions are provided, giving the user several efficient means of producing graphical
overlays on direct-color backgrounds.
The TVP3026 has three 256-by-8 color lookup tables with triple 8-bit video digital-to-analog converters
(DACs) capable of directly driving a doubly terminated 75-Ω line. The lookup tables are designed with a
dual-ported RAM architecture that enables ultra-high speed operation. Sync generation is incorporated on
the green output channel. Horizontal sync (HSYNC) and vertical sync (VSYNC) are pipeline delayed
through the device and optionally inverted to indicate screen resolution to the monitor. A palette-page
register is available to select from multiple color maps in RAM when 4 bit planes are used. This allows the
screen colors to be changed with only one microprocessor write cycle.
The device features a separate VGA bus which supports the integrated VGA modes in graphics accelerator
applications, allowing efficient support for VGA graphics and text modes. The separate bus also is useful
for accepting data from the feature connector of most VGA-supported personal computers, without the need
for external data multiplexing.
The TVP3026 is highly system integrated. It can be connected to the serial port of VRAM devices without
external buffer logic and connected to many graphics engines directly . It also supports the split shift-register
transfer function, which is common to many industry standard VRAM devices.
The system-integration concept is even carried further to manufacturing test and field diagnosis. T o support
these, several highly integrated test functions have been designed to enable simplified testing of the palette
and the entire graphics system.
(5, 6, 5), T ARGA (1, 5, 5, 5), or 16-bit/pixel (6, 6, 4) configuration as another existing format.
EPIC is a trademark of Texas Instruments Incorporated.
XGA is a registered trademark of International Business Machines Corporation
TARGA is a registered trademark of Truevision Incorporated.
Brooktree is a trademark of Brooktree Corporation.
INMOS is a trademark of INMOS International Limited.
1–1
1.1Features
There are many features that the TVP3026 video interface palette possesses; and, the itemized list of them
are:
•Supports system resolutions up to 1600 × 1280 @ 76-Hz refresh rate
•Supports color depths of 4, 8, 16, 24 and 32 bit/pixel
•64-bit-wide pixel bus
•Versatile direct-color modes:
–24-bit/pixel with 8-bit overlay (O, R, G, B)
–24-bit/pixel (R, G, B)
–16-bit/pixel (5, 6, 5) XGA configuration
–16-bit/pixel (6, 6, 4) configuration
–15-bit/pixel with 1 bit overlay (1, 5, 5, 5) TARGA configuration
–12-bit/pixel with 4 bit overlay (4, 4, 4, 4)
•True-color gamma correction
•Supports packed pixel formats for 24 bit/pixel using a 32-or 64-bit/pixel bus
•50% duty cycle reference clock for higher screen refresh rates in packed-24 modes
•Programmable frequency synthesis phase-locked loops (PLLs) for dot clock and memory clock
•Loop clock PLL compensates for system delay and ensures reliable data latching
•Versatile pixel bus interface supports little- and big-endian data formats
CLK0106IDot clock 0 TTL input. CLK0 can be selected to drive the dot clock at frequencies
CLK1107IDot clock 1 TTL input. CLK1 can be selected to drive the dot clock at frequencies
CLK2, CLK2108, 109IDual-mode dot clock input. These inputs are emitter-coupled logic
COMP1,
COMP2
DV
DD
D7–D047–54I/OMPU interface data bus. Data is transferred in and out of the register map, palette
NOTE 1: All unused inputs should be tied to a logic level and not allowed to float.
80, 84,
86, 87
77, 79ICompensation. COMP1 and COMP2 provide compensation for the internal
2, 18, 39,
40, 45, 65,
117, 137
Analog power. All AVDD terminals must be connected. A separate cutout in the
DVDD plane should be made for AVDD. The DVDD and AVDD planes should be
connected only at a single point through a ferrite bead close to where power enters
the board.
up to 140 MHz. When using the VGA port, the maximum frequency is 85 MHz.
CLK0 can be selected as the latch clock for VGA data and video controls.
(power-up default).
up to 140 MHz.
(ECL)-compatible inputs. Alternatively, CLK2 and CLK2
individual TTL clock inputs. Programming the clock selection register selects the
chosen configuration. These inputs may be selected as the dot clock up to the
device limit while in the ECL mode or up to 140 MHz in the TTL mode.
reference amplifier . A 0.1-µF ceramic capacitor is required between COMP1 and
COMP2. This capacitor must be as close to the device as possible to avoid noise
pick up.
Digital power. All DVDD terminals must be connected to the digital power plane
with sufficient decoupling capacitors near the TVP3026.
RAM, and cursor RAM on D7–D0.
may be used as
1–5
1.5Terminal Functions (Continued)
I/O
DESCRIPTION
TERMINAL
NAMENO.
FS ADJUST76IFull-scale adjustment. A resistor connected between FS ADJUST and GND
GND17, 41, 46,
HSYNCOUT,
VSYNCOUT
IOR, IOG,
IOB
GI/O4–GI/O058–62I/OSoftware programmable general I/O terminals that can be used to control
LCLK123ILatch clock input. LCLK latches pixel-bus-input data and system video controls.
MCLK121OMemory clock output. MCLK is the output of an independently programmable
PCLKOUT144OPixel clock PLL output. PCLKOUT is a buffered version of the pixel clock PLL
PLLGND142Ground for PLL supplies. Decoupling capacitors should be connected between
PLLV
DD
OVS96IOverscan input. OVS controls the display of custom screen borders. When OVS
ODD/EVEN122IOdd or even field display. ODD/EVEN indicates odd or even field during
PLLSEL0,
PLLSEL1
NOTE 1: All unused inputs should be tied to a logic level and not allowed to float.
66, 69, 71,
73, 75,
81–83, 85,
118, 136,
159
67, 68OHorizontal and vertical sync outputs. These outputs are pipeline delayed
70, 72, 74OAnalog current outputs. These outputs can drive a 37.5-Ω load directly (doubly
143, 146PLL power supply. PLLVDD must be a well regulated 5-V power supply voltage.
1, 160IPixel clock PLL frequency selection. PLLSELx selects among two fixed
controls the full-scale range of the DACs.
Ground. All GND terminals must be connected. A common ground plane should
be used.
versions of the selected sync inputs. Output polarity inversion may be
independently selected using general control register bits GCR(1,0).
terminated 75-Ω line), thus eliminating the requirement for any external buffering.
external devices.
VGA data may also be latched with LCLK when selected. LCLK may be a delayed
version of RCLK provided that linear phase changes in RCLK cause
corresponding linear phase changes in LCLK.
PLL frequency synthesizer. The frequency range is 14 – 100 MHz. The dot clock
may be output on this terminal while the MCLK frequency is reprogrammed. See
subsection 2.4.2.1, Changing the MCLK Frequency.
output and is mainly for test purposes. This output is independent of the dot clock
source selected by the clock selection register.
PLLVDD and PLLGND. PLLGND should be connected to the system ground
through a ferrite bead.
Decoupling capacitors should be connected between PLLVDD and PLLGND.
T erminal 143 supplies power to the pixel clock PLL. T erminal 146 supplies power
to the MCLK PLL and the loop clock PLL.
is not used, it should be connected to GND.
interlaced display for cursor operation. A low signal indicates the even field and
a high signal indicates the odd field. See subsection 2.7.4, Interlaced CursorOperation, for cursor operation in interlace mode.
frequencies and the programmed frequency of the pixel clock PLL.
1–6
1.5Terminal Functions (Continued)
I/O
DESCRIPTION
TERMINAL
NAMENO.
PSEL97IPort select. PSEL provides the capability of switching between direct color and
P63–P03–16,
19–38,
110 –116,
127–135,
138–141,
149–158
RCLK124OReference clock output. RCLK can be programmed to output either the pixel clock
REF78I/OVoltage reference for DACs. An internal voltage reference of nominally 1.235 V
RESET63IMaster reset. All the registers assume their default state after reset. The default
RD44IRead strobe input. A low signal on RD initiates a read from the register map. Read
RS3–RS042, 55–57IRegister select inputs. These terminals specify the location in the direct register
SCLK126OShift clock output. SCLK is a gated version of the loop clock PLL output and is
SENSE64OTest mode DAC comparator output signal. SENSE is low when one or more of the
NOTE 1: All unused inputs should be tied to a logic level and not allowed to float.
true color or overlay. Multiple true color or overlay windows may be displayed
using the PSEL control. Since PSEL is sampled with LCLK, the granularity for
switching depends on the number of pixels loaded per LCLK. When PSEL is not
used, it should be connected to GND.
IPixel input port. The port can be used in various modes as described in
Section 2.6, Multplexing Modes of Operation. Unused terminals should not be
allowed to float.
PLL (power up default) or the loop clock PLL. The pixel clock PLL is selected to
provide a reference clock to the VGA controller. In this configuration, the VGA
controller returns VGA data and video controls along with a synchronous clock
which becomes the TVP3026 dot clock source using CLK0. For all other modes,
the loop clock PLL is selected to provide the reference clock. In this configuration,
the pixel clock PLL (or external clock) becomes the TVP3026 dot clock source.
The reference clock is used to generate VRAM shift clocks (or clocks a VGA
controller) and generate video controls. The pixel port (or VGA port) and video
controls are latched by LCLK. The loop clock PLL controls the phase of RCLK to
phase-lock the received LCLK with the internal dot clock.
For systems that use SCLK as the VRAM shift clock, RCLK should be connected
to LCLK. An external buffer may be used between RCLK and LCLK when SCLK
is also buffered, within the timing constraints of the TVP3026. RCLK is not gated
off during blanking.
is provided that requires an external 0.1-µF ceramic capacitor between REF and
analog GND. However, the internal reference voltage can be overdriven by an
externally-supplied reference voltage.
state is VGA mode 2 (CLK0 latching of VGA data and video controls).
transfer data is enabled onto the D(7–0) bus when RD
Figure 3–1).
map that is to be accessed as shown in Table 2–1.
gated off during blanking. SCLK may drive the VRAM shift clock directly. This is
intended for designs in which the graphics controller does not supply the VRAM
shift clock.
DAC output analog levels is above the internal comparator reference of
350 mV ±50 mV .
is low (see
1–7
1.5Terminal Functions (Continued)
I/O
DESCRIPTION
TERMINAL
NAMENO.
SFLAG105ISplit shift register transfer flag. A high pulse on SFLAG during blanking is passed
SYSBL101ISystem blank input. SYSBL is active low. This should be selected for all modes
SYSHS,
SYSVS
VCLK125OProgrammable auxiliary clock output. VCLK is derived from the internal dot clock
VGABL104IVGA blank input. VGABL is active low. This should be selected when in VGA
VGAHS,
VGAVS
VGA7–VGA088–95IVGA port. This bus can be selected as the pixel input bus for VGA modes, but
WR43IWrite strobe input. A low signal on WR initiates a write to the register map. Write
XTAL1,
XTAL2
8/698IDAC resolution selection. This terminal is used to select the data bus width (8 or
NOTE 1: All unused inputs should be tied to a logic level and not allowed to float.
99, 100ISystem horizontal and vertical sync inputs. These signals should be selected for
102, 103IVGA horizontal and vertical sync inputs. These signals should be used when in
119, 120I/OConnections for quartz crystal resonator. XT ALx is a reference for the frequency
directly to the SCLK terminal. This operation is available to meet the special serial
clocking requirements of some VRAM devices. When SFLAG is not used,
SFLAG should be connected to GND.
other than VGA mode 2. This signal is pipeline delayed before being passed to
the DACs.
all modes other than VGA mode 2. These signals are pipeline delayed and each
may be inverted before being passed to the HSYNCOUT and VSYNCOUT
terminals. General control register bits GCR(1,0) control the polarity inversion.
When used to generate the sync level on the green current output, SYSHS
SYSVS
must be active low at the input to the TVP3026.
using a programmable divide ratio and does not utilize the loop clock PLL for
synchronization. Since pixel data and video controls are always referenced to
RCLK and LCLK (or CLK0), use of VCLK for the frame buffer interface or video
timing is not recommended.
mode 2 (CLK0 latching of VGA data and video controls). VGABL
delayed before being passed to the DACs.
VGA mode 2 (CLK0 latching of VGA data and video controls). These signals are
pipeline delayed and each may be inverted before being passed to the
HSYNCOUT and VSYNCOUT terminals. General control register bits GCR(1,0)
control the polarity inversion. When used to generate the sync level on the green
current output, VGAHS and VGAVS must be active low at the input to the
TVP3026.
it does not allow for any multiplexing.
transfer data is latched from the D(7–0) bus with the rising edge of WR
synthesis PLLs. XTAL2 may be used as a TTL reference clock input, in which
case XTAL1 is left unconnected.
6 bits) for the DACs and is provided for VGA downward compatibility . When the
8/6 signal is high, 8-bit bus transfers are used with D7 the MSB and D0 the LSB.
For 6-bit bus operation, while the color palette RAM still has the 8-bit information,
the data is shifted to the upper six bits and the two LSBs are filled with zeros at
the output multiplexer to the DACs. The palette RAM data register zeroes the two
MSBs when the palette RAM is read in the 6-bit mode. The function of this
terminal may be overridden in software. When not used, the 8/6
be connected to GND so that 6-bit VGA operation begins at power up.
is pipeline
.
terminal should
and
1–8
2 Detailed Description
2.1Microprocessor Unit Interface
The standard microprocessor unit (MPU) interface is supported, giving the MPU direct access to the
registers and memories of the TVP3026. The processor interface is controlled using read and write strobes
(RD
, WR), four register select terminals (RS3–RS0), the D7–D0 data terminals, and the 8/6-select terminal.
The 8/6
provided to maintain compatibility with the IMSG176. See subsection 2.1.1, 8/6
Table 2–1 lists the direct register map. These registers are addressed directly by the register select lines
RS0–RS3. Table 2–2 lists the indirect register map. The index for the indirect register map is loaded into
the index register (direct register: 0000). This register also stores the palette RAM write address and cursor
RAM write address. The indexed data register (direct register: 1010) is then used to read or write the register
pointed to in the indirect register map. The index does not post-increment following accesses to the indirect
map.
terminal is used to select between an 8- or 6-bit-wide data path to the color palette RAM and is
Operation.
T able 2–1. Direct Register Map
RS3RS2RS1RS0REGISTER ADDRESSED BY MPUR/WDEFAULT (HEX)
0000
0001Palette RAM DataR/WXX
0010Pixel Read-MaskR/WFF
0011Palette/Cursor RAM Read AddressR/WXX
0100Cursor/Overscan Color Write AddressR/WXX
0101Cursor/Overscan Color DataR/WXX
0110Reserved
0111Cursor/Overscan Color Read AddressR/WXX
1000Reserved
1001Direct Cursor ControlR/W00
1010Indexed DataR/WXX
1011Cursor RAM DataR/WXX
1100Cursor-Position X LSBR/WXX
1101Cursor-Position X MSBR/WXX
1110Cursor-Position Y LSBR/WXX
1111Cursor-Position Y MSBR/WXX
Palette/Cursor RAM Write Address/
Index Register
R/WXX
2–1
T able 2–2. Indirect Register Map (Extended Registers)
INDEXR/WDEFAULT
0x00Reserved
0x01R0x00
0x02–0x05Reserved
0x06R/W0x00Indirect Cursor Control
0x07–0x0EReserved
0x0FR/W0x06Latch Control
0x10–0x17Reserved
0x18R/W0x80True Color Control
0x19R/W0x98Multiplex Control
0x1AR/W0x07Clock Selection
0x1BReserved
0x1CR/W0x00Palette Page
0x1DR/W0x00General Control
0x1ER/W0x00Miscellaneous Control
0x1F–0x29Reserved
0x2AR/W0x00General-Purpose I/O Control
0x2BR/WXXGeneral-Purpose I/O Data
0x2CR/WXXPLL Address
0x2DR/WXXPixel Clock PLL Data
0x2ER/WXXMemory Clock PLL Data
0x2FR/WXXLoop Clock PLL Data
0x30R/WXXColor-Key Overlay Low
0x31R/WXXColor-Key Overlay High
0x32R/WXXColor-Key Red Low
0x33R/WXXColor-Key Red High
0x34R/WXXColor-Key Green Low
0x35R/WXXColor-Key Green High
0x36R/WXXColor-Key Blue Low
0x37R/WXXColor-Key Blue High
0x38R/W0x00Color-Key Control
0x39R/W0x18MCLK/Loop Clock Control
0x3AR/W0x00Sense Test
0x3BRXXTest Mode Data
0x3CRXXCRC Remainder LSB
†
Silicon revision register is 0x00 for the first pass silicon (see subsection 2.11.4,
Silicon Revision).
NOTE 1: Reserved registers should be avoided; otherwise, circuit behavior could
deviate from that specified.
†
REGISTER ADDRESSED
BY INDEX REGISTER
Silicon Revision
2–2
T able 2–2. Indirect Register Map (Extended Registers) (Continued)
INDEXR/WDEFAULT
0x3DRXXCRC Remainder MSB
0x3EWXXCRC Bit Select
0x3FR0x26ID
0xFFWXXSoftware Reset
NOTE 1: Reserved registers should be avoided; otherwise, circuit behavior
could deviate from that specified.
REGISTER ADDRESSED
BY INDEX REGISTER
2.1.18/6 Operation
The 8/6 terminal is used to select between an 8-bit (set to 1) or 6-bit (reset to 0) data path to the color palette
RAM and it is provided in order to maintain compatibility with the INMOS IMSG176. When
miscellaneous-control register bit 2 (MSC2) is set to 1, the 8/6 terminal is disabled and 8/6 operation is
controlled by bit 3 of the miscellaneous-control register (MSC3). The reset default is for the 8/6
terminal to
be enabled (miscellaneous-control register bit 2 = 0, see Section 2.2, Color Palette RAM).
2.1.2Pixel Read-Mask Register
The pixel read-mask register (direct register: 0010) is an 8-bit register used to enable or disable a bit plane
from addressing the color-palette RAM in the pseudo-color and VGA modes. Each palette address bit is
logically ANDed with the corresponding bit from the read-mask register before going to the palette-page
register and addressing the palette RAM.
2.1.3Palette-Page Register
The palette page register (index: 0x1C) allows selection of multiple color look-up tables stored in the palette
RAM when using a mode that addresses the palette RAM with less than 8 bits. When using 1, 2, or 4 bit
planes in the pseudo-color or direct-color + overlay modes, the additional planes are provided from the page
register before the data addresses the color palette. This is illustrated in Table 2–3.
NOTE
The additional bits from the page register are inserted after the read mask.
The palette-page register specifies the additional bit planes for the overlay field in
direct-color modes with less than 8 bits per pixel overlay .
T able 2–3. Allocation of Palette-Page Register Bits
M = bit from pixel port and Pn = n bit from page register.
2–3
2.1.4Cursor and Overscan Color Registers
The registers for the three cursor colors and the overscan border color are accessed through the direct
register map. See Section 2.9, Overscan Border description and subsection 2.7.3, Three-Color 64 X 64Cursor, for use of the cursor colors.
The color write address register (direct register: 0100) must be initialized before writing to the color registers.
The lower two bits of this register select one of the four color registers according to T able 2–4. The selected
24-bit color register is loaded a byte at a time by writing a sequence of three bytes (red, green, and blue)
to the color data register (direct register: 0101). After the blue byte is written, the color address register
increments to the next color. All four colors may be loaded with a single write to the color write address
register followed by 12 consecutive writes to the color data register.
The color read address register (direct register: 0111) must be initialized before reading from the color
registers. The lower two bits of this register select one of the four color registers according to T able 2–4. Next,
the color data register (direct register: 0101) is read three times, producing red, green, and blue bytes from
the selected register. After the blue byte is read, the color address register is incremented to the next color .
All four colors may be read with a single write to the color read address register followed by 12 consecutive
reads of the color data register.
The sequence followed by the color address register is overscan color, cursor color 0, cursor color 1, cursor
color 2, . . ., etc. The starting point depends on what was written to the color write address or color read
address register.
T able 2–4. Color Register Address Format
BIT 1BIT 0REGISTER
00Overscan color
01Cursor color 0
10Cursor color 1
11Cursor color 2
2.2Color-Palette RAM
The color-palette RAM is addressed by an internal 8-bit address register for reading/writing data from/to the
RAM. This register is automatically incremented following a RAM transfer, allowing the entire palette to be
read/written with only one access of the address register. When the address register increments beyond
the last location in RAM, it is reset to the first location (address 0). All read and write accesses to the RAM
are asynchronous to the internal clocks but are performed within one dot clock. Therefore, read/write
accesses do not cause any noticeable disturbance on the display.
The color palette RAM is 24 bits wide for each location and 8 bits wide for each color. Since a MPU access
is 8 bits wide, the color data stored in the palette is eight bits when the 6-bit mode is chosen. When the 6-bit
mode is chosen, the two MSBs of color data in the palette have the values previously written. However, when
they are read back in the 6-bit mode, the two MSBs are zeros to be compatible with INMOS IMSG176 and
Brooktree Bt176. The output multiplexer shifts the six LSB bits to the six MSB positions and fills the two LSBs
with 0s after the color palette. The multiplexer then feeds the data to the DAC. The test mode data register
and the cyclic redundancy check (CRC) calculation both take data after the output multiplexer, enabling total
system verification. The color palette access is described in the following two sections, and it is fully
compatible with IMSG176/8 and Bt476/8.
2–4
2.2.1Writing to Color-Palette RAM
To load the color palette, the MPU must first write to the color-palette RAM write address register (direct
register: 0000) with the address where the modification is to start. The selected color-palette RAM location
is loaded a byte at a time by writing a sequence of three bytes (red, green, and blue) to the palette RAM data
register (direct register: 0001). After the blue write cycle, the color-palette RAM address register increments
to the next location, which the MPU may modify by simply writing another sequence of red, green, and blue
data.
2.2.2Reading From Color-Palette RAM
Reading from the color-palette RAM is performed by writing to the palette read address register (direct
register: 001 1) with the location to be read. Three successive MPU reads from the palette RAM data register
produce red, green, and blue color data (6 or 8 bits depending on the 8/6 mode) for the specified location.
Following the blue read cycle, the address register is incremented. Since the color-palette RAM is dual
ported, the RAM may be read during active display without disturbing the video.
2.3Clock Selection
The TVP3026 VIP provides a maximum of four clock inputs (CLK0, CLK1, and CLK2/CLK2) which can be
selected as two TTL inputs and a differential ECL input or as four TTL inputs. The TTL inputs can be used
for video rates up to 140 MHz while the differential ECL can be utilized up to the device limit. At reset, CLK0
is selected as the clock source for VGA mode 2. This power-up state supports VGA pass through operation
without requiring software intervention.
An alternative clock source can be selected in the clock-selection register (index: 0x1A) during normal
operation. This chosen clock input is then used as the dot clock (representing pixel rate to the monitor, see
Table 2–5).
There are two ways of using CLK0 as a clock source. When CSR(2–0) = 11 1, CLK0 is selected as the clock
source to generate the internal dot clock (see T able 2 –6). In this mode, multiplex control register bit MCR6
must be set to 1 and only the VGA port can be used. This selects latching of VGA(7–0) and VGABL
CLK0. When CSR(2–0) = 000, CLK0 is also selected as the clock source to generate the internal dot clock.
However, in this mode, MCR6 must be logic 0, which selects latching of VGA(7–0) and SYSBL with LCLK.
In this mode, the pixel port or the VGA port can be used.
Additionally , two crystal oscillator terminals (XT AL1, XTAL2) are provided for the integrated pixel clock and
memory clock frequency synthesis PLLs. These terminals are intended for use with a quartz crystal
resonator, but a discrete oscillator can also be utilized and input on the XTAL2 terminal (XTAL1 terminal
should be left floating in this case).
with
Selection of the pixel clock PLL as the pixel clock source is performed by programming the clock selection
register. In general, when the pixel clock PLL is to be selected, it should be selected after the PLL has been
programmed and allowed to achieve lock.
2–5
T able 2–5. Clock-Selection Register Bits CSR(6–4)
NOTE 2: Bit CSR7 enables the SCLK output when set to 1.
T able 2–6. Clock-Selection Register Bits CSR(3–0) (Index: 0x1A, Access: R/W, Default: 0x07)
CLOCK SELECT REGISTER BITS
3210
0000Select CLK0 as clock source (for use with LCLK latching of VGA port). See
0001Select CLK1 as clock source
0010Select CLK2 as TTL clock source
0011Select CLK2 as TTL clock source
0100Select CLK2 and CLK2 as ECL clock source
0101Select pixel clock PLL as clock source
0110Disable internal dot clock for reduced power consumption.
0111Select CLK0 as clock source (for use with CLK0 latching of VGA port). See
1XXXReserved
x = do not care
subsection 2.6.2, VGA Modes.
subsection 2.6.2, VGA Modes.
2.4PLL Clock Generators
In addition to externally supplied clock sources, the TVP3026 has three on-chip, fully programmable,
frequency-synthesis phase-locked loops (PLLs). The first PLL ,pixel clock, is intended for pixel clock
generation for frequencies up to the device limit. The second PLL ,MCLK, is provided for general system
clocking such as the system clock or memory clock, and the third PLL ,called the loop clock PLL, is useful
for synchronizing pixel data and latch timing by compensating for system loop delay .
The clock generators use a modified M over (N × 2
(Appendix A provides a listing of all frequencies that can be synthesized and the register values for each.)
The advanced PLLs utilize an internal loop filter to provide maximum noise immunity and minimum jitter.
Except for the reference crystal or oscillator, no external components or adjustments are necessary. Each
PLL can be independently enabled or disabled for maximum system flexibility. Figure 2–1 illustrates the
TVP3026 PLL clocking scheme. The PLLs are programmed through a group of four registers in the
TVP3026 indirect register map. The registers are listed in Table 2–7.
2–6
P
) scheme to enable a wide range of precise frequencies.
T able 2–7. PLL Top Level Registers
INDEXREGISTER
0x2CPLL address register (PAR)
0x2DPixel clock PLL data register (PPD)
0x2EMCLK PLL data register (MPD)
0x2FLoop clock PLL data register (LPD)
The PLL address register (P AR) points to the M, N, P, and status registers of each PLL. This register allows
read and write access and contains three 2-bit pointers, one for each PLL, according to the T able 2–8. Each
pointer may be programmed independently.
Once the PLL data register pointers are set, the selected register is accessed through the pixel clock PLL
data register (index: 0x2D), MCLK PLL data register (index: 0x2E) or the loop clock PLL data register (index:
0x2F). The PLL data register pointer bits are independently autoincremented following a write cycle to the
corresponding PLL data register. The current state of each pointer can be identified by reading the PLL
address register (index: 0x2C). The PLL data register pointer bits do not autoincrement following a read
cycle of the PLL data registers.
The most efficient way to program the pixel clock PLL is to first write zeros to PLL address register bits
P AR(1,0) followed by three consecutive writes to the pixel clock PLL data register to program the N, M, and
P-value registers. Following the third write, the pixel clock PLL pointer will point to the read-only status
register. The status register can then be polled until the LOCK bit is set (the pointer does not autoincrement
on reads). For test purposes, the pixel clock PLL can be output on the PCLKOUT terminal by setting the
pixel clock PLL P-value register bit 6 to 1.
2–7
LCLK
CO
CLK0–2/2
RCLK
Loop
Clock PLL
XTAL2
XTAL1
Pixel Clock
PLL
Crystal
Amplifier
MCLK
PLL
VCLK
Divider
VCLK
Internal
Dot Clock
PCLKOUT
MCLK
Figure 2–1. TVP3026 Clocking Scheme
2.4.1Pixel Clock PLL
The pixel clock PLL may be used at frequencies up to the device limit. Appendix A provides optimal register
values for all frequencies that can be synthesized using the common 14.31818 MHz reference. The
following equations describe the voltage controlled oscillator frequency and the PLL output frequency for
the pixel clock PLL as a function of the N, M, and P values and the reference frequency F
The frequency of the voltage controlled oscillator (VCO) is given by:
F
VCO
+8
F
REF
65*M
65*N
Provided:
Minimum VCO FrequencyvF
v
V
Maximum VCO Frequency
Then the PLL output frequency is :
F
+
VCO
P
2
F
PLL
REF
.
(1)
(2)
The N-, M-, and P-value registers may be programmed to any value within the following limits:
40vN(5–0)v62
1vM(5–0)v62
0vP(1,0)v3
The bit assignments of the N-, M-, and P-value and the status register for the pixel clock PLL are given in
Table 2–10. The bits shown as set to 0 or 1 must be written with these fixed values. PCLKEN enables the
pixel clock PLL output onto the PCLKOUT output terminal when set to 1. When PCLKEN is reset to 0, the
PCLKOUT terminal is held at 0. PLLEN resets the PLL to 0 and enables the PLL to oscillate when set to
1. When PFORCE is set to 1, the pixel clock PLL uses its programmed N, M, and P registers and ignores
PLLSEL(1,0). When LFORCE is set to 1, the loop clock PLL uses its programmed N, M, and P registers and
ignores PLLSEL(1,0). The LOCK status bit indicates that the PLL has locked to the selected frequency when
set to 1. The remaining status register bits are for test purposes.
2–8
T able 2–10. Pixel Clock PLL Registers
REGISTERBIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
N value11N5N4N3N2N1N0
M value00M5M4M3M2M1M0
P valuePLLENPCLKEN11LFORCE PFORCEP1P0
StatusXLOCKXXXXXX
X = do not care
2.4.1.1Pixel Clock PLL Frequency Selection
The pixel clock PLL frequency may be selected using the PLL select inputs PLLSEL(1,0) as shown in
Table 2–11. The first two selections are fixed frequency settings for standard VGA operation. Use of a
standard 14.31818 MHz crystal is assumed. When PLLSEL1 is set to 1, the frequency specified by the pixel
clock PLL N-, M-, and P-value registers is selected. When PLLSEL1 is set to 1 at power up or during a
software reset, the pixel clock PLL N-, M-, and P-value registers default to settings for 25.057 MHz, but with
the PLL disabled. Therefore, the system must reset PLLSEL(1,0) to 0x when a software reset occurs or the
pixel clock PLL and RCLK stops oscillating.
The frequency select inputs also apply to the loop clock PLL. When a fixed frequency is selected
(PLLSEL(1,0) = 0x), the loop clock PLL passes the dot clock frequency to the RCLK multiplexer. Internal
feedback is used, no external signal path from RCLK to LCLK is required. When PLLSEL1 is 1, the frequency
specified by the loop clock PLL N-, M-, and P-value registers is selected.
For VGA Mode 1, the pixel clock PLL is normally selected as the dot clock source (CSR = 0x05) and the
RCLK terminal passes the loop clock PLL output (MCK5 = 1). Then, when PLLSEL(1,0) changes between
a programmed frequency and a fixed frequency , the loop clock PLL automatically changes with it. The loop
clock PLL does not require reprogramming.
For VGA Mode 2, CLK0 should be selected as the dot clock source (CSR = 0x07) and the RCLK terminal
should pass the pixel clock PLL output (MCK5 = 0). In this case, the loop clock PLL should be disabled (bit
P7 = 0) since its output is not used.
T able 2–11. Pixel Clock PLL Frequency Selection
PLLSEL1PLLSEL0PIXEL CLOCK PLL FREQUENCYLOOP CLOCK PLL FREQUENCY
The memory clock (MCLK) PLL may be used at frequencies up to 100 MHz. Appendix A provides optimal
register values for all frequencies that can be synthesized using the common 14.31818 MHz reference. The
MCLK PLL maximum output frequency of 100 MHz may not be exceeded. The equations for the VCO
frequency and for the PLL output frequency are the same as for the pixel clock PLL.
F
VCO
+8
F
REF
Provided:
Minimum VCO FrequencyvF
Then the PLL output frequency is :
F
+
VCO
P
2
F
PLL
The N-, M-, and P-value registers may be programmed to any value within the following limits:
40vN(5–0)v62
1vM(5–0)v62
0vP(1,0)v3
The bit assignments of the N-, M-, and P-value and the status register for the MCLK PLL are given in
Table 2–12. The bits shown as 0 or 1 must be written with these fixed values. PLLEN resets the PLL with
0 and enables the PLL to oscillate when set to 1. When set to 1, the LOCK status bit indicates that the PLL
has locked to the selected frequency . The remaining status register bits are for test purposes. The MCLK
PLL and loop clock PLL are further controlled by the MCLK/loop clock control register shown in T able 2–13.
REGISTERBIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
N value11N5N4N3N2N1N0
M value00M5M4M3M2M1M0
P valuePLLEN01100P1P0
StatusXLOCKXXXXXX
X = do not care
65*M
65*N
v
V
Maximum VCO Frequency
T able 2–12. MCLK PLL Registers
(3
(4)
2–10
T able 2–13. MCLK/Loop Clock Control Register (Index: 0x39 hex, Access: R/W, Default: 0x18)
000: Divide by 2 (default)
001: Divide by 4
010: Divide by 6
011: Divide by 8
100: Divide by 10
101: Divide by 12
110: Divide by 14
111: Divide by 16
Selects signal to output on RCLK terminal. Pixel clock PLL is selected as
default to support VGA mode 2. In VGA mode 2, the graphics accelerator
receives RCLK and returns its VGA output clock to the CLK0 terminal
along with synchronous VGA data. Select loop clock PLL for all modes
using LCLK data latching. The dot clock /N option provides the output of
the loop clock PLL N prescaler. This signal is a low pulse, one dot clock
wide, with a repetition rate of F
MKC4 selects the signal to output on MCLK terminal. MCLK PLL is
selected as default. Select dot clock to ensure a stable output on MCLK
while MCLK PLL frequency is reprogrammed. See subsection 2.4.2.1,
Changing the MCLK Frequency . A change of this bit does not take effect
until MKC3 bit transitions from 0 to 1. During this transistion, the MKC4
bit should not be changed.
Strobe for MCLK terminal output multiplexer control (MKC4). A 0 to 1
transition of this bit strobes in bit MKC4, causing bit MKC4 to take effect.
While MKC3 is transitioning from 0 to 1, MKC4 should not be changed.
Loop clock PLL post scalar Q divider. This additional frequency division
is applied after the 2P division of the loop clock PLL P-value register. For
a binary value of Q in MKC2–MKC0, the resulting frequency division is
2*(Q+1).
REF
/ (65–N).
After the device resets, the MCLK PLL outputs a 50.1 1 MHz clock frequency and the pixel clock PLL output
depends on the PLLSEL1 and PLLSEL0 inputs according to Table 2–11. These frequencies assume a
standard 14.31818 MHz crystal reference. The actual output frequencies are proportional to the reference
frequency used.
2.4.2.1Changing the MCLK Frequency
The MCLK is normally used as the graphics controller system clock and memory clock. During
reprogramming of the PLLs, a wide range of unpredictable frequencies are generated as the PLL transitions
to the new programmed frequency . These transition effects can produce unwanted results in some systems.
The TVP3026 provides a mechanism for smooth transitioning of the MCLK PLL. The following programming
steps are recommended.
1.Disable the pixel clock PLL (PLLEN bit = 0). Program the pixel clock PLL N, M, and P registers
(with PLLEN bit = 1) to the same frequency to which MCLK is to be changed. Poll the pixel clock
PLL status until the LOCK bit is set to 1.
2.Select the pixel clock PLL as the dot clock source if it is not already selected.
3.Switch to output dot clock on the MCLK terminal by writing bits MKC4 and MKC3 to 0,0 followed
by 0,1 in the MCLK/loop clock control register.
4.Disable the MCLK PLL (PLLEN bit = 0). program the MCLK PLL N, M, and P registers (with
PLLEN bit = 1) for the new frequency . Poll the MCLK PLL status until the LOCK bit is set to 1.
5.Switch to output MCLK on the MCLK terminal by writing bits MKC4 MKC3 to 1,0 respectively,
followed by 1,1 respectively in the MCLK/loop clock control register.
2–11
6.Disable the pixel clock PLL (PLLEN bit = 0). Program the pixel clock PLL N, M, and P registers
(with PLLEN bit = 1) for the original operating pixel frequency . Poll the pixel clock PLL status until
the LOCK bit is set to 1.
2.4.3Loop Clock PLL
Many of the current high performance graphics accelerators with built in VGA support prefer to generate
their own VRAM shift clock and pixel data latching clock (LCLK) as discussed in subsection 2.5.2,
Frame-Buffer Timing Without Using SCLK. As stated before, the TVP3026 provides an RCLK timing
reference output to be used by the graphics controller to generate these signals. A common industry
problem exists, however, in that the delay through the loop (i.e., from RCLK through the controller to produce
LCLK and pixel data) may be greater than the RCLK cycle time minus setup time. It then becomes very
difficult to resynchronize the rising edges of the LCLK signal to the internal dot clock within the specified
timing requirements. V ariations in graphics accelerator propagation delays from device to device can cause
severe production problems at the board level. The TVP3026 incorporates a unique loop clock PLL circuit
to maintain a valid LCLK/dot clock phase relationship and ensure that proper LCLK and pixel data setup
timing is met, regardless of the amount of system loop delay.
After device reset, the loop clock PLL provides the dot clock frequency to the RCLK output multiplexer.
However, the RCLK output multiplexer will ignore the loop clock PLL output and instead pass the pixel clock
PLL output to the RCLK terminal, which provides a reference clock to the VGA controller. In this configuration
(VGA mode 2), the VGA controller returns VGA data and video controls along with a synchronous clock that
becomes the TVP3026 dot clock source using CLK0. The PLLSEL(1,0) lines select either the 25.057 MHz
or 28.636 MHz VGA frequencies.
Figure 2–2 illustrates the pixel data latching structure and the operation of the loop clock PLL. The selected
clock source generates the dot clock which drives most of the digital logic of the TVP3026. The dot clock
is used as a reference frequency by the loop clock PLL and is subdivided as specified by the N value register .
The incoming LCLK is used as the other input of the PLL and is subdivided as specified by the M value
register. The PLL generates RCLK with the proper frequency and phase shift to phase align the divided dot
clock and divided LCLK. The pixel bus is latched on the rising edge of LCLK and then aligned with the internal
dot clock to synchronize with internal logic.
Input Data Latch Structure
DQ
Dot
Dot Clock
Generator
Clock
DQ
LCLK
From Pixel Clock PLL
TVP3026
Loop Clock
PLL
RCLK
VRAM
Graphics
Accelerator
P(63–0)
LCLK
CLKx
Figure 2–2. Loop Clock PLL Operation
The bit assignments of the N-, M-, and P-value and the status register for the loop clock PLL are shown in
Table 2–14. The bits shown as 0 or set to 1 must be written with these fixed values. When cleared to 0,
PLLEN disables the PLL and when set to 1, enables the PLL to oscillate. When reset to 1,the LOCK status
bit indicates that the PLL has locked to the selected frequency. The remaining status register bits are for
test purposes.
2–12
The N-, M-, and P-value registers may be programmed to any value within the following limits.
1vN(5–0)v62
1vM(5–0)v62
0vP(1,0)v3
LESEN enables the LCLK edge synchronizer function and should be set to 1 whenever a packed-24 mode
is used. In the packed-24 modes, only one LCLK rising edge per pixel group is aligned with the internal dot
clock. For example, in 8:3 packed-24 mode, only one of the three LCLKs is aligned to the internal dot clock.
The LCLK edge synchronizer function allows selection of which LCLK edge in the sequence of pixel bus
words is aligned with the internal dot clock. For each packed-24 mode there is an optimum setting for the
LCLK edge synchonizer delay LES1 and LES0. See Table 2–15 and subsection 2.6.6, Packed-24 Mode,
for more details.
T able 2–14. Loop Clock PLL Registers
REGISTERBIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
N value11N5N4N3N2N1N0
M valueLES1LES0M5M4M3M2M1M0
P valuePLLEN111LESEN0P1P0
StatusXLOCKXXXXXX
X = do not care
2.4.3.1Programming for All Modes Except Packed-24
For all modes except packed-24, programming of the loop clock PLL registers depends on the system
configuration, pixel rate, color depth and pixel bus width. In addition, the internal VCO must be within its
operating range of 1 10 MHz to 220 MHz for the required RCLK output frequency. To determine the proper
M, N, P, and Q register values one should know the following:
•Dot clock frequency (MHz) (F
•Bits/pixel (B) – bits/pixel including overlay fields
•Pixel bus width (W) – total pixel bus width used for this mode
•External division factor (K) – external frequency division between RCLK output and LCLK input
The dot clock frequency can either be generated by the on-chip pixel clock PLL or by an external clock
source. The following two parameters can be easily calculated from the above parameters.
•LCLK frequency (MHz) (F
•RCLK frequency (MHz) (F
The LCLK frequency is given by
FD
B
W
FL+
) – pixel rate
D
) – frequency at which the pixel bus is loaded by the TVP3026
L
) – frequency at RCLK output terminal of TVP3026
R
(5)
The RCLK frequency is FL times the external divide factor. When no external divide factor, K = 1.
FR+K
FL+K
FD
B
W
(6)
The N and M values are set as follows:
N+65*4
W
B
M+61
The P and Q frequency dividers must be programmed so that the VCO is within its operating range. The
VCO frequency is post-scaled by the P-divider followed by the Q-divider. The P-divider register (P) can take
2–13
on values of 0, 1, 2, or 3 which correspond to division factors of 1, 2, 4, or 8. The Q-divider register (Q) is
stored in bits 2 – 0 of the MCLK/loop clock control register (index: 0x39) and can take on values of 0, 1, 2,
. . ., 7 which correspond to division factors of 2, 4, 6, . . ., 16. The total post-scalar frequency division factor
is:
Z+2
P)1
(Q)1)+
F
VCO
(65*N
4F
D
)
(7)
K
Next, set F
Finally, determine the P and Q values:
IF Zv16 then P+TRUNC (log2Z), Q
IF Z
Set bits 7,6 of the N-value register to 1,1 (default). Set LES1 and LES0 in the M-value register (bits 7,6) to
0,0 (default). Set bits 7–2 of the P-value register to 111 1 00. This enables the PLL to oscillate and disables
the LCLK edge synchronizer function, which is only used for packed-24 modes. T o reset the PLL by resetting
bit 7 of the P-value register to 0.
to the lower limit of 1 10 MHz and solve for Z:
VCO
27.5
Z
+
u
(65*N
F
D
16 then P+3, Q+INT
)
K
ǒ
+
Z*16
16
(8)
0
Ǔ
)
1
2.4.3.2Programming for Packed-24 Modes
For packed-24 modes, the loop clock PLL is programmed according to Table 2–15. The LCLK edge
synchronizer delay (M-value register bits 7 and 6) depends on whether the graphics accelerator is driving
the VRAM shift clock (true color control register bit TCR5 is cleared to 0) or the TVP3026 is driving the VRAM
shift clock (TCR5 = 1). See subsection 2.6.6, Packed-24 Mode, for a typical setup procedure for packed-24
modes. As shown in Table 2–15, a different setting is required for the M-value register in the 4:3 multiplex
mode depending on the silicon revision. Software can determine the silicon revision by reading the silicon
revision register at index 0x01 (a value ≤ 0x20 indicates revision A and ≥ 0x21 indicates revision B).
T able 2–15. Loop Clock PLL Settings for Packed-24 Mode
The latch-control register definition is listed in Table 2–16.
T able 2–16. Latch-Control Register (Index: 0x0F, Access: R/W, Default: 0x06)
BIT NAMEVALUESDESCRIPTION
LCR7, LCR600Reserved
0×06All 1:1, 4:1, 8:1, and 16:1 multiplex modes.
All 2:1 multiplex modes.
0×07
0×084:3 packed-24 (revision B)
LCR5–LCR0
The P and Q frequency dividers must be programmed so that the VCO is within its operating range of 1 10
MHz to 220 MHz. The VCO frequency is post scaled by the P-divider followed by the Q-divider. The P-divider
register (P) can take on values of 0, 1, 2, or 3 which correspond to division factors of 1, 2, 4, or 8. The
Q-divider register (Q) is stored in bits 2 – 0 of the MCLK/loop clock control register (index: 0x39) and can
take on values of 0, 1, 2, . . ., 7 which correspond to division factors of 2, 4, 6, . . ., 16. The total post-scalar
frequency division factor is:
Set bits 7–2 of the P-value register to 11 1 1 10. This enables the PLL to oscillate and enables the LCLK edge
synchronizer function. To reset the PLL, clear bit 7 of the P-value register to 0.
ǒ
16
Ǔ
)
1
2.4.3.3Typical Device Connection
After reset, the TVP3026 defaults to VGA mode 2 (VGA pass through mode, see subsection 2.6.2, VGAModes) as do other devices in the TVP302x family . The RCLK terminal outputs the pixel clock PLL frequency
which is selected by PLLSEL1 and PLLSEL0. CLK0 is selected as the clock source and the VGA port is
selected as well as VGABL
the default 50.1 1MHz clock frequency.
Figure 2–3 shows the typical device connection for a system with VRAM clocked by the graphics
accelerator. After power up, the pixel clock PLL is output on RCLK and this clock drives the graphics
accelerator’s VGA controller and video timing logic. The accelerator’s output clock is output synchronous
to the VGA data and is input to the TVP3026 CLK0 input as the dot clock source.
, VGAHS, and VGAVS and these are latched with CLK0. The MCLK PLL outputs
2–15
Figure 2–4 shows the typical device connection for a system with VRAM clocked by the TVP3026. In this
case, the RCLK is tied back to the LCLK and this same clock drives the graphics-accelerator VGA controller
and video timing logic. If necessary , the RCLK and SCLK signals may be externally buffered within the timing
constraints (RCLK to LCLK delay) of the TVP3026. The pixel clock PLL is output on RCLK after power up.
For high resolution modes in both configurations, the pixel data is received from VRAM and the loop clock
PLL is used to adjust RCLK so that the received LCLK is aligned with the internal dot clock. The loop clock
PLL must be selected for output on the RCLK terminal. The pixel clock PLL (or an external clock source)
should be selected as the dot clock source.
VRAM
P(63–0)
Graphics
Accelerator
VGA(7–0)
CLK0
LCLK
TVP3026
MCLK
RCLK
Figure 2–3. Typical Configuration – VRAM Clocked by Accelerator
VRAM
Graphics
Accelerator
VGA(7–0)
CLK0
LCLK
P(63–0)
TVP3026
SCLK
MCLK
RCLK
Figure 2–4. Typical Configuration – VRAM Clocked by TVP3026
2.5Frame-Buffer Interface
The TVP3026 provides two output clock signals and one input clock signal for controlling the frame-buffer
interface — SCLK, RCLK, and LCLK. The VCLK output is a division of the internal dot clock and has no
guaranteed phase relationship with RCLK. Therefore, VCLK should not be used for frame buffer interface
timing (pixel data and video controls). VCLK can drive general purpose external logic. Clocking of the frame
buffer interface is discussed in subsection 2.5.1, Frame-Buffer Clocking. The 64-bit pixel bus allows many
operational display modes as defined in Section 2.6, Multiplexing Modes of Operation, and T able 2–17. The
pixel latching sequence is initiated by a rising edge on LCLK. For those multiplexed modes in which multiple
pixels are latched on one LCLK rising edge, the pixel clock shifts the pixels out starting with the pixels that
reside on the low numbered pixel port terminals. For example, in an 8-bit-per-pixel pseudo-color mode with
an 8:1 multiplex ratio, the pixel display sequence is P(7 –0), P(15–8), P(23 –16), P(31–24), P(39 –32),
P(47–40), P(55–48), and P(63–56).
The TVP3026 frame-buffer interface also supports little- and big-endian data formats on the pixel bus. This
can be controlled by general-control register (GCR) bit 3. See subsection 2.6.1, Little-Endian andBig-Endian Data Format, for details of operation.
2–16
Loading...
+ 76 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.