ChipFind - документация

Электронный компонент: TVP3033-270PPA

Скачать:  PDF   ZIP
TVP3033
Data Manual
Video Interface Palette
Literature Number: SLAS149
April 1998
Printed on Recycled Paper
IMPORTANT NOTICE
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. Testing 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.
Copyright
1998, Texas Instruments Incorporated
iii
Contents
Section
Title
Page
1
Introduction
11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1
Features
11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2
Functional Block Diagram
12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3
Terminal Assignments
13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4
Ordering Information
14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5
Terminal Functions
14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
Detailed Description
21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1
MPU Interface
21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2
Color Palette RAM
24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.1 Writing to Color-Palette RAM
24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.2 Reading From Color-Palette RAM
24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.3 Eight or Six-Bit Mode Selection
24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.4 Pixel Mask Register
24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.5 Palette Page Register
24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3
Cursor Color Registers
25
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4
Clock Control
26
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5
PLL Clock Generators
27
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.1 Pixel Clock Frequency Selection
28
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.2 PLL Register Sets
28
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.3 PCLK PLL
210
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.4 MCLK PLL
212
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.5 Synchronizer PLLs
214
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6
Pixel Bus Interface
217
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6.1 Standard Configuration
217
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6.2 Dual-64 Configuration
217
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6.3 Dual-32 Configuration
218
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6.4 4
32 Configuration
218
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.7
Pixel Bus De-Interleave for WRAM Applications
219
. . . . . . . . . . . . . . . . . . . . . . . . . . .
2.7.1 Standard Configuration
221
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.7.2 Dual-64 Configuration
221
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.7.3 Dual-32 Configuration
221
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.7.4 4
32 Configuration
221
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.8
Pixel Bus Clocking
222
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9
Pixel Multiplexing Control
223
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.10 Interpolation
230
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.11 Color Key Functions
231
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.11.1 Color Key Logic Functions
233
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.12 Window Function
237
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iv
Section
Title
Page
2.13 On-Chip Cursor
241
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.13.1 Cursor RAM
243
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.13.2 Cursor Positioning
244
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.13.3 Three-Color 64
64 Cursor
245
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.13.4 Interlaced Cursor Operation
245
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.14 Overscan Border
246
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.15 Video Encoder Interface
247
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.16 Test Functions
248
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.16.1 16-Bit CRC
248
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.16.2 Sense Comparator Output and Test Register
248
. . . . . . . . . . . . . . . . . . . . . . .
2.16.3 Device Identification Code
249
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.16.4 Silicon Revision
249
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.17 Reset
249
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.18 Analog Output Specifications
249
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.19 Other Register Definitions
252
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Electrical Characteristics
31
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1
Absolute Maximum Ratings Over Operating Free-Air Temperature Range
31
. . . .
3.2
Recommended Operating Conditions
31
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3
Electrical Characteristics
32
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4
Operating Characteristics
33
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5
Timing Requirements
34
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.6
Switching Characteristics
35
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7
Timing Diagrams
35
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A
Pixel Bus Data Formats
A-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1
List of Tables
A-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix B
PLL Programming
B-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix C
PC-Board Layout Considerations
C-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.1
PC-Board Considerations
C-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2
Ground Plane
C-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.3
Power Plane
C-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4
Supply Decoupling
C-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.5
COMP and REF Terminals
C-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.6
Analog Output Protection
C-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.7
PLL Supply
C-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix D
Mechanical Data
D-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
v
List of Illustrations
Figure
Title
Page
21 TVP3033 Clocking Scheme
27
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22 Sync PLL Operation
210
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23 PCLK and MCLK PLL Model
212
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24 SYNC PLL Operation
215
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25 SYNC PLL Model
215
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26 Pixel Bus Configurations
217
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27 De-Interleave Modes
220
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28 Example Pixel Bus Interface Timing
222
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29 Interpolation Function
231
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
210 Color Key Functions
233
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
211 Window Timing Example 1
239
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
212 CursorRAM Organization
244
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
213 Cursor-Positioning
245
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
214 Overscan Border
246
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
215 CRC Algorithm
248
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
216 Equivalent Circuit of the IOG Current Output
250
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217 Composite Video Output (With 7.5 IRE, 8-bit Output)
251
. . . . . . . . . . . . . . . . . . . . . . . . .
218 Composite Video Output (With 0 IRE, 8-Bit Output)
251
. . . . . . . . . . . . . . . . . . . . . . . . . .
31 MPU Interface Timing
35
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32 Video Input /Output Timing
36
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vi
List of Tables
Table
Title
Page
21 Direct Register Map
21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22 Indirect Register Map
22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22 Indirect Register Map (Continued)
23
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23 Allocation of Palette Page Register Bits
25
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24 Cursor Color Address Registers (COLR WAD, COLR RAD)
25
. . . . . . . . . . . . . . . . . . . . .
25 Cursor Color Address Registers (COLR WAD, COLR RAD)
Direct: 0100, 0111 Access: R/W Default: Uninitialized
25
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26 Clock Control Register (CLK CNTL)
26
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27 Clock Control Register (CLK CNTL)
Index: 0x1A Access: R/W Default: 0x18
26
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28 Pixel Clock Frequency Selection
28
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29 Extended Mode PLL Registers
28
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
210 VGA Mode PLL Registers
28
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
211 Extended Mode PLL Address Register (PLL ADDR)
29
. . . . . . . . . . . . . . . . . . . . . . . . . . .
212 Extended Mode PLL Address Register (PLL ADDR)
Index: 0x2C Access: R/W Default: Uninitialized
29
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
213 VGA Mode PLL Address Register (VGA ADDR)
210
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
214 VGA Mode PLL Address Register (VGA ADDR)
Index: 0x4C Access: R/W Default: Uninitialized
210
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
215 PCLK PLL N, M, P and Status Registers (PLL PCLK, VGA PCLK)
211
. . . . . . . . . . . . .
216 PCLK PLL N, M, P and Status Registers (PLL PCLK, VGA PCLK)
Index: 0x2D, 0x4D Access: R/W Default: PLLSEL(1,0) = 00/10/11
N=0x0E, M=0xC5, P=0x83, PLLSEL(1,0) = 01 N=0x0B, M=0x57, P=0x82
211
. . . . . . . . . . . .
217 MCLK PLL N, M, P and Status Registers (PLL MCLK)
212
. . . . . . . . . . . . . . . . . . . . . . . .
218 MCLK PLL N, M, P and Status Registers (PLL MCLK)
Index: 0x2E Access: R/W Default: N=0x02, M=0x1C, P=0x82
213
. . . . . . . . . . . . . . . . . . . . . .
219 SYNC A PLL and SYNC B PLL N, M, P,
and Status Registers (PLL SNCA, VGA SNCA, PLL SNCB)
215
. . . . . . . . . . . . . . . . . . . . . . . . .
220 SYNC A PLL and SYNC B PLL N, M, P,
and Status Registers (PLL SNCA, VGA SNCA, PLL SNCB)
Index: 0x2F, 0x4F, 0x2B Access: R/W Default: N=0x02, M=0x10, P=0x9B
(Pass dot clock)
216
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
221 Available De-Interleave Modes
219
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
222 System Configuration Register (SYS CNFG)
Index: 0x10 Access: R/W Default: 0x80
223
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
223 System Configuration Register (SYS CNFG)
Index: 0x10 Access: R/W Default: 0x80
223
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
224 Interleave Control Register (ITLV CTL)
224
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
225 Interleave Control Register (ITLV CTL)
Index: 0x11 Access: R/W Default: 0x00
224
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
226 Pixel Port A Control Register 1 (PPA CTL1)
224
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
227 Pixel Port A Control Register 1 (PPA CTL1)
Index: 0x18 Access: R/W Default: 0x02
224
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
228 Pixel Port A Control Register 2 (PPA CTL2)
225
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vii
Table
Title
Page
229 Pixel Port A Control Register 2 (PPA CTL2)
Index: 0x19 Access: R/W Default: 0x00
225
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
230 Pixel Port B Control Register 1 (PPB CTL1)
225
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
231 Pixel Port B Control Register 1 (PPB CTL1)
Index: 0x48 Access: R/W Default: 0x02
225
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
232 Pixel Port B Control Register 2 (PPB CTL2)
226
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
233 Pixel Port B Control Register 2 (PPB CTL2)
Index: 0x49 Access: R/W Default: 0x00
226
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
234 Definition of MODE and SUB MODE Fields
226
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
235 X Bus, Y Bus, and Z Bus Utilization for Standard Configuration
227
. . . . . . . . . . . . . . . .
236 X Bus, Y Bus, and Z Bus Utilization for Dual-64, Dual-32,
and 4
32 Configurations
228
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
237 Byte Router Control Register 1 (BR CTL1)
229
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
238 Byte Router Control Register 1 (BR CTL1)
Index: 0x24 Access: R/W Default: 0x60
229
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
239 Byte Router Control Register 2 (BR CTL2)
230
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
240 Byte Router Control Register 2 (BR CTL2)
Index: 0x25 Access: R/W Default: 0x18
230
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
241 DACMUX, Interpolator, and AMUXCTL Logic Function 1 Registers
(DAC FCN1, ITP FCN1, AMX FCN1)
234
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
242 DACMUX, Interpolator and AMUXCTL Logic Function 1 Registers
(DAC FCN1, ITP FCN1, AMX FCN1) Index: 0x5A, 0x5C, 0x5E
Access: R/W Default: 0x00
234
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
243 DACMUX, Interpolator, and AMUXCTL Logic
Function 2 Registers (DAC FCN2, ITP FCN2, AMX FCN2)
235
. . . . . . . . . . . . . . . . . . . . . . . . .
244 DACMUX, Interpolator, and AMUXCTL Logic Function 2 Registers
(DAC FCN2, ITP FCN2, AMX FCN2) Index: 0x5B, 0x5D, 0x5F
Access: R/W Default: 0x00
235
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
245 Color Key Control Register 1 (KEY CTL1)
236
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
246 Color Key Control Register 1 (KEY CTL1)
Index: 0x38 Access: R/W Default: 0x00
236
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
247 Color-Key Control Register 2 (KEY CTL2)
237
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
248 Color-Key Control Register 2 (KEY CTL2)
Index: 0x39 Access: R/W Default: 0x00
237
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
249 Symbol Parameters
238
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
250 CRT Timing Restrictions for use of WINDOW
238
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
251 CRT Timing Specification for Window Function Example
238
. . . . . . . . . . . . . . . . . . . . . .
252 Parameter Settings for Window Function Example
238
. . . . . . . . . . . . . . . . . . . . . . . . . . .
253 Window Start Registers
(WIN STXL, WIN STXM, WIN STYL, WIN STYM)
240
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
254 Window Start Registers
(WIN STXL, WIN STXM, WIN STYL, WIN STYM)
Index: 0x50, 0x51, 0x54, 0x55 Access: R/W Default: (Uninitialized)
240
. . . . . . . . . . . . . . . . . .
255 Window Width and Height Registers
(WIN WIDL, WIN WIDM, WIN HGTL, WIN HGTM)
241
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
viii
Table
Title
Page
256 Window Width and Height Registers
(WIN WIDL, WIN WIDM, WIN HGTL, WIN HGTM) Index: 0x52, 0x53, 0x56, 0x57
Access: R/W Default: (Uninitialized)
241
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
257 Indirect Cursor Control Register (CUR ICTL)
242
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
258 Indirect Cursor Control Register (CUR ICTL)
Index: 0x06 Access: R/W Default: 0x00
242
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
259 Direct Cursor Control Register (CUR DCTL)
242
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
260 Direct Cursor Control Register (CUR DCTL)
Direct Register: 1001 Access: R/W Default: 0x00
242
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
261 Cursor Color Selection Modes
245
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
262 Terminal Definitions for Video Encoder Interfacing
247
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
263 Video Encoder Interface Control Register (VEI CNTL)
247
. . . . . . . . . . . . . . . . . . . . . . . .
264 Video Encoder Interface Control Register (VEI CNTL)
Index: 0x1F Access: R/W Default: 0x00
247
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
265 Sense Test Register (SENS TST)
249
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
266 Sense Test Register (SENS TST)
Index: 0x3A Access: R/W Default: 0x00
249
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
267 General Control Register 1 (GEN CTL1)
252
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
268 General Control Register 1 (GEN CTL1)
Index: 0x1D Access: R/W Default: 0x00
252
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
269 Power Down Control Register (PWR CNTL)
253
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
270 Power Down Control Register (PWR CNTL)
Index: 0x1E Access: R/W Default: 0x00
253
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
1 Introduction
1.1
Features
Supports System Resolutions up to 1600
1280 at 86-Hz Refresh Rate
RGB Color Depths of 8, 16, 24, and 32 Bits/Pixel, All At Maximum Resolution
Supports Interpolation for VGA Modes
128-Bit Pixel Bus for Shared Frame Buffer Applications
Supports Dual, Independent 64- or 32-Bit Pixel Ports for Separate Frame Buffer Applications
Programmable Window Output Controls Pixel Data Flow From Second Frame Buffer
Gamma Correction
RGB Modes:
24-Bit/Pixel With 8-Bit Overlay
24-Bit/Pixel Packed-24
16-Bit/Pixel XGA Configuration (565)
15-Bit/Pixel With 1-Bit Overlay (1555)
15-Bit/Pixel Double Buffered (555)
12-Bit/Pixel Double Buffered (444)
Supports WRAM Applications
175-, 220-, and 250-MHz Versions
Power-Saving 3.3-V Supply Operation With 5-V Tolerant I/O
Programmable Frequency Synthesis PLLs for Dot Clock and Memory Clock
Two Sync PLLs to Compensate for System Delay and Ensure Reliable Data Latching
Color Keying
Hardware Cursor
64 x 64 x 2 Cursor RAM
XGA and X-Windows Functional Compatible
Versatile Pixel Bus Interface Supports Little- and Big-Endian Data Formats
Triple 8-Bit Monotonic D/A Converters
Analog Output Comparators for Monitor Detection
RS-343A Compatible Outputs
Direct VGA Pass-Through Capability
Palette Page Register
Horizontal Zooming Capability
EPIC
TM
0.72 mm CMOS Process
EPIC is a trademark of Texas Instruments Incorporated.
12
1.2
Functional Block Diagram
Input
Latches
and
Interleave
Control
Modes
Standard
Dual-64
Dual-32
4x32
MUX,
Unpacker
Endian,
and
Overlay
Logic
B
MUX,
Unpacker
Endian,
and
Overlay
Logic
A
96
64
64
32
VGA
Latch
8
Data
Selector
32
32
RGB
Logic
2
24
RGB
Logic
1
24
Read
Mask
and
8
Page Reg
8
8
8
8
8
8
24
24
24
8
24
24
Color
Key
3x256x8
Color
Palette
RAM
4x24
Cursor
Colors
24
24
64x64x2
Cursor
Control
2
RAM
and
Output Multiplexer
24
24
Interpolators
8
8
8
DAC
8
8
8
DAC
DAC
24
VREF
1.235 V
REF
FS ADJUST
Z
Y
X
K1
K2
K3
T
est Function
and
Analog Comparator
V
ideo Control
and
Window Generator
MPU
Registers
and
Control
Logic
8
4
Clock Select
SYNC
B
PLL
SYNC
A
PLL
Pixel
Clock
PLL
Memory
Clock
PLL
2
Internal
Dot
Clock
8
B
A
RESET
CLK0
CLK1
RCLKB
PCLK
RCLKA
PLLSEL(1,0)
XT
AL2
XT
AL1
MCLK
ODD/EVEN
PSEL
HSYNC
VSYNC
BLANK
LCLKB
P(950)
LCLKA
VGA(70)
D(70)
RS(30)
RD
WR
COMP2
COMP1
AMUXCTL
IOR
IOG
IOB
HSYNCOUT
VSYNCOUT
WINDOW
LCLKA
LCLKB
Digital RGB
Out
24
32
P(12796)
13
1.3
Terminal Assignments
MCLK
DV
LCLKA
GND
RCLKA
P103
P102
P101
P100
P99
P98
P97
P96
P95
P94
RCLKB
GND
LCLKB
PLLGND
PLLVDD
PCLK
PLLVDD
PLLSEL1
PLLSEL0
P93
P92
P91
P90
P89
P88
P87
P86
P85
P84
P83
P82
P81
P80
P79
P78
P77
P76
P75
P74
P73
P72
P71
P70
P69
P68
P67
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
P66
XT
AL2
XT
AL1
GND
DVDD
P104
P105
P106
P107
P108
P109
P1
10
P1
1
1
P1
12
P1
13
P1
14
P1
15
P1
16
P1
17
P1
18
P1
19
P120
P121
P122
P123
P124
P125
P126
P127
CLK0
CLK1
PSEL
WINDOW
ODD/EVEN
BLANK
VSYNC
HSYNC
OVS
VGA7
VGA6
VGA5
VGA4
VGA3
VGA2
VGA1
VGA0
GND
GND
GND
GND
A
VDD
A
VDD
A
VDD
AVDD
COMP2
REF
COMP1
FS ADJUST
GND
IOB
GND
IOG
GND
IOR
GND
VSYNCOUT
HSYNCOUT
DVDD
GND
P0
P1
AMUXCTL
RESET
P2
P3
P4
P5
P6
RS2
RS1
RS0
D0
D1
D2
D3
D4
D5
D6
D7
GND
DVDD
RD
WR
RS3
P7
P8
P9
P10
P11
P12
P13
P14
P15
P16
P17
104
103
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
P65
P64
P63
P62
P61
P60
P59
P58
P57
P56
P55
P54
P53
P52
P51
P50
P49
P48
P47
P46
P45
P44
P43
P42
P41
P40
GND
GND
DVDD
DVDD
P39
P38
P37
P36
P35
P34
P33
P32
P31
P30
P29
P28
P27
P26
P25
P24
P23
P22
P21
P20
P19
P18
156
155
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
126
125
124
123
122
121
120
11
9
11
8
11
7
11
6
11
5
11
4
11
3
11
2
111
11
0
109
108
107
106
105
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
DD
14
1.4
Ordering Information
Pixel Clock Frequency Indicator
Must contain three characters:
175: 175-MHz pixel clock
220: 220-MHz pixel clock
250: 250-MHz pixel clock
Package
Must contain three characters:
175: PPA plastic quad flatpack
220: PPA plastic quad flatpack
250: PPA plastic quad flatpack
TVP3033 XXX XXX
1.5
Terminal Functions
TERMINAL
I/O
DESCRIPTION
NAME
NO.
I/O
DESCRIPTION
AMUXCTL
86
O
Analog multiplexer control. AMUXCTL is the logical combination of the
color/luma key and port select functions as specified by the AMUXCTL key
logic function register. AMUXCTL is a digital output and is pipeline delayed
to be synchronized with the analog output data. AMUXCTL can be used to
mix an external analog video stream with the TVP3033 analog outputs.
AVDD
104107
PWR
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.
BLANK
123
I
Blank input. BLANK control is normally received from the graphics controller
and is latched with CLK0 in VGA modes and is latched with LCLKA
otherwise. The BLANK signal is pipeline delayed before being passed to the
DACs.
CLK0
128
I
Dot clock 0 TTL input. The CLK0 input can be selected to drive the dot clock
at frequencies up to 140 MHz. When using the VGA port, the maximum
frequency is 85 MHz. CLK0 is the data latch clock for the VGA port.
CLK1
127
I
Dot clock 1 TTL input. The CLK1 input can be selected to drive the dot clock
at frequencies up to 140 MHz.
COMP1,
COMP2
101, 103
I
Compensation. COMP1 and COMP2 provide compensation for the internal
reference amplifier. A 0.1-uF ceramic capacitor is required between COMP1
and COMP2. The capacitor must be as close to the device as possible to
avoid noise pick-up.
D7D0
6976
I/O
MPU interface data bus. D7D0 are used to transfer data in and out of the
register map, palette RAM, and cursor RAM.
DVDD
29, 30, 67, 90,
153, 158
PWR
Digital Power. All DVDD terminals must be connected to the digital power
plane with sufficient nearby decoupling capacitors.
FS ADJUST
100
I
Full-scale adjustment. A resistor connected between the FS ADJUST
terminal and ground controls the full-scale range of the DACs.
GND
27, 28, 68, 89,
93, 95, 97, 99,
108111, 154,
160, 173
GND
Ground. All GND terminals must be connected. A common ground plane
should be used.
NOTE 1: All unused inputs should be tied to a logic level and not be allowed to float. All digital inputs and outputs are TTL
compatible unless otherwise stated.
15
1.5
Terminal Functions (Continued)
TERMINAL
I/O
DESCRIPTION
NAME
NO.
I/O
DESCRIPTION
HSYNC,
VSYNC
121, 122
I
Horizontal and vertical sync inputs. The HSYNC and VSYNC controls are
normally received from the graphics controller and are latched with CLK0 in
VGA modes and are latched with LCLKA otherwise. The HSYNC and
VSYNC signals are pipeline delayed and each may be inverted before being
passed to the HSYNCOUT and VSYNCOUT terminals. If HSYNC and
VSYNC are used to generate the sync level on the green current output,
HSYNC and VSYNC must be active low signals.
HSYNCOUT,
VSYNCOUT
91, 92
O
Horizontal and vertical sync outputs. The HSYNCOUT and VSYNCOUT
signals are a pipeline delayed version of the selected sync inputs. Output
polarity inversion may be independently selected.
IOR, IOG, IOB
94, 96, 98
O
Analog current outputs. The IOR, IOG, and IOB outputs can drive a 37.5-
load directly (doubly terminated 75-
line), thus eliminating the requirement
for external buffering.
LCLKA
159
I
Latch clock input A. The LCLKA input is used to latch pixel bus data and video
controls. LCLKA is phase-locked to the internal dot clock by the SYNC A
PLL. The external path from RCLKA to LCLKA must be such that linear
phase changes in RCLKA cause corresponding linear phase changes in
LCLKA.
LCLKB
174
I
Latch clock input B. The LCLKB input is used to latch pixel bus data. LCLKB
is phase-locked to the internal dot clock by the SYNC B PLL. The external
path from RCLKB to LCLKB must be such that linear phase changes in
RCLKB cause corresponding linear phase changes in LCLKB.
MCLK
157
O
Memory clock output. MCLK is the output of an independently programmable
PLL frequency synthesizer. The dot clock may be output on the MCLK
terminal while the MCLK frequency is reprogrammed to prevent transition
effects.
ODD/EVEN
124
I
Indicator of odd or even field during interlaced display for cursor operation.
A low signal indicates the even field and a high signal indicates the odd field.
OVS
120
I
Overscan border control. OVS is a timing signal that defines a screen border
area outside of the horizontal and vertical active display. In the overscan
border area, the color stored in the overscan color register is displayed. OVS
is active high during the overscan border and during active video.
P127P0
126, 3163,
8084, 87, 88,
129152,
162171,
181208
I
Pixel input port. The P127P0 port can be used in various multiplexing
modes. The pixel bus has no internal pull-ups by default. Weak internal
pull-ups may be turned on via software. P127P96 can be configured as
outputs to send the digital pixel data to a video encoder or a similar device.
PCLK
177
O
Pixel clock PLL test output. The PCLK output is independent of the dot clock
source selected by the CLK CNTL register.
PLLGND
175
GND
Ground for regulated PLL supplies. Decoupling capacitors should be
connected between PLLVDD and PLLGND. PLLGND should be connected
to the system ground plane through a ferrite bead.
PLLSEL(1,0)
179, 180
I
PLL frequency selection. PLLSEL(1,0) selects among three independently
programmed frequency settings for the PCLK and SYNC A PLLs.
NOTE 1. All unused inputs should be tied to a logic level and not be allowed to float. All digital inputs and outputs are TTL
compatible unless otherwise stated.
16
1.5
Terminal Functions (Continued)
TERMINAL
I/O
DESCRIPTION
NAME
NO.
I/O
DESCRIPTION
PLLVDD
176, 178
PWR
PLL power supply. PLLVDD must be a well regulated 3.3-V power supply voltage.
Decoupling capacitors should be connected between PLLVDD and PLLGND.
Terminal 178 supplies power to the PCLK PLL. Terminal 176 supplies power to
the MCLK PLL and the sync PLLs.
PSEL
126
I
Port select. PSEL is a timing signal that can be used to switch between pixel
streams. PSEL can be latched by LCLKA or LCLKB.
RCLKA
161
O
Reference clock output A. The RCLKA output can be programmed to output
either the pixel clock PLL for use with the VGA port (power-up default), or the
SYNC A PLL output for extended modes. RCLKA can be used by the controller
to generate CRT controls and the VRAM shift clock. The SYNC A PLL adjusts
the phase of RCLKA to phase-lock the received LCLKA with the internal dot
clock. RCLKA is not gated off during blank.
RCLKB
172
O
Reference clock output B. The RCLKB output is the SYNC B PLL output. RCLKB
can be used by a controller to generate the VRAM shift clock. SYNC B PLL
adjusts the phase of RCLKB to phase-lock the received LCLKB with the internal
dot clock. RCLKB is not gated off during blank.
RD
66
I
Read strobe input. A low signal on RD initiates a read from the register map.
Read transfer data is enabled onto the D(70) bus when RD is low.
REF
102
I/O
Voltage reference for DACs. An internal voltage reference is provided, which
requires an external 0.1-uF ceramic capacitor between REF and analog GND.
However, the internal reference voltage can be overdriven by an externally
supplied reference voltage.
RESET
85
I
Master reset. All registers assume their default state after reset. The default
state is VGA mode.
RS3RS0
64, 7779
I
Register select inputs. RS3RS0 specify the location in the direct register map
that is to be accessed, as shown in Table 21.
VGA7VGA0
112119
I
VGA port. The VGA7VGA0 bus can be selected as the pixel input bus for VGA
modes. It does not allow for any multiplexing.
WINDOW
125
O
Window control. WINDOW is a timing signal that is active during a programmed
rectangular window on the display. WINDOW is used when mixing graphics and
video or 2D and 3D graphics to indicate when data should be placed onto the
pixel bus.
WR
65
I
Write strobe input. A low signal on WR initiates a write to the register map. Write
transfer data is latched from the D(70) bus with the rising edge of WR.
XTAL2, XTAL1
155, 156
I/O
Connection for quartz crystal resonator as a reference for the MCLK and PCLK
frequency synthesizer PLLs. XTAL2 may be used as a TTL reference clock
input, in which case XTAL1 is left unconnected.
NOTE 1. All unused inputs should be tied to a logic level and not be allowed to float. All digital inputs and outputs are TTL
compatible unless otherwise stated.
21
2 Detailed Description
2.1
MPU Interface
A standard microprocessor interface is supported, giving the MPU direct access to the registers and
memories of the TVP3033. The processor interface is controlled via read and write strobes (RD, WR), the
four register select terminals RS(30) and the D(70) data terminals. A software selectable 8/6-function is
used to select between an 8-bit or 6-bit wide data path to the color palette RAM and is provided in order to
maintain VGA compatibility.
Table 21 shows the direct register map. These registers are addressed directly by the register select lines
RS(30). Table 22 shows the indirect register map. The index for the indirect register map is loaded into
the index register (direct register: 0000). This register is also used as 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 register does not post-increment following
accesses to the indirect map.
Table 21. Direct Register Map
RS3
RS2
RS1
RS0
REGISTER ADDRESSED BY MPU
R/W
DEFAULT
MNEMONIC
0
0
0
0
Palette/Cursor RAM Write Address/Index
R/W
PRAM WAD
0
0
0
1
Palette RAM Data
R/W
PRAM DAT
0
0
1
0
Pixel Mask
R/W
0xFF
PIX MASK
0
0
1
1
Palette/Cursor RAM Read Address
R/W
PRAM RAD
0
1
0
0
Cursor Color Write Address
R/W
COLR WAD
0
1
0
1
Cursor Color Data
R/W
COLR DAT
0
1
1
0
Reserved
0
1
1
1
Cursor Color Read Address
R/W
COLR RAD
1
0
0
0
Reserved
1
0
0
1
Direct Cursor Control
R/W
0x00
CUR DCTL
1
0
1
0
Indexed Data
R/W
INDX DAT
1
0
1
1
Cursor RAM Data
R/W
CRAM DAT
1
1
0
0
Cursor Position X LSB
R/W
CUR XL
1
1
0
1
Cursor Position X MSB
R/W
CUR XH
1
1
1
0
Cursor Position Y LSB
R/W
CUR YL
1
1
1
1
Cursor Position Y MSB
R/W
CUR YH
22
Table 22. Indirect Register Map
INDEX
REGISTER
REGISTER ADDRESSED BY INDEX
R/W
DEFAULT
MNEMONIC
0x00
Reserved
0x01
Silicon Revision
R
0x00
SILC REV
0x020x05
Reserved
0x06
Indirect Cursor Control
R/W
0x00
CUR ICTL
0x070x0F
Reserved
0x10
System Configuration
R/W
0x80
SYS CNFG
0x11
Interleave Control
R/W
0x00
ITLV CTL
0x120x17
Reserved
0x18
Pixel Port A Control 1
R/W
0x02
PPA CTL1
0x19
Pixel Port A Control 2
R/W
0x00
PPA CTL2
0x1A
Clock Control
R/W
0x18
CLK CNTL
0x1B
Reserved
0x1C
Palette Page
R/W
0x00
PAL PAGE
0x1D
General Control 1
R/W
0x00
GEN CTL1
0x1E
Power Down Control
R/W
0x00
PWR CNTL
0x1F
Video Encoder Interface Control
R/W
0x00
VEI CNTL
0x2023
Reserved
0x24
Byte Router Control 1
R/W
0x60
BR CTL1
0x25
Byte Router Control 2
R/W
0x18
BR CTL2
0x260x2A
Reserved
0x2B
SYNC B PLL Data
R/W
PLL SNCB
0x2C
Extended Mode PLL Address
R/W
PLL ADDR
0x2D
Extended Mode PCLK PLL Data
R/W
PLL PCLK
0x2E
Memory Clock PLL Data
R/W
PLL MCLK
0x2F
Extended Mode SYNC A PLL Data
R/W
PLL SNCA
0x30
Video Key Mask
R/W
VID MASK
0x31
Video Key
R/W
VID KEY
0x32
Red Range Lower Limit
R/W
RED RNGL
0x33
Red Range Upper Limit
R/W
RED RNGH
0x34
Green Range Lower Limit
R/W
GRN RNGL
0x35
Green Range Upper Limit
R/W
GRN RNGH
0x36
Blue Range Lower Limit
R/W
BLU RNGL
0x37
Blue Range Upper Limit
R/W
BLU RNGH
0x38
Color-Key Control 1
R/W
0x00
KEY CTL1
0x39
Color-Key Control 2
R/W
0x00
KEY CTL2
23
Table 22. Indirect Register Map (Continued)
INDEX
REGISTER
REGISTER ADDRESSED BY INDEX
R/W
DEFAULT
MNEMONIC
0x3A
Sense Test
R/W
0x00
SENS TST
0x3B
Test Mode Data
R
TST DATA
0x3C
CRC Remainder LSB
R
CRC LSB
0x3D
CRC Remainder MSB
R
CRC MSB
0x3E
CRC Bit Select
W
CRC SEL
0x3F
Device ID
R
0x33
DEV ID
0x40
Graphics Mask Red
R/W
GM RED
0x41
Graphics Mask Green
R/W
GM GRN
0x42
Graphics Mask Blue
R/W
GM BLU
0x43
Reserved
0x44
Graphics Key Red
R/W
GK RED
0x45
Graphics Key Green
R/W
GK GRN
0x46
Graphics Key Blue
R/W
GK BLU
0x47
Reserved
0x48
Pixel Port B Control 1
R/W
0x02
PPB CTL1
0x49
Pixel Port B Control 2
R/W
0x00
PPB CTL2
0x4A0x4B
Reserved
0x4C
VGA PLL Address
R/W
VGA ADDR
0x4D
VGA PCLK PLL Data
R/W
VGA PCLK
0x4E
Reserved
0x4F
VGA SYNC A PLL Data
R/W
VGA SNCA
0x50
Window Start X LSB
R/W
WIN STXL
0x51
Window Start X MSB
R/W
WIN STXM
0x52
Window Width LSB
R/W
WIN WIDL
0x53
Window Width MSB
R/W
WIN WIDM
0x54
Window Start Y LSB
R/W
WIN STYL
0x55
Window Start Y MSB
R/W
WIN STYM
0x56
Window Height LSB
R/W
WIN HGTL
0x57
Window Height MSB
R/W
WIN HGTM
0x58
Reserved
0x59
Reserved
0x5A
DACMUX Logic Function 1
R/W
0x00
DAC FCN1
0x5B
DACMUX Logic Function 2
R/W
0x00
DAC FCN2
0x5C
Interpolator Logic Function 1
R/W
0x00
ITP FCN1
0x5D
Interpolator Logic Function 2
R/W
0x00
ITP FCN2
0x5E
AMUXCTL Logic Function 1
R/W
0x00
AMX FCN1
0x5F
AMUXCTL Logic Function 2
R/W
0x00
AMX FCN2
0x600xFE
Reserved
0xFF
Software Reset
W
SOFT RST
24
2.2
Color Palette RAM
The color palette RAM is a single-port memory that performs a color look-up-table function. The color palette
RAM is 24 bits wide for each location and 8 bits wide for each color. Access to the RAM through the MPU
port 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).
Since the RAM is single-ported, anti-sparkle circuitry is provided to prevent sparkling when the RAM is
accessed during active video. When a palette RAM write cycle occurs, the pixel color from the RAM is held
constant for three dot clocks.
When a palette RAM read cycle occurs, the pixel color from the RAM is held constant for one dot clock.
2.2.1
Writing to Color-Palette RAM
To load the color palette, the MPU must first write to the PRAM WAD register (direct register: 0000) with the
address where the modification is to start. The selected palette RAM location is loaded a byte at a time by
writing a sequence of three bytes (red, green, and blue) to the PRAM DAT register (direct register: 0001).
After the blue write cycle, the palette RAM address increments to the next location, which the MPU may
modify by simply writing another sequence of red, green, and blue bytes.
2.2.2
Reading From Color-Palette RAM
Reading from the palette is performed by writing to the PRAM RAD register (direct register: 0011) with the
location to be read. Three successive MPU reads from the PRAM DAT register then produces red, green,
and blue color data (8 or 6 bits depending on the 8/6 mode) for the specified location. Following the blue
read cycle, the palette RAM address is incremented. While the RAM is read during active display, the pixel
color is held constant.
2.2.3
Eight or Six-Bit Mode Selection
The 8-bit or 6-bit DAC resolution is software selectable. The default is 6-bit resolution. The DAC BITS bit
in the GEN CTL1 register selects 8-bit resolution (1) or 6-bit resolution (0). This specifies the number of bits
used to specify the red, green, and blue color fields stored in the color palette RAM. Since the MPU access
is 8 bits wide, the color data stored in the palette is 8 bits even when 6-bit resolution is chosen. If 6-bit
resolution is chosen, the two MSBs of color data in the palette RAM have the values previously written.
However, if they are read back with 6-bit resolution, the two MSBs are zeros. The output multiplexer after
the color palette shifts the six LSB bits to the six MSB positions and fills the two LSBs with zeros, then feeds
the data to the DAC.
Since the cursor/overscan color registers are actually physically part of the color palette RAM, they are also
affected by the setting of the DAC BITS bit.
2.2.4
Pixel Mask Register
The PIX 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, overlay, and VGA modes. Each palette address bit
is logically ANDed with the corresponding bit from the PIX MASK register before going to the PAL PAGE
register and addressing the palette RAM.
2.2.5
Palette Page Register
The PAL 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 eight bits. When using 1 or 4 bit
planes in the direct-color
)
overlay modes, the additional planes are provided by the PAL PAGE register
before the data addresses the color palette. This is illustrated in Table 23.
NOTE:
The additional bits from the PAL PAGE register are inserted after the pixel mask. The PAL
PAGE register specifies the additional bit planes for the overlay field in direct-color modes with
less than 8 bits-per-pixel overlay.
25
Table 23. Allocation of Palette Page Register Bits
NUMBER OF
BIT PLANES
MSB
PALETTE ADDRESS BITS
LSB
8
M
M
M
M
M
M
M
M
4
P7
P6
P5
P4
M
M
M
M
1
P7
P6
P5
P4
P3
P2
P1
M
Pn = bit n of PAL PAGE
M = bit from pixel port
2.3
Cursor Color Registers
The registers for the four cursor colors are accessed through the direct register map. Since these registers
are actually physically part of the color palette RAM, they are also affected by the setting of the DAC BITS
bit in the GEN CTL1 register (see Section 2.13.3,
Three-Color 64
64 Cursor for use of the cursor colors).
The COLR WAD register (direct register: 0100) must be initialized before writing to the color registers. The
lower two bits of the COLR WAD register select one of the four color registers according to Table 25. 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 COLR DAT register (direct register: 0101). After the blue byte is written, the color address
increments to the next color. All four colors may be loaded with a single write to the COLR WAD register
followed by 12 consecutive writes to the COLR DAT register.
The COLR RAD register (direct register: 0111) must be initialized before reading from the color registers.
The lower two bits of the COLR RAD register select one of the four color registers according to Table 25.
Next, the COLR DAT register (direct register: 0101) is read three times, producing red, green, and blue bytes
from the selected color register. After the blue byte is read, the color address is incremented to the next color.
All four colors may be read with a single write to the COLR RAD register followed by 12 consecutive reads
of the COLR DAT register.
The sequence followed by the color address counter is shown in Table 25. The starting point depends on
what was written to the COLR WAD register or the COLR RAD register.
Table 24. Cursor Color Address Registers (COLR WAD, COLR RAD)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RESERVED
PTR CLR
Table 25. Cursor Color Address Registers (COLR WAD, COLR RAD) Direct: 0100, 0111
Access: R/W Default: Uninitialized
BIT NAME
VALUE
DESCRIPTION
RESERVED
RESERVED
00: Overscan border color
PTR CLR
01: Cursor color 0
Pointer to cursor color registers
PTR CLR
10: Cursor color 1
Pointer to cursor color registers
11: Cursor color 2
26
2.4
Clock Control
The TVP3033 provides two TTL clock inputs (CLK0 and CLK1) which can be used for pixel rates up to
140 MHz. CLK0 must be selected as the dot clock source for VGA modes since CLK0 also serves as the
latch clock for the VGA port. In the VGA modes, the PCLK PLL is usually the clock generator and supplies
the pixel clock to the controller through the RCLKA terminal. The controller returns the clock to the CLK0
terminal synchronous with the VGA(70) data. The received CLK0 is then used to drive the internal dot
clock. This is the default configuration which supports immediate operation in VGA modes without software
intervention. See Table 27 for the CLK CNTL register definition.
The CLK1 input is available for driving the internal dot clock with an additional external clock source. One
application for this is when the color palette output is to be synchronized with another video source.
The MCLK STB and MCLK SIG bits are used to route either the MCLK PLL output or the internal dot clock
to the MCLK terminal. This may be used to ensure a stable output on the MCLK terminal when changing
the MCLK PLL frequency. This procedure is described in Section 2.5.4.1,
Changing the MCLK Frequency.
The RCKA SIG bits select the signal to output on the RCLK terminal. The PCLK PLL is output at
power-up/reset to supply the pixel clock to the graphics controller to support VGA modes. In VGA modes,
the graphics accelerator receives RCLKA and returns its VGA output clock to the CLK0 terminal along with
synchronous VGA data. The TVP3033 slaves itself to the received CLK0 and uses it as the dot clock source.
The RCKA SIG bits should be set to select the SYNC A PLL output for most other modes. When using
interpolation with VGA modes, the dot clock/NVALUE option can be used to supply the dot clock divided
by two to the controller. The SYNC A PLL N register should be programmed to two in this case.
Table 26. Clock Control Register (CLK CNTL)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RSVD
RCKA SIG
MCLK SIG
MCLK STB
LCLKSRC
CLKSRC
Table 27. Clock Control Register (CLK CNTL)Index: 0x1A Access: R/W Default: 0x18
BIT NAME
VALUE
DESCRIPTION
RESERVED
00: PCLK PLL output (supports VGA mode)
00: PCLK PLL output (supports VGA mode)
01: SYNC A PLL output
RCKA SIG
10: Dot clock
RCLKA output terminal signal selection
11: Dot clock / NVALUE. Using NVALUE of SYNC A
PLL.
0: Dot clock (to ensure stable output when changing
MCLK SIG
(
g g
MCLK)
MCLK output terminal signal selection
1: MCLK PLL output
g
0: Low-to-high transition on MCLK STB causes MCLK
SIG to take effect MCLK SIG should not change
MCLK STB
SIG to take effect. MCLK SIG should not change
during low-to-high transition on MCLK STB.
Strobe for changing MCLK SIG
1: Default
0: LCLK is taken from LCLK input terminals
0: LCLK is taken from LCLK input terminals
LCLKSRC
1: LCLKA, LCLKB are taken from CLK0 input. This is
for 2
zoom for interpolation in VGA mode.
LCLKA, LCLKB source selection
00: CLK0
00: CLK0
CLKSRC
01: CLK1
Dot clock source selector
CLKSRC
10: PCLK PLL
Dot clock source selector
11: Reserved
27
2.5
PLL Clock Generators
The TVP3033 has four on-chip, fully programmable phase-locked loops (PLLs). The first PLL (PCLK PLL)
is intended for pixel clock generation for frequencies up to the device limit. The second PLL (MCLK PLL)
is provided for general clocking such as the system clock or memory clock. The third and fourth PLLs
(SYNC A PLL and SYNC B PLL) are provided for synchronizing pixel data and latch timing by compensating
for system loop delay.
The clock generators enable a wide range of precise frequencies. The advanced PLLs utilize an internal
loop filter to provide maximum noise immunity and reduce 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. The TVP3033 clocking scheme is shown in Figure 21.
SYNCB
PLL
CLK CNTL
Bit 2
0
1
SYNCA
PLL
CLK CNTL
Bit 2
0
1
CLK CNTL
Bit 65
01
00
11
10
CLK CNTL
Bit 10
11
10
00
01
PCLK
PLL
SYS CNFG
Bit 7
0
1
CLK CNTL
Bit 4
0
1
PLL
MCLK
Internal DOT CLK
RCLKB
RCLKA
PCLK
MCLK
LCLKB
PLLSEL(1,0)
LCLKA
CLK0
CLK1
XTAL2
DOT/N
Figure 21. TVP3033 Clocking Scheme
28
2.5.1
Pixel Clock Frequency Selection
The PLLSEL(1,0) inputs provide a hardware controlled means of selecting the pixel clock frequency, which
is required to maintain VGA compatibility. Table 28 shows that PLLSEL(1,0) selects one of three
programmable register sets for the PCLK PLL and SYNC A PLL. These are the VGA 0, VGA 1, and extended
mode register sets. The default frequencies shown are output on the RCLKA and PCLK terminals at
power-up/reset depending on the state of PLLSEL(1,0).
The MCLK PLL and SYNC B PLL are not effected by PLLSEL(1,0) and have only the extended mode
programmable register set. The MCLK PLL defaults to 50.11 MHz. The SYNC B PLL defaults to passing
the dot clock.
Table 28. Pixel Clock Frequency Selection
PLLSEL(1,0)
PCLK PLL, SYNC A
PLL REGISTER SET
PCLK PLL DEFAULT
FREQUENCY
SYNC A PLL DEFAULT
FREQUENCY
00
VGA 0
25.185 MHz
Pass dot clock
01
VGA 1
28.311 MHz
Pass dot clock
1X
Extended Mode
25.185 MHz
Pass dot clock
With the standard 14.31818 MHz reference crystal. For other crystals, the default frequency is
proportional to the crystal frequency.
2.5.2
PLL Register Sets
The extended mode PLL register sets are accessed through the five registers shown in Table 29. These
registers are used to program the extended mode register set for the PCLK, MCLK, SYNC A and SYNC B
PLLs. The PCLK and SYNC A PLLs have two additional register sets (VGA 0 and VGA 1) to provide
programmable frequencies for the VGA modes. These are accessed through the three registers shown in
Table 210.
Table 29. Extended Mode PLL Registers
INDEX
R/W
REGISTER ADDRESSED BY INDEX
MNEMONIC
0x2B
R/W
SYNC B PLL data
PLL SNCB
0x2C
R/W
Extended mode PLL address
PLL ADDR
0x2D
R/W
Extended mode PCLK PLL data
PLL PCLK
0x2E
R/W
MCLK PLL data
PLL MCLK
0x2F
R/W
Extended mode SYNC A PLL data
PLL SNCA
Table 210. VGA Mode PLL Registers
INDEX
R/W
REGISTER ADDRESSED BY INDEX
MNEMONIC
0x4C
R/W
VGA PLL address
VGA ADDR
0x4D
R/W
VGA PCLK PLL data
VGA PCLK
0x4F
R/W
VGA SYNC A PLL data
VGA SNCA
Each PLL register set contains four registers (N, M, P, and status). The PLL ADDR register is used to point
to the extended mode register set of each PLL. The PLL ADDR register allows read and write access and
contains four 2-bit pointers, one for each PLL, according to Table 212. The extended mode PLL registers
are then accessed through the PLL PCLK, PLL MCLK, PLL SNCA and PLL SNCB registers (index:
0x2D0x2F and 0x2B).
The VGA ADDR register is used to point to the two VGA register sets of the PCLK and SYNC A PLLs. The
VGA ADDR register allows read and write access and contains two 3-bit pointers, according to Table 214.
The VGA mode PLL registers are then accessed through the VGA PCLK and VGA SNCA registers (index:
0x4D and 0x4F).
29
The PLL register pointers are independently auto-incremented following a write cycle to the corresponding
PLL data register. The PLL register pointers do not auto-increment following a read cycle of the PLL data
registers. The most efficient way to program the PLLs is to first write zeros to the PLL register pointer
followed by three consecutive writes to the PLL data register to program the N, M, and P registers. Following
the third write, the PLL register pointer points to the read-only status register. The status register can then
be polled until the LOCK bit is set (the pointer does not auto-increment on reads).
Table 211. Extended Mode PLL Address Register (PLL ADDR)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
PTR SNCB
PTR SNCA
PTR MCLK
PTR PCLK
Table 212. Extended Mode PLL Address Register (PLL ADDR)
Index: 0x2C Access: R/W Default: Uninitialized
BIT NAME
VALUE
DESCRIPTION
00: N register
PTR SNCB
01: M register
Pointer to SYNC B PLL registers
PTR SNCB
10: P register
Pointer to SYNC B PLL registers
11: Status register
00: N register
PTR SNCA
01: M register
Pointer to SYNC A PLL extended registers
PTR SNCA
10: P register
Pointer to SYNC A PLL extended registers
11: Status register
00: N register
PTR MCLK
01: M register
Pointer to MCLK PLL registers
PTR MCLK
10: P register
Pointer to MCLK PLL registers
11: Status register
00: N register
PTR PCLK
01: M register
Pointer to PCLK PLL extended registers
PTR PCLK
10: P register
Pointer to PCLK PLL extended registers
11: Status register
210
Table 213. VGA Mode PLL Address Register (VGA ADDR)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RESERVED
VGA SPTR
VGA PPTR
Table 214. VGA Mode PLL Address Register (VGA ADDR)
Index: 0x4C Access: R/W Default: Uninitialized
BIT NAME
VALUE
DESCRIPTION
RESERVED
000: VGA 0 N register
001: VGA 0 M register
010: VGA 0 P register
VGA SPTR
011: VGA 0 status register
Pointer to SYNC A PLL VGA register sets
VGA SPTR
100: VGA 1 N register
Pointer to SYNC A PLL VGA register sets
101: VGA 1 M register
110: VGA 1 P register
111: VGA 1 status register
000: VGA 0 N register
001: VGA 0 M register
010: VGA 0 P register
VGA PPTR
011: VGA 0 status register
Pointer to PCLK PLL VGA register sets
VGA PPTR
100: VGA 1 N register
Pointer to PCLK PLL VGA register sets
101: VGA 1 M register
110: VGA 1 P register
111: VGA 1 status register
2.5.3
PCLK PLL
The PCLK PLL can be used at frequencies up to the device limit. A model of the PCLK PLL is shown in Figure
22. The resulting equations describe the voltage controlled oscillator frequency and the PLL output
frequency as a function of the N, M, and P values and the reference frequency.
1
N
Phase
Detector
Charge
Pump
Up
Down
VCO
1
2P
OUT
1
M
XTAL2
Fref
F
VCO
+
F
ref
M
N
F
OUT
+
F
VCO
2
P
Provided : Minimum VCO Frequency
v
F
VCO
v
Maximum VCO Frequency
Figure 22. Sync PLL Operation
211
The N, M, and P registers can be programmed to any value within the following limits:
2
NVALUE
7
2
MVALUE
255
0
PVALUE
4
If several N, M, and P selections meet the above criteria, the selection with the smallest NVALUE should
be used. The bit assignments of the N, M, P, and status registers for the PCLK PLL are listed in Table 216.
Table 215. PCLK PLL N, M, P, and Status Registers (PLL PCLK, VGA PCLK)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
NVALUE
MVALUE
PLLEN
PCLKEN
RESERVED
PVALUE
RSVD
LOCK
RESERVED
Table 216. PCLK PLL N, M, P, and Status Registers (PLL PCLK, VGA PCLK) Index: 0x2D, 0x4D
Access: R/W Default: PLLSEL(1,0) = 00/10/11 N=0x0E, M=0xC5, P=0x83, PLLSEL(1,0) = 01
N=0x0B, M=0x57, P=0x82
BIT NAME
VALUE
DESCRIPTION
N REGISTER ACCESS: R/W
NVALUE
0x020x07: Valid frequency division values (27 decimal)
N frequency prescaler
M REGISTER ACCESS: R/W
MVALUE
0x020xFF: Valid frequency division values (2255 decimal)
M frequency prescaler
P REGISTER ACCESS: R/W
PLLEN
0: PLL disabled. VCO does not oscillate.
PLL enable
PLLEN
1: PLL enabled
PLL enable
PCLKEN
0: PCLK output terminal is logic 0
PCLK output enable
PCLKEN
1: PCLK output terminal is driven by PCLK PLL
PCLK output enable
RESERVED
000: Always program to 000
Reserved
PVALUE
04: Actual frequency division is 2**PVALUE. Valid division factors are
1, 2, 4, 8, and 16.
P frequency post-scaler
STATUS REGISTER ACCESS: READ ONLY
RESERVED
Reserved
LOCK
0: VCO is not locked to the selected frequency
VCO locked
LOCK
1: VCO is locked to the selected frequency
VCO locked
RESERVED
Reserved
212
2.5.4
MCLK PLL
The memory clock PLL (MCLK PLL) can be used at frequencies up to 100 MHz. The MCLK PLL maximum
output frequency of 100 MHz cannot be exceeded. A model of the MCLK PLL is shown in Figure 23 and
it is identical to the model of the PCLK PLL. The resulting equations describe the voltage controlled oscillator
frequency and the PLL output frequency as a function of the N, M, and P values and the reference frequency.
1
N
Phase
Detector
Charge
Pump
Up
Down
VCO
1
2P
OUT
1
M
XTAL2
Fref
F
VCO
+
F
ref
M
N
F
OUT
+
F
VCO
2
P
Provided : Minimum VCO Frequency
v
F
VCO
v
Maximum VCO Frequency
Figure 23. PCLK and MCLK PLL Model
The N, M, and P registers can be programmed to any value within the following limits:
2
NVALUE
7
2
MVALUE
255
0
PVALUE
4
If several N, M, and P selections meet the above criteria, the selection with the smallest NVALUE should
be used. The bit assignments of the N, M, P, and status registers for the MCLK PLL are listed in Table 218.
Table 217. MCLK PLL N, M, P and Status Registers (PLL MCLK)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
NVALUE
MVALUE
PLLEN
RESERVED
PVALUE
RSVD
LOCK
RESERVED
213
Table 218. MCLK PLL N, M, P, and Status Registers (PLL MCLK) Index: 0x2E Access: R/W
Default: N=0x02, M=0x1C, P=0x82
BIT NAME
VALUE
DESCRIPTION
N REGISTER ACCESS: R/W
NVALUE
0x02 0x0E: Valid frequency division values (2 14 decimal)
N frequency prescaler
NVALUE
0x020x0E: Valid frequency division values (214 decimal)
N frequency prescaler
M REGISTER ACCESS: R/W
MVALUE
0x02 0xFF: Valid frequency division values (2 255 decimal)
M frequency prescaler
MVALUE
0x020xFF: Valid frequency division values (2255 decimal)
M frequency prescaler
P REGISTER ACCESS: R/W
0: PLL disabled VCO does not oscillate
PLLEN
0: PLL disabled. VCO does not oscillate.
PLL enable
PLLEN
1: PLL enabled
PLL enable
RESERVED
0000: Always program to 0000
RESERVED
0000: Always program to 0000
PVALUE
04: Actual frequency division is 2**PVALUE. Valid division factors are
P frequency postscaler
PVALUE
q
y
1, 2, 4, 8, and 16.
P frequency postscaler
STATUS REGISTER ACCESS: READ ONLY DEFAULT: UNINITIALIZED
RESERVED
0: VCO is not locked to the selected frequency
LOCK
0: VCO is not locked to the selected frequency
VCO locked
LOCK
1: VCO is locked to the selected frequency
VCO locked
RESERVED
2.5.4.1
Changing the MCLK Frequency
The MCLK frequency is normally used as the graphics controller system clock and memory clock. During
reprogramming of the PLLs a wide range of frequencies are generated as the PLL transitions to the new
programmed frequency. These transition effects can produce unwanted results in some systems. The
TVP3033 provides a mechanism for smooth transitioning of the MCLK PLL. The following programming
steps are recommended:
1.
Program the PCLK PLL to the same frequency to which MCLK will be changed to, and poll the
PCLK PLL status until LOCK = 1.
2.
Select the PCLK PLL as the dot clock source if it is not already selected.
3.
Output the dot clock on the MCLK terminal by writing bits MCLK SIG, MCLK STB in the CLK CNTL
register to 0,0 followed by 0,1.
4.
Program the MCLK PLL for the new frequency and poll the MCLK PLL status until LOCK = 1.
5.
Output MCLK on the MCLK terminal by writing bits MCLK SIG, MCLK STB to 1,0 followed by 1,1.
6.
Reprogram the PCLK PLL to its operating frequency.
214
2.5.5
Synchronizer PLLs
In high-performance graphics systems, the interface between the controller, frame buffer, and video palette
requires special treatment to guarantee reliable operation over all supported resolutions and refresh rates.
These systems are particularly sensitive to variations in graphics accelerator propagation delays from
device to device which can produce severe production problems at the board level. Since the video palette
is the source of the highest frequency clocks in the system, it becomes very difficult to resynchronize the
received pixel data with the internal dot clock. To solve this problem, the TVP3033 has incorporated unique
synthesizer PLL circuits (SYNC A PLL and SYNC B PLL) to synchronize the pixel data and load clock with
the internal dot clock.
The SYNC A PLL is used both for the split pixel bus modes and standard modes. Three sets of
programmable registers are provided to support two VGA settings and an extended mode setting. The
PLLSEL(1,0) inputs select which register set is used. A multiplexer is included to route the SYNC A PLL
output or the PCLK PLL output to the RCLKA terminal. At power-up/reset, the PCLK PLL output is output
to support VGA modes. In VGA modes, the graphics accelerator receives the RCLKA signal and returns
its VGA output clock to the CLK0 terminal along with synchronous VGA data. The TVP3033 slaves itself
to the received CLK0 signal and uses it as the dot clock source. The SYNC A PLL should be output on
RCLKA for most other modes. When using interpolation with VGA modes, the PCLK PLL output is used as
the dot clock. The RCLKA output is the output of SYNC A PLL. The RCLKA is given back by the controller
as CLK0. The CLK0 signal is then routed to the SYNC A PLL through a multiplexer. The CLK0 signal is then
synchronized with the dot clock by using M = 4, N = 2, and P = 2 in the SYNC A PLL registers. This setting
supplies a synchronized dot clock divided by two to the controller.
The SYNC B PLL is used to support the split pixel bus modes (dual-64 and dual-32 modes). In these modes,
two reference clocks and two load clocks are used which can be a different frequency division of the internal
dot clock. A single register set is provided for the SYNC B PLL. The SYNC B PLL output drives the RCLKB
terminal directly. At power-up/reset, the dot clock frequency is output.
The pixel data latching structure of the TVP3033 is shown in Figure 24. The PCLK PLL signal is selected
as the dot clock source whenever the SYNC PLLs are used. The dot clock is used as a reference frequency
by the SYNC PLL and is prescaled as specified by the N register. The incoming LCLKx signal is used as
the other input of the PLL and is prescaled as specified by the M register. The PLL generates the RCLKx
signal with the proper frequency and phase shift to phase align the prescaled dot clock and prescaled LCLKx
signal. The first two pixel bus pipeline stages are latched with the rising edge of the LCLKx signal and all
subsequent stages are latched with the dot clock.
215
SYNC
Frame
Buffer
Graphics
Accelerator
D
Q
D
Q
A
PLL
PCLK
PLL
DOT Clock
RCLKx
LCLKx
CLK0
Input Data Latch Structure
Figure 24. SYNC PLL Operation
1
N
Phase
Detector
Charge
Pump
Up
Down
VCO
1
2P
OUT
1
M
DOT CLOCK
LCLKx
Figure 25. SYNC PLL Model
The bit assignments of the N, M, P, and status registers for the SYNC PLLs are listed in Table 220. The
N, M, and P registers can be programmed to any value within the following limits:
2
NVALUE
255
2
MVALUE
255
0
PVALUE
7
The LCLK edge synchronizer function inserts a delay of the specified number of LCLKs, relative to the end
of BLANK, at which time synchronization with the internal dot clock is achieved. This function is enabled by
setting the ES ENBL bit to 1 and is required for all packed-24 modes and whenever the dual-64 or dual-32
configurations are used. For a standard configuration with nonpacked modes, this function has no effect.
The EDGE SNC bits are programmable but should always be set to 01 for proper operation in split pixel bus
configurations and packed-24 modes.
Table 219. SYNC A PLL and SYNC B PLL N, M, P,
and Status Registers (PLL SNCA, VGA SNCA, PLL SNCB)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
NVALUE
MVALUE
PLLEN
RSVD
EDGE SNC
ES ENBL
PVALUE
RSVD
LOCK
RESERVED
216
Table 220. SYNC A PLL and SYNC B PLL N, M, P,
and Status Registers (PLL SNCA, VGA SNCA, PLL SNCB)
Index: 0x2F, 0x4F, 0x2B Access: R/W Default: N=0x02, M=0x10, P=0x9B (Pass dot clock)
BIT NAME
VALUE
DESCRIPTION
N REGISTER ACCESS: R/W
NVALUE
0x020xFF: Valid frequency division values (2255 decimal)
N frequency prescaler
M REGISTER ACCESS: R/W
MVALUE
0x020xFF: Valid frequency division values (2255 decimal)
M frequency prescaler
P REGISTER ACCESS: R/W
PLLEN
0: PLL disabled. VCO does not oscillate.
PLL enable
PLLEN
1: PLL enabled
PLL enable
RESERVED
1: Always program to 1
EDGE SNC
0x000x02: Selects alignment of the nth LCLK rising edge from start
LCLK edge synchronizer
EDGE SNC
g
g
g
of BLANK with the internal dot clock. Applies only to SYNC A PLL.
g
y
delay in LCLKs
ES ENBL
0: Disabled
LCLK edge synchronizer
ES ENBL
1: Enabled
g
y
function enable
PVALUE
07: Actual frequency division is 2**PVALUE. Valid selections are 1,
P frequency postscaler
PVALUE
q
y
,
2, 4,...128.
P frequency postscaler
STATUS REGISTER ACCESS: READ ONLY
RESERVED
LOCK
0: VCO is not locked to the selected frequency
VCO locked
LOCK
1: VCO is locked to the selected frequency
VCO locked
RESERVED
217
2.6
Pixel Bus Interface
The pixel bus interface supports four primary configurations: standard, dual-64, dual-32, and 4
32. These
are illustrated in Figure 26. The configurations having pixel ports A and B are capable of receiving two
independent pixel streams. Ports A and B may load pixel data using a different frequency division of the dot
clock.
Bus Width = 64 or 32
Bus Width = 64 or 32
Pixel Port B
Pixel Port A
P64P63
P127
P0
Bus Width = 128, 64, or 32
Pixel Port A
P127
P0
Bus Width = 32
Port A
P32P31
P63
P0
Port B
Bus Width = 32
STANDARD
DUAL-64
DUAL-32
Port A-LO
P31
P0
4
32
T
Port A-HI
P31
P0
T + 1
Port B-LO
P31
P0
T + 2
Port B-HI
P31
P0
T + 3
Bus Width = 64
Bus Width = 64
Port B-HI
P96P95
P127
P0
Port B-LO
Port A-HI
Port A-LO
P64P63
P32P31
ACCUMULATED INPUT
Figure 26. Pixel Bus Configurations
2.6.1
Standard Configuration
The standard configuration supports the shared-memory system architecture. The entire 128-bit pixel bus
is used as a single port (pixel port A).
The interleave mode and packed/unpacked mode are selected for pixel port A. After these operations, the
pixel port A data is multiplexed onto the 32-bit A bus. This is the input to the data selector block. The data
type and the specific multiplexing mode are programmed for pixel port A. A maximum bus width of 128 bits
can be used.
The SYNC A PLL is used to generate the reference clock to the controller (RCLKA). LCLKA is used to latch
the received pixel data on P(1270). RCLKB and LCLKB are not used.
2.6.2
Dual-64 Configuration
The dual-64 configuration supports the separate frame-buffer system architecture. The 128-bit pixel bus is
split into two independent 64-bit pixel ports (A and B). Pixel port A receives data on P(630) and pixel port
B receives data on P(12764).
218
The interleave mode and packed/unpacked mode can be independently selected for pixel port A and pixel
port B. After these operations, the pixel port A data is multiplexed onto the 32-bit A bus and the pixel port
B data is multiplexed onto the 32-bit B bus. The data type and the specific multiplexing mode are
independently programmed for pixel port A and pixel port B. A maximum bus width of 64 bits can be used
for each pixel port.
Since the device has one palette RAM, both pixel port A and pixel port B cannot both operate in a mode
requiring use of the color palette RAM. Pixel ports A and B can latch data at a different frequency, each using
a different division of the internal dot clock. Independent clocking and SYNC PLLs (RCLKA, LCLKA, SYNC
A PLL and RCLKB, LCLKB, SYNC B PLL) are provided to facilitate communication with two separate
controllers.
2.6.3
Dual-32 Configuration
The dual-32 configuration operates much like the dual-64 configuration, but pixel ports A and B are each
a maximum of 32 bits wide. The lower half of the 128-bit pixel bus is split into two independent 32-bit pixel
ports (A and B). Pixel port A receives data on P(310) and pixel port B receives data on P(6332).
The interleave mode and packed/unpacked mode can be independently selected for pixel port A and pixel
port B. After these operations, the pixel port A data is multiplexed onto the 32-bit A bus and the pixel port
B data is multiplexed onto the 32-bit B bus. The data type and the specific multiplexing mode are
independently programmed for pixel port A and pixel port B. A maximum bus width of 32 bits can be used
for each pixel port.
Both pixel port A and pixel port B cannot both operate in a mode requiring use of the color palette RAM. Pixel
ports A and B can latch data at a different frequency, each using a different division of the internal dot clock.
Independent clocking and SYNC PLLs (RCLKA, LCLKA, SYNC A PLL and RCLKB, LCLKB, SYNC B PLL)
are provided to facilitate communication with two separate controllers.
2.6.4
4
32 Configuration
The 4
32 configuration supports dual pixel ports using only P(310). Pixel data is clocked in on P(310)
on four consecutive rising edges of the LCLKA signal. The first and second words latched in are the lower
half and upper half of the pixel port A data. The third and fourth words latched in are the lower half and upper
half of the pixel port B data.
The interleave mode (none or 16-bit interleave) is programmed using pixel port A. Packed mode is not
supported. After these operations, the pixel port A data is multiplexed onto the 32-bit A bus and the pixel
port B data is multiplexed onto the 32-bit B bus. The data type and the specific multiplexing mode are
independently programmed for pixel port A and pixel port B. A maximum bus width of 64 bits can be used
for each pixel port.
Both pixel port A and pixel port B cannot both operate in a mode requiring use of the color palette RAM. The
SYNC A PLL is used to generate the reference clock RCLKA to the controller. LCLKA is used to latch the
received pixel data on P(310) for both pixel port A and pixel port B. RCLKB and LCLKB are not used.
219
2.7
Pixel Bus De-Interleave for WRAM Applications
A generic pixel bus de-interleave scheme provides support for systems using window RAM (WRAM) for
frame buffer memory. WRAM is a dual-port memory similar to video RAM (VRAM). The WRAM device
achieves a higher serial output clock rate by multiplexing the serial outputs onto half the normal number of
terminals. As a result, data written to the WRAM in a linear fashion comes out of the serial outputs in some
form of interleave scheme, depending on the memory configuration and graphics controller design. The
degree to which the color palette device must provide de-interleave capability depends on how much of this
function is performed by the graphics controller. The pixel bus de-interleave function of the TVP3033 can
perform all, none, or any portion of the de-interleave task.
The de-interleave scheme (see Figure 27) assumes that two consecutive words are latched into the pixel
bus. These two words have the even data groups on the first word, and the odd data groups on the second
word. The size of the groups can be 16, 32, or 64 bits. After rearranging the even and odd data groups, two
data words of the same size as was input are passed on with the data groups in the proper order to be
displayed.
Table 221 specifies the de-interleave modes that can be used in each of the pixel bus configurations and
bus width selections. The de-interleave mode is selected by programming the ITLV A and ITLV B bits in the
ITLV CTL register. For dual-64 and dual-32 configurations, the de-interleave mode is independently
programmable for pixel ports A and B and the bus width in Table 221 refers to the bus width for a single
pixel port. For other modes, only the ITLV A bits are used. For a 4
32 configuration, pixel ports A and B
are used and each uses a 64-bit bus width.
The pixel bus data format tables in Appendix A,
Pixel Bus Data Formats do not comprehend the
de-interleave function. Therefore, the data in linear order (after the de-interleave function) corresponds to
the pixel bus bit positions shown in Tables A1 through A10 in Appendix A,
Pixel Bus Data Formats.
Table 221. Available De-Interleave Modes
PIXEL BUS CONFIGURATION
BUS WIDTH
DE-INTERLEAVE MODES
PIXEL BUS CONFIGURATION
BUS WIDTH
NONE
16
32
64
128
Standard
64
32
Dual 64
64
Dual-64
32
Dual-32
32
4
32
64
220
B6
P127
P0
STANDARD
B4
B2
B0
A6
A4
A2
A0
B7
B5
B3
B1
A7
A5
A3
A1
16 Interleave
B2
P63
P0
B0
A2
A0
B3
B1
A3
A1
16 Interleave
T
T + 1
T
T + 1
Input
Input
DUAL-64
(Each Side)
A7
P127
P0
A6
A5
A4
A3
A2
A1
A0
B7
B6
B5
B4
B3
B2
B1
B0
A3
P63
P0
A2
A1
A0
B3
B2
B1
B0
T
T + 1
T
T + 1
Output
Output
B2
P127
P0
B0
A2
A0
B3
B1
A3
A1
32 Interleave
B0
P63
P0
A0
B1
A1
32 Interleave
T
T + 1
T
T + 1
Input
Input
A3
P127
P0
A2
A1
A0
B3
B2
B1
B0
A1
P63
P0
A0
B1
B0
T
T + 1
T
T + 1
Output
Output
B0
P127
P0
A0
B1
A1
64 Interleave
T
T + 1
Input
A1
P127
P0
A0
B1
B0
T
T + 1
Output
B0
P31
P0
A0
B1
A1
T
T + 1
Input
16 Interleave
DUAL-32
(Each Side)
A1
P31
P0
A0
B1
B0
T
T + 1
Input
A2
P31
P0
A0
Input
T
16 Interleave
4
32
A3
P31
P0
A1
T + 1
B2
P31
P0
B0
T + 2
B3
P31
P0
B1
T + 3
B3
P127
D0
B1
B2
B0
A3
A1
A2
A0
D96D95 D64D63
D32D31
Accumulated Input
B3
P127
D0
B2
B1
B0
A3
A2
A1
A0
D96D95 D64D63
D32D31
Output
Figure 27. De-Interleave Modes
221
2.7.1
Standard Configuration
For a standard configuration, Figure 27 shows the de-interleave scheme for a 128-bit bus width. The A and
B represent the first and second linear groups of 128 bits to be displayed for a single pixel stream. For the
16 interleave case, A and B are each broken down into eight 16-bit groups (A0, A1, A2,...,A7 and B0, B1,
B2,...,B7). For the
32 interleave case, A and B are each broken down into four 32-bit groups (A0, A1, A2,
A3 and B0, B1, B2, B3). For the
64 interleave case, A and B are each broken down into two 64-bit groups
(A0, A1 and B0, B1). After rearranging data groups, two 128-bit words are output in the proper order to be
displayed. The output data is then multiplexed onto the A bus and is controlled by programming the pixel
port A control registers.
When the bus width is 64, the same de-interleave schemes shown for the dual-64 configuration are used.
When the bus width is 32, the same de-interleave scheme shown for the dual-32 configuration is used.
2.7.2
Dual-64 Configuration
For a dual-64 configuration, the de-interleave mode is independently programmable for pixel ports A and
B. Figure 27 shows the de-interleave scheme for pixel port A (P63P0) and a 64-bit bus width. The same
scheme applies to pixel port B (P127P64). The A and B in the figure represent the first and second linear
groups of 64 bits to be displayed in a single pixel stream. For the
16 interleave case, A and B are each
broken down into four 16-bit groups (A0, A1, A2, A3 and B0, B1, B2, B3). For the
32 interleave case, A
and B are each broken down into two 32-bit groups (A0, A1 and B0, B1). After rearranging data groups, two
64-bit words are output in the proper order to be displayed. For pixel port A (P63P0), the output data is
multiplexed onto the A bus and is controlled by the pixel port A control registers. For pixel port B (P127P64),
the output data is multiplexed onto the B bus and is controlled by the pixel port B control registers.
When the bus width is 32, the same de-interleave scheme shown for dual-32 configuration is used.
2.7.3
Dual-32 Configuration
For a dual-32 configuration, the de-interleave mode is independently programmable for pixel ports A and
B. Figure 27 shows the de-interleave scheme for pixel port A (P31P0). The only allowable bus width is
32 bits. The same scheme applies to pixel port B (P63P32). The A and B in the figure represent the first
and second linear groups of 32 bits to be displayed in a single pixel stream. The only allowable de-interleave
mode is
16. The A and B are each broken down into two 16-bit groups (A0, A1 and B0, B1). After
rearranging data groups, two 32-bit words are output in the proper order to be displayed. For pixel port A
(P31P0), the output data is multiplexed onto the A bus and is controlled by the pixel port A control registers.
For pixel port B (P63P32), the output data is multiplexed onto the B bus and is controlled by the pixel port
B control registers.
2.7.4
4
32 Configuration
For a 4
32 configuration, the only allowable de-interleave mode is
16 and pixel port A and pixel port B
are each programmed for a 64-bit bus width. The pixel bus data is received on P31P0 and is accumulated
into a 128-bit word prior to the de-interleave function. The A in Figure 27 represents the first linear group
of 64 bits to be passed to the A bus (pixel port A) and the B represents the first linear group of 64 bits to be
passed to the B bus (pixel port B).
The A and B are each broken down into four 16-bit groups (A0, A1, A2, A3 and B0, B1, B2, B3). After
rearranging data groups, a single 128-bit word is output. The lower 64 bits of the output data is multiplexed
onto the A bus and is controlled by the pixel port A control registers. The upper 64 bits of the output data
is multiplexed onto the B bus and is controlled by the pixel port B control registers.
222
2.8
Pixel Bus Clocking
Figure 28 shows the pixel bus clocking scheme. The SYNC PLLs generate the RCLKA and RCLKB signals
to the controllers. The RCLK signals need not be the same frequency as the corresponding LCLK signals.
The LCLK signals from the controllers are used to latch the corresponding pixel bus data. The LCLKA signal
is used to latch the video controls. The SYNC PLLs are used to align their received LCLK signals with the
internal dot clock allowing the received data to be transferred to the internal dot clock reliably.
The phase relationship between LCLKA and LCLKB is critical in order to correctly align the two pixel
streams. This alignment is achieved by internal circuitry linking the SYNC A PLL and SYNC B PLL. The
synchronization scheme mutually aligns the LCLKA and LCLKB signals with the internal dot clock on the
fourth rising edge of the LCLKA signal after BLANK goes inactive. This properly aligns the two pixel streams
through the three internal LCLK latching stages. After the three LCLK stages, the two pixel streams are
transferred to the internal dot clock pipeline. When pixel port A and pixel port B are both used, the pixel port
B data must be started the required number of LCLKB cycles before or after the start of pixel port A data.
This is achieved by properly programming the window generator or by external means.
Figure 28 shows the typical pixel bus timing. The first LCLKx rising edge that samples blank inactive also
latches the first pixel group. The last LCLKx rising edge that samples blank inactive also latches the last pixel
group. In Figure 28, the delay from RCLKA to BLANKA and P(1270) depends on the total system delay
through the controller. The delay may be as long as is required, it need not be less than the RCLKx cycle
time.
1
2
3
4
Pixels 07
Pixels 815
Pixels 1623
Pixels 2431
Pixels 2431
Pixels 03
Pix 47
Pix 811
Pix 1215
Pix 1619
Pix 2023
DOT
LCLKA
BLANK
P(630)
LCLKB
P(12764)
WINDOW
Figure 28. Example Pixel Bus Interface Timing
223
2.9
Pixel Multiplexing Control
Six control registers are used to program the pixel multiplexing functions of the device. The SYS CNFG and
ITLV CTL provide control of global functions. SYS CNFG controls the pixel bus configuration, VGA mode,
big-/little-endian mode and gamma correction. ITLV CTL selects the interleave mode (or no interleave) for
pixel port A and pixel port B. The interleave modes allow pixel data in two consecutive words to be combined
as is sometimes necessary when using WRAMs. Pixel port A and pixel port B each use two registers to
program the multiplexing mode.
Table 222. System Configuration Register (SYS CNFG)
Index: 0x10 Access: R/W Default: 0x80
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
VGAMODE
RAMINPUT
OLAYSEL
RSVD
ENDIAN
GAMMA
BUS CNFG
Table 223. System Configuration Register (SYS CNFG)
Index: 0x10 Access: R/W Default: 0x80
BIT NAME
VALUE
DESCRIPTION
0: VGA mode disabled
VGAMODE
1: VGA mode enabled. When enabled, overrides
modes programmed for pixel ports A and B (default).
VGA mode enable
RAMINPUT
0: Forces palette RAM input to be overlay or
pseudo-color data (default).
1: Forces palette RAM input to be RGB data for
gamma correction. The RGB data is from the Y-Bus
or the Z-Bus as selected by the GAMMA bit.
Color palette RAM input data selector
OLAYSEL
0: Overlay or pseudo-color data from pixel port A is
selected (default)
1: Overlay or pseudo-color data from pixel port B is
selected
Overlay port selector
Reserved
ENDIAN
0: Little-endian mode (default)
Pixel endian control
ENDIAN
1: Big-endian mode
Pixel endian control
0: Gamma correction applied to Y bus data if palette
GAMMA
RAM is available (default)
Gamma correction source selector
GAMMA
1: Gamma correction applied to Z bus data if palette
RAM is available
Gamma correction source selector
00: Standard (default)
BUS CNFG
01: Dual-64
Pixel bus configuration
BUS CNFG
10: Dual-32
Pixel bus configuration
11: 4
32
224
Table 224. Interleave Control Register (ITLV CTL)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RESERVED
ITLV B
ITLV A
Table 225. Interleave Control Register (ITLV CTL)
Index: 0x11 Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
RESERVED
00: No interleave (default)
ITLV B
01: 2:1 interleave in groups of 16 bits
Pixel bus interleave control for pixel port B
ITLV B
10: 2:1 interleave in groups of 32 bits
Pixel bus interleave control for pixel port B
11: 2:1 interleave in groups of 64 bits
00: No interleave (default)
ITLV A
01: 2:1 interleave in groups of 16 bits
Pixel bus interleave control for pixel port A
ITLV A
10: 2:1 interleave in groups of 32 bits
Pixel bus interleave control for pixel port A
11: 2:1 interleave in groups of 64 bits
Table 226. Pixel Port A Control Register 1 (PPA CTL1)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RSVD
HZOOM
COL DEPTH
BUSWIDTH
Table 227. Pixel Port A Control Register 1 (PPA CTL1)
Index: 0x18 Access: R/W Default: 0x02
BIT NAME
VALUE
DESCRIPTION
RESERVED
000:
1 (defaultno zoom)
001:
2
010:
4
HZOOM
011:
8
Horizontal zoom factor for pixel port A
100:
16
101:
32
110 - 111: Reserved
00: 8 bits per pixel (default)
COL DEPTH
01: 16 bits per pixel
Total bits per pixel for pixel port A
COL DEPTH
10: 24 bits per pixel
Total bits per pixel for pixel port A
11: 32 bits per pixel
00: 32
BUSWIDTH
01: 64
Bus width for pixel port A
BUSWIDTH
10: 128 (default)
Bus width for pixel port A
11: Reserved
225
Table 228. Pixel Port A Control Register 2 (PPA CTL2)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
MODE
RESERVED
DBUF SEL
SUB MODE
Table 229. Pixel Port A Control Register 2 (PPA CTL2)
Index: 0x19 Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
000: Pseudo-color (default)
001: Overlay + RGB
MODE
010: Reserved
Multiplexing mode selector for pixel
MODE
011: RGB
g
port A
100: Packed RGB
101111: Reserved
RESERVED
0: Select lower nibbles when in 4 4 4 DB mode (default)
DBUF SEL
0: Select lower nibbles when in 444 DB mode (default)
Double buffer selector for pixel port A
DBUF SEL
1: Select upper nibbles when in 444 DB mode
Double buffer selector for ixel ort A
SUB MODE
See Table 234
Table 230. Pixel Port B Control Register 1 (PPB CTL1)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RSVD
HZOOM
COL DEPTH
BUSWIDTH
Table 231. Pixel Port B Control Register 1 (PPB CTL1)
Index: 0x48 Access: R/W Default: 0x02
BIT NAME
VALUE
DESCRIPTION
RESERVED
000:
1 (defaultno zoom)
001:
2
010:
4
HZOOM
011:
8
Horizontal zoom factor for pixel port B
100:
16
101:
32
110 111: Reserved
00: 8 bits per pixel (default)
COL DEPTH
01: 16 bits per pixel
Total bits per pixel for pixel port B
COL DEPTH
10: 24 bits per pixel
Total bits per pixel for pixel port B
11: 32 bits per pixel
00: 32
BUSWIDTH
01: 64
Bus width for pixel port B
BUSWIDTH
10: 128 (default)
Bus width for pixel port B
11: Reserved
226
Table 232. Pixel Port B Control Register 2 (PPB CTL2)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
MODE
RESERVED
DBUF SEL
SUB MODE
Table 233. Pixel Port B Control Register 2 (PPB CTL2)
Index: 0x49 Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
000: Pseudo-color (default)
001: Overlay
)
RGB
MODE
010: Reserved
Multiplexing mode selector for pixel port B
MODE
011: RGB
Multiplexing mode selector for pixel port B
100: Packed RGB
101111: Reserved
RESERVED
DBUF SEL
0: Select lower nibbles when in 444 DB mode
(default)
Double buffer selector for pixel port B
1: Select upper nibbles when in 444 DB mode
SUB MODE
See Table 234
Table 234. Definition of MODE and SUB MODE Fields
MODE
SUB MODE
MODE
00
01
10
11
000
Pseudo-color
8-bit
Pseudo-color
001
Overlay
)
RGB
4444
ORGB
1555
ORGB
8888
ORGB
8444 DB
See DBUF SEL bit,
Table 229 and Table 239
011
RGB
555 DB
(Bit 31 selects buffer)
565
RGB
100
Packed RGB
888
RGB
444 DB
See DBUF SEL bit,
Table 229 and Table 233
227
Table 235 indicates how the X, Y, and Z buses are utilized when using the standard configuration for each
of the pixel port modes. Any two of the X, Y, and Z pixel streams may be combined on screen on a pixel basis
by making use of the color key functions. Where more than one type of pixel data is listed in the X-bus
column, the OLAYSEL, RAMINPUT, and GAMMA controls must be programmed via the MPU port to select
the desired pixel data type.
Table 235. X Bus, Y Bus, and Z Bus Utilization for Standard Configuration
PIXEL PORT A
OLAYSEL,
RAMINPUT AND
GAMMA
X BUS
Y BUS
Z BUS
Pseudo-color
0
0
X
Pseudo-color
Overlay
)
RGB
0
0
0
1
X
0
Overlay
GAMMA Y
RGB
RGB
RGB, 565
X
1
0
GAMMA Y
RGB
RGB, 555 DB
X
X
1
1
0
1
GAMMA Y
GAMMA Z
RGB-HI
RGB-HI
RGB-LO
RGB-LO
Packed RGB
X
1
0
GAMMA Y
Packed RGB
228
Table 236 indicates how the X, Y, and Z buses are utilized for each of the possible mode combinations on
pixel port A and pixel port B. Any two of the X, Y, and Z pixel streams may be combined on screen on a pixel
basis by making use of the color key functions. Where more than one type of pixel data is listed in the X-bus
column, the OLAYSEL, RAMINPUT, and GAMMA controls must be programmed via the MPU port to select
the desired pixel data type. When necessary A and B are used to indicate that the pixel stream originated
from pixel port A or pixel port B respectively.
Table 236. X Bus, Y Bus, and Z Bus Utilization for Dual-64, Dual-32, and 4
32 Configurations
PIXEL PORT A
PIXEL PORT B
OLAYSEL,
RAMINPUT AND
GAMMA
X BUS
Y BUS
Z BUS
Pseudo-color
0
1
0
0
X
X
Pseudo-color A
Pseudo-color B
Pseudo-color
Overlay + RGB
0
1
X
0
0
1
X
X
0
Pseudo-color
OVERLAY
GAMMA Y
RGB
RGB
RGB
Pseudo color
RGB
0
X
0
1
X
0
Pseudo-color
GAMMA Y
RGB
RGB
Packed RGB
0
X
0
1
X
0
Pseudo-color
GAMMA Y
Packed RGB
Packed RGB
Pseudo-color
1
0
X
0
0
1
X
X
1
Pseudo-color
OVERLAY
GAMMA Z
RGB
RGB
RGB
Overlay
)
RGB
Overlay + RGB
0
1
X
X
0
0
1
1
X
X
0
1
OVERLAY-A
OVERLAY-B
GAMMA Y
GAMMA Z
RGB-B
RGB-B
RGB-B
RGB-B
RGB-A
RGB-A
RGB-A
RGB-A
Overlay
)
RGB
RGB
0
X
X
0
1
1
X
0
1
OVERLAY
GAMMA Y
GAMMA Z
RGB-B
RGB-B
RGB-B
RGB-A
RGB-A
RGB-A
Packed RGB
0
X
X
0
1
1
X
0
1
OVERLAY
GAMMA Y
GAMMA Z
Packed RGB
Packed RGB
Packed RGB
RGB
RGB
RGB
Pseudo-color
1
X
0
1
X
1
Pseudo-color
GAMMA Z
RGB
RGB
RGB
Overlay + RGB
1
X
X
0
1
1
X
0
1
OVERLAY
GAMMA Y
GAMMA Z
RGB-B
RGB-B
RGB-B
RGB-A
RGB-A
RGB-A
RGB
RGB
X
X
1
1
0
1
GAMMA Y
GAMMA Z
RGB-B
RGB-B
RGB-A
RGB-A
Packed RGB
X
X
1
1
0
1
GAMMA Y
GAMMA Z
Packed RGB
Packed RGB
RGB
RGB
Pseudo-color
1
X
0
1
X
1
Pseudo-color
GAMMA Z
Packed RGB
Packed RGB
Packed RGB
Overlay + RGB
1
X
X
0
1
1
X
0
1
OVERLAY
GAMMA Y
GAMMA Z
RGB
RGB
RGB
Packed RGB
Packed RGB
Packed RGB
Packed RGB
RGB
X
X
1
1
0
1
GAMMA Y
GAMMA Z
RGB
RGB
Packed RGB
Packed RGB
Packed RGB
X
X
1
1
0
1
GAMMA Y
GAMMA Z
Packed RGB-B
Packed RGB-B
Packed RGB-A
Packed RGB-A
229
Table 237. Byte Router Control Register 1 (BR CTL1)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
GRN SEL1
BLU SEL1
RESERVED
Table 238. Byte Router Control Register 1 (BR CTL1)
Index: 0x24 Access: R/W Default: 0x60
BIT NAME
VALUE
DESCRIPTION
00: Route RED data to GREEN output
GRN SEL1
01: Route GREEN data to GREEN output (default)
Byte selector for GREEN output of
GRN SEL1
10: Route BLUE data to GREEN output
y
RGB logic 1 block
11: Reserved
00: Route RED data to BLUE output
BLU SEL1
01: Route GREEN data to BLUE output
Byte selector for BLUE output of RGB
BLU SEL1
10: Route BLUE data to BLUE output (default)
y
logic 1 block
11: Reserved
RESERVED
230
Table 239. Byte Router Control Register 2 (BR CTL2)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RED SEL2
GRN SEL2
BLU SEL2
RED SEL1
Table 240. Byte Router Control Register 2 (BR CTL2)
Index: 0x25 Access: R/W Default: 0x18
BIT NAME
VALUE
DESCRIPTION
00: Route RED data to RED output (default)
RED SEL2
01: Route GREEN data to RED output
Byte selector for RED output of RGB logic 2
RED SEL2
10: Route BLUE data to RED output
y
g
block
11: Reserved
00: Route RED data to GREEN output
GRN SEL2
01: Route GREEN data to GREEN output (default)
Byte selector for GREEN output of RGB logic 2
GRN SEL2
10: Route BLUE data to GREEN output
y
g
block
11: Reserved
00: Route RED data to BLUE output
BLU SEL2
01: Route GREEN data to BLUE output
Byte selector for BLUE output of RGB logic 2
BLU SEL2
10: Route BLUE data to BLUE output (default)
y
g
block
11: Reserved
00: Route RED data to RED output (default)
RED SEL1
01: Route GREEN data to RED output
Byte selector for RED output of RGB logic 1
RED SEL1
10: Route BLUE data to RED output
y
g
block
11: Reserved
2.10 Interpolation
Interpolation is a means of increasing the apparent display resolution by computing intermediate pixel
values.
For example, there is currently a large installed base of game software that operates in 320
200
resolution. Simple interpolation can yield much improvement in display quality. Also, when video and
graphics are mixed on-screen, the video often requires pixel duplication. Here interpolation also improves
display quality.
A simple horizontal interpolation function is provided as shown in Figure 29. The data from the output
multiplexer block may be selected directly or the interpolated data may be selected under the control of the
interpolator logic function. The interpolator logic function allows selective interpolation of an area on-screen
using the color-key signals (K1, K2, and K3) and the PSEL terminal (K4). When interpolation is used, the
pixel port(s) using interpolation must be programmed for a 2
horizontal zoom (PPA CTL1 or PPB CTL1
registers). This results in duplication of each received pixel. The interpolator function then replaces the
duplicated pixel with the interpolated value. The interpolated value is determined for each color field by:
Received pixel sequence : P
0
, P
1
, P
2
, . . .
Duplicated pixel sequence : P
0
, P
0
, P
1
, P
1
, P
2
, P
2
, . . .
Interpolated pixel sequence : P
0
,
P
0
)
P
1
2
,
P
1
,
P
1
)
P
2
2
, P
2
,
P
2
)
P
3
2
, . . .
231
1
0
RN+RN+1
2
8
8
8
RED(70)
1
0
GN+GN+1
2
8
8
8
GRN(70)
1
0
BN+BN+1
2
8
8
8
BLU(70)
Interpolator
Logic
Function
K1
K2
K3
K4
(PSEL)
FI
To Red DAC
To Green DAC
To Blue DAC
From Output
Multiplexer
8
8
8
Figure 29. Interpolation Function
2.11 Color Key Functions
The color-key switching facility provides three functions (K1, K2, and K3) for mixing video and 2D/3D
graphics on screen on a pixel-by-pixel basis. These are shown in Figure 210. These functions provide
compatibility with the Open MPEG specification (OM/1). The variables named VM, VK, GM, and GK can
be associated with either video or graphics data. The K1, K2, and K3 functions and the port select input
(denoted as K4 in descriptions below) may be logically combined to control the DAC output, interpolator
function, and the analog multiplexer control (AMUXCTL). These logic functions are specified by the DAC
FCN1 and DAC FCN2, ITPL FCN1 and ITPL FCN2, and AMUX FCN1 and AMUX FCN2 registers.
The K1 function may be used to key on overlay or pseudo-color data.
The VID MASK register is programmed to zero the unused bits of the overlay field. The VID KEY register
is loaded to specify the bit pattern to be matched. The K1 function is described by:
K1
+
(INPUT_DATA
VM)
VK
For the RGB 555 DB mode, the tag bit comes into the color key K1 function as overlay bit 0. The PAIR
SEL bits in the KEY CTL2 register selects switching between the Y-bus and Z-bus. The DACMUX logic
function is programmed to choose the polarity for buffer selection. Alternately, the PAIR SEL bits may be
used for software buffer selection.
The K2 function performs a 24-bit comparison. The input can be from the Y-bus or Z-bus, or from the
pseudo-color path and is selected by the K2 MUX bits in the KEY CTL2 register. This function can be used
to monitor the graphics pixel stream for a specific color (8-, 16-, or 24-bits/pixel) for displaying video in a
232
window. The GM RED, GM GRN, and GM BLU registers are programmed to zero the bits to be ignored in
the comparison. The GK RED, GK GRN, and GK BLU registers are loaded with the key pattern. The K2
function is described by:
K2
+
(INPUT_DATA
GM)
GK
The K3 function performs a 24-bit range comparison. The input can be from the Y-bus or Z-bus and is
selected by the K3 MUX bit in the KEY CTL1 register. This function can be used to key on a range of colors
within a digitized video stream when a tolerance is required in the key value.
The RED RNGL, GRN RNGL, and BLU RNGL registers are programmed with the 24-bit lower limit for the
comparison, and the RED RNGH, GRN RNGH, and BLU RNGH registers are programmed with the 24-bit
upper limit. The KEY CTL1 register is programmed to enable/disable the red, green, and blue range
comparators. The incoming red, green, and blue color fields are compared with their respective color range
registers according to the equation below. The K3 function is described by:
K3
+
((REDRNGL
v
INPUT (RED)
v
REDRNGH)
)
REDMASK)
((GRNRNGL
v
INPUT (GRN)
v
GRNRNGH)
)
GRNMASK)
((BLURNGL
v
INPUT (BLU)
v
BLURNGH)
)
BLUMASK)
NOTE:
Direct-color data has been shifted to the MSBs of the RGB color fields and the LSBs filled with
zeros prior to input to the color-key function.
Bit positions which are masked (set to zero) in the mask registers (VID MASK, GM RED, GM
GRN, and GM BLU) should also be set to zero in the corresponding key registers (VID KEY,
GK RED, GK GRN, and GK BLU).
233
8
8
VID
Mask
8
VID
Key
8
Equal
Compare
8
K1
24
24
24
24
GK RED
GK GRN
GK BLU
24
24
K2
8
8
GM RED
GM GRN
GM BLU
24
24
24
Range
Compare
RED RNGL
GRN RNGL
BLU RNGL
RED RNGH
GRN RNGH
BLU RNGH
24
24
K3
Z-Bus
Pseudo/
Overlay
Y-Bus
Equal
Compare
Figure 210. Color Key Functions
2.11.1
Color Key Logic Functions
P1
+
((K1
K1I)
K1M1)
)
((K2
K2I)
K2M1)
)
((K3
K3I)
K3M1)
)
((K4
K4I)
K4M1)
P2
+
((K1
K1I)
K1M2)
)
((K2
K2I)
K2M2)
)
((K3
K3I)
K3M2)
)
((K4
K4I)
K4M2)
F
+
((P1
P1INV)
)
(P2
P2INV))
INVERT
When AND OR = 0
Where:
+
AND
)+
OR
+
Exclusive OR
F
+
((P1
P1INV)
(P2
P2INV))
INVERT
When AND OR = 1
234
Table 241. DACMUX, Interpolator, and AMUXCTL Logic Function 1 Registers
(DAC FCN1, ITP FCN1, AMX FCN1)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
K1I
K2I
K3I
K4I
P1INV
P2INV
AND OR
INVERT
K1I
K2I
K3I
K4I
P1INV
P2INV
AND OR
INVERT
K1I
K2I
K3I
K4I
P1INV
P2INV
AND OR
INVERT
Table 242. DACMUX, Interpolator and AMUXCTL Logic Function 1 Registers (DAC FCN1, ITP
FCN1, AMX FCN1) Index: 0x5A, 0x5C, 0x5E Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
0: No inversion (default)
K1I
0: No inversion (default)
Inversion control for color key function K1
K1I
1: Inversion
Inversion control for color key function K1
K2I
0: No inversion (default)
Inversion control for color key function K2
K2I
1: Inversion
Inversion control for color key function K2
K3I
0: No inversion (default)
Inversion control for color key function K3
K3I
1: Inversion
Inversion control for color key function K3
K4I
0: No inversion (default)
Inversion control for color key function K4 (PSEL input)
K4I
1: Inversion
Inversion control for color key function K4 (PSEL input)
P1INV
0: No inversion (default)
Inversion control for P1 partial sum
P1INV
1: Inversion
Inversion control for P1 partial sum
P2INV
0: No inversion (default)
Inversion control for P2 partial sum
P2INV
1: Inversion
Inversion control for P2 partial sum
AND OR
0: Combine P1 and P2 with a logical OR
Controls combination of partial sums P1 and P2
AND OR
1: Combine P1 and P2 with a logical AND
Controls combination of partial sums P1 and P2
INVERT
0: No inversion (default)
Inversion control for overall logic function
INVERT
1: Inversion
Inversion control for overall logic function
235
Table 243. DACMUX, Interpolator, and AMUXCTL Logic
Function 2 Registers (DAC FCN2, ITP FCN2, AMX FCN2)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
K1M1
K2M1
K3M1
K4M1
K1M2
K2M2
K3M2
K4M2
K1M1
K2M1
K3M1
K4M1
K1M2
K2M2
K3M2
K4M2
K1M1
K2M1
K3M1
K4M1
K1M2
K2M2
K3M2
K4M2
Table 244. DACMUX, Interpolator, and AMUXCTL Logic Function 2 Registers (DAC FCN2, ITP
FCN2, AMX FCN2) Index: 0x5B, 0x5D, 0x5F Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
0: Bit masked. Associated product term
K1M1
contributes nothing to P1 or P2.
Bit mask for color key function K1 for product term P1
1: Bit not masked
y
K2M1
0: Bit masked
Bit mask for color key function K2 for product term P1
K2M1
1: Bit not masked
Bit mask for color key function K2 for product term P1
K3M1
0: Bit masked
Bit mask for color key function K3 for product term P1
K3M1
1: Bit not masked
Bit mask for color key function K3 for product term P1
K4M1
0: Bit masked
Bit mask for color key function K4 for product term P1
K4M1
1: Bit not masked
Bit mask for color key function K4 for product term P1
K1M2
0: Bit masked
Bit mask for color key function K1 for product term P2
K1M2
1: Bit not masked
Bit mask for color key function K1 for product term P2
K2M2
0: Bit masked
Bit mask for color key function K2 for product term P2
K2M2
1: Bit not masked
Bit mask for color key function K2 for product term P2
K3M2
0: Bit masked
Bit mask for color key function K3 for product term P2
K3M2
1: Bit not masked
Bit mask for color key function K3 for product term P2
K4M2
0: Bit masked
Bit mask for color key function K4 for product term P2
K4M2
1: Bit not masked
Bit mask for color key function K4 for product term P2
236
Table 245. Color Key Control Register 1 (KEY CTL1)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RESERVED
AMX DLY
BLUMASK
GRNMASK
REDMASK
RSVD
Table 246. Color Key Control Register 1 (KEY CTL1)
Index: 0x38 Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
RESERVED
00: AMUXCTL synchronous with corresponding pixel
boundary on analog RGB outputs (IOR IOG IOB)
boundary on analog RGB outputs (IOR, IOG, IOB)
(default)
AMX DLY
01: AMUXCTL switches 1 dot clock prior to
corresponding pixel boundary on analog RGB outputs
Pipeline delay select analog multiplexer
control (AMUXCTL)
10: AMUXCTL switches 2 dot clocks prior to
corresponding pixel boundary on analog RGB outputs
control (AMUXCTL)
11: AMUXCTL switches 3 dot clocks prior to
corresponding pixel boundary on analog RGB outputs
BLUMASK
0: Masked (default)
Mask for range compare of blue color field
BLUMASK
1: Not masked
Mask for range compare of blue color field
GRNMASK
0: Masked (default)
Mask for range compare of green color
GRNMASK
1: Not masked
g
g
field
REDMASK
0: Masked (default)
Mask for range compare of red color field
REDMASK
1: Not masked
Mask for range compare of red color field
RESERVED
237
Table 247. Color-Key Control Register 2 (KEY CTL2)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
PAIR SEL
RESERVED
K2 MUX
K3 MUX
K4 CLK
Table 248. Color-Key Control Register 2 (KEY CTL2)
Index: 0x39 Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
000: X bus always selected by DACMUX (default)
001: Y bus always selected by DACMUX
010: Z bus always selected by DACMUX
PAIR SEL
011: Reserved
Select for pair of pixel streams to switch
PAIR SEL
100: X bus (when FD = 0) and Y bus (when FD = 1)
between
101: X bus (when FD = 0) and Z bus (when FD = 1)
110: Y bus (when FD = 0) and Z bus (when FD = 1)
111: Reserved
RESERVED
Always set to 0
RESERVED
Always set to 0
00: Pseudo-color/overlay data. This data is the
output of the read mask/page register block
output of the read mask/page register block
(default).
S
K2 MUX
01: Y bus
Select input data for color-key K2 function
10: Z bus
11: Reserved
K3 MUX
0: Y bus (default)
Select input data for color key K3 function
K3 MUX
1: Z bus
Select input data for color-key K3 function
K4 CLK
0: PSEL latched by LCLKA (default)
Select latch clock for PSEL terminal
K4 CLK
1: PSEL latched by LCLKB
Select latch clock for PSEL terminal
2.12 Window Function
The window function provides a timing signal which is active during a programmed rectangular window on
the display. This is intended to control the flow of pixel data into pixel port B when in the dual-32 or dual-64
configurations. The controller function connected to pixel port A is always the source of the CRT timing
controls. The controller function connected to pixel port B then supplies pixel data in a window within the
active display defined by the CRT controls.
In order to allow for a window that borders on the top or left edges of the screen, the window dimensions
are specified relative to the trailing edge of HSYNC and the trailing edge of VSYNC. Twelve bit numbers
are specified for the X,Y start position and window width and height as shown in Table 254 and Table 256.
The units are scan lines in the vertical dimension and LCLKB cycles in the horizontal dimension.
When pixel port A and pixel port B are both used, the pixel port B data must be started the required number
of LCLKBs before or after the start of the pixel port A data. Figure 211 shows example window timing.
Table 249 defines the terms used in this discussion. Table 250 describes the CRT timing and PLL
programming restrictions when using window.
238
Table 249. Symbol Parameters
SYMBOL
DESCRIPTION
HBPA
Horizontal back porch (trailing edge of HSYNC to start of active video) time in LCLKAs
HBPB
Horizontal back porch in LCLKBs
RA
Multiplex ratio for pixel port A (BUSWIDTH/COLDEPTH)
RB
Multiplex ratio for pixel port B (BUSWIDTH/COLDEPTH)
NA
SYNC A PLL N prescaler value in dot clocks
NB
SYNC B PLL N prescaler value in dot clocks
D
Controller delay in LCLKBs. This is the number of LCLKBs from window going active to the first pixel group
latched into pixel port B and is solely dependent on the external pixel port B controller.
Table 250. CRT Timing Restrictions for use of WINDOW
NUMBER
RESTRICTION
DESCRIPTION
1
N = NA = NB SYNC A PLL and SYNC B PLL N prescalers are the same.
2
HBPA = K
N
RA
Horizontal back porch in LCLKAs is an integral multiple of the N prescaler after
conversion to LCLKAs.
3
HTOTA = K
N
RA
Horizontal total in LCLKAs is an integral multiple of the N prescaler after conversion
to LCLKAs.
Table 251. CRT Timing Specification for Window Function Example
SCREEN PARAMETERS
Screen resolution
1280
1024
Vertical refresh
75 Hz
Pixel clock frequency
133.33 MHz
Horizontal total time
1152 LCLKA
Horizontal active time
960 LCLKA
Horizontal blank time
192 LCLKA
Horizontal back porch time
96 LCLKA
Table 252. Parameter Settings for Window Function Example
PARAMETERS DUAL-64 CONFIGURATION
PARAMETER
PORT A
PORT B
MODE
Packed-RGB
RGB
SUBMODE
888
565
BUSWIDTH
32
64
COLDEPTH
24
16
Multiplex ratio
4:3
4:1
SYNC PLL N/M
16/12
16/4
LCLKA frequency
100 MHz
33.33 MHz
239
HBPA = K *
N
RA
1
2
3
4
A0 B0 C0 A1
B1 C1 A2 B2
1
2
3
4
HBPB = HBPA *
RA
RB
D = 2
3 LCLKB
1
2
3
4
P3-P0
P7-P4
P11-P8
P15-P12
P19-P16
P23-P20
DOT
LCLKA
P(310)
HSYNC
BLANK
LCLKB
P(12764)
WINDOW
(LCLKA's)
(LCLKB's)
Figure 211. Window Timing Example 1
Example 1 mixes graphics data in packed-24 RGB format and 16-bit 565 XGA format. The timing for
example 1 is shown in Figure 211. The parameters for this example are shown in Table 252. The multiplex
ratios R
A
and R
B
are determined by dividing the BUSWIDTH by the COLDEPTH. The SYNC PLL M-value
of 4 is chosen for SYNC B PLL. Since the N/M ratio must be the multiplex ratio, the SYNC B PLL N-value
must be 16. To meet restriction 1 in Table 250, the SYNC A PLL N-value must also be 16. To obtain the
proper 4/3 N/M ratio, the SYNC B PLL M-value must be 12. For restrictions 2 and 3, the horizontal total and
back porch times in LCLKAs must be a multiple of [16 / (4/3)] = 12. This is satisfied by the values 1152 and
96 respectively.
STARTX
+
HBP
A
R
A
R
B
3 D
)
X
R
B
Where
+
0, R
B
, 2
R
B
, 3
R
B
, . . .
Equation 1 STARTX for Pixel Port B in Packed-RGB Mode
STARTX
+
HBP
A
R
A
R
B
3 D
)
X
3
R
B
Where X
+
0, 3
R
B
, 6
R
B
, 9
R
B
, . . .
Equation 2 STARTX for Pixel Port B in all Other Modes
Equation 1 and equation 2 describe how to determine the number to store in the WINSTXL and WINSTXM
registers to specify the horizontal starting point for window. In Figure 211, because of the internal
synchronization mechanism and the observance of retrictions 13, the proper window position can be found
by, first, converting the horizontal back porch from LCLKA units to LCLKB units. This locates the fourth rising
edge of LCLKA into active video, at which point LCLKA, LCLKB, and the internal dot clock are aligned. On
this edge, the fourth pixel group of the line should be latched into both pixel port A and pixel port B. Subtract
240
3 LCLKBs to locate where the first pixel group is latched into pixel port B. Subtract the controller dependent
factor D which takes into account the controller latency. Finally, add the required number of LCLKBs required
for the X-coordinate on screen where the window begins as shown in equation 1 or equation 2. For this
example, the STARTX parameter is calculated to be:
STARTX
+
96
4
3
4
32
)
X
4
+
27
)
X
4
Where:
X = 0, 4, 8, . . .
The window granularity is the number of pixels latched into pixel port B per LCLKB (or per group of 3 LCLKBs
for packed-RGB mode). To achieve single pixel granularity in positioning the window, the window is
programmed to overlap all pixels in the desired window. The color key functions can then be used in
conjunction with the window function to obtain single pixel granularity. In this case, the controller connected
to pixel port B must be able to position the first pixel at the proper position on the pixel bus. In example 1,
if the window must start at X = 3, then the window is programmed to start at X = 0. The first pixel group latched
into pixel port B must have the first pixel on terminals P127 P112. Terminals P111 P64 for the first load
would be don't cares. Pixel port A could then utilize a reserved color to control the rectangular window with
single pixel precision.
Table 253. Window Start Registers (WIN STXL, WIN STXM, WIN STYL, WIN STYM)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
START XL
RESERVED
START XM
START YL
WINENBL
RESERVED
START YM
Table 254. Window Start Registers (WIN STXL, WIN STXM, WIN STYL, WIN STYM)
Index: 0x50, 0x51, 0x54, 0x55 Access: R/W Default: Uninitialized
BIT NAME
VALUE
DESCRIPTION
WINSTXL
Window start X LSB register
START XL
0x000xFF: Lower eight bits of the 12-bit window start X count.
Specify window start X position as number of LCLKB periods after
trailing edge of HSYNC.
WINSTXM
Window start X MSB register
RESERVED
START XM
0x000x0F: Upper four bits of the 12-bit window start X count.
WINSTYL
Window start Y LSB register
START YL
0x000xFF: Lower eight bits of the 12-bit window start Y count.
Specify window start Y position as number of scan lines after trailing
edge of VSYNC.
WINSTYM
Window start Y MSB register
WINENBL
0: Default
WINENBL
1: Enables the window function
RESERVED
START YM
0x000x0F: Upper four bits of the 12-bit window start Y count.
241
Table 255. Window Width and Height Registers (WIN WIDL, WIN WIDM, WIN HGTL, WIN HGTM)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
WIDTH L
RESERVED
WIDTH M
HEIGHT L
RESERVED
HEIGHT M
Table 256. Window Width and Height Registers (WIN WIDL, WIN WIDM, WIN HGTL, WIN HGTM)
Index: 0x52, 0x53, 0x56, 0x57 Access: R/W Default: Uninitialized
BIT NAME
VALUE
DESCRIPTION
WIN WIDL
Window width LSB register
WIDTH L
0x000xFF: Lower eight bits of the 12-bit window width count.
Specify window width as number of LCLKB periods.
WIN WIDM
Window width MSB register
RESERVED
WIDTH M
0x000x0F: Upper four bits of the 12-bit window width count.
WIN HGTL
Window height LSB register
HEIGHT L
0x000xFF: Lower eight bits of the 12-bit window height count.
Specify window height as number of scan lines.
WIN HGTM
Window height MSB register
RESERVED
HEIGHT M
0x000x0F: Upper four bits of the 12-bit window height count.
2.13 On-Chip Cursor
TVP3033 has an on-chip three-color 64
64 pixel user-definable cursor. The cursor operation defaults to
the XGA standard, but X-Windows, 3-color, and advanced modes are also available (see Section 2.13.3,
Three-Color 64
64 Cursor). The cursor operates in both noninterlaced and interlaced applications.
The pattern for the 64
64 cursor is provided by the cursor RAM, which may be accessed by the MPU at
any time. Cursor positioning is performed using the CUR XL, CUR XH, CUR YL, and CUR YH registers in
the direct register map. Positions X and Y are defined as increasing from left to right and from top to bottom
respectively, as seen on the display screen.
On-chip cursor control is performed by the CUR ICTL register (index: 0x06) shown in Table 258. The CUR
DCTL register provides an alternate means of enabling and disabling the cursor and selecting the cursor
mode with the direct register map.
242
Table 257. Indirect Cursor Control Register (CUR ICTL)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
REG SEL
FIELD INV
INTRLACE
V DETECT
CRAM A98
MODE SEL
Table 258. Indirect Cursor Control Register (CUR ICTL)
Index: 0x06 Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
0: Use CUR ICTL register in indirect map to enable/disable
REG SEL
g
cursor (default)
Cursor control register selector
1: Use CUR DCTL register in direct map to enable/disable cursor
g
FIELD INV
0: ODD/EVEN terminal indicates odd field when 1 (default)
Inversion control for ODD/EVEN
FIELD INV
1: ODD/EVEN terminal indicates odd field when 0
Inversion control for ODD/EVEN
input terminal
0: Cursor operates in non-interlaced mode (default)
INTRLACE
1: Cursor operates in interlaced mode. ODD/EVEN terminal
determines field with polarity as specified by the FIELD INV bit.
Interlaced mode enable
0: Vertical blank is detected when 2048 consecutive dot clocks
V DETECT
have occurred between rising edges of BLANK.
Vertical blank detection method
V DETECT
1: Vertical blank is detected when 4096 consecutive dot clocks
have occurred between rising edges of BLANK.
Vertical blank detection method
CRAM A98
Cursor RAM upper address bits. CRAM A98 are bits 9 and 8 of
the 10-bit cursor RAM address. These are used with the lower 8
bits of the cursor RAM address supplied by the PRAM WAD and
Cursor RAM address bits 9 8
CRAM A98
bits of the cursor RAM address supplied by the PRAM WAD and
PRAM RAD registers in the direct map. CRAM A98 should be
written first if it is to be changed.
Cursor RAM address bits 9,8
00: Cursor disabled (default)
Cursor enable and mode selector
MODE SEL
01: Three-color cursor
Cursor enable and mode selector.
Only effective when REG SEL bit
MODE SEL
10: XGA cursor
y
in CUR ICTL register is 0. See
T bl 2 61 f
d d fi iti
11: X-Windows cursor
Table 261 for mode definitions.
Table 259. Direct Cursor Control Register (CUR DCTL)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RESERVED
MODE SEL
Table 260. Direct Cursor Control Register (CUR DCTL)
Direct Register: 1001 Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
RESERVED
00: Cursor disabled (default)
MODE SEL
01: Three-color cursor
Cursor enable and mode selector. Only effective when REG SEL bit
MODE SEL
10: XGA cursor
y
in CUR ICTL register is 1. See Table 261 for mode definitions.
11: X-Windows cursor
NOTE 1: The cursor RAM upper address bits (CRAM A98 bits in the CUR ICTL register) default to zeros after reset.
Since, normally, software sets these bits to zeroes before accessing the cursor RAM, it may not be necessary
to write to the CRAM A98 bits.
243
2.13.1
Cursor RAM
The 64
64
2 cursor RAM is used to define the pixel pattern within the 64
64 pixel cursor window. It is
not initialized and may be written to or read by the MPU at any time, even when the cursor is enabled.
The cursor RAM address zero is at the top left corner of the RAM as shown in Figure 212. The cursor plane
0 bits for the entire cursor array are stored in the first 512 bytes of the RAM, and the cursor plane 1 bits for
the entire cursor array are stored in the last 512 bytes of the RAM. Information for eight cursor pixels is stored
in each byte. The MSB (D7) corresponds with the first or leftmost pixel displayed on the screen.
The 64
64
2 cursor RAM stores a total of 8192 bits and is accessed through the 8-bit MPU data bus.
There are therefore 1024 bytes stored in the RAM and a 10-bit address is used. The upper two bits of the
cursor RAM address are written to the CRAM A98 bits of the CUR ICTL register. The lower eight bits of the
cursor RAM address are written to the PRAM WAD register (direct register: 0000) for writing to the RAM
and to the PRAM RAD register (direct register: 0011) for reading the RAM . Then the plane 0 or 1 data for
the first eight pixels is written to the CRAM DAT register (direct register: 1011). This stores the cursor pixel
data in the cursor RAM and automatically increments the PRAM WAD register. The upper two bits of the
cursor RAM address also increment when the lower eight bits roll over from 0xFF to 0x00. A second write
to the CRAM DAT register loads the plane 0 or 1 data for the next eight cursor pixels, and so on. Update
of the entire cursor RAM requires 1024 writes to the CRAM DAT register.
To read from the cursor RAM, the address of the first cursor RAM location to be read is loaded using the
CRAM A98 bits in the CUR ICTL register and the PRAM RAD register. Then, a read is performed on the
CRAM DAT register (direct register: 1011) which reads the plane 0 or 1 data for eight consecutive pixels.
Similar to the cursor RAM write operation, when the read is completed, the CRAM A98 registers and the
PRAM RAD register are automatically incremented and further reads read successive cursor RAM
locations. Upload of the entire cursor RAM requires 1024 reads of the CRAM DAT register.
NOTE:
Internally, the entire 10-bit address is loaded into the address counter after a write
to the PRAM WAD or PRAM RAD register (direct register: 0000 or 0011), so the
CRAM A98 bits should be written to first, if they are to be changed.
Vertical retrace is determined by detecting 2048 or 4096 pixel clocks between rising
edges of the internal BLANK signal. The V DETECT bit in the CUR ICTL register
selects 2048 when 0 and 4096 when 1.
244
Byte 000
Byte 001
Byte 008
Byte 009
Byte 1F8
Byte 1F9
Byte 007
Byte 00F
Byte 1FF
. . . . . . . .
. . . . . . . .
.
.
.
.
.
. . . . . . . .
D7
D5
D3
D1
8 Pixels
64
Pixels
64
Pixels
Upper Left Corner of Cursor as
Displayed on Screen
Byte 200
Byte 201
Byte 208
Byte 209
Byte 3F8
Byte 3F9
Byte 207
Byte 20F
Byte 3FF
. . . . . . . .
. . . . . . . .
.
.
.
.
.
. . . . . . . .
8 Pixels
64
Pixels
64
Pixels
CURSOR PLANE 0
CURSOR PLANE 1
Upper Left Corner of Cursor as
Displayed on Screen
First Displayed Pixel
(Leftmost)
First Displayed Pixel
(Leftmost)
D6
D4
D2
D0
D7
D5
D3
D1
D6
D4
D2
D0
Figure 212. Cursor-RAM Organization
2.13.2
Cursor Positioning
The cursor position (x,y) registers are used to position the 64
64 cursor on the display screen. The cursor
position (x,y) registers specify the location of the cursor bottom right corner on the display screen relative
to the end of the internal BLANK signal. Figure 213 shows the orientation of the x,y coordinates for
positioning the cursor.
245
The values written to the cursor position registers represent the position of the bottom right corner of the
cursor. If zero is written to the cursor position x or cursor position y registers the cursor is off screen. If the
cursor position (x,y) is (1,1), only a single pixel of the cursor [cursor (63,63)] is displayed and it appears at
the upper left corner of the screen [screen (0, 0)].
If the upper left corner of the cursor is preferred as a reference, determine the screen (x,y) coordinate where
cursor (0, 0) is to be positioned. Then add 64 (0x40) to the x coordinate and add 64 (0x40) to the y coordinate
and write these values to the cursor position (x, y) registers. For example, if the upper left corner of the cursor
is to be positioned at screen (0, 0) write (0x40, 0x40) to the cursor position (x, y) registers.
BLANK
X
Y
Active Display Area
64
64 Cursor Area
Cursor Position (X, Y)
Cursor (0,0)
Screen (0,0)
BLANK
Cursor Position (X,Y) = Screen (X,Y) Where Cursor (0,0) is Located + (64,64)
Figure 213. Cursor-Positioning
2.13.3
Three-Color 64
64 Cursor
The 64
64
2 cursor RAM provides two bits of cursor information on every dot clock cycle during the
64
64 cursor window. CCR(1,0) specify whether the XGA mode (10) or X-Windows mode (11) or 3-color
mode (01) is used to interpret the cursor information. When CCR(1,0) = 00, the cursor is disabled. The cursor
enable/disable and mode select may also be programmed with the direct cursor control register. The two
bits of cursor pixel data determine the cursor appearance as shown in Table 261.
Table 261. Cursor Color Selection Modes
RAM
COLOR SELECTION
PLANE 1
PLANE 0
3-COLOR MODE
XGA MODE
X-WINDOWS MODE
0
0
Transparent
Cursor color 0
Transparent
0
1
Cursor color 0
Cursor color 1
Transparent
1
0
Cursor color 1
Transparent
Cursor color 0
1
1
Cursor color 2
Complement
Cursor color 1
NOTES:
2. Cursor color 0, 1, and 2: These colors are set by writing to the cursor color registers.
3. Transparent: The underlying pixel color is displayed.
4. Complement: The ones complement of the underlying pixel color is displayed.
2.13.4
Interlaced Cursor Operation
The cursor supports an interlaced display when the INTRLACE bit in the CUR ICTL register is enabled. For
the following discussion, an interlaced display consisting of an even field of scan lines numbered 0, 2,
4,...etc., and an odd field of scan lines numbered 1, 3, 5,...etc is assumed. Scan line 0 is the first scan line
at the top of the display. When interlaced mode is enabled and cursor-position y (CPy) is greater than 64
(0x40) and less than or equal to 4095 (0xFFF), the first cursor line displayed depends on the state of the
ODD/EVEN terminal and value of CPy.
246
If CPy is an even number, the data in row 0 of the cursor RAM array is displayed during the even field followed
by rows 2, 4, ..., 62 on successive scan lines. The data in row 1 of the cursor RAM array is displayed during
the odd field followed by rows 3, 5, ..., 63 on successive scan lines.
If CPy is an odd number, the data in row 0 of the cursor RAM array is displayed during the odd field followed
by rows 2, 4, ..., 62 on successive scan lines. The data in row 1 of the cursor RAM array is displayed during
the even field followed by rows 3, 5, ..., 63 on successive scan lines.
If CPy is between 0 and 64 (0x40), the cursor is partially off the top of the screen. In this case, the data in
the first displayed row of the cursor RAM (row N) is always displayed on scan line 0, which is the first scan
line of the even field, followed by cursor rows N + 2, N + 4,...etc., on successive scan lines. The data in cursor
row N+1 is displayed on scan line 1, which is the first scan line of the odd field, followed by cursor rows
N + 3, N + 5,...etc., on successive scan lines.
The FIELD INV bit of the CUR ICTL register allows the polarity of the received ODD/EVEN signal to be
inverted.
2.14 Overscan Border
The TVP3033 provides the capability to produce a custom screen border using the overscan function. The
overscan function is enabled by the OVS ENBL bit of the GEN CTL1 register. The overscan color is
user-programmable by loading the overscan color red, green, and blue registers as described in
Section 2.3,
Cursor Color Registers.
If the overscan function is enabled (OVS ENBL = 1), the overscan color is displayed any time that OVS is
high and BLANK is low (active). The blanking pedestal will be imposed on the analog outputs when both
OVS and BLANK are low. If overscan is disabled, then the blanking pedestal occurs whenever BLANK is
low.
The OVS terminal is always sampled by LCLKA. Figure 214 demonstrates the use of the OVS terminal
to produce a custom overscan screen border.
OVS
BLANK
Overscan Border
Display Area
Figure 214. Overscan Border
247
2.15 Video Encoder Interface
The video encoder interface enables simultaneous output of computer graphics to a computer monitor and
to a TV or VCR when used with a companion video encoder device. Since the TV signal is encoded from
the color palette internal pixel stream, the TV display can make use of the hardware cursor, digital mixing,
and interpolation features of the device.
Terminals P(12796) of the pixel bus assume this alternate function when the video encoder interface is
enabled as shown in Table 262. The pixel data is driven out with an independent set of video controls
(VEHSYNC, VEVSYNC, VEBLANK) and a synchronous clock (VECLK). Operation of this interface is
intended for up to 640
480 resolution with a maximum pixel clock frequency of 30 MHz.
When the video encoder interface is enabled, P(630) are available for pixel data input using the standard,
dual-32, or 4
32 configurations. The VEI CNTL register shown in Table 264 is used to enable this function
and to select the output polarity of VEHSYNC and VEVSYNC.
Table 262. Terminal Definitions for Video Encoder Interfacing
ALTERNATE TERMINAL DEFINITIONS WHEN
VIDEO ENCODER INTERFACE IS ENABLED
PIXEL BUS
TERMINAL
VIDEO ENCODER
OUTPUT SIGNAL
COMMENT
P127
VECLK
Synchronous clock output
P126
VEBLANK
Blank output
P125
VEHSYNC
HSYNC output
P124
VEVSYNC
VSYNC output
P123 P120
RESERVED
P119 P112
VERED7 VERED0
Red pixel data outputs (7 = MSB)
P111 P104
VEGRN7 VEGRN0
Green pixel data outputs (7 = MSB)
P103 P96
VEBLU7 VEBLU0
Blue pixel data outputs (7 = MSB)
Table 263. Video Encoder Interface Control Register (VEI CNTL)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
VEI ENBL
RESERVED
VS INVRT
HS INVRT
Table 264. Video Encoder Interface Control Register (VEI CNTL)
Index: 0x1F Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
VEI ENBL
0: Disable (default)
Video encoder interface function
VEI ENBL
1: Enable
enable
RESERVED
0: Output on VEVSYNC has same polarity as VSYNC input
VS INVRT
y
terminal (default)
Vertical sync output inversion control
VS INVRT
1: Output on VEVSYNC has opposite polarity as VSYNC
input terminal
Vertical sync output inversion control
0: Output on VEHSYNC has same polarity as HSYNC
HS INVRT
y
input terminal (default)
Horizontal sync output inversion
HS INVRT
1: Output on VEHSYNC has opposite polarity as HSYNC
input terminal
y
control
248
2.16 Test Functions
The TVP3033 provides several functions that enable system testing and verification. These are detailed in
the following sections.
2.16.1
16-Bit CRC
A 16-bit cyclic redundancy check (CRC) is provided so that video data integrity can be verified at the input
to the DACs. The CRC is updated when two consecutive HSYNC pulses are detected while BLANK is active
(vertical retrace). For use of the CRC function, HSYNC must be active low at the input to the TVP3033. The
CRC is only calculated on the active screen area; i.e., active blank stops the calculation. One complete
vertical screen must be completed to generate a valid CRC.
The CRC can be performed on any of the 24 data lines that enter the DACs and is controlled by the CRC
SEL register. Values from 0 to 23 (0x17) may be written to this register to select between the 24 different
DAC data inputs. Value 0 corresponds to DAC data red 0 (LSB), value 7 to red 7 (MSB), value 8 to green
0 (LSB), value 15 to green 7 (MSB), value 16 to blue 0 (LSB), and value 23 to blue 7 (MSB). The 16-bit
remainder that is calculated on the individual DAC data line can be read from the CRC LSB and CRC MSB
registers.
As long as the display pattern for each screen remains fixed, the CRC result should remain constant. If the
CRC result changes, an error condition should be assumed. The CRC is calculated using the algorithm
depicted by the circuit in Figure 215. The user could calculate and store the CRC remainder for a test
screen in software, and compare this to the TVP3033 calculated CRC remainder to verify data integrity.
D Q
15
D Q
14
D Q
13
D Q
12
D Q
11
D Q
10
D Q
9
D Q
8
D Q
7
DQ
6
D Q
5
D Q
4
D Q
3
D Q
2
D Q
1
D Q
0
DATAIN
Q0
MSB
LSB
Figure 215. CRC Algorithm
2.16.2
Sense Comparator Output and Test Register
The TVP3033 provides a set of analog comparators that can be used to determine the presence of the CRT
monitor or verify that the RGB termination is correct. Each analog output is compared with an internal
350-mV reference. The internal reference has a tolerance of
50 mV when using an external 1.235-V
reference. If the internal voltage reference is used, the tolerance will be higher.
The SENS TST register is used to enable the comparator function and to read the comparison results for
the red, green, and blue comparators independently. When the sense test register is read, the results are
indicated as shown in Table 266.
249
Table 265. Sense Test Register (SENS TST)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
DISABLE
RESERVED
RED CMP
GRN CMP
BLU CMP
Table 266. Sense Test Register (SENS TST)
Index: 0x3A Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
DISABLE
0: Sense comparator function enabled (default)
Disable control for sense comparator function
DISABLE
1: Sense comparator function disabled
Disable control for sense comparator function
Reserved
0000: Always program to 0000
RED CMP
0: IOR is < 350 mV
Red comparator result
RED CMP
1: IOR is > 350 mV
Red comparator result
GRN CMP
0: IOG is < 350 mV
Green comparator result
GRN CMP
1: IOG is > 350 mV
Green comparator result
BLU CMP
0: IOB is < 350 mV
Blue comparator result
BLU CMP
1: IOB is > 350 mV
Blue comparator result
NOTES:
5. The DISABLE bit can be set to 1 to disable the sense comparison function. At reset, the sense comparison
is enabled. If the SENS TST register is written to disable the sense comparator function, bits 60 need to
be set to 0.
6. The SENS TST register is latched by the falling edge of the internally sampled BLANK signal. In order to
have stable voltage inputs to the comparators, the frame buffer inputs should be set such that data entering
the DACs remains unchanged for a sufficient period of time prior to and after the BLANK signal falling edge.
2.16.3
Device Identification Code
The DEV ID register (index: 0x3F) allows software identification of the device for different versions of the
system design. The DEV ID register is read-only. The value defined for the TVP3033 is 0x33.
2.16.4
Silicon Revision
The silicon revision register (index: 0x01) is a read-only register that enables software to identify the silicon
revision of the TVP3033. This number is initially 0x00. A major revision number is stored in bits 74 and a
minor revision number is stored in bits 30.
2.17 Reset
There are two ways to reset the TVP3033. The RESET input terminal can be used to perform a hardware
reset. Alternatively, the device has an integrated software reset function. A hardware reset is initiated by
pulling the RESET input terminal low. When this is done, all TVP3033 registers go to default states. This
reset is asynchronous, and any glitch on this terminal could change the intended register setup. The default
state at reset is VGA mode, and all default register settings are listed in Table 22. If a reset is desired at
power-up, an external resistor capacitor diode network can be connected to the RESET terminal. If TTL logic
is employed to provide the signal to the RESET terminal, a pull-up resistor should be used to make sure that
CMOS levels are achieved.
For software reset, anytime the SOFT RST register (index: 0xFF) is written to, all registers are initialized
to the default settings. The data written into the reset register is ignored.
2.18 Analog Output Specifications
The DAC outputs are controlled by three current sources (only two for IOR and IOB) as shown in
Figure 216. The default condition is to have 0 IRE difference between blank and black levels, which is
shown in Figure 218. If a 7.5 IRE pedestal is desired, it can be selected by setting bit GCR4 of the general
control register. This video output is shown in Figure 217.
250
A resistor (RSET) is needed between the FS ADJUST terminal and GND to control the magnitude of the
full-scale video signal. The IRE relationships in Figure 217 and Figure 218 are maintained regardless of
the full-scale output current.
The relationship between RSET and the full-scale output current IOG is:
RSET (ohms) = K1 X VREF (v) / IOG (mA)
The full-scale output current on IOR and IOB for a given RSET is:
IOR, IOB (mA) = K2 X VREF (v) / RSET (ohms)
where K1 and K2 are defined as:
IOG
IOR, IOB
Pedestal
8-Bit Output
6-Bit Output
8-Bit Output
6-Bit Output
7.5 IRE
K1 = 11,294
K1 = 11,206
K2 = 8,067
K2 = 7,979
0 IRE
K1 = 10,684
K1 = 10,600
K2 = 7,462
K2 = 7,374
C (stray + load)
IOG
RL
15 pF
G <0:7>
BLANK
SYNC
(IOG Only)
VAA
Figure 216. Equivalent Circuit of the IOG Current Output
251
White
Black
Blank
Sync
92.5 IRE
[mA]
26.67
9.05
7.62
0.00
[V]
1.000
0.340
0.286
0.000
[mA]
19.05
1.44
0.00
[V]
0.714
0.054
0.000
Green
Red/Blue
7.5 IRE
40 IRE
Figure 217. Composite Video Output (With 7.5 IRE, 8-Bit Output)
White
Black/
Blank
Sync
100 IRE
43 IRE
[mA]
25.24
7.62
0.00
[V]
0.950
0.286
0.000
[mA]
17.62
0.00
[V]
0.660
0.000
Green
Red/Blue
Figure 218. Composite Video Output (With 0 IRE, 8-Bit Output)
252
2.19 Other Register Definitions
Table 267. General Control Register 1 (GEN CTL1)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RSVD
OVS ENBL
SOG ENBL
PEDESTAL
DAC BITS
RSVD
VS INV
HS INV
Table 268. General Control Register 1 (GEN CTL1)
Index: 0x1D Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
RESERVED
OVS ENBL
0: Disabled (default)
Overscan border function enable
OVS ENBL
1: Enabled
Overscan border function enable
SOG ENBL
0: IOG output includes no sync information (default)
Output sync on green analog
SOG ENBL
1: IOG output includes horizontal and vertical sync information
y
g
g
output (IOG) enable
0: 0 IRE blanking pedestal. Black level and blank level are the
PEDESTAL
g
same (default).
Blanking pedestal control
PEDESTAL
1: 7.5 IRE blanking pedestal. Black level is 7.5 IRE above blank
level.
Blanking pedestal control
0: 6-bit resolution. Six bits each are used to specify the red,
green and blue color fields stored in the color palette RAM
DAC BITS
green, and blue color fields stored in the color palette RAM
(default).
Color palette RAM bits per color
1: 8-bit resolution. Eight bits each are used to specify the red,
green, and blue color fields stored in the color palette RAM.
RESERVED
0: Do not invert VSYNC before passing to VSYNCOUT output
VS INV
g
(default)
Inversion control for VSYNCOUT
1: Invert VSYNC before passing to VSYNCOUT output
0: Do not invert HSYNC before passing to HSYNCOUT output
HS INV
g
(default)
Inversion control for HSYNCOUT
1: Invert HSYNC before passing to HSYNCOUT output
253
Table 269. Power Down Control Register (PWR CNTL)
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
PULL UPS
RESERVED
CRC PWR
KEY PWR
RAM PWR
DAC PWR
CLK PWR
Table 270. Power Down Control Register (PWR CNTL)
Index: 0x1E Access: R/W Default: 0x00
BIT NAME
VALUE
DESCRIPTION
0: Disabled. No pull-up current on pixel bus terminals
PULL UPS
P127P0 (default).
Pixel bus pull up enable
PULL UPS
1: Enabled. Weak 5-uA pull-up current on pixel bus
terminals P127P0.
Pixel bus pull-up enable
RESERVED
CRC PWR
0: Normal operation (default)
CRC power down control
CRC PWR
1: Power down CRC circuitry
CRC power down control
KEY PWR
0: Normal operation (default)
Color key power down control
KEY PWR
1: Power down color-key circuitry
Color-key power down control
RAM PWR
0: Normal operation (default)
Palette RAM power down control
RAM PWR
1: Power down palette RAM (contents preserved)
Palette RAM power down control
DAC PWR
0: Normal operation (default)
DAC power down control
DAC PWR
1: Power down DACs
DAC power down control
CLK PWR
0: Normal operation (default)
Internal dot clock power down control
CLK PWR
1: Disable internal dot clock
Internal dot clock power down control
254
31
3 Electrical Characteristics
3.1
Absolute Maximum Ratings Over Operating Free-Air Temperature Range
(unless otherwise noted)
Supply voltage, V
DD
(see Note 1)
7 V
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input voltage range, V
I
0.5 V to V
DD
+ 0.5 V
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog output short-circuit duration to any power supply or common
unlimited
. . . . . . . . .
Operating free-air temperature range, T
A
0
C to 70
C
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Storage temperature range, T
stg
65
C to 150
C
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Junction temperature, T
J
175
C
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Case temperature for 10 seconds: PPA package
260
C
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lead temperature 1,6 mm (1/16 inch) from case for 10 seconds
260
C
. . . . . . . . . . . . . . .
Stresses beyond those listed under "absolute maximum ratings" may cause permanent damage to the device. These
are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated
under "recommended operating conditions" is not implied. Exposure to absolute-maximum-rated conditions for
extended periods may affect device reliability.
NOTE 1: All voltage values are with respect to GND.
3.2
Recommended Operating Conditions
MIN
NOM
MAX
UNIT
Supply voltages, AVDD, DVDD
3.1
3.3
3.5
V
Reference voltage, Vref
1.15
1.235
1.26
V
High-level input voltage, VIH
2.4
VDD+0.5
V
Low-level input voltage, VIL
0.8
V
Output load resistance, RL
37.5
FS ADJUST resistor, RSET
523
Operating free-air temperature, TA
0
70
C
32
3.3
Electrical Characteristics
PARAMETER
TEST
CONDITIONS
MIN
TYP
MAX
UNIT
VOH
High-level output voltage
IOH = 800
A
2.4
V
VOL
Low-level output
voltage
D(70), RCLKA, RCLKB,
PCLK, MCLK, WINDOW,
AMUXCTL
IOL = 3.2 mA
0.4
V
g
HSYNCOUT, VSYNCOUT
IOL = 15 mA
0.4
IIH
High-level input
current
TTL inputs
VI = 2 V
1
A
IIL
Low-level input
current
TTL inputs
VI = 0.8 V
1
A
TVP3033-175
800
IDD
Supply current
TVP3033-220
950
mA
TVP3033-250
1100
IOZ
High-impedance-state output current
10
A
Ci
Input capacitance
TTL inputs
f = 1 MHz,
VI = 2 V
4
pF
All typical values are at VDD = 3.3 V, TA = 25
C.
33
3.4
Operating Characteristics
PARAMETER
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Resolution (each DAC)
8-bit mode
8
bits
Resolution (each DAC)
6-bit mode
6
bits
EL
End-point linearity error
8-bit mode
1
LSB
EL
y
(each DAC)
6-bit mode
1/4
LSB
ED
Differential linearity error
8-bit mode
1
LSB
ED
y
(each DAC)
6-bit mode
1/4
LSB
Gray scale error
5%
White level relative to blank
17.69
19.05
20.4
mA
White level relative to black
(7.5 IRE only)
16.74
17.62
18.5
mA
Black level relative to blank
(7.5 IRE only)
0.95
1.44
1.9
mA
Output current (see Note 2)
Blank level on IOR, IOB
0
5
50
A
Output current (see Note 2)
Blank level on IOG (with SYNC
enabled)
6.29
7.6
8.96
mA
Sync level on IOG (with SYNC
enabled)
0
5
50
A
One LSB (8/6 high)
69.1
A
One LSB (8/6 low)
276.4
A
DAC-to-DAC matching
2%
5%
DAC-to-DAC crosstalk
20
dB
Output compliance
1
1.2
V
Voltage reference output voltage
1.15
1.235
1.26
V
Output impedance
50
k
Output capacitance
f = 1 MHz,
IOUT = 0
13
pF
Sense voltage reference
300
350
400
mV
Clock and data feedthrough
20
dB
Glitch area (see Note 3)
50
pVs
Pipeline delay, pixel port
4 LCLK
+27 DOT
periods
Pixel clock PLL
Lock time
5
ms
Pixel clock PLL,
MCLK PLL SYNC A
Lock time
5
ms
MCLK PLL, SYNC A
PLL SYNC B PLL
Jitter
"
200
ps
PLL, SYNC B PLL
Jitter
"
200
ps
NOTES:
2. Test conditions for RS343-A video signals (unless otherwise specified): "Recommended Operating
Conditions", using external voltage reference Vref = 1.235 V, RSET = 523
. When using the internal voltage
reference, RSET may need to be adjusted in order to meet these limits.
3. Glitch area does not include clock and data feedthrough. The 3-dB test bandwidth is twice the clock rate.
34
3.5
Timing Requirements (see Note 4)
TVP3033
-175
TVP3033
-220
TVP3033
-250
UNIT
MIN
MAX
MIN
MAX
MIN
MAX
DOTCLK frequency
175
220
250
MHz
Pixel clock PLL
Internal frequency
175
220
250
MHz
Pixel clock PLL
PCLK frequency
110
110
110
MHz
MCLK PLL frequency
100
100
100
MHz
VCO frequency for pixel clock PLL, MCLK PLL,
SYNC A PLL, and SYNC B PLL
110
220
110
220
110
250
MHz
CLK0 frequency for VGA mode
85
85
85
MHz
tcyc
Clock cycle time
TTL
7.1
7.1
7.1
ns
tsu1 Setup time, RS(3 0) valid before RD or WR
17
17
17
ns
th1
Hold time, RS(3 0) valid after RD or WR
17
17
17
ns
tsu2 Setup time, D(7 0) valid before WR
35
35
35
ns
th2
Hold time, D(7 0) valid after WR
0
0
0
ns
tsu3
Setup time, VGA(7 0) and HSYNC, VSYNC, and
BLANK valid before CLK0
4
4
4
ns
th3
Hold time, VGA(7 0) and HSYNC, VSYNC, and
BLANK valid after CLK0
4
4
4
ns
tsu4
Setup time, P(127 0) and PSEL valid before
LCLKA
5
5
5
ns
th4
Hold time, P(127 0) and PSEL valid after LCLKA
4
4
4
ns
tsu5
Setup time, HSYNC, VSYNC, and OVS valid before
LCLKA
5
5
5
ns
th5
Hold time, HSYNC, VSYNC, and OVS valid after
LCLKA
1
1
1
ns
tsu6 Setup time, BLANK valid before LCLKA
3
3
3
ns
th6
Hold time, BLANK valid after LCLKA
4
4
4
ns
tw1
Pulse duration, RD or WR low
60
60
60
ns
tw2
Pulse duration, RD or WR high
40
40
40
ns
tw3
Pulse duration, clock high
TTL
3
2
2
ns
tw4
Pulse duration, clock low
TTL
3
2
2
ns
NOTES:
4. TTL input signals are 0 to 3 V with less than 3 ns rise/fall time between the 10% and 90% levels unless
otherwise specified. For input and output signals, timing reference points are at the 10% and 90% signal
levels. Analog output loads are less than 10 pF. D7 D0 output loads are less than 50 pF. All other output
loads are less than 50 pF unless otherwise specified.
35
3.6
Switching Characteristics
PARAMETER
TVP3033- 175
TVP3033-220
TVP3033-250
UNIT
UNIT
MIN
TYP
MAX
MIN
TYP
MAX
MIN
TYP
MAX
RCLK frequency
(see Note 5)
85
85
85
MHz
ten1
Enable time, RD low to
D(7 0) valid
40
40
40
ns
tdis1
Disable time, RD high to
D(7 0) disabled
17
17
17
ns
tv1
Valid time, D(7 0) valid
after RD high
5
5
5
ns
td1
Delay time, RD low to
D(7 0) starting to turn on
5
5
5
ns
td2
Delay time, CLK0 to
DOTCLK (internal signal)
high/low
7
7
7
ns
td6
Analog output settling
time (see Note 6)
5
5
4
ns
tr
Analog output rise time (see
Note 7)
2
2
2
ns
Analog output skew
0
2
0
2
0
2
ns
NOTES:
5. RCLKA and RCLKB can drive an output capacitive load up to 15 pF. The worst-case transition time between
the 10% and 90% levels is less than 4 ns (typical 3 ns).
6. Measured from 50% point of full-scale transition to output settling, within
1 LSB (settling time does not
include clock and data feedthrough).
7. Measured between 10% and 90% of full-scale transition.
3.7
Timing Diagrams
Valid
Data Out, RD Low
Data In,
WR Low
RS3 RS0
RD,WR
D7 D0
D7 D0
tsu1
th1
tw1
tw2
ten1
tdis1
td1
tsu2
th2
tv1
Figure 31. MPU Interface Timing
36
Data
Data
Data
VGA7 0, HSYNC,
VSYNC, BLANK
(VGA MODE)
CLK0, CLK1
DOTCLK
(internal signal)
LCLKA, LCLKB
P 1270, PSEL
HSYNC, VSYNC,
BLANK, OVS
IOR, IOG, IOB
tcyc
tw3
tw4
td2
td2
tsu3
th3
tsu4
th4
tsu5, tsu6
th5, th6
td6
tr
Figure 32. Video Input /Output Timing
A-1
Appendix A
Pixel Bus Data Formats
A.1
List of Tables
Table
Title
Page
A-1
RGB Modes, Non-Packed, Bits 630, Little-Endian
A-2
A-2
RGB Modes, Non-Packed, Bits 12764, Little-Endian
A-4
A-3
Packed RGB Mode, Bits 630, Little-Endian
A-6
A-4
Packed RGB Mode, Double Buffered, Bits 630, Little-Endian
A-8
A-5
Packed Modes, Bits 12764, Little-Endian
A-10
A-6
RGB Modes, Non-Packed, Bits 630, Big-Endian
A- 12
A-7
RGB Modes, Non-Packed, Bits 12764, Big-Endian
A- 14
A-8
Packed RGB Mode, Bits 630, Big-Endian
A- 16
A-9
Packed RGB Mode, Double Buffered, Bits 630, Big-Endian
A- 18
A-10
Packed Modes, Bits 12764, Big-Endian
A- 20
A-2
Table A-1. RGB Modes, Non-Packed, Bits 630, Little-Endian
MODE
0 = PSEUDO
1 = OVERLAY + RGB
3 = RGB
SUB
MODE
N/A
0 = 4444
1 = 1555
2 = 8888
3 = 8444 DB
1 = 555 DB
3 = 565
DESCRIPT
INDEXED
ORGB
ORGB
ORGB
DBUF SEL
FD = 0
FD = 1
RGB
COL
DEPTH
8
16
16
32
32
32
16
BUS
WIDTH
128
128
128
128
128
128
128
P63
P7H
O3D
O0D
O7B
O7B
T0B
T0B
R4D
P62
P6H
O2D
R4D
O6B
O6B
R4B
R3D
P61
P5H
O1D
R3D
O5B
O5B
R3B
R2D
P60
P4H
O0D
R2D
O4B
O4B
R2B
R1D
P59
P3H
R3D
R1D
O3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
B3Af
B3A
B3A
P02
P2A
B2A
B2A
B2A
B2Af
B2A
B2A
P01
P1A
B1A
B1A
B1A
B1Af
B1A
B1A
P00
P0A
B0A
B0A
B0A
B0Af
B0A
B0A
A-4
Table A-2. RGB Modes, Non-Packed, Bits 12764, Little-Endian
MODE
0 = PSEUDO
1 = OVERLAY + RGB
3 = RGB
SUB
MODE
N/A
0 = 4444
1 = 1555
2 = 8888
3 = 8444 DB
1 = 555 DB
3 = 565
DESCRIPT
INDEXED
ORGB
ORGB
ORGB
DBUF SEL
FD = 0
FD = 1
RGB
COL
DEPTH
8
16
16
32
32
32
16
BUS
WIDTH
128
128
128
128
128
128
128
P127
P7P
O3H
O0H
O7D
O7D
T0D
T0D
R4H
P126
P6P
O2H
R4H
O6D
O6D
R4D
R3H
P125
P5P
O1H
R3H
O5D
O5D
R3D
R2H
P124
P4P
O0H
R2H
O4D
O4D
R2D
R1H
P123
P3P
R3H
R1H
O3D
O3D
R1D
R0H
P122
P2P
R2H
R0H
O2D
O2D
R0D
G5H
P121
P1P
R1H
G4H
O1D
O1D
G4D
G4H
P120
P0P
R0H
G3H
O0D
O0D
G3D
G3H
P119
P7O
G3H
G2H
R7D
R3Db
G2D
G2H
P118
P6O
G2H
G1H
R6D
R2Db
G1D
G1H
P117
P5O
G1H
G0H
R5D
R1Db
G0D
G0H
P116
P4O
G0H
B4H
R4D
R0Db
B4D
B4H
P115
P3O
B3H
B3H
R3D
R3Df
B3D
B3H
P114
P2O
B2H
B2H
R2D
R2Df
B2D
B2H
P113
P1O
B1H
B1H
R1D
R1Df
B1D
B1H
P112
P0O
B0H
B0H
R0D
R0Df
B0D
B0H
P111
P7N
O3G
O0G
G7D
G3Db
R4G
P110
P6N
O2G
R4G
G6D
G2Db
R4D
R3G
P109
P5N
O1G
R3G
G5D
G1Db
R3D
R2G
P108
P4N
O0G
R2G
G4D
G0Db
R2D
R1G
P107
P3N
R3G
R1G
G3D
G3Df
R1D
R0G
P106
P2N
R2G
R0G
G2D
G2Df
R0D
G5G
P105
P1N
R1G
G4G
G1D
G1Df
G4D
G4G
P104
P0N
R0G
G3G
G0D
G0Df
G3D
G3G
P103
P7M
G3G
G2G
B7D
B3Db
G2D
G2G
P102
P6M
G2G
G1G
B6D
B2Db
G1D
G1G
P101
P5M
G1G
G0G
B5D
B1Db
G0D
G0G
P100
P4M
G0G
B4G
B4D
B0Db
B4D
B4G
P99
P3M
B3G
B3G
B3D
B3Df
B3D
B3G
P98
P2M
B2G
B2G
B2D
B2Df
B2D
B2G
P97
P1M
B1G
B1G
B1D
B1Df
B1D
B1G
P96
P0M
B0G
B0G
B0D
B0Df
B0D
B0G
A-5
Table A-2. RGB Modes, Non-Packed, Bits 12764, Little-Endian (Continued)
MODE
0 = PSEUDO
1 = OVERLAY + RGB
3 = RGB
SUB
MODE
N/A
0 = 4444
1 = 1555
2 = 8888
3 = 8444 DB
1 = 555 DB
3 = 565
DESCRIPT
INDEXED
ORGB
ORGB
ORGB
DBUF SEL
FD = 0
FD = 1
RGB
COL
DEPTH
8
16
16
32
32
32
16
BUS
WIDTH
128
128
128
128
128
128
128
P95
P7L
O3F
O0F
O7C
O7C
T0C
T0C
R4F
P94
P6L
O2F
R4F
O6C
O6C
R4C
R3F
P93
P5L
O1F
R3F
O5C
O5C
R3C
R2F
P92
P4L
O0F
R2F
O4C
O4C
R2C
R1F
P91
P3L
R3F
R1F
O3C
O3C
R1C
R0F
P90
P2L
R2F
R0F
O2C
O2C
R0C
G5F
P89
P1L
R1F
G4F
O1C
O1C
G4C
G4F
P88
P0L
R0F
G3F
O0C
O0C
G3C
G3F
P87
P7K
G3F
G2F
R7C
R3Cb
G2C
G2F
P86
P6K
G2F
G1F
R6C
R2Cb
G1C
G1F
P85
P5K
G1F
G0F
R5C
R1Cb
G0C
G0F
P84
P4K
G0F
B4F
R4C
R0Cb
B4C
B4F
P83
P3K
B3F
B3F
R3C
R3Cf
B3C
B3F
P82
P2K
B2F
B2F
R2C
R2Cf
B2C
B2F
P81
P1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R4A
R3A
P00
P7A
O3A
O0A
O7A
O7A
T0A
T0A
R4A
A-14
Table A-7. RGB Modes, Non-Packed, Bits 12764, Big-Endian
MODE
0 = PSEUDO
1 = OVERLAY + RGB
3 = RGB
SUB
MODE
N/A
0 = 4444
1 = 1555
2 = 8888
3 = 8444 DB
1 = 555 DB
3 = 565
DESCRIPT
INDEXED
ORGB
ORGB
ORGB
DBUF SEL
FD = 0
FD = 1
RGB
COL
DEPTH
8
16
16
32
32
32
16
BUS
WIDTH
128
128
128
128
128
128
128
P127
P0P
B0H
B0H
B0D
B0Df
B0D
B0H
P126
P1P
B1H
B1H
B1D
B1Df
B1D
B1H
P125
P2P
B2H
B2H
B2D
B2Df
B2D
B2H
P124
P3P
B3H
B3H
B3D
B3Df
B3D
B3H
P123
P4P
G0H
B4H
B4D
B0Db
B4D
B4H
P122
P5P
G1H
G0H
B5D
B1Db
G0D
G0H
P121
P6P
G2H
G1H
B6D
B2Db
G1D
G1H
P120
P7P
G3H
G2H
B7D
B3Db
G2D
G2H
P119
P0O
R0H
G3H
G0D
G0Df
G3D
G3H
P118
P1O
R1H
G4H
G1D
G1Df
G4D
G4H
P117
P2O
R2H
R0H
G2D
G2Df
R0D
G5H
P116
P3O
R3H
R1H
G3D
G3Df
R1D
R0H
P115
P4O
O0H
R2H
G4D
G0Db
R2D
R1H
P114
P5O
O1H
R3H
G5D
G1Db
R3D
R2H
P113
P6O
O2H
R4H
G6D
G2Db
R4D
R3H
P112
P7O
O3H
O0H
G7D
G3Db
R4H
P111
P0N
B0G
B0G
R0D
R0Df
B0D
B0G
P110
P1N
B1G
B1G
R1D
R1Df
B1D
B1G
P109
P2N
B2G
B2G
R2D
R2Df
B2D
B2G
P108
P3N
B3G
B3G
R3D
R3Df
B3D
B3G
P107
P4N
G0G
B4G
R4D
R0Db
B4D
B4G
P106
P5N
G1G
G0G
R5D
R1Db
G0D
G0G
P105
P6N
G2G
G1G
R6D
R2Db
G1D
G1G
P104
P7N
G3G
G2G
R7D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Db
R3Ib
B3Ob
P79
B0D
G0I
R0N
B0Df
G0If
R0Nf
P78
B1D
G1I
R1N
B1Df
G1If
R1Nf
P77
B2D
G2I
R2N
B2Df
G2If
R2Nf
P76
B3D
G3I
R3N
B3Df
G3If
R3Nf
P75
B4D
G4I
R4N
B0Db
G0Ib
R0Nb
P74
B5D
G5I
R5N
B1Db
G1Ib
R1Nb
P73
B6D
G6I
R6N
B2Db
G2Ib
R2Nb
P72
B7D
G7I
R7N
B3Db
G3Ib
R3Nb
P71
R0C
B0I
G0N
R0Cf
B0If
G0Nf
P70
R1C
B1I
G1N
R1Cf
B1If
G1Nf
P69
R2C
B2I
G2N
R2Cf
B2Ib
G2Nf
P68
R3C
B3I
G3N
R3Cf
B3If
G3Nf
P67
R4C
B4I
G4N
R0Cb
B0Ib
G0Nb
P66
R5C
B5I
G5N
R1Cb
B1Ib
G1Nb
P65
R6C
B6I
G6N
R2Cb
B2Ib
G2Nb
P64
R7C
B7I
G7N
R3Cb
B3Ib
G3Nb
A-22
B-1
Appendix B
PLL Programming
The C program below illustrates an algorithm which can be used to determine register values for the PCLK and MCLK PLLs. The
user enters the target frequency at the PLL output (in MHz). The program scans all possible N, M, and P combinations and tests
for a VCO frequency within the required limits. The program output is the N, M, and P register settings which results in an output
frequency closet to the target frequency.
Often, several N, M, and P combinations result in the same output frequency. In this case, the combination with the smallest N
is chosen. The smallest N produces the highest frequency at the PLLs phase detector and results in the best jitter performance.
The algorithm chooses the smallest N because it starts with the minimum N value and increments up. The first time the final output
frequency is found is the N, M, and P combination with the smallest N. Any subsequent combinations with the same output
frequency are discarded since the criteria for replacement is less than (not less than or equal to).
#include <math.h>
#include <stdio.h>
#define REFERENCE
14.31818
#define MIN_N
2
#define MAX_N
7
#define MIN_M
2
#define MAX_M
255
#define MIN_P
1
#define MAX_P
16
#define MIN_VCO
110.0
#define MAX_VCO
250.0
struct PLLInfo
{
int
n;
int
m;
int
p;
double vco;
double out; };
int PowOf2 (int p);
int main (void)
{
struct PLLInfo temp, result;
double ftarget = 220.0;
int first_pass = 1;
fprintf (stderr, "\nTarget Frequency (MHz) >");
scanf ("%lf",&ftarget);
for (temp.p=MIN_P; temp.p<=MAX_P; temp.p*=2)
{
for (temp.m=MIN_M; temp.m<=MAX_M; temp.m++)
{
B-2
for (temp.n=MIN_N; temp.n<=MAX_M; temp.n++)
{
temp.vco=REFERENCE* (double)temp.m/(double)temp.n;
temp.out=temp.vco/temp.p;
if ((temp.vco>=MIN_VCO) && (temp.vco<=MAX_VCO))
{
if (first_pass)
{
result=temp;
first_pass=0;
}
else if (fabs(temp.out-ftarget)<fabs(result.out-ftarget))
result=temp;
}
}/*for (n...*/
}/*for (m...*/
}/*for (p=...*/
printf("\nPLL Frequency
>%6.2lf MHz", result.out);
printf("\nVCO Frequency
>%6.2lf MHz", result.vco);
printf("\nN-Value Register >%2.2X HEX", result.n);
printf("\nM-Value Register >%2.2X HEX", result.m);
printf("\nP-Value Register >%2.2X HEX\n",PowOf2(result.p)+0x80);
return (0);
}
int PowOf2 (int i)
{
in power=0;
for (;i>1;i/=2)
power++;
return (power);
}
Example Program Execution
Target Frequency (MHz) > 100
PLL Frequency
> 100.23 MHz
VCO Frequency
> 200.45 MHz
N-Value Register
> 02 HEX
M-Value Register
> 1C HEX
P-Value Register
> 81 HEX
C-1
Appendix C
PC-Board Layout Considerations
C.1
PC-Board Considerations
It is recommended that a 4-layer PC board be used with the TVP3033 video interface palette: one layer for 3.3-V power, one for
GND, and two for signals. The layout should be optimized for the lowest noise on the TVP3033 power and ground lines by shielding
the digital inputs and providing good decoupling. The lead length between groups of analog V
DD
and GND terminals (see
Figure C1) should be minimized so as to minimize inductive ringing. The TVP3033 should be located as close as possible to the
output connectors to minimize noise pickup and reflections due to impedance mismatch.
The analog outputs are susceptible to crosstalk from digital lines; digital traces must not be routed under or adjacent to the analog
output traces.
For maximum performance, the analog-video-output impedance, cable impedance, and load impedance should be the same. The
load resistor connection between the video outputs and GND should be as close as possible to the TVP3033 to minimize
reflections. Unused analog outputs should be connected to GND.
Analog output video edges exceeding the CRT monitor bandwidth can be reflected, producing cable-length-dependent ghosts.
Simple pulse filters can reduce high-frequency energy, thus reducing EMI and noise. The filter impedance must match the line
impedance.
C.2
Ground Plane
It is also recommended that only one ground plane be used for both the TVP3033 and the rest of the logic. Separate digital and
analog ground planes are not needed and can potentially cause system problems.
C.3
Power Plane
Split-power planes for the TVP3033 and the rest of the logic are recommended. The TVP3033 VIP analog circuitry should have
its own power plane, referred to as AV
DD
. These two power planes should be connected at a single point through a ferrite bead.
This bead should be located as near as possible to where the power supply connects to the board. To maximize the high-frequency
power supply rejection, the video output signals should not overlay the analog power plane.
C.4
Supply Decoupling
All capacitors should be in surface mount packages. This reduces the lead inductance and is consistent with reliable operation.
For the best performance, a 0.1-
F ceramic capacitor in parallel with a 0.01-
F chip capacitor should be used to decouple each
of the groups of power terminals to GND. These capacitors should be placed as close as possible to the device.
If a switching power supply is used, the designer should pay close attention to reducing power supply noise and consider using
a 3-terminal voltage regulator for supplying power to AV
DD
.
C.5
COMP and REF Terminals
A 0.1-
F ceramic capacitor should be connected between COMP1 and COMP2 to avoid noise and color-smearing problems. A
0.1-
F ceramic capacitor is also recommended between GND and REF to further stabilize the output image. This 0.1-
F capacitor
is needed for either internal or external voltage references. These capacitor values may depend on the board layout;
experimentation may be required in order to determine optimum values.
C.6
Analog Output Protection
The TVP3033 analog output should be protected against high-energy discharges, such as those from monitor arc-over or from
hot-switching ac-coupled monitors.
The diode protection circuit shown in Figure C1 can prevent latch-up under severe discharge conditions without adversely
degrading analog transition times. The IN4148/9 parts are low-capacitance, fast-switching diodes, which are also available in
multiple-device packages (FSA250X or FSA270X) or surface-mountable pairs (BAV99 or MMBD7001).
C.7
PLL Supply
A separate 3.3-V regulator is required for the PLL supply. A typical circuit is shown in Figure C1.
C-2
COMP1
COMP2
DVDD
AVDD
C1C2
C3C4
R1
C13
D1
Vref
C14
L1
C6C12 C15C20
GND
C24
C26
O
I
G
C25
3.3 V Regulator
For Board's Main
3.3 V Supply
5 V
GND
R2
FS ADJUST
IOR
R3
IOG
R4
IOB
R5
To Video Connection
DVDD
Optional Diode
Protection
Circuit
1N148/9
1N148/9
To Monitor
GND
DAC
Output
DVDD
GND
Optional
Power-Up
Reset
RESET
O
I
G
C21
C22
PLLVDD0
PLLVGND
VR1
3.3 V
TVP3033
PLLVDD1
3.3 V
ANALOG VDD
C23
12 V
L2
C5
VR2
REFERENCE DESIGNATOR
DESCRIPTION
C1, C2, C5C13, C24C25
0.1
F-surface-mount, ceramic capacitor
C3, C4, C15C20, C22, C23
0.01
F-surface-mount, chip capacitor
C21, C26
10
F-tantalum capacitor
C14
33
F-tantalum capacitor
D1
TI LM385-1.2 1.2 V voltage reference
L1, L2
ferrite bead
R1
1 k
, 1%, surface mount resistor
R2
523
, 1%, surface mount resistor
R3R5
75
, 1%, surface mount resistor
VR1
TI TPS7233QD 3.3 V voltage regulator, 100 mA
VR2
3.3 V voltage regulator, 510 A
Figure C1.
Typical Connection Diagram and Parts List
D-1
Appendix D
Mechanical Data
PPA (S-PQFP-G208)
PLASTIC QUAD FLATPACK
0,16 NOM
105
104
53
0,27
0,17
0,25
0,75
0,50
0,25 MIN
52
Seating Plane
4040283/A 10/93
Gage Plane
Heat slug
157
208
156
SQ
SQ
1
25,50 TYP
30,80
30,40
28,20
27,80
3,60
3,20
4,10 MAX
0,08
0,50
M
0,08
0
7
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Thermally enhanced molded plastic package with a heat slug (HSL).
D. Falls within JEDEC MO-143
D-2
IMPORTANT NOTICE
Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue
any product or service without notice, and advise customers to obtain the latest version of relevant information
to verify, before placing orders, that information being relied on is current and complete. All products are sold
subject to the terms and conditions of sale supplied at the time of order acknowledgement, including those
pertaining to warranty, patent infringement, and limitation of liability.
TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in
accordance with TI's standard warranty. Testing 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, AUTHORIZED, OR
WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT DEVICES OR SYSTEMS OR OTHER
CRITICAL APPLICATIONS. INCLUSION OF TI PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO
BE FULLY AT THE CUSTOMER'S RISK.
In order to minimize risks associated with the customer's applications, adequate design and operating
safeguards must be provided by the customer to minimize inherent or procedural hazards.
TI assumes no liability for applications assistance or customer product design. TI does not 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. TI's publication of information regarding any third
party's products or services does not constitute TI's approval, warranty or endorsement thereof.
Copyright
1998, Texas Instruments Incorporated