CADEKA TMC2193KJC

www.cadeka.com
TMC2193
10 Bit Encoder
Features
•
•
•
•
•
• Multiple input formats
– 24 bit RGB
– 20 bit CCIR601
– 10 bit CCIR656
– 10 bit Digital Composite
• Synchronization modes
– Master
– Slave
– Genlock
– CCIR656
• Subcarrier modes
– Free-run
– Subcarrier reset
– Genlock
– DRS-lock
• Ancillary Data Control (ANC)
• Pixel rates from 10 MHz to 15 MHz
• Programmable horizontal timing
• Programmable vertical blanking interval (VBI)
• Line-by-line pedestal enable
• Programmable pedestal height from -20 IRE to 20 IRE
• Programmable burst amplitude and phase
• Controlled edge rates for
– Sync
– Burst
– Active video
•
•
•
•
•
•
Programmable color space matrix
8:8:8 video reconstruction
Four 10 bit D/A’s with independent trim
Individual power down modes for each D/A
Multiple output formats
– RGB
– Y PB PR
– Betacam
– S-video
– Composite
– Digital composite output
Pin-driven and data-driven, window keying
Closed Caption waveform generation (13.5 MHz only)
Sin(X)/X compensation filter
5 bit VBI line counter
3 bit field counter
Internal test pattern generation
– 100% Color Bars
– 75% Color Bars
– Modulated Ramp
Applications
• Broadcast Television
• Nonlinear Video Processing
Block Diagram
sync/mid
PREPROCESSOR
gr/y
Gr/Y
bl/cb
Bl/Pb
OVERLAY rd/cr
MIXER
OL[4:0]
KEY
Rd/Pr
COLOR
SPACE
MATRIX
SYNC
INSERT
CHROMA
PROCESSOR
DAC3
INTERP.
RREF3
COMP2
CBYP4
INTERP.
RREF4
KEY
MIX
DAC4
DAC
REF.
CS/SCL
R/W\/SDA
D[7:0]
A[1:0]/SA[1:0]
SERB
RESET
FLD[2:0]
LINE[4:0]
VSOUT
DAC2
RREF2
CBYP3
MPU
PDCIN/PDCOUT
HSOUT
VSIN
DCVEN
HSIN
CBYP2
Rd/Pr
Ch
SYNC
INSERT
FVHGEN
PXCK
RREF1
INTERP.
U
Y
CC
DAC1
INTERP.
Bl/Pb
Y
V
CVBS[9:0]
CBYP1
Gr/Y
Comp
VREF
PD[23:0]
REFDAC
65-6294-01
REV. 1.0 3/26/03
TMC2193
PRODUCT SPECIFICATION
Table of Contents
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Interpolation Filters . . . . . . . . . . . . . . . . . . . . . 27
Applications. . . . . . . . . . . . . . . . . . . . . . . . .1
x/Sin(x) Filter . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Block Diagram . . . . . . . . . . . . . . . . . . . . . . .1
Output Data Formats. . . . . . . . . . . . . . . . . . . . 27
10 Bit Encoder . . . . . . . . . . . . . . . . . . . . . . .1
LIst of Figures . . . . . . . . . . . . . . . . . . . . . . .3
LIst of Tables . . . . . . . . . . . . . . . . . . . . . . . .3
Digital Composite Output . . . . . . . . . . . . . . . . 28
Ancillary Data. . . . . . . . . . . . . . . . . . . . . . . . . . 28
Operating Modes. . . . . . . . . . . . . . . . . . . . . 29
Pin Assignments . . . . . . . . . . . . . . . . . . . . .4
Layering Engine. . . . . . . . . . . . . . . . . . . . . . . . 30
Overlay Mixer . . . . . . . . . . . . . . . . . . . . . . . 30
Pin Definitions . . . . . . . . . . . . . . . . . . . . . . .4
Hardware Keying . . . . . . . . . . . . . . . . . . . . . . . 31
Functional Description . . . . . . . . . . . . . . . .7
Data Keying . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Input Formats. . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Color Space Matrix . . . . . . . . . . . . . . . . . . . . . . 9
Serial Control Port (R-Bus) . . . . . . . . . . . . . . . 33
Data Transfer via Serial Interface . . . . . . . . 33
Serial Interface Read/Write Examples . . . . 34
Synchronization Modes . . . . . . . . . . . . . . . . . 12
Control Register Map . . . . . . . . . . . . . . . . 35
Propagation Delay . . . . . . . . . . . . . . . . . . . . . . 12
Control Register Definitions . . . . . . . . . . 37
Gamma Correction . . . . . . . . . . . . . . . . . . . . . . 9
Blanking Control . . . . . . . . . . . . . . . . . . . . . . . 13
Pixel Data Control . . . . . . . . . . . . . . . . . . . . . . 13
Edge Shaping. . . . . . . . . . . . . . . . . . . . . . . . . . 13
Horizontal Programming. . . . . . . . . . . . . . . . . 14
Vertical Timing . . . . . . . . . . . . . . . . . . . . . . . . . 17
2
Parallel Microprocessor Interface . . . . . . . . . 31
Chrominance Processor . . . . . . . . . . . . . . . . .
Subcarrier Programming . . . . . . . . . . . . . . .
NTSC Subcarrier . . . . . . . . . . . . . . . . .
PAL Subcarrier . . . . . . . . . . . . . . . . . . .
PAL-M Subcarrier . . . . . . . . . . . . . . . . .
Subcarrier Synchronization. . . . . . . . . . . . .
SCH Phase Error Correction. . . . . . . . . . . .
Burst Envelope . . . . . . . . . . . . . . . . . . . . . .
Color-Difference Low-Pass Filters. . . . . . . .
23
23
23
23
23
24
24
25
25
Sync and Pedestal Insertion. . . . . . . . . . . . . .
Pedestal Enable . . . . . . . . . . . . . . . . . . . . .
Pedestal Height . . . . . . . . . . . . . . . . . . . . . .
Sync and Blank Insertion . . . . . . . . . . . . . .
25
25
26
26
Closed Caption Insertion . . . . . . . . . . . . . . . .
Line Selection . . . . . . . . . . . . . . . . . . . . . . .
Parity Generation . . . . . . . . . . . . . . . . . . . .
Operating Sequence . . . . . . . . . . . . . . . . . .
26
26
26
26
Absolute Maximum Ratings . . . . . . . . . . . 62
Operating Conditions . . . . . . . . . . . . . . . . 62
Electrical Characteristics . . . . . . . . . . . . . 64
Switching Characteristics . . . . . . . . . . . . 64
System Performance Characteristics . . . 65
Applications Discussion . . . . . . . . . . . . . 65
Layout Considerations . . . . . . . . . . . . . . . . . . 66
Output Low-Pass Filters . . . . . . . . . . . . . . . . . 69
Mechanical Dimensions . . . . . . . . . . . . . . 70
100-Lead MQFP . . . . . . . . . . . . . . . . . . . . . . . . 70
Ordering Information . . . . . . . . . . . . . . . . 72
Life Support Policy . . . . . . . . . . . . . . . . . . 72
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
List of Figures
List of Tables
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Table 1.
Table 2.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Figure 16.
Figure 17.
Figure 18.
Figure 19.
Figure 20.
Figure 21.
Figure 22.
Figure 23.
Figure 24.
Figure 25.
Figure 26.
Figure 27.
Figure 28.
Figure 29.
Figure 30.
Figure 31.
Figure 32.
Figure 33.
Figure 34.
Figure 35.
Figure 36.
Input Formats . . . . . . . . . . . . . . . . . . . . . .7
24 bit Input Format . . . . . . . . . . . . . . . . . .7
CCIR656 Input Format . . . . . . . . . . . . . . .8
10 bit Input Format . . . . . . . . . . . . . . . . . .8
20 bit 4:2:2 Input Format . . . . . . . . . . . . .8
20 bit 4:4:4 Input Format . . . . . . . . . . . . .8
Gamma Curves . . . . . . . . . . . . . . . . . . . .9
Propagation Delay through the
Encoder . . . . . . . . . . . . . . . . . . . . . . . . .12
Horizontal Timing . . . . . . . . . . . . . . . . . .15
Horizontal Timing – Vertical Blanking . . .15
Horizontal Timing – 1st Half-line. . . . . . .16
Horizontal Timing – 2nd Half-line . . . . . .16
NTSC Vertical Interval . . . . . . . . . . . . . .17
PAL Vertical Interval . . . . . . . . . . . . . . . .19
PAL-M Vertical Interval . . . . . . . . . . . . . .21
Burst Envelope . . . . . . . . . . . . . . . . . . . .25
Gaussian Filter Response . . . . . . . . . . .25
Interpolation Filter. . . . . . . . . . . . . . . . . .27
Interpolation Filter – Passband
Detail . . . . . . . . . . . . . . . . . . . . . . . . . . .27
X/SIN(X) Filter . . . . . . . . . . . . . . . . . . . .27
Layering Engine . . . . . . . . . . . . . . . . . . .30
Overlay Outputs . . . . . . . . . . . . . . . . . . .31
Data Keying . . . . . . . . . . . . . . . . . . . . . .31
Microprocessor Parallel Port –
Write Timing . . . . . . . . . . . . . . . . . . . . . .32
Microprocessor Parallel Port –
Read Timing . . . . . . . . . . . . . . . . . . . . . .32
Serial Port Read/Write Timing . . . . . . . .33
Serial Interface – Typical Byte
Transfer. . . . . . . . . . . . . . . . . . . . . . . . . .34
Serial Interface – Chip Address . . . . . . .34
Typical Analog Reconstruction Filter . . .65
Overall Response . . . . . . . . . . . . . . . . . .65
Typical Layout . . . . . . . . . . . . . . . . . . . . .67
ST-163E Layout . . . . . . . . . . . . . . . . . . .68
Pass Band . . . . . . . . . . . . . . . . . . . . . . .69
Stop Band. . . . . . . . . . . . . . . . . . . . . . . .69
2T Pulse . . . . . . . . . . . . . . . . . . . . . . . . .69
Group Delay . . . . . . . . . . . . . . . . . . . . . .69
REV. 1.0 3/26/03
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
Table 11.
Table 12.
Table 13.
Table 14.
Table 15.
Table 16.
Table 17.
Table 18.
Table 19.
Table 20.
Table 21.
Table 22.
Table 23.
Table 24.
Table 25.
Table 26.
CSM Coefficient Range . . . . . . . . . . . .
Expected Output Values for the
CSM with YCBCR Inputs . . . . . . . . . . .
Expected Output Values for the
CSM with RGB Inputs. . . . . . . . . . . . . .
Coefficient sets YCBCR inputs . . . . . . .
Coefficient sets YCBCR inputs . . . . . . .
PDC Edge Control . . . . . . . . . . . . . . . .
Horizontal Line Equations. . . . . . . . . . .
Horizontal Timing Specifications. . . . . .
Vertical Interval Timing
Specifications . . . . . . . . . . . . . . . . . . . .
Default Horizontal Timing
Parameters . . . . . . . . . . . . . . . . . . . . . .
NTSC Field/Line Sequence and
Identification . . . . . . . . . . . . . . . . . . . . .
PAL Field/Line Sequence and
Identification . . . . . . . . . . . . . . . . . . . . .
PAL-M Field/Line Sequence and
Identification . . . . . . . . . . . . . . . . . . . . .
Standard Subcarrier Parameters . . . . .
Line by Line Pedestal Enable . . . . . . . .
Closed Caption Line Selection . . . . . . .
D/A Outputs . . . . . . . . . . . . . . . . . . . . .
Ancillary Data Format . . . . . . . . . . . . . .
Ancillary Data Control – Phase . . . . . .
Ancillary Data Control Frequency. . . . .
Field Identification and Subcarrier
Reset Modes . . . . . . . . . . . . . . . . . . . .
Layering and Keying Modes . . . . . . . . .
Overlay Address Map . . . . . . . . . . . . . .
Parallel Port Control . . . . . . . . . . . . . . .
Serial Port Addresses. . . . . . . . . . . . . .
Control Register Map . . . . . . . . . . . . . .
10
11
11
11
11
13
14
15
16
17
18
20
22
24
25
26
27
28
29
29
29
30
31
32
33
35
3
TMC2193
PRODUCT SPECIFICATION
Pin Assignments
100
81
1
80
Pin
Function
Pin
Function
Pin
Function
Pin
Function
1
2
VDDA
31
32
33
34
PD19
PD18
PD17
PD16
51
52
53
54
PD1
PD0
DGND
VDD
81
82
83
84
FLD2
FLD1
FLD0
CVBS9
35
36
37
38
39
PD15
PD14
PD13
PD12
VDD
55
56
57
58
59
VSIN
HSIN
DCVEN
SER
CSVSCL
85
86
87
88
89
CVBS8
CVBS7
CVBS6
CVBS5
CVBS4
40
41
42
43
44
DGND
PD11
PD10
PD9
PD8
60
61
62
63
64
R/WVSDA
A1/SA1
A0/SA0
D7
D6
90
91
92
93
94
CVBS3
CVBS2
CVBS1
CVBS0
RESET
45
46
47
48
PD7
PD6
PD5
PD4
65
66
67
68
D5
D4
D3
D2
95
96
97
98
PXCK
VDD
DGND
VREF
49
50
PD3
PD2
69
70
D1
D0
99
100
RREF4
AGND
71
72
73
DGND
VDD
PDC
74
75
HSOUT
VSOUT
76
77
78
LINE4
LINE3
LINE2
79
80
LINE1
LINE0
3
4
5
6
7
8
9
10
11
30
12
13
51
31
14
15
16
50
17
18
65-6294-14
19
20
21
DAC4
CBYP4
AGND
DAC3
CBYP3
VDDA
RREF3
AGND
DAC2
CBYP2
VDDA
RREF2
AGND
DAC1
CBYP1
VDDA
RREF1
REFDAC
KEY
22
OL4
OL3
23
24
25
OL2
OL1
OL0
26
27
DGND
PD23
28
29
30
PD22
PD21
PD20
Pin Definitions
Pin Name
Pin Number
Value
Description
CLOCK, SYNC, & CONTROL INPUTS (6 pins)
4
DCVEN
57
TTL
Digital CVBS Output Enable. When DCVEN is LOW, the
Comp2 output prior to the D/A is routed to D7-0, FLD2-1
providing a digital composite output. When DCVEN is HIGH,
D7-0 and FLD2-1 operate in their normal mode.
HSIN
56
TTL
Horizontal Sync Input. When operating in slave, Genlock, or
DRS-Lock the TMC2193 will start a new horizontal line with
each falling edge of HSIN.
KEY
20
TTL
Hard Key selection. When the control register bit HKEN is set
HIGH and the hardware KEY pin is high, the video data
considered to be the foreground. is routed to the COMP2
output. This control signal is data aligned so that the pixel that is
present on the PD port when KEY signal is latched is at the
midpoint of the key transition. When HKEN is LOW, Key is
ignored.
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Pin Definitions (continued)
Pin Name
Pin Number
Value
Description
PXCK
95
TTL
Pixel Clock Input. PXCK is a clock signal that period is twice
the sample rate of the pixel data. The operating range is 20 to
30 MHz. The clock is internally divided by 2 to generate the
internal pixel clock, PCK. PXCK drives the entire TMC2193
except the asynchronous microprocessor interface.
RESET
94
TTL
Master Chip Reset. When LOW, All outputs are tri-stated and
the internal state machines and control registers are reset. At
rising edge of RESET, all outputs are active, the preset values
will be loaded into the control registers and the internal states
machines start to operate.
VSIN
55
TTL
Vertical Sync Input. When operating in slave, Genlock, or
DRS-Lock the TMC2193 will start a new vertical field with each
falling edge of VSIN that is coincident with HSIN.
SYNC & CONTROL OUTPUTS (11 pins)
FLD[2:0]
81–83
TTL
Field Identifier. Field Identifier outputs the current field number.
For all video standards the field identifier will cycle through the
eight counts.
HSOUT
74
TTL
Horizontal Sync Output. The alignment of HSOUT to the pixel
data port or DCVBS port is controlled by control register
TSOUT.
76–80
TTL
Vertical Blanking Interval Line Identifier. LINE identifies the
current line number for the first 31 lines. If the line count is
greater than 31 then LINE is 11111b. The first line with a vertical
serration is considered to be line 0.
73
TTL
Pixel Data Control.
LINE[4:0]
PDC
When PDCDIR = LOW: At a rising edge, The next pixel starts a
controlled ramp of the PD data. At a falling edge, the pixel prior
is the last PD used in the ramp. The rising edge is determined
by the PDCCNT control register, the falling edge of PDC is
determined by the horizontal timing registers.
When PDCDIR = HIGH: PDCIN is used to override the internal
PDC. When HIGH, the internal PDC controls the blank and
unblank window. When LOW, the video remains blanked
regardless of the internal PDC. All edges have the same ramp
control as the internal PDC.
VSOUT
75
TTL
Vertical Sync Output. The alignment of VSOUT to the pixel
data port or DCVBS port is controlled by control register
TSOUT.
DATA INPUTS (39 pins)
CVBS[9:0]
84–93
TTL
Composite Data Input
OL[4:0]
21–25
TTL
Overlay Control
27–38, 41–52
TTL
Component Data Input
PD[23:0]
ANALOG INTERFACE – Video Out (5 pins)
Ref. DAC
19
0.675Vp-p
Selectable sync only or midpoint reference D/A
DAC1
15
1.35Vp-p
Composite or Green D/A
DAC2
10
1.35Vp-p
Luma or Blue D/A
DAC3
5
1.35Vp-p
Chroma or Red D/A
DAC4
2
1.35Vp-p
Composite D/A with optional keying
REV. 1.0 3/26/03
5
TMC2193
PRODUCT SPECIFICATION
Pin Definitions (continued)
Pin Name
Pin Number
Value
Description
ANALOG INTERFACE – Support (9 pins)
CBYP1
16
0.1 µF
Reference Bypass Capacitor for DAC1 and Reference DAC.
Connection point for 0.1 µF Capacitor.
CBYP2
11
0.1 µF
Reference Bypass Capacitor for DAC2. Connection point for
0.1 µF Capacitor.
CBYP3
6
0.1 µF
Reference Bypass Capacitor for DAC3. Connection point for
0.1 µF Capacitor.
CBYP4
3
0.1 µF
Reference Bypass Capacitor for DAC4. Connection point for
0.1 µF Capacitor.
RREF1
18
1210 Ohm
Current Setting Resistor. Connection point for external current
setting resistor for DAC1. The resistor is connected between
RREF1 and GND. Output video levels are inversely proportional
to the value of RREF1.
RREF2
13
1210 Ohm
Current Setting Resistor. Connection point for external current
setting resistor for DAC2. The resistor is connected between
RREF2 and GND. Output video levels are inversely proportional
to the value of RREF2.
RREF3
8
1210 Ohm
Current Setting Resistor. Connection point for external current
setting resistor for DAC3. The resistor is connected between
RREF3 and GND. Output video levels are inversely proportional
to the value of RREF3.
RREF4
99
1210 Ohm
Current Setting Resistor. Connection point for external current
setting resistor for DAC4. The resistor is connected between
RREF4 and GND. Output video levels are inversely proportional
to the value of RREF4.
VREF
98
1.235 V
Voltage Reference Input. External voltage reference input,
internal voltage reference output, nominally 1.235V.
MPU INTERFACE (13 pins)
A[1:0]/SA[1:0]
CS/SCL
D[7:0]
61, 62
59
63–70
RW/SDA
60
SER
58
TTL
When SER (HIGH), OLUT/control/pointer address.
When SER (LOW), SA[1:0] of serial chip address SA[6:0].
TTL/R-BUS When SER (HIGH), microprocessor port clock.
When SER (LOW), serial bus clock.
TTL
Bi-directional Data Bus.
TTL/R-BUS When SER (HIGH), read/write control.
When SER (LOW), serial bus bi-directional data.
TTL
Microprocessor Select. When LOW, the serial interface is
enabled. When HIGH, the parallel interface is enabled.
POWER & GROUND (17 pins)
AGND
4, 9, 14, 100
0.0V
Analog ground
DGND
26, 40, 53, 71, 97
0.0V
Digital ground
VDD
VDDA
6
39, 54, 72, 96
+5.0V
Digital positive power supply
1, 7, 12, 17
+5.0V
Analog positive power supply
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Functional Description
Demuxing of multiplexed data streams depends on which
synchronization mode the encoder is operating in. For slave
and genlock modes the falling edge of HSIN must be LOW
prior to the CB data in order to demux the data correctly. For
master mode synchronization the falling edge of HSOUT
must be LOW prior to the Y data in order to demux the data
correctly. Finally, in 656 mode the demuxing of the data
stream is determined by the TRS codes, the first sample after
the TRS is considered a CB sample of the CB Y CR YI
packet.
Input Formats
Control Registers for this section
Address
Bit(s)
Name
0x05
7
D1OFF
0x05
6-4
INMODE
0x06
0
TSOUT
The TMC2193 supports both RGB and YCBCR component
sources on the pixel data port. For RGB sources the
TMC2193 will accept a 24 bit RGB source with a sample
rate of 4:4:4. YCBCR input sources are supported in 10 bit
4:2:2, 20 bit 4:2:2, 20 bit 4:4:4, and 24 bit 4:4:4. In the 4:2:2
cases the color difference components are linearly interpolated to 4:4:4 internally.
INMODE
x00
101
110
111
23
7
9
CB/BLUE
YCBCR
9
CBCR
9
CBCR
16
0
15
7
14
The control register D1OFF controls the formatting of the
incoming luminance data at the pixel data port. When
D1OFF is HIGH a blanking level of 6410 is subtracted from
the luminance and when D1OFF is LOW the incoming the
pixel data is passed through. The inversion of the MSB’s on
the CB and CR components is controlled by the INMODE
control register.
9
PD
CR/RED
0
0
0
1
1
8
0
7
7
Y/GREEN
0
0
9
9
Y
Y
0
0
2
2
65-6294-02
Figure 1. Input Formats
1.
INMODE = 000 or 100, PD[7:0] = Y/G, PD[23:16] = CB/B, PD[15:8] = CR/R
n = (SY+BR+BU+CBP+AV)*2
0
x = (SY+BR+BU+CBP)*2
128
PXCK
tH
tS
PD[7:0]
PD[23:16]
PD[15:8]
(Y/G)n-1
(Y/G)n
(Y/G)0
(Y/G)x
(Y/G)x+1
(Y/G)x+2
(CB/B)n-1
(CB/B)n
(CB/B)0
(CB/B)x
(CB/B)x+1
(CB/B)x+2
(CR/R)n-1
(CR/R)n
(CR/R)0
(CR/R)x
(CR/R)x+1
(CR/R)x+2
tSP
HSIN
tDO
tDO
HSOUT
(TSOUT = 1)
65-6294-03
Figure 2. 24 Bit Input Format
2.
INMODE = 101, PD[23:14] = YCBCR running at 27MHz.
The PD port is clocked at twice the pixel rate, with the data
organized as CB Y CR Y, with the cosited Y's following the
CB's. In its CCIR-656 time base mode, the demuxed CB, Y,
and CR data is synchronized to the SAV preamble. The first
REV. 1.0 3/26/03
data value, after the SAV preamble, is treated as a CB data
point in the multiplexed CB, Y, CR Y , D1 data stream.
Note: Figure 3, pixel numbering, reflects the SMPTE-125M
pixel numbering.
7
TMC2193
PRODUCT SPECIFICATION
128
0
(SY+BR+BU+CBP)*2
PXCK
tS
PD[23:14]
CB718 Y718
Y719
CR718
FF
00
00
CB736
FV1
Y736
FF
00
tDO
tDO
EAV
00
FV0
tH
Y0
CB0
Y1
CR0
CB2
Y2
SAV
tHS
HSOUT
65-6294-04
(TSOUT = 1)
Figure 3. CCIR656 Input Format
n = (SY+BR+BU+CBP+AV)*2
0
x = (SY+BR+BU+CBP)*2
128
PXCK
tS
PD[23:14]
Yn
CBn
CRn
Yn+1
CB0
Y0
tH
CBx
Yx
CRx
Yx+1
CBx+2
Yx+2
tHP
tSP
HSIN
tDO
tDO
HSOUT
(TSOUT = 1)
65-6294-05
Figure 4. 10 bit Input Format
3.
INMODE = 111, PD[9:0] = Y, PD[23:14] = CB/CR
n = (SY+BR+BU+CBP+AV)*2
0
128
x = (SY+BR+BU+CBP)*2
PXCK
tH
tS
PD[9:0]
Yn
PD[23:14]
Yn+1
CRn
CBn
Y0
Y1
Yx
CB0
CR0
CBx
Yx+1
CRx
Yx+2
CBx+2
tSP
HSIN
tDO
tDO
HSOUT
tHS
(TSOUT = 1)
65-6294-06
Figure 5. 20 bit 4:2:2 Input Format
4.
INMODE = 110, PD[9:0] = Y at PCK, PD[23:14] = CB-CR at PXCK
n = (SY+BR+BU+CBP+AV)*2
0
128
x = (SY+BR+BU+CBP)*2
PXCK
tH
tS
Yn
PD[9:0]
Y0
Yn+1
Yx
tH
tS
PD[23:14]
CBn
CRn
CBn+1
CB0
CRn+1
CBx
CR0
C Rx
tSP
HSIN
tDO
tDO
HSOUT
(TSOUT = 1)
65-6294-07
Figure 6. 20 bit 4:4:4 Input Format
8
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Gamma Correction
Color Space Matrix
Control Registers for this section
Control Registers for this section
Address
Bit(s)
Name
Address
Bit(s)
Name
0x04
7
GAMENG
0x30
7-0
MCF1L
0x04
6
GAMENC
0x31
7-0
MCF2L
0x04
5
GAMSELG
0x32
7-0
MCF3L
0x04
4
GAMSELC
0x33
7-0
MCF4L
0x34
7-0
MCF5L
0x35
7-0
MCF6L
0x36
7-0
MCF7L
0x37
7-0
MCF8L
0x38
7-0
MCF9L
0x39
7-0
MCF10L
0x3A
7-4
MCF1M
0x3A
3-0
MCF2M
0x3B
7-4
MCF3M
0x3B
2-0
MCF4M
0x3C
7-4
MCF5M
0x3C
2-0
MCF6M
0x3D
7-4
MCF7M
0x3D
3-0
MCF8M
0x3E
7-4
MCF9M
0x3E
3-0
MCF10M
896
0x3F
2
NMEH
768
0x3F
1-0
CSMFMT
Inherent in all CRT displays is a non-linearity between the
voltage applied to the electron guns and the CRT phosphor
brightness. Traditionally this non-linearity, gamma, is compensated at the camera. However, many sources today are
mixed in the digital domain and do not contain any gamma
correction.
For this reason the TMC2193 contains optional gamma correction process. The TMC2193 contains two independent
gamma circuits, one for the Green data path and the other for
the Blue and Red data path. Each gamma processor has two
(2) gamma compensation curves, one for NTSC and one for
PAL, that can be applied to the incoming video data.
The formulas for the gamma curves are:
1/2.8
PAL:
Y=X
NTSC: Y = 4.5 * X
Y = 1.099 * X1/2.22 – 0.099
for 0 ≤ X ≤ 255
for 0 ≤ X ≤ 6
for 7 ≤ X ≤ 255
1024
640
512
384
NTSC Gamma Curve
256
65-6294-08
RGB Outputs (0 to 1023)
PAL Gamma Curve
128
0
0
32
64
96
128
160
RGB Inputs (0 to 255)
192
224
256
The color space matrix (CSM) has four modes of operation,
which are controlled by CSMFMT. The CSMFMT bits configures the color space matrix to produce the desired outputs
from the input source. The inputs for the CSM can be either
RGB or YCBCR. In all four modes YUV for the composite
generation will always be one set of component outputs of
the CSM. The other set of components outputs can be either
RGB or YPBPR.
•
CSMFMT = 00 , YCBCR input source with YUV and
YPBPR outputs.
Figure 7. Gamma Curves
Matrix configuration:
Ycomposite
= MCF1 * Yin
U
= MCF4 * CB
V
= MCF6 * CR
Ycomponent
= MCF8 * Yin
PB
= MCF9 * CB
PR
= MCF10 * CR
REV. 1.0 3/26/03
9
TMC2193
•
PRODUCT SPECIFICATION
CSMFMT = 01 , YCBCR input source with YUV and
RGB outputs.
Matrix configuration:
= MCF1 * Yin
Ycomposite
U
= MCF4 * CB
V
G
B
R
•
•
= MCF6 * CR
= MCF8 * (MCF1 * Yin + MCF2 * CB
+ MCF3 * CR)
= MCF9 * (MCF1 * Yin + MCF5 * CB)
= MCF10 * (MCF1 * Yin +
MCF7 * CR)
CSMFMT = 10 , RGB input source with YUV and
YPBPR outputs.
Matrix configuration:
= MCF1 * Gin + MCF2 * Bin +
Ycomposite
MCF3 * Rin
U
= MCF4 * Bin + MCF5 * Ycomposite
V
Y
PB
PR
= MCF8 * Ycomposite
= MCF9 * U
= MCF10 * V
CSMFMT = 11 , RGB input source with YUV and RGB
outputs.
Matrix configuration:
Ycomposite
= MCF1 * Gin + MCF2 * Bin +
MCF3 * Rin
U
= MCF4 * Bin + MCF5 * Ycomposite
V
G
B
R
= MCF6 * Rin + MCF7 * Ycomposite
= MCF8 * Gin
= MCF9 * Bin
= MCF10 * Rin
The color space matrix consists of 10 multipliers with independently adjustable coefficients, and a resolution of
0.00049 (1/2048). The amount of gain varies among coefficients, Table 1 summarizes the gain for each coefficient.
= MCF6 * Rin + MCF7 * Ycomposite
Table 1. CSM Coefficient Range
Coefficient
Gain Range
MCF1
0 to 2
Comment
MCF2
-1 to 1
Must be loaded in 2’s comp format.
MCF3
-1 to 1
Must be loaded in 2’s comp format.
MCF4
0 to 1
11 bit coefficient.
MCF5
-2 to 2
Negative values are enabled when CSMFMT is 1x, only the 12 LSB’s
are required to be loaded into the control registers. Must be loaded in 2’s
comp format.
MCF6
0 to 1
11 bit coefficient.
MCF7
-2 to 2
Negative values are enabled when CSMFMT is 1x, only the 12 LSB’s
are required to be loaded into the control registers. Must be loaded in 2’s
comp format.
MCF8
0 to 2
MCF9
0 to 2
MCF10
0 to 2
To aid in the programming of the color space matrix Table 2
and Table 3 provide a set of default input and output values
for 100% color bars. The component values given will be
after the preprocessing block and prior to the sync and ped-
10
estal insertion. The blank, pedestal, and sync values are
given as a reference. Table 4 and Table 5 give the default
coefficients values for the CSM in all modes and standard
video formats.
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Table 2. Expected Output Values for the CSM with YCBCR Inputs
Inputs
5:2 Outputs
7:3 Outputs
Color
Y
CB
CR
Y
U
V
Y
U
V
Y
PB
PR
G
B
R
White
876
0
0
536
0
0
568
0
0
568
0
0
568
568
568
Yellow
776
-448
73
475
-235
54
503
-249
57
514
-284
46
568
0
568
Cyan
614
151
448
376
79
-332
407
84
-351
407
96
-284
568
568
0
Green
514
-297 -375
315
-156 -278
340
-165 -294
340
-189 -238
568
0
0
Magenta
362
297
375
222
156
278
240
165
294
240
189
238
0
568
568
Red
262
-151
448
160
-79
332
173
-84
351
173
-96
284
0
0
568
Blue
100
448
-73
61
235
-54
66
249
-57
66
284
-46
0
568
0
Black
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Blank
64
256
256
256
240
256
256
Pedestal
44
0
0
Sync
8
12
12
12
Table 3. Expected Output Values for the CSM with RGB Inputs
Inputs
Color
G
B
5:2 Outputs
R
7:3 Outputs
Y
U
V
Y
U
V
Y
PB
PR
G
B
R
White
1020 1020 1020
536
0
0
568
0
0
568
0
0
568
568
568
Yellow
1020
1020
475
-235
54
503
-249
57
514
-284
46
568
0
568
Cyan
1020 1020
0
376
79
-332
407
84
-351
407
96
-284
568
568
0
Green
1020
0
315
-156 -278
340
-165 -294
340
-189 -238
568
0
0
222
156
278
240
165
294
240
189
238
0
568
568
0
0
Magenta
0
1020 1020
Red
0
0
1020
160
-79
332
173
-84
351
173
-96
284
0
0
568
Blue
0
1020
0
61
235
-54
66
249
-57
66
284
-46
0
568
0
Black
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 4. Coefficient sets YCBCR inputs
YPBPR outputs
Table 5. Coefficient sets YCBCR inputs
YPBPR outputs
RGB Outputs
NTSC NTSC
NTSC NTSC
-EIA
-M PAL-I -EIA
-M PAL-I
RGB Outputs
NTSC NTSC
NTSC NTSC
-EIA
-M PAL-I -EIA
-M PAL-I
MCF1
54C
4E5
530
54C
4E5
530
MCF1
2AC
278
29E
2AC
278
29E
MCF2
000
000
000
E34
E57
E3D
MCF2
085
07B
082
085
07B
082
MCF3
000
000
000
C4E
C96
C62
MCF3
15C
142
155
15C
142
155
MCF4
48b
433
473
48B
433
473
MCF4
240
215
234
240
215
234
MCF5
000
000
000
92D
87B
8FC
MCF5
C09
C09
C09
C09
C09
C09
MCF6
668
5EC
646
668
5EC
646
MCF6
404
3B7
3EF
404
3B7
3EF
MCF7
000
000
000
742
6B5
71C
MCF7
8F2
8F2
8F2
8F2
8F2
8F2
MCF8
54C
54C
54C
800
8A8
800
MCF8
800
8A8
800
48D
48D
474
MCF9
514
514
514
800
8A8
800
MCF9
8F2
9AB
920
48D
48D
474
MCF10
514
514
514
800
8A8
800
MCF10
654
6D8
679
48D
48D
474
REV. 1.0 3/26/03
11
TMC2193
PRODUCT SPECIFICATION
Synchronization Modes
CCIR656
Address
Bit(s)
Name
0x06
5-3
MODE
0x06
1
TOUT
The TMC2193 derives all synchronization from the embedded TRS (timing reference signals) information. Blanking of
selected lines is determined by the v bit of the TRS. However
the control registers VBIENx can override and blank the
active video portion of VBI lines regardless of the state of the
v-bit.
0x06
0
TSOUT
Genlock
Control Registers for this section
The TMC2193 offers a variety of synchronization modes;
these are master, slave, genlock, 656 mode, and DRS-Lock.
In master mode, the TMC2193 generates its own timing and
the synchronization is supplied externally by HSOUT and
VSOUT signals. In slave and genlock modes the TMC2193
derives its timing from the input pins HSIN, VSIN. In 656
mode the timing is driven by the synchronization codes
embedded into the data stream.
Master
The TMC2193 drives the output pins HSOUT and VSOUT
to synchronize the incoming video. A new color frame starts
at the rising edge of RESET. The encoder always starts at the
1st vertical serration in field 8 and will freerun the field and
line sequence. The control register bit SRESET can be used
to synchronize the start of the field and line sequence in master mode by resetting the FVHGEN state machine. Output
synchronization signal VSOUT can operate in a traditional
sync mode or in a MPEG style field toggle mode.
Slave
The TMC2193 is driven by the input synchronization pins
HSIN and VSIN. When the falling edge of HSIN and VSIN
occurs at the same rising edge of PXCK the TMC2193 will
start a new field.VSIN can be either a traditional pulse or the
MPEG style field toggle. In both cases the TMC2193 will
flywheel through fields 2, 4, 6, and 8 synchronizing only to
fields 1, 3, 5, and 7.
n = (SY+BR+BU+CBP+AV)*2
0
The TMC2193 is driven by the input synchronization pins
HSIN and VSIN. When the falling edge of HSIN and VSIN
occurs at the same rising edge of PXCK the TMC2193 will
start a new field.VSIN can be either a traditional pulse or the
MPEG style field toggle. In both cases the TMC2193 will
flywheel through fields 2, 4, 6, and 8 synchronizing only to
fields 1, 3, 5, and 7. The TMC2193 collects GRS data and
resets its subcarrier phase and frequency to the data embedded in the GRS stream. The GRS detection occurs only on
the CBVS port.
DRS
The TMC2193 is driven by the input synchronization pins
HSIN and VSIN. When the falling edge of HSIN and VSIN
occurs at the same rising edge of PXCK the TMC2193 will
start a new field.VSIN can be either a traditional pulse or the
MPEG style field toggle. In both cases the TMC2193 will
flywheel through fields 2, 4, 6, and 8 synchronizing only to
fields 1, 3, 5, and 7. Subcarrier phase adjustment is determined by the DRS data. The DRS detection can occur on
either the CBVS port or the pixel data port.
Propagation Delay
The propagation delay from the pixel data (PD) input to the
D/A output is 64 PXCK’s. Figure 8 shows the propagation
delay for both master and slave synchronization modes. For
CCIR656 data streams, pixel 736 (pixel 0 in Figure 8) is the
midpoint of sync and is 32 PXCK’s (24 PXCK’s in PAL)
after the EAV TRS.
63
128
65
PXCK
PD[23:14]
CBn
Yn
CRn
Yn+1
CB0
Y0
HSIN
tDO
HSOUT
(TSOUT = 1)
DACx
(ANALOG)
tDO
DCVBS
(D[7:0],FLD[2:1])
COMP0
COMP1
65-6294-09
Midpoint of the
Falling Edge of Sync
Figure 8. Propagation Delay through the Encoder
12
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Blanking Control
Pixel Data Control
Control Registers for this section
The pixel data control has two modes of operation, as an
input or as an output. The mode of operation is determined
by the PDCDIR control register. When PDC is an input the
internally generated PDC is ANDed with the PDC pin. This
allows the user to blank any active video regions. When PDC
is an output, the internally generated PDC is the output for
the PDC pin.
Address
Bit(s)
Name
0x04
1-0
PDRM
0x06
2
PDCDIR
0x18
4-0
VBIENF1
0x19
4-0
VBIENF2
0x1F
7-0
PDCCNT
The content of VBIENFx[4:0] selects the first line to contain
an active video region in each field, all subsequent lines for
the remainder of the field are active. To blank an entire field,
the user zeroes the VBIENFx[4:0] control register. In
CCIR656 slave mode, the user can selectively blank any
enabled line by setting its TRS V bit HIGH. For 525-line
systems, NTSC line numbering is employed, with the first
vertical serration starting on line 4. PAL line numbering is
used with 625-line systems, with each field's line 1 being the
start of the first vertical serration.
The internal PDC control will toggle to a logic HIGH at the
pixel specified by PDCNT and toggle to a logic LOW four
pixels prior to the end of the active video region. The starting
point and ending point of the active video region (VA) are
determined by the control registers 10h to 1Fh. When PDC is
used as an input, the sloped edge of the active video region
will occur on the next four pixels following the toggle point.
Edge Shaping
The TMC2193 has three modes of sloped edges on the active
video region and are controlled by PDRM control register.
Any line(s) enabled by the closed caption control are automatically unblanked for the closed caption waveform, irrespective of the corresponding values of VBIENF.
Table 6. PDC Edge Control
PDRM[1:0]
Slope type at PDC (HIGH)
Slope type at PDC (LOW)
00
The following four pixels have the weighting of
1/8, 1/2, 7/8 and 1 for NTSC and 1/8, 3/8, 5/8,
and 7/8 for PAL.
The following four pixels have the weighting of
1, 7/8, 1/2, and 1/8 for NTSC and 7/8, 5/8, 3/8,
and 1/8 for PAL.
01
The fifth pixel is sampled and scaled 1/8, 1/2,
7/8 and 1 over the next four pixels for NTSC
and 1/8, 3/8, 5/8, and 7/8 over the next four
pixels for PAL.
The fifth pixel is sampled and scaled 1, 7/8,
1/2 and 1/8 over the next four pixels for NTSC
and 7/8, 5/8, 3/8, and 1/8 over the next four
pixels for PAL.
1x
Slope is off, edge control is dictated by the PD
stream from active video start
Slope is off, edge control is dictated by the PD
stream to active video end
REV. 1.0 3/26/03
13
TMC2193
PRODUCT SPECIFICATION
Horizontal Programming
Control registers for this section
Address
Bit(s)
Name
0x06
7-6
FORMAT
0x19
7
SHORT
0x19
6
T512
0x19
5
HALFEN
0x20
7-0
SY
0x21
7-0
BR
0x22
7-0
BU
0x23
7-0
CBP
0x24
7-0
XBP
0x25
7-0
VA
0x26
7-0
VC
0x27
7-0
VB
0x28
7-0
EL
0x29
7-0
EH
0x2A
7-0
SL
0x2B
7-0
SH
0x2C
7-0
FP
0x2D
7-6
XBP (MSB’s)
0x2D
5-4
VA (MSB’s)
0x2D
3-2
VB (MSB’s)
0x2D
1-0
VC (MSB’s)
Horizontal interval timing is fully programmable and is
established by loading the timing registers with the duration
of each horizontal element. The duration is expressed in
PCK clock cycles. In this way, any pixel clock rate between
10 MHz and 15 MHz can be accommodated, and any desired
standard or non-standard horizontal video timing may be
produced.
Horizontal timing parameters can be calculated as follows:
t = N x ( PCK period )
= N x ( 2 x PXCK period )
where N is the value loaded into the appropriate timing
register, and PCK is the pixel clock period.
When programming horizontal timing, subtract 5 PCK
periods from the calculated values of CBP and add 5 PCK
periods to the calculated value for VA. The control register
HALFEN enables the 1st half line (UBV) on line 283 for
NTSC, PAL-M and line 23 for all other PAL standards when
it is LOW.
Table 7. Horizontal Line Equations
Line Type
Line ID
Line Length Equals
EE
00
EL + EH + EL + EH
SE
02
SL + SH + EL + EH
SS
03
SL + SH + SL + SH
ES
01
EL + EH + SL + SH
EB
10
EL + EH + EL + EH
UBB, -BB
0D, 05
SY + BR + BU + CBP + VA + FP
UVV, -VV
0F, 07
SY + BR + BU + CBP + VA + FP
UVE, -VE
0C, 04
SY + BR + BU + CBP + VC + FP + EL + EH
UBV
0E
SY + BR + BU + XBP + VB + FP
14
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
SY
BR
BU
CBP
VA
FP
65-6294-10
Figure 9. Horizontal Timing
ming, any pixel rate between 10 and 15 Mpps can be accommodated, and any desired standard or non-standard vertical
video timing may be produced.
Table 8. Horizontal Timing Specifications
NTSC-M
(µs)
PAL-I
(µs)
PAL-M
(µs)
FP
1.5
1.65
1.9
SY
4.7
4.7
4.95
BR
0.6
0.9
0.9
BU
2.5
2.25
2.25
CBP
1.6
2.55
1.8
VA
52.6556
51.95
51.692
H
63.5556
64.0
63.492
Parameter
Like horizontal timing parameters, vertical timing parameters are calculated as follows:
t = N x ( PCK period )
= N x ( 2 x PXCK period )
where N is the value loaded into the appropriate timing register, and PCK is the pixel clock period.
The vertical interval comprises several different line types
based upon H, the Horizontal line time.
H = (2 x SL) + (2 x SH) [Vertical sync pulses]
= (2 x EL) + (2 x EH) [Equalization pulses]
Vertical interval timing is also fully programmable, and is
established by loading the timing registers with the duration’s of each vertical timing element, the duration expressed
in PCK clock cycles. In this way as with horizontal program-
H
H/2
EL
EH
SL
SH
65-6294-11
Figure 10. Horizontal Timing – Vertical Blanking
The VB and VC control registers are added to produce the
half-lines needed in the vertical interval at the beginning and
end of some fields. These must properly mate with components of the normal lines.
REV. 1.0 3/26/03
15
TMC2193
PRODUCT SPECIFICATION
H/2
BR
SY
BU
XBP
VB
FP
65-6924-12
Figure 11. Horizontal Timing – 1st Half-line
H/2
SY
BR
BU
CBP
VC
FP EL
EH
65-6294-13
Figure 12. Horizontal Timing – 2nd Half-line
Table 9. Vertical Interval Timing Specifications
Parameter
NTSC-M
(µs)
PAL-I
(µs)
PAL-M
(µs)
H
63.5556
64
63.492
EH
29.4778
29.65
29.45
EL
2.3
2.35
2.3
SH
4.7
4.7
4.65
SL
27.1
27.3
27.1
16
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Table 10. Default Horizontal Timing Parameters
Timing Register (hex)
Horizontal
Freq.
(KHz)
Pixel
Rate
(Mpps)
PXCK
Freq.
(MHz)
SY
BR
BU
Standard
Field
Rate
(Hz)
20
21
22
23
NTSC sqr. pixel
59.94
15.734266
12.27
24.54
3A
07
1F
NTSC CCIR-601
59.94
15.734266
13.50
27.00
40
08
NTSC 4x FSC
59.94
15.734266
14.32
28.64
43
09
PAL sqr. pixel
50.00
15.625000
14.75
29.50
45
PAL CCIR-601
50.00
15.625000
13.50
27.00
40
PAL 15 Mpps
50.00
15.625000
15.00
30.00
46
PAL-M sqr.pixel
60.00
15.750000
12.50
25.01
PAL-M CCIR-601
60.00
15,750000
13.50
27.00
PAL-M 4x FSC
60.00
15,750000
14.30
28.60
VA
VC
VB
EL
EH2
SL2
SH
FP
24
25
26
27
28
29
2A
2B
2C
2D
2F
0F
23
8B
05
77
1C
6A
4C
3A
12
65
52
22
11
44
CB
1E
98
1F
8E
6D
40
14
65
59
24
12
54
F7
30
B5
21
A6
84
43
15
65
5F
0D
21
21
6D
03
2B
B7
23
B5
93
45
19
75
61
0C
1E
22
4D
BE
0E
93
20
90
70
40
16
65
59
0D
22
21
73
11
31
BF
23
BD
9A
47
19
75
62
3E
0B
1C
13
26
86
FE
8B
1D
70
53
3A
18
61
52
44
0C
1E
13
26
Bf
12
99
1F
8E
6E
3F
1A
65
57
47
0D
20
15
4C
E8
22
AC
21
A5
84
42
1B
65
5D
CBP XBP
Note CBL
Notes:
1. XBP, VA, VC, and VB are 10 bit values. The 2 MSBs for these four variables are in Timing Register 2D.
2. EH and SL are 9 bit values. A most significant "1" is forced by the TMC2193 since EH and SL must range from 256 to 511.
EH and SL may be extended to 767. Only the eight LSBs are stored in Timing Registers 29 and 2A.
3. Every calculated timing parameter has a minimum value of 5 except EH and SL which have minimum values of 256.
Vertical Timing
The vertical timing is controlled by the FORMAT control
register, which dictates the field and line sequence.
524
525
UVV
21
22
UVV
UVV
FIELDS 1 AND 3
UVV
•••
1
2
3
4
5
6
7
8
9
10
EE
EE
EE
SS
SS
SS
EE
EE
EE
UBB
19
20
UBB
UBB
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
262
UVV
263
UVE
FIELDS 2 AND 4
264
265
266
267
268
269
270
271
272
273
EE
EE
ES
SS
SS
SE
EE
EE
EB
UBB
•••
283
284
285
UBV
UVV
UVV
282
UBB
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
65-6294-15
Figure 13. NTSC Vertical Interval
REV. 1.0 3/26/03
17
TMC2193
PRODUCT SPECIFICATION
Table 11. NTSC Field/Line Sequence and Identification
Field 1
FIELD ID = x00
Field 2
FIELD ID = x01
Field 3
FIELD ID = x10
Field 4
FIELD ID = x11
Line
ID
LTYPE
Line
ID
LTYPE
Line
ID
LTYPE
Line
ID
LTYPE
4
SS
03
266
ES
01
4
SS
03
266
ES
01
5
SS
03
267
SS
03
5
SS
03
267
SS
03
6
SS
03
268
SS
03
6
SS
03
268
SS
03
7
EE
00
269
SE
02
7
EE
00
269
SE
02
8
EE
00
270
EE
00
8
EE
00
270
EE
00
9
EE
00
271
EE
00
9
EE
00
271
EE
00
10
UBB
0D
272
EB
10
10
UBB
0D
272
EB
10
…
UBB
0D
273
UBB
0D
…
UBB
0D
273
UBB
0D
19
UBB
0D
…
UBB
0D
19
UBB
0D
…
UBB
0D
20
UBB
0D
282
UBB
0D
20
UBB
0D
282
UBB
0D
21
UVV
0F
283
UBV
0E
21
UVV
0F
283
UBV
0E
22
UVV
0F
284
UVV
0F
22
UVV
0F
284
UVV
0F
…
UVV
0F
…
UVV
0F
…
UVV
0F
…
UVV
0F
262
UVV
0F
524
UVV
0F
262
UVV
0F
524
UVV
0F.
263
UVE
0C
525
UVV
0F
263
UVE
0C
525
UVV
0F
264
EE
00
1
EE
00
264
EE
00
1
EE
00
265
EE
00
2
EE
00
265
EE
00
2
EE
00
3
EE
00
3
EE
00
EE
SE
SS
ES
EB
UBB
UVV
UVE
UBV
18
Equalization pulse
Half-line vertical sync pulse, half-line equalization pulse
Vertical sync pulse
Half-line equalization pulse, half-line vertical sync pulse
Equalization broad pulse
Black burst
Active video
Half-line video, half-line equalization pulse
half-line black, half-line video
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
622
623
UVV
-VE
309
310
TMC2193
FIELDS 1 AND 5
624
625
1
2
3
4
5
EE
EE
SS
SS
SE
EE
EE
6
-BB
7
UBB
•••
22
•••
UBB
23
24
25
26
UBV
UVV
UVV
UVV
336
337
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
UVV
-VV
622
623
FIELDS 2 AND 6
311
312
313
314
315
316
317
318
319
320
•••
334
335
EE
EE
ES
SS
SS
EE
EE
EB
UBB
UBB
•••
UBB
UBB
UVV
UVV
23
24
25
26
UBV
UVV
UVV
UVV
336
337
UVV
UVV
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
-VV
-VE
FIELDS 3 AND 7
624
625
1
2
3
4
5
EE
EE
SS
SS
SE
EE
EE
6
UBB
7
UBB
•••
•••
22
UBB
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
309
UVV
310
UVV
FIELDS 4 AND 8
311
312
313
314
315
316
317
318
319
320
•••
334
335
EE
EE
ES
SS
SS
EE
EE
EB
-BB
UBB
•••
UBB
UBB
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
65-6294-16
Figure 14. PAL Vertical Interval
REV. 1.0 3/26/03
19
TMC2193
PRODUCT SPECIFICATION
Table 12. PAL Field/Line Sequence and Identification
Field 1 & 5
FIELD ID = 000, 100
Field 2 & 6
FIELD ID = 001, 111
Field 3 & 7
FIELD ID = 010, 110
Field 4 & 8
FIELD ID = 011, 111
Line
ID
LTYPE
Line
ID
LTYPE
Line
ID
LTYPE
Line
ID
LTYPE
1
SS
03
313
ES
01
1
SS
03
313
ES
01
2
SS
03
314
SS
03
2
SS
03
314
SS
03
3
SE
02
315
SS
03
3
SE
02
315
SS
03
4
EE
00
316
EE
00
4
EE
00
316
EE
00
5
EE
00
317
EE
00
5
EE
00
317
EE
00
6
-BB
05
318
EB
10
6
UBB
0D
318
EB
10
7
UBB
0D
319
UBB
0D
7
UBB
0D
319
-BB
05
…
UBB
0D
320
UBB
0D
…
UBB
0D
320
UBB
0D
22
UBB
0D
…
UBB
0D
22
UBB
0D
…
UBB
0D
23
UBV
0E
334
UBB
0D
23
UBV
0E
334
UBB
0D
24
UVV
0F
335
UBB
0D
24
UVV
0F
335
UVV
0F.
25
UVV
0F
336
UVV
0F
25
UVV
0F
336
UVV
0F
26
UVV
0F
337
UVV
0F
26
UVV
0F
337
UVV
0F
…
UVV
0F
…
UVV
0F
…
UVV
0F
…
UVV
0F
309
UVV
0F
622
-VV
07
309
UVV
0F
622
UVV
0F
310
-VV
07
623
-VE
04
310
UVV
0F
623
-VE
04
311
EE
00
624
EE
00
311
EE
00
624
EE
00
312
EE
00
625
EE
00
312
EE
00
625
EE
00
EE
SE
SS
ES
EB
UBB
-BB
UVV
-VV
UVE
-VE
UBV
20
Equalization pulse
Half-line vertical sync pulse, half-line equalization pulse
Vertical sync pulse
Half-line equalization pulse, half-line vertical sync pulse
Equalization broad pulse
Black burst
Black burst with color burst suppressed
Active video
Active video with color burst suppressed
Half-line video, half-line equalization pulse
Half-line video, half-line equalization pulse, color burst suppressed.
half-line black, half-line video
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
521
TMC2193
522
UVV
FIELDS 1 AND 5
UVV
18
523
524
525
1
2
3
4
5
6
7
8
9
•••
17
EE
EE
EE
SS
SS
SS
EE
EE
EE
-BB
-BB
UBB
•••
UBB
UVV
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
260
259
UVV
280
281
UBV
UVV
FIELDS 2 AND 6
-VE
261
262
263
264
265
266
267
268
269
270
271
•••
279
EE
EE
ES
SS
SS
SE
EE
EE
EB
-BB
UBB
•••
UBB
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
521
522
UVV
FIELDS 3 AND 7
-VV
18
523
524
525
1
2
3
4
5
6
7
8
9
•••
17
EE
EE
EE
SS
SS
SS
EE
EE
EE
-BB
UBB
UBB
•••
UBB
UVV
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
258
UVV
259
-VV
260
-VE
FIELDS 4 AND 8
261
262
263
264
265
266
267
268
269
270
271
•••
279
EE
EE
ES
SS
SS
SE
EE
EE
EB
UBB
UBB
•••
UBB
280
281
UBV
UVV
HSOUT
VSOUT
(TOUT = 1)
VSOUT
(TOUT = 0)
65-6294-17
Figure 15. PAL-M Vertical Interval
REV. 1.0 3/26/03
21
TMC2193
PRODUCT SPECIFICATION
Table 13. PAL-M Field/Line Sequence and Identification
Field 1 & 5
FIELD ID = 000, 100
Field 2 & 6
FIELD ID = 001, 111
Field 3 & 7
FIELD ID = 010, 110
Field 4 & 8
FIELD ID = 011, 111
Line
ID
LTYPE
Line
ID
LTYPE
Line
ID
LTYPE
Line
ID
LTYPE
1
SS
03
263
ES
01
1
SS
03
263
ES
01
2
SS
03
264
SS
03
2
SS
03
264
SS
03
3
SS
03
265
SS
03
3
SS
03
265
SS
03
4
EE
00
266
SE
02
4
EE
00
266
SE
02
5
EE
00
267
EE
00
5
EE
00
267
EE
00
6
EE
00
268
EE
00
6
EE
00
268
EE
00
7
-BB
05
269
EB
10
7
-BB
05
269
EB
10
8
-BB
05
270
-BB
05
8
UBB
05
270
UBB
05
9
UBB
0D
271
UBB
1D
9
UBB
0D
271
UBB
1D
…
…
…
…
…
…
…
…
…
…
…
…
17
UBB
0D
279
UBB
0D
17
UBB
0D
279
UBB
0D
18
UVV
0F
280
UBV
0E.
18
UVV
0F
280
UBV
0E.
…
…
…
281
UVV
0F
…
UVV
0F
281
UVV
0F
259
UVV
0F
…
…
…
258
UVV
0F
…
…
…
260
-VE
04
521
UVV
0F
259
-VV
07
521
UVV
0F
261
EE
00
522
-VV
07
260
-VE
04
522
UVV
0F
262
EE
00
523
EE
00.
261
EE
00
523
EE
00
524
EE
00
262
EE
00
524
EE
00
525
EE
00
525
EE
00
EE
SE
SS
ES
EB
UBB
-BB
UVV
-VV
UVE
-VE
UBV
22
Equalization pulse
Half-line vertical sync pulse, half-line equalization pulse
Vertical sync pulse
Half-line equalization pulse, half-line vertical sync pulse
Equalization broad pulse
Black burst
Black burst with color burst suppressed
Active video
Active video with color burst suppressed
Half-line video, half-line equalization pulse
Half-line video, half-line equalization pulse, color burst suppressed.
half-line black, half-line video
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Chrominance Processor
Control registers for this section:
NTSC Subcarrier
For NTSC encoding, the subcarrier synthesizer frequency
has a simple relationship to the pixel clock period, repeating
over 2 lines: The decimal value for the subcarrier phase step
is:
Address
Bit(s)
Name
0x06
7-6
FORMAT
0x06
5-3
MODE
0x07
5
DDSRST
455 ⁄ 2
32
FREQx = --------------------------- × 2
pixels ⁄ line
0x11
7
DRSSEL
Where the number of pixels/line is:
0x18
6
GLKCTL1
0x18
5
GLKCTL0
0x3F
3
GAUSS_BYP
0x40
7-0
FREQL
0x41
7-0
FREQ3
0x42
7-0
FREQ2
0x43
7-0
FREQM
0x44
7-4
SYSPHL
0x45
3-0
SYSPHM
0x46
7-4
BURPHL
0x47
3-0
BURPHM
0x48
7-4
BRSTFULL
This value must be converted to binary and split as described
previously for NTSC. The number of pixels/line is found as
in NTSC.
0x49
3-0
BRST1
PAL-M Subcarrier
0x4A
7-4
BRST2
Subcarrier Programming
The color subcarrier is produced by an internal 32 bit digital
frequency synthesizer which is completely programmable in
frequency and phase. Separate registers, FREQx, SYSPHx,
BSTPHx, are provided for phase adjustment of the color
burst and of the active video, permitting external delay compensation, color adjustment, etc. FREQx is the subcarrier
phase step per pixel and SYSPHx is phase offset at field 1,
line 1 (line 4 for NTSC), pixel 1.
PXCK Frequency
pixels ⁄ line = -----------------------------------------H Period
This value must be converted to binary and split into four 8
bit registers, FREQM, FREQ2, FREQ3, and FREQL.
PAL Subcarrier
The PAL relationship is more complex, repeating only once
in 8 fields (the well-known 25 Hz offset):
( 1135 ⁄ 4 ) + ( 1 ⁄ 625 )
32
FREQx = --------------------------------------------------- × 2
pixels ⁄ line
909 ⁄ 4
32
FREQ = --------------------------- × 2
pixels ⁄ line
SYSPHx establishes the appropriate phase relationship
between the internal synthesizer and the chroma modulator.
The nominal value for SYSPHx is zero.
Other values for SYSPHx must be converted to binary and
split into two 8 bit registers, SYSPHM and SYSPHL.
Burst Phase (BURPHx) sets up the correct relative NTSC
modulation angle. The value for BURPH is:
BURPHx = SYSPHx
This value must be converted to binary and split into two 8
bit registers, BURPHM and BURPHL.
REV. 1.0 3/26/03
23
TMC2193
PRODUCT SPECIFICATION
Table 14. Standard Subcarrier Parameters
Subcarrier Register (hex)
Standard
Field
Rate
(Hz)
Horizontal
Freq.
(kHz)
Pixel
Rate
(Mpps)
PXCK
Freq.
(MHz)
Subcarrier
Freq.
(MHz)
NTSC sqr. pixel
59.94
15.734266
12.27
24.54
3.57954500
BURPHM BURPHL SYSPHM
SYSPHL FREQM
FREQ2 FREQ3 FREQL
47
46
45
44
43
42
41
40
00
00
00
00
4A
AA
AA
AB
NTSC CCIR-601
59.94
15.734266
13.50
27.00
3.57954500
00
00
00
00
43
E0
F8
3E
NTSC 4x FSC
59.94
15.734266
14.32
28.64
3.57954500
00
00
00
00
40
00
00
00
PAL sqr. pixel
50.00
15.625000
14.75
29.50
4.43361875
00
00
00
00
4C
F3
18
19
PAL CCIR-601
50.00
15.625000
13.50
27.00
4.43361875
00
00
00
00
54
13
15
96
PAL 15 Mpps
50.00
15.625000
15.00
30.00
4.43361875
00
00
00
00
4B
AA
C6
A1
PAL-M sqr.pixel
60.00
15.750000
12.50
25.01
3.57561149
00
00
00
00
49
45
00
51
PAL-M CCIR-601
60.00
15,750000
13.50
27.00
3.57561149
00
00
00
00
43
DF
3F
D7
PAL-M 4x FSC
60.00
15,750000
14.30
28.60
3.57561149
00
00
00
00
40
10
66
F5
Subcarrier Synchronization
There are 5 modes of subcarrier synchronization in the
TMC2193, freerun, subcarrier reset, Genlock, DRS-lock and
Ancillary Data Control (ANC).
•
Freerun
At the rising edge of RESET the DDS starts to generate the
subcarrier reference and will continue to freerun the subcarrier. When setting the control register DDSRST is HIGH, the
TMC2193 will reset the DDS to the SYSPH value on the
next field 1, line 1 (line 4 for NTSC), pixel 1 occurrence and
will reset this bit to be LOW. This allows the encoder to start
with the correct SCH relationship. The phase of the subcarrier reference will drift over time since a 32 bit accumulator
has a error of ±0.5 Hz when generating the subcarrier reference for NTSC 13.5 MHz.
•
Subcarrier Reset
At the rising edge of RESET the DDS starts to generate the
subcarrier reference and will reset the DDS to the SYSPH
value every field 1, line 1 (line 4 for NTSC), pixel 1 occurrence. This enables the encoder to maintain the proper SCH
relationship.
•
Genlock
The Genlock mode allows the TMC2193 to lock to a composite reference when used in conjunction with the
TMC22071A Genlocking Video Digitizer. The TMC22071A
produces a genlock reference signal (GRS) which contains
field identification, PALODD status, relative phase and relative frequency of the composite reference. The GRS is sampled on the CVBS bus 60 PXCK’s after the falling edge of
HSIN. The phase and frequency values are used to update
the DDS on a line to line basis, thus synchronizing the subcarrier to an external composite reference.
•
DRS-Lock
the TMC22x5y. The TMC22x5y produces a decoder reference signal (DRS) which contains field identification, PALODD status, relative phase and relative frequency of the
composite or S-video input. The DRS is sampled on either
the CVBS bus or the PD port, depending on DRSSEL, 60
PXCK’s after the falling edge of HSIN. The phase and frequency values are used to update the DDS on a line to line
basis, thus synchronizing the subcarrier to an external composite reference.
•
Ancillary Data Control (ANC)
Subcarrier synchronization in ANC mode is covered in the
Ancillary Data Control section of this data sheet.
SCH Phase Error Correction
SCH refers to the timing relationship between the 50% point
of the leading edge of horizontal sync and the positive or
negative zero-crossing of the color burst subcarrier reference. SCH error is usually expressed in degrees of subcarrier
phase. In PAL, SCH is defined for line 1 of field 1, but since
there is no color burst on line 1, SCH is usually measured at
line 7 of field 1. The need to specify SCH relative to a particular line in PAL is due to the 25 Hz offset of PAL subcarrier
frequency. Since NTSC has no such 25 Hz offset, SCH
applies to all lines.
The SCH relationship is important in the TMC2193 when
two video sources are being combined or if the composite
video output is externally combined with another video
source. In these cases, improper SCH phasing will result in a
noticeable horizontal jump of one image with respect to
another and/or a change in hue proportional to the SCH error
between the two sources.
SCH phasing can be adjusted by modifying BURPH and
SYSPH values by equal amounts. SCH is advanced/delayed
by one degree by increasing/decreasing the value of BURPH
and SYSPH by approximately B6h. An SCH error of 15o is
corrected with SYSPH and BURPH offsets of AAAh.
The DRS-Lock mode allows the TMC2193 to lock its composite output to the decoded composite or S-video input of
24
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Burst Envelope
0
The TMC2193 includes the ability to adjust the burst amplitude and the shape of the burst. The Control Registers
BRSTFULL, BRST1 and BRST2 hold the magnitude of the
burst vector. BRSTFULL is the maximum amplitude of the
burst vector. BRST1 and BRST2 determine the intermediate
values of the burst vector for the burst envelope shaping. A 5
pixel burst envelope shaping occurs at the rising and falling
edges of burst. At the rising edge of burst the next 5 pixels
have the following weighting; BRSTFULL – BRST1,
BRSTFULL – BRST2, BRSTFULL/2, BRST2, and BRST1.
At the falling edge of burst the next 5 pixels have the following weighting; BRST1, BRST2, BRSTFULL/2, BRSTFULL
– BRST2, and BRSTFULL – BRST1. With this flexibility
the user determine the shape, amplitude and width of the
burst signal.
-20
-30
-40
-50
-60
65-6294-19
Attenuation (db)
-10
-70
-80
0
0.1
0.2
0.3
0.4
0.5
Normalized Frequency (Pixel rate)
Figure 17. Gaussian Filter Response
Sync and Pedestal Insertion
BRSTFULL
BRST1
BRST2
BRSTFULL/2
Control Registers for this section
BRSTFULL - BRST2
BRSTFULL - BRST1
BLANK
BU
65-6294-18
Figure 16. Burst Envelope
Color-Difference Low-Pass Filters
The chrominance portion of a composite video signal must
be sufficiently bandlimited to avoid cross-color and crossluminance distortion, and to preclude exceeding the allowable bandwidth of a video channel.
Address
Bit(s)
Name
0x06
7-6
MODE
0x10
1-0
OUTMODE
0x11
5
COMP2DB
0x14
7-0
VBIPEDEM
0x15
7-0
VBIPEDEL
0x16
7-0
VBIPEDOM
0x17
7-0
VBIPENOL
0x1A
6-0
PEDHGT1
0x3F
3
C2DB_OFF
0x4B
7-0
NMBD
0x4B
7-4
PEDHGT2
Pedestal Enable
The color-difference low-pass filters on the TMC2193
establish chrominance bandwidths which meet the specifications outlined in CCIR Report 624-3, Table II, Item 2.6, for
system I over a range of pixel rates from 12.27 Mpps to
14.75 Mpps. Equal bandwidth is established for both colordifference channels.
The TMC2193 has the ability to independently select lines
for pedestal insertion during the vertical blanking interval
(VBI). For 525-line systems and using the NTSC line numbering convention, in which the first vertical serration is on
line 4 for field 1 and line 266 for field 2, the vertical interval
lines map to the control registers VBIPEDxy as shown in
Table 15.
Table 15. Line by Line Pedestal Enable
Bit
7
6
5
4
3
2
1
0
VBIPEDEL
17
16
15
14
13
12
11
10
VBIPEDEM
25*
24
23
22
21
20
19
18
VBIPEDOL
279
278
277
276
275
274
273
VBIPEDOM
287*
286
285
284
283
282
281
REV. 1.0 3/26/03
280
25
TMC2193
PRODUCT SPECIFICATION
Enabling the pedestal on line 25 enables it for the remainder
of field 1, to line 262. Likewise, enabling the pedestal on line
288 enables it for the remainder of field 2.
Pedestal Height
There are two control registers that set the pedestal height,
PEDHGT1, and PEDHGT2. PEDHGT1 determines the
height of the pedestal for the luminance channel on the composite path and PDEHGT2 determines the height of the pedestal for the luminance channel on the component path. This
allows for independent pedestal control of the composite and
component paths. In both cases the range of the pedestal
height is from -22.1 to 21.74 IRE in .345 IRE increments.
Sync and Blank Insertion
The control register NBMD selects the sync and blank levels
for the component path, so that the correct ratio of sync to
blank and blank to 100% white for both a 5:2 and 7:3 standards are meet. If NBMD is LOW the component blank level
is a D/A code of 256 (314 mV), this is added to the luminance data for YPbPr or all three components for RGB outputs. The component sync level is a D/A code of 12 (14 mV)
which is added to the luminance data for YPbPr or to the
Green component for RGB outputs. If NBMD is HIGH the
component blank level is a D/A code of 240 (295 mV), this
is added to the luminance data for YPbPr or all three components for RGB outputs. The component sync level is a D/A
code of 8 (9 mV) which is added to the luminance data for
YPbPr or to the Green component for RGB outputs. The
selection of which components have sync and blank codes
added to them is controlled by the OUTMODE control register. Which can select from YPbPr, RGB with sync on green
or RGB with external sync.
For the composite path the blank and sync D/A codes are
determined by the FORMAT control register. For NTSC and
PAL-M formats the blank D/A code is 240 (295 mV) and the
sync D/A code is 8 (9 mV). For all other PAL formats the
blank D/A code is 256 (314 mV) and the sync D/A code is
12 (14 mV).
In all cases the sync edges are sloped to insure the proper rise
and fall times in all video standards.
Closed Caption Insertion
Control Registers for this section
The TMC2193 includes a flexible closed-caption processor.
It may be programmed to insert a closed caption signal on
any line within a range of 16 lines on ODD and/or EVEN
fields. Closed Caption insertion overrides all other configurations of the encoder: if it is specified on an active video line,
it takes precedence over the video data and removes NTSC
setup if setup has been programmed for the active video
lines. Closed Caption is only available when the TMC2193
is in a 13.5 MHz pixel rate.
Closed caption is turned on by setting CCON HIGH. Whenever the encoder begins producing a line specified by
CCFLD and CCLINE, it will insert a closed caption line in
its place. If CCRTS is HIGH, the data contained in CCDx
will be sent. IF CCRTS is LOW, Null bytes (hex 00 with
ODD parity) will be sent.
Line Selection
The line to contain CC data is selected by a combination of
the CCFLD bit and the CCLINE bits. CCLINE is added to
the offset shown in Table 16 to specify the line.
Table 16. Closed Caption Line Selection
Standard
Offset
Field
Lines
525
12
ODD
12-27
274
EVEN
274-289
16
ODD
16-31
328
EVEN
328-343
625
Parity Generation
Standard Closed-Caption signals employ ODD parity, which
may be automatically generated by setting CCPAR HIGH.
Alternatively, parity may be generated externally as part of
the bytes to be transmitted, and, with CCPAR LOW, the
entire 16 bits loaded into the CCDx registers will be sent
unchanged.
Operating Sequence
A typical operational sequence for closed-caption insertion
on line xx is:
Read Register 1E and check that bit 7 is LOW, indicating that the CCDx registers are ready to accept data.
If ready, write two bytes of CC data into registers 1C
and 1D.
Address
Bit(s)
Name
0x1C
7-6
CCD1
0x1D
1-0
CCD2
0x1E
7
CCON
Write into register 1E the proper combination of
CCFLD and CCLINE. CCPAR may be written as
desired. Set CCRTS HIGH.
0x1E
6
CCRTS
The CC data is transmitted during the specified line.
0x1E
5
CCPAR
0x1E
4
CCFLD
0x1E
3–0
CCLINE
26
As soon as CCDx s transferred into the CC processor (and
CCRTS goes LOW), new data may be loaded into registers
1C and 1D. This allows the user to transmit CC data on several consecutive lines by loading data for line n+1 while data
is being sent on line n.
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Interpolation Filters
x/Sin(x) Filter
Each video output on the TMC2193 is digitally filtered with
sharp-cutoff low-pass interpolation filters. These filters
ensure that the frequency band above base-band video and
below the pixel frequency (fS/4 to 3fS/4, where fS is the
PXCK frequency) are sufficiently suppressed.
Control Registers for this section
Since these are fixed-coefficient digital filters, their filter
characteristics depend upon clock rate.
Address
Bit(s)
Name
0x11
4
SINEN
The TMC2193 contains a selectable X/sin(X) filter prior to
each DAC. The X/sin(X) filter boosts the high frequency
data to negate the sin(X)/X roll-off associated with D/A converters.
10
-10
1.5
-20
1
-40
-50
-60
-70
-80
X/Sin(x) Filter
0.5
Compensated
D/A Output
0
-0.5
-1
Sin(x)/x D/A Roll-Off
65-6294-22
Attenuation (db)
-30
65-6294-21
Attenuation (db)
0
-1.5
0
0.2
0.4
0.6
0.8
1
-2
Frequency (Pixel rate)
0
Figure 18. Interpolation Filter
0.1
0.2
0.3
0.4
0.5
Normalized Frequency (PXCK)
Figure 20. X/SIN(X) Filter
0.5
Output Data Formats
-0.5
Control Registers for this section
-1
-1.5
-2
-2.5
65-6294-20
Attenuation (db)
0
-3
-3.5
-4
0
0.1
0.2
0.3
0.4
0.5
Frequency (Pixel rate)
Figure 19. Interpolation Filter – Passband Detail
Address
Bit(s)
Name
0x10
7
DAC4DIS
0x10
6
DAC3DIS
0x10
5
DAC2DIS
0x10
4
DAC1DIS
0x10
1-0
OUTMODE
0x11
6
OFMT
0x11
3
REFSEL
0x3F
7
SEL_CLK
0x3F
4
SEL_PIX
The selection of the output format is determined by the
OUTMODE control register.
Table 17. D/A Outputs
Description
Ref. DAC
DAC1
DAC2
DAC3
DAC4
RGB
ref.
Green
Blue
Red
Comp2/overlay
Y PB PR
ref.
Y
PB
PR
Comp2/overlay
S-VIDEO
ref.
Comp1
Y
Chroma
Comp2/overlay
REV. 1.0 3/26/03
27
TMC2193
PRODUCT SPECIFICATION
Analog outputs of the TMC2193 are driven by four 10 bit
D/A converters and separate 9 bit reference D/A converter,
operating at twice the pixel rate. The outputs drive standard
video levels into 37.5 or 75 Ohm loads. An internal voltage
reference is used to provide reference current for the D/A
converters. For more accurate levels, an external fixed or
variable voltage reference source is accommodated. The
video signal levels from the TMC2193 may be adjusted by
varying the common Vref or the four independent Rrefs.
Each video D/A converter has an independent reference
resistor that can adjust the output gain, with the exception of
the reference D/A whose reference resistor is shared with
DAC1. D/A Matching is achieved by trimming the each
external reference resistor of each D/A.
Digital Composite Output
In addition, the TMC2193 supplies a 10 bit digital composite
signal on pins D[7:0] and FLD[2:1]. The digital composite
output can be either an interpolated signal on a non-interpolated signal, this controlled by the control register
SEL_CLK.
Ancillary Data
Control Registers for this section
Address
Bit(s)
Name
0x07
2
ANCFREN
0x07
1
ANCPHEN
0x07
0
ANCTREN
0x08
7-0
ANCID
The TMC2193 is designed to accept 15 words of ancillary
data after the active video pixels at the end of each horizontal
line. Ancillary data may occur once per line, once per field,
once per eight fields, on random lines, or not al all. The
TMC2193 does not assume ancillary data is present on a regular basis.
Table 18. Ancillary Data Format
Word ID
Description
ANC2
Ancillary Data Header (Timing
Reference Signal)
ANC1
ANC0
B7
B6
B5
B4
B3
B2
B1
B0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
TT6
TT5
TT4
TT3
TT2
TT1
TT0
P
Word
0
D11
D10
D9
D8
D7
D6
P
LL
Count
0
D5
D4
D3
D2
D1
D0
P
FIELD
Field ID/Synchronous Video Flag
x
x
x
SVF
F2
F1
F0
P
TT
Data Type
MM
reserved
x
x
x
x
x
x
x
P
PHV
PH12
PH11
PH10
PH9
PH8
PH7
P
PH6
PH5
PH4
PH3
PH2
PH1
PH0
P
FRV
x
x
FR31
FR30
FR29
FR28
P
FR3
FR27
FR26
FR25
FR24
FR23
FR22
FR21
P
FR2
FR20
FR19
FR18
FR17
FR16
FR15
FR14
P
FR1
FR13
FR12
FR11
FR10
FR9
FR8
FR7
P
FR0
FR6
FR5
FR4
FR3
FR2
FR1
FR0
P
PH1
Subcarrier Phase
PH0
FR4
Subcarrier Frequency
Note:
1. P = odd parity bit, x = reserved bit will be ignored
The first three words of ancillary data comprise the TRS signal (ANC2-0) which indicates the end of active video. Also
known as the Ancillary data header, the TRS signal is a 00h,
FFh, FFh sequence. Except for the TRS words, ancillary data
bit 0 (B0, LSB) is odd parity for B7-1.
ancillary data will be processed. If there is no match, the
TMC2193 ignores ancillary data.
The data type word (TT) is used to specify the ancillary data
type. The TMC2193 compares this 7 bit value with the contents of the ANCID control register. If there is a match, the
Ancillary phase data is used to program the MSBs of the
PHASE register. ANCPHEN and PHV determine how ancillary phase data is used. When ancillary data is not present,
the TMC2193 assumes PHV = LOW.
28
The word count data (D11-0 in MM, LL) in the ancillary data
packet indicate the number of words in ancillary data.
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Table 19. Ancillary Data Control – Phase
ancillary frequency data is used. When ancillary data is not
present, the TMC2193 assumes FRV = LOW.
ANCPHEN
PHV
Description
0
x
Ignore ancillary phase data,
set PHASE = 0
ANCFREN
FRV
1
0
Ignore ancillary phase data,
no change to PHASE
0
x
Ignore ancillary frequency
data
1
1
Load ancillary phase data into
PHASE registers
1
0
Ignore ancillary frequency
data
1
1
Load ancillary frequency data
into FREQ3-0 registers
Table 20. Ancillary Data Control Frequency
Ancillary frequency data is used to program the 32 bits of the
FREQ3-0 registers. ANCFREN and FRV determine how
Description
Table 21. Field Identification and Subcarrier Reset Modes
ANCTREN
SVF
F2
F1
F0
F (EAV)
Field ID / Subcarrier Reset Mode
0
x
x
x
x
0
Odd field, reset subcarrier every 8 fields
0
x
x
x
x
1
Even field
1
1
x
x
x
0
Odd field, subcarrier free run
1
1
x
x
x
1
Even field
Basic Mode
Genlocking Mode
Field Sequence Mode
1
0
0
0
0
0
Field 1, reset subcarrier at field 1
1
0
0
0
1
1
Field 2
1
0
0
1
0
0
Field 3
1
0
0
1
1
1
Field 4
1
0
1
0
0
0
Field 5
1
0
1
0
1
1
Field 6
1
0
1
1
0
0
Field 7
1
0
1
1
1
1
Field 8
Note:
1. The F bit is part of the EAV timing reference code and tracks the F0 bit.
Operating Modes
The field number bits (F2-0) from the ancillary data packet
FIELD word, are used to program the encoder’s field counter
depending upon the state of the synchronous video flag
(SVF) and the ANCTREN bit in the control register.
In the basic operating mode (ANCTREN = LOW), all timing
is found in the F bit of EAV. F2-0 and SVF are ignored and
the encoder subcarrier synthesizer is reset to the PHASE
value every eight fields (when the field counter transitions
from 111 (field 8) to 000 (field 1).
In the basic mode, ANCFREN and ANCPHEN are typically
set LOW, ignoring ancillary frequency and phase data. If
ANCFREN and ANCPHEN are HIGH, the TMC2193 uses
the incoming ancillary frequency and phase data on a lineby-line basis.
REV. 1.0 3/26/03
In genlocking mode (ANCTREN and SVF = HIGH), the
subcarrier synthesizer is allowed to free run, with phase and
frequency being set from the ancillary data packet PH12-0
and FR31-0 data. The field counter increments just like it
does in basic mode.
Field sequence mode (ANCTREN = HIGH and SVF =
LOW), is the same as basic mode except that the field
counter is set by the F2-0 bits in the FIELD word of ancillary
data. If ancillary data is not present on a line, the field
counter will continue to count as it does in basic mode.
When ancillary data is present, the contents of the field
counter are loaded with field data (F2-0). In this way, the
TMC2193 may be synchronized with an external source by
sending field data only once.
29
TMC2193
PRODUCT SPECIFICATION
Layering Engine
Address
Bit(s)
Name
Control Registers for this section
0x0A
7-0
DKEYMAX
Name
0x0B
7-0
DKEYMIN
7-0
EKEYMAX
Address
Bit(s)
0x04
2
SKEN
0x0C
0x05
3-2
OMIX
0x0D
7-0
EKEYMIN
0x07
6
SKFLIP
0x0E
7-0
FKEYMAX
0x09
7
HKEN
0x0F
7-0
FKEYMIN
0x09
6
BUKEN
0x09
5
SKEXT
0x09
4
DKDIS
0x09
3
EKDIS
0x09
2
FKDIS
0x09
1-0
LAYMODE
The TMC2193 features a robust layering engine with three
possible input layers controlled by two keying controls. The
layer assignments are shown in Table 22, along with the keying control. The keying controls, KEY pin or OL4-0 are
aligned with the incoming pixel data stream and are then
delayed throughout the chip to be continuously aligned with
the input video streams. A generic overview of the keying
and layering features is shown in Figure 21.
Table 22. Layering and Keying Modes
LAYMODE
BACKGROUND
MIDGROUND
FOREGROUND
Image Source
Image Source
Keying Control
Image Source
Keying Control
0
PD
OVERLAY
OL4-0
CVBS
KEY or Data Key
1
PD
CVBS
KEY or Data Key
OVERLAY
OL4-0
2
CVBS
OVERLAY
OL4-0
PD
KEY or Data Key
3
CVBS
PD
KEY or Data Key
OVERLAY
OL4-0
OL4-0
dT
PD
LOGIC
PD
DATA KEY
LOGIC
YC
OVERLAY
MIXER
KEY
dT
dT
OLUT
1/2AMP
CVBS
dT
dT
dT
dT
KEYING
MIXER
COMP2
65-6294-23
Figure 21. Layering Engine
Overlay Mixer
The OL[4:0] bus provides the ability to overlay 30 different
24 bit values onto the pixel data path. The 24 bit overlay colors must be the same format as the incoming Pixel data. For
Y,Cb,Cr input formats the range of Y values spans the entire
range of the format, 1 to 254, this enables super whites and
super blacks in the overlay palette.
When OL[4:0] is equal to 00h the pixel data port to be the
output of the overlay mixer. If OL[4:0] is in the range of 1 to
31 then the output source is one of 30 possible overlay col-
30
ors, see Table 22. Overlay Address Map. When OL4-0 equal
to 16, the overlay mixer produces a pixel data output with
half the luminance magnitude and chrominance magnitude.
Any OL4-0 value greater than 16 will result in a overlay mix
with a full amplitude overlay and the pixel data with half
amplitude pixel data (PD) or half amplitude CVBS data as its
values. This allows for transparent overlays or produce
shadow boxes around overlaid text.
The midpoint of the rising and falling edges on the mixed
output is determined by the transition of the OL[4:0] pins in
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
relation to the PD port. Control register OMIX chooses
among the following set of coefficients; either 0 1/8 1/2 7/8
1, 0 1/2 1 , or 0 1 to switch between the PD port and the over-
PDx
OL[4:0]
A
B
C
D
lay color. The timing diagram in Figure 22 identifies the
three possible output formats that the mixer can produce.
E
A
F
G
H
I
>0
0
MixOUT (OMIX = 3)
A
MixOUT (OMIX = 2)
A
B
1/2C, 1/2OL
OL
OL
OL
1/2G, 1/2OL
H
MixOUT (OMIX = 1)
A
B
OL
OL
OL
OL
OL
H
7/8B, 1/8OL 1/2C, 1/2OL 1/8D, 7/8OL
OL
1/8F, 7/8OL 1/2G, 1/2OL 7/8H, 1/8OL
I
I
I
65-6294-24
Figure 22. Overlay Outputs
Table 23. Overlay Address Map
OL4-0
Result
0
Pixel data is passed through overlay mixer.
1-15
Overlay is mixed with PD or CVBS at the transitions.
16
Half amplitude PD or half amplitude CVBS is the output of COMP2.
17-31
Overlay is mixed with half amplitude PD or half amplitude CVBS at the transitions.
Hardware Keying
The KEY input switches the input to the Comp2 data path
between the composite video generated from the PD port and
the CVBS data bus on a pixel-by-pixel basis. This is a “soft”
switch is executed over 3 PCK periods to minimize out-ofband transients. Keying is accomplished in the digital composite video domain. The coefficients for the mix are 0, 1/8,
1/2, 7/8, and 1 . The COMP2 output is the final output for all
overlay functions. The other three D/As will continue to
present PD port data when CVBS is active.
DKEYDIS, EKEYDIS, and FKEYDIS. On each channel the
eight (8) MSBs of the pixel data are compared against a
maximum key value and a minimum key value. If the pixel
data is greater than xKEYMIN and less than or equal to
xKEYMAX, then a key match is signaled for that channel.
xKEYMAX
A
B
A<=B
KEY
MATCH
xKEYMIN
Hardware keying is enabled by the key Control Register
HKEN. Normally, keying is only effective during the active
video portion of the encoded video line (as determined by
Control Register VA). That is, the horizontal blanking interval is generated by the encoder even if the KEY signal is
held HIGH through horizontal blanking. However, it is possible to allow digital horizontal blanking to be passed
through from the CVBS bus to the COMP2 output by setting
key Control Register BUKEN HIGH. In this mode, KEY is
always active, and may be exercised at will.
The KEY input is registered into the encoder just as Pixel
data is clocked into the PD port. It is internally pipelined, so
the midpoint of the KEY transition occurs at the output of
the pixel that was input at the same time at the KEY signal.
Data Keying
Data Keying occurs just prior to the gamma block. Data keying for each channel Green/Y, Blue/Cb, and Red/Cr, is separately enabled or disabled by the control registers
REV. 1.0 3/26/03
xCHANNEL
A
B
A<=B
65-6294-25
Figure 23. Data Keying
By allowing a window of possible key values on each channel the TMC2193 opens a key cube in the color space.
Parallel Microprocessor Interface
The parallel microprocessor interface is active when SER is
HIGH and employs a 12-line interface; an 8 bit data bus and
2 bit address location, 1 bit read/write select, and a chip
select controlling the timing. Two addresses are required for
device programming, one to the pointer and one to the data
location. When writing, the address is presented along with a
LOW on the R/W pin during the falling edge of CS. Eight
bits of data are presented on D7-0 during the subsequent rising edge of CS.
31
TMC2193
PRODUCT SPECIFICATION
In read mode, the address is accompanied by a HIGH on the
R/W pin during a falling edge of CS. The data output pins go
to a low-impedance state tDOZ after CS falls. Valid data are
present on D7-0 tDOM after the falling edge of CS. Because
this port operates asynchronously with the pixel timing,
there is an uncertainty in this data valid output delay of one
PXCK period. This uncertainty does not apply to tDOZ.
Red byte is transferred the base address will increment by
one (1).
Table 24. Parallel Port Control
A1-0
R/W
00
0
Load D7-0 into Control Register
pointer (block 0)
Writing data to specific control registers of the TMC2193
requires that the 8 bit address of the control register of interest be written prior to the data. This control register address
is the base address for subsequent write operations. The base
address auto increments by one for each byte of data written
after the data byte intended for the base address. If more
bytes are transferred than there are available addresses, the
address will not increment and remain at its maximum value
of 4Ch.
00
1
Read Control Register pointer on
D7-0
01
0
Load D7-0 into addressed OLUT
Location pointer (block 0)
01
1
Read addressed OLUT Location
pointer on D7-0.
10
0
Write D7-0 to addressed Control
Register
Writing data to specific OLUT location of the TMC2193
requires that the 8 bit address of the OLUT location of interest be written prior to the data sequence. This OLUT location address is the base address for subsequent write
operations. The base address auto increments by one for
each sequence of three (3) bytes of data written after the data
byte intended for the base address. The sequence of data
transfer is Y or Green, Cb or Blue, Cr or Red, after the Cr or
10
1
Read addressed Control Register
on D7-0
11
0
Write D7-0 to addressed OLUT
Location
11
1
Read addressed OLUT Location on
D7-0
tPWLCS
Action
tPWHCS
CS
tSA
tHA
R/W
ADR
tSD
tHD
D7-0
65-6294-26
Figure 24. Microprocessor Parallel Port – Write Timing
tPWLCS
tPWHCS
CS
tSA
tHA
R/W
ADR
tDOM
tHOM
D7-0
tDOZ
65-6294-27
Figure 25. Microprocessor Parallel Port – Read Timing
32
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Serial Control Port (R-Bus)
In addition to the 12-wire parallel port, a 2-wire serial control interface is provided, active when SER is LOW. Either
port alone can control the entire chip. Up to four TMC2193
devices may be connected to the 2-wire serial interface with
each device having a unique address.
The 2-wire interface comprises a clock (SCL) and a bi-directional data (SDA) pin. The encoder acts as a slave for receiving and transmitting data over the serial interface. When the
serial interface is not active, the logic levels on SCL and
SDA need to be pulled HIGH by external pull-up resistors.
Data received or transmitted on the SDA line must be stable
for the duration of the positive-going SCL pulse. Data on
SDA must change only when SCL is LOW. If SDA changes
state while SCL is HIGH, the serial interface interprets that
action as a start or stop sequence.
bit indicates the direction of data transfer, read from or write
to the slave device. If the transmitted slave address matches
the address of the device (set by the state of the SA1-0 input
pins in Table 24), the TMC2193 acknowledges by bringing
SDA LOW on the 9th SCL pulse. If the addresses do not
match, the TMC2193 will not acknowledge.
Table 25. Serial Port Addresses
A1
A0
(SA1) (SA0)
A6
A5
A4
A3
A2
1
0
1
0
1
0
0
1
0
1
0
1
0
1
1
0
1
0
1
1
0
1
0
1
0
1
1
1
Data Transfer via Serial Interface
There are six components to serial bus operation:
For each byte of data read or written, the MSB is the first bit
of the sequence.
•
•
•
•
•
•
If the TMC2193 does not acknowledge the master device
during a write sequence, the SDA remains HIGH so the master can generate a stop signal. If the master device does not
acknowledge the TMC2193 during a read sequence, the
encoder interprets this as “end of data”.
Start signal
Slave address byte
Block Pointer
Offset Pointer
Data byte to read or write
Stop signal
When the serial interface is inactive (SCL and SDA are
HIGH) communications are initiated by sending a start signal. The start signal is a HIGH-to-LOW transition on SDA
while SCL is HIGH. This signal alerts all slaved devices that
a data transfer sequence is coming.
The first eight bits of data transferred after a start signal comprise a seven bit slave address and a single R/W bit. The R/W
Writing data to specific control registers of the TMC2193
requires that the 8 bit address of the control register of interest be written after the slave address has been established.
This control register address is the base address for subsequent write operations. The base address auto increments by
one for each byte of data written after the data byte intended
for the base address.
SDA / R/W
tBUFF
tSTAH
tDHO
tDSU
tSTASU
tSTOSU
tDAL
SCL / CS
tBAH
65-6294-28
Figure 26. Serial Port Read/Write Timing
Data are read from the control registers of the TMC2193 in a
similar manner. Reading requires two data transfer operations:
The base address must be written with the R/W bit of the
slave address byte LOW to set up a sequential read operation.
REV. 1.0 3/26/03
Reading (the R/W bit of the slave address byte HIGH)
begins at the previously established base address. The
address of the read register auto increments after each byte is
transferred.
To terminate a write sequence to the TMC2193, a stop signal
must be sent. A stop signal comprises a LOW-to-HIGH transition of SDA while SCL is HIGH. To terminate a read
33
TMC2193
PRODUCT SPECIFICATION
sequence simply do not acknowledge (NOACK) the last byte
received and the TMC2193 will terminate the sequence.
A repeated start signal occurs when the master device driving the serial interface generates a start signal without first
SDA
Bit 7
Bit 6
Bit 5
Bit 4
generating a stop signal to terminate the current communication. This is used to change the mode of communication
(read, write) between the slave and master without releasing
the serial interface lines.
Bit 3
Bit 2
Bit 1
Bit 0
ACK
SCL
65-6294-29
Figure 27. Serial Interface – Typical Byte Transfer
SDA
A6
A5
A4
A3
A2
SA1
SA0
R/W
ACK
SCL
65-6294-30
Figure 28. Serial Interface – Chip Address
Serial Interface Read/Write Examples
Write to one control register
• Start signal
• Slave Address byte (R/W bit = LOW)
• Block Pointer (00)
• Offset Pointer
• Data byte to base address
• Stop signal
Write to four consecutive control registers
• Start signal
• Slave Address byte (R/W bit = LOW)
• Block Pointer (00)
• Offset Pointer
• Data byte to base address
• Data byte to (base address + 1)
• Data byte to (base address + 2)
• Data byte to (base address + 3)
• Stop signal
Write to one OLUT location
• Start signal
• Slave Address byte (R/W bit = LOW)
• Block Pointer (01)
• Offset Pointer (base address)
• Data byte to base address (Y or Green)
• Data byte to base address (Cb or Blue)
• Data byte to base address (Cr or Red)
• Stop signal
34
Write to four consecutive OLUT locations
• Start signal
• Slave Address byte (R/W bit = LOW)
• Block Pointer (01)
• Offset Pointer (base address)
• Data byte to base address (Y or Green)
• Data byte to base address (Cb or Blue)
• Data byte to base address (Cr or Red)
• Data byte to base address +1 (Y or Green)
• Data byte to base address +1 (Cb or Blue)
• Data byte to base address +1 (Cr or Red)
• Data byte to base address +2 (Y or Green)
• Data byte to base address +2 (Cb or Blue)
• Data byte to base address +2 (Cr or Red)
• Data byte to base address +3 (Y or Green)
• Data byte to base address +3 (Cb or Blue)
• Data byte to base address +3 (Cr or Red)
• Stop signal
Read from one control register
• Start signal
• Slave Address byte (R/W bit = LOW)
• Block Pointer (00)
• Offset Pointer
• Stop signal
• Start signal
• Slave Address byte (R/W bit = HIGH)
• Data byte from base address
• NOACK
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Read from four consecutive control registers
• Start signal
• Slave Address byte (R/W bit = LOW)
• Block Pointer (00)
• Offset Pointer
• Stop signal
• Start signal
•
•
•
•
•
•
Slave Address byte (R/W bit = HIGH)
Data byte from base address
Data byte from (base address + 1)
Data byte from (base address + 2)
Data byte from (base address + 3)
NOACK
Control Register Map
Table 26. Control Register Map
Reg Bit
Mnemonic
Function
Table 26. Control Register Map (continued)
Reg Bit
TMC2193 Identification Registers (Read only)
Mnemonic
Function
Ancillary Data ID Register
00
7-0
PARTID2
Reads back 97h
01
7-0
PARTID1
Reads back 21h
02
7-0
PARTID0
Reads back 93h
09
7
HKEN
Hardware KEY Enable
03
7-0
REVID
Silicon revision #
09
6
BUKEN
Burst KEY Enable
09
5
SKEXT
Data KEY Operation Select
04
7
GAMENG
Gamma Filter Enable – Green
09
4
DKDIS
Green/Y Data KEY Disable
04
6
GAMENC
Gamma Filter Enable – Blue Red
09
3
EKDIS
Blue/CB Data KEY Disable
04
5
GAMSELG
Gamma Filter Selection – Green
09
2
FKDIS
Red/CR Data KEY Disable
04
4
GAMSELC
Gamma Filter Selection – Blue
Red
09
1-0
LAYMODE
Layer Assignment Select
04
3
SRESET
Software RESET
0A
7-0 DKEYMAX
04
2
SKEN
Data KEY Enable
Green/Y Maximum Data Key
Value
04
1-0
PDRM
Pixel Data Ramping Mode
0B
7-0 DKEYMIN
Green/Y Minimum Data Key
Value
0C
7-0 EKEYMAX
Blue/CB Maximum Data Key
Value
0D
7-0 EKEYMIN
Blue/CB Minimum Data Key
Value
0E
7-0 FKEYMAX
Red/CR Maximum Data Key
Value
0F
7-0 FKEYMIN
Red/CR Minimum Data Key
Value
Gamma Filters Register
08
7-0
ANCID
Ancillary Data Identification
Keying/Overlay Engine
Key Value Registers
Input Format Register
05
7
D1OFF
YCBCR Input Formatting
05
6-4
INMODE
Input Mode Select
05
3-2
OMIX
Overlay Mixer Select
05
1-0
SOURCE
Video Input Select
General Control Register
06
7-6
FORMAT
Video Format
06
5-3
MODE
Video Mode
06
2
PDCDIR
PDC Directional Control
06
1
TOUT
External Sync Output Control
10
7
DAC4DIS
D/A #4 Disable
06
0
TSOUT
External Sync Delay Control
10
6
DAC3DIS
D/A #3 Disable
10
5
DAC2DIS
D/A #2 Disable
4
DAC1DIS
D/A #1 Disable
Horizontal Ancillary Data Control Register
DAC Control Registers
07
7
LDFID
Field Lock Select
10
07
6
SKFLIP
Soft Key Inversion
10
3
Reserved
Set to 0.
07
5
DDSRST
DDS Reset
10
2
OLUTDIS
Overlay LUT Disable
07
4-3
Reserved
10
1-0
OUTMODE
Output Modes
07
2
ANCFREN
Ancillary Frequency Enable
07
1
ANCPHEN
Ancillary Phase Enable
07
0
ANCTREN
Ancillary Timing Enable
REV. 1.0 3/26/03
35
TMC2193
PRODUCT SPECIFICATION
Table 26. Control Register Map (continued)
Reg Bit
Mnemonic
Function
Table 26. Control Register Map (continued)
Reg Bit
Mnemonic
Function
24
7-0
XBP
Extended Color Back Porch
Duration
Composite 2 Overflow Control
25
7-0
VA
Active Video Region Duration
SINEN
X/Sin(x) Filter Enable
26
7-0
VC
3
REFSEL
Reference DAC Output Selection
Active Video Region 2nd Half
Line Duration
11
2
LUMDIS
Luma Disable
27
7-0
VB
Active Video Region 1st Half
Line Duration
11
1
CHRMDIS
Chroma Disable
28
7-0
EL
Equalization Pulse Low Duration
11
0
BURSTDIS
Burst Disable
29
7-0
EH
Equalization Pulse High
Duration
2A
7-0
SL
Vertical Sync Pulse Low
Duration
2B
7-0
SH
Vertical Sync Pulse High
Duration
2C
7-0
FP
Front Proch Duration
2D
7-6
XBP
Extended Color Back Porch
Duration
2D
5-4
VA
Active Video Duration
2D
3-2
VB
Active Video Region 1st Half
Line Duration
2D
1-0
VC
Active Video Region 2nd Half
Line Duration
11
7
DRSSEL
DRS Selection
11
6
OFMT
Component Data Formatting
11
5
COMP2DB
11
4
11
VBI Ped Enable Registers
14
7-0
VBIPEDEM
VBI Pedestal Enable, Even Fields
15
7-0
VBIPEDEL
VBI Pedestal Enable, Even Fields
16
7-0
VBIPEDOM
VBI Pedestal Enable, Odd Fields
17
7-1
VBIPEDOL
VBI Pedestal Enable, Odd Fields
17
0
HVA
Horizontal and Vertical Sync
Alignment
Vertical Blanking Interval Enable Registers
18
7
Reserved
18
6
GLKCTL1
Genlock Control Register 1
18
5
GLKCTL0
Genlock Control Register 0
18
4-0
VBIENF1
VBI Active Video Enable, Field 1
19
7
SHORT
Test Register
2E
7-5
FIELD
Fiele Identification (read only)
2E
4-0
LTYPE
Line Type Identification (read
only)
2F
7-0
CBL
Color Bar Duration
19
6
T512
EH/SL Offset Control Bit
19
5
HALFEN
Half Line Enable
19
4-0
VBIENF2
VBI Active Video Enable, Field 2
Color Space Matrix Registers
Pedestal Height Register
1A
7
Reserved
1A
6-0
PEDHGT1
Composite Pedestal Height
Closed Caption Registers
30
7-0
MCF1L
Matrix Coefficient #1
31
7-0
MCF2L
Matrix Coefficient #2
32
7-0
MCF3L
Matrix Coefficient #3
1C
7-0
CCD1
First Byte of CC Data
33
7-0
MCF4L
Matrix Coefficient #4
1D
7-0
CCD2
Secons Byte of CC Data
34
7-0
MCF5L
Matrix Coefficient #5
1E
7
CCON
Enable CC Data Packet
35
7-0
MCF6L
Matrix Coefficient #6
1E
6
CCRTS
Request to Send Data
36
7-0
MCF7L
Matrix Coefficient #7
7-0
MCF8L
Matrix Coefficient #8
1E
5
CCPAR
Auto Parity Generation
37
1E
4
CCFLD
CC Field Select
38
7-0
MCF9L
Matrix Coefficient #9
1E
3-0
CCLINE
CC Line Select
39
7-0
MCF10L
Matrix Coefficient #10
3A
7-4
MCF1M
Matrix Coefficient #1
Pixel Data Control Start
3A
3-0
MCF2M
Matrix Coefficient #2
7-4
MCF3M
Matrix Coefficient #3
Reserved
Set to 0.
MCF4M
Matrix Coefficient #4
Timing Registers
1F
7-0
PDCNT
20
7-0
SY
Horizontal Sync Tip Duration
3B
21
7-0
BR
Breezeway Duration
3B
3
22
7-0
BU
Burst Duration
3B
2-0
23
7-0
CBP
Color Back Porch Duration
36
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Table 26. Control Register Map (continued)
Table 26. Control Register Map (continued)
Reg Bit
Mnemonic
Function
Reg Bit
Mnemonic
Function
MCF5M
Matrix Coefficient #5
42
7-0
FREQ2
Subcarrier Frequency
Reserved
Set to 0.
43
7-0
FREQM
Subcarrier Frequency
2-0
MCF6M
Matrix Coefficient #6
44
7-0
SYSPHL
System Phase
3D
7-4
MCF7M
Matrix Coefficient #7
45
7-0
SYSPHM
System Phase
3D
3-0
MCF8M
Matrix Coefficient #8
46
7-0
BURPHL
Burst Phase
3E
7-4
MCF9M
Matrix Coefficient #9
47
7-0
BURPHM
Burst Phase
3E
3-0
MCF10M
Matrix Coefficient #10
48
7-0
BRSTFULL
3F
7
SEL_CLK
DCVBS Clock Select
Burst Height – Maximum
Amplitude
3F
6
RGB_CLIP
RGB Limit Control
49
7-0
BRST1
3F
5
GAUSS_BVP
Gaussian Bypass Select
Burst Height – 1st Intermediate
Value
3F
4
SEL_PIX
DCVBS Output Selection
4A
7-0
BRST2
Burst Height – 2nd Intermediate
Value
3F
3
C2DB_OFF
COMP2DB Offset Selection
3F
2
NMEH
NTSC-M Component
Enhancement
4B
7
3F
1-0
CSMFMT
Color Space Matrix
Configuration
4B
6-0
3C
7-4
3C
3
3C
Pedestal Height Register
7-0
FREQL
Subcarrier Frequency
41
7-0
FREQ3
Subcarrier Frequency
Component Blank and Sync
Level Selection
PEDHGT2
Component Pedestal Height
Note:
1. For each register listed above, all bits not specified are
reserved and should be set to logic LOW to ensure proper
operation.
Subcarrier Registers
40
NBMD
Control Register Definitions
Part Identification Register (0x00)
7
6
5
4
3
2
1
0
3
2
1
0
PARTID2
Reg
Bit
Name
Description
00
7-0
PARTID2
(Read Only) 0x97
Part Identification Register (0x01)
7
6
5
4
PARTID1
Reg
Bit
Name
Description
01
7-0
PARTID1
(Read Only) 0x21
REV. 1.0 3/26/03
37
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
Part Identification Register (0x02)
7
6
5
4
3
2
1
0
3
2
1
0
1
0
PARTID0
Reg
Bit
Name
Description
02
7-0
PARTID0
(Read Only) 0x93
Revision Identification Register (0x03)
7
6
5
4
REVID0
Reg
Bit
Name
Description
03
7-0
REVID0
Reads back the revision number of the part.
Gamma Filters Register (0x04)
7
6
5
4
3
2
GAMENG
GAMENC
GAMSELG
GAMSELC
SRESET
SKEN
PDRM
Reg
Bit
Name
Description
04
7
GAMENG
Gamma Filter Enable – Green.
When is GAMENG is LOW, gamma filter on the Green path is bypassed.
When is GAMENG is HIGH, gamma filter on the Green path is enabled.
04
6
GAMENC
Gamma Filter Enable – Blue Red.
When GAMENC is LOW, gamma filter on the Blue and Red path is
bypassed. When GAMENC is HIGH, gamma filter on the Blue and Red path
is enabled.
04
5
GAMSELG
Gamma Filter Selection – Green.
When GAMSELG is LOW, Green = (Green)1/2.8
When GAMSELG is HIGH, Green = (Green) 1/2.2
04
4
GAMSELC
Gamma Filter Selection – Blue Red.
When GAMSELC is LOW, Blue = (Blue)1/2.8, Red = (Red)1/2.8
When GAMSELC is HIGH, Blue = (Blue) 1/2.2,Red = (Red)1/2.2
04
3
SRESET
Software RESET.
When LOW, resets internal state machines and disables outputs.
When HIGH, state machines are active and outputs are enabled.
04
2
SKEN
Data KEY Enable.
When SKEN is LOW, Data keying is disabled.
When SKEN is HIGH, Data keying is enabled.
04
1-0
PDRM
Pixel Data Ramping Mode. Pixel Data weighting for the rising edge of
active video.
NTSC:
0
0
1/8
1/2
7/8
1
1
PAL:
0
1/8
3/8
5/8
7/8
1
1
00
Pixels are weighted on the edge.
01
Sample and hold the 5th pixel for the slope weighting
1X
Hard switch
0
0
0
1
1
1
38
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Input Format Register (0x05)
7
6
D10FF
5
4
3
INMODE
2
OMIX
1
0
SOURCE
Reg
Bit
Name
Description
05
7
D1OFF
YCBCR Input Formatting.
When D1OFF is HIGH, 64 is subtracted from Y data path of the PD port.
When D1OFF is LOW, pixel data is passed through.
05
6-4
INMODE
Input Mode Select.
000 24 bit GBR
100 24 bit YCBCR (4:4:4)
101 10 bit D1 (YCBCR)
110 20 bit YCBCR (4:4:4)
111 20 bit YCBCR (4:2:2)
PD[7:0] = G PD[23:16] = B PD[15:8] = R
PD[7:0] = Y PD[23:16] = CB PD[15:8] = CR
PD[23:14] = YCBCR at 27MHz
PD[9:0] = Y PD[23:14] = CBCR (at 27MHz)
PD[9:0] = Y PD[23:14] = CBCR
05
3-2
OMIX
Overlay Mixer Select.
00
No mix – PD data is always passed
01
Hard mix – mixer performs a hard switch between PD and Overlay
10
Set1 mix – the pixel data has the following weighting on the
transition; 0, 1/2, 1
11
Set2 mix – the pixel data has the following weighting on the
transition; 0, 1/8, 1/2, 7/8, 1
05
1-0
SOURCE
Video Input Select. Chooses from internal test patterns or pixel data port.
00
PD PORT
01
Modulated Ramp
10
INTERNAL COLOR BAR (75%)
11
INTERNAL COLOR BAR (100%)
REV. 1.0 3/26/03
39
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
General Control Register (0x06)
7
6
FORMAT
5
4
MODE
3
2
1
0
PDCDIR
TOUT
TSOUT
Reg
Bit
Name
Description
06
7-6
FORMAT
Video Format.
00
NTSC
01
PAL – B,G,H,I,N
10
PAL – M
11
Reserved
06
5-3
MODE
Video Mode.
000 MASTER with free-running subcarrier
001 SLAVE with free-running subcarrier
010 CCIR656 with free-running subcarrier
011 GENLOCK with subcarrier phase and frequency locked to the GRS
information.
100 MASTER with subcarrier phase reset every 8 fields
101 SLAVE with subcarrier phase reset every 8 fields
110 CCIR656 with subcarrier phase reset every 8 fields.
111 DRS-Lock with subcarrier phase and frequency locked to the DRS
information.
06
2
PDCDIR
PDC Directional Control.
When PDC is LOW, the PDC pin is an output.
When PDCDIR is HIGH, the PDC pin is an input that can override the
internally generated PDC and blank the active video of a line.
06
1
TOUT
External Sync Output Control.
When TOUT = LOW, a MPEG style field toggle is the output on pin VSOUT.
When TOUT = HIGH, a traditional vertical sync is the output on pin VSOUT.
06
0
TSOUT
External Sync Delay Control.
When the TSOUT is LOW, HSOUT, VSOUT are delayed to match
propagation delay through the chip. When TSOUT is HIGH, HSOUT,
VSOUT are aligned with the incoming data on the PD port.
40
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Horizontal Ancillary Data Control Register (0x07)
7
6
5
4
LDFID
SKFLIP
DDSRST
3
Reserved
2
1
0
ANCFREN
ANCPHEN
ANCTREN
Reg
Bit
Name
Description
07
7
LDFID
Field Lock Select. When LDFID is HIGH, the FLD[2:0] pins are used as
inputs to lock the field the that the TMC2193 is encoding. 5 PXCK’s after
the falling edge of HSIN the FLD[2:0] pins are sampled. When LDFID is
LOW, the FLD[2:0] pins output the current field that is being encoded.
07
6
SKFLIP
Soft Key Inversion.
When SKFLP is LOW, the key generated by the data keying is a normal
state. When SKFLP is HIGH, the key generated by the data keying is a
inverted state.
07
5
DDSRST
DDS Reset. By inserting a logic HIGH into this register the DDS
accumulator is reset to SYSPH value at the start of the next field 1 and
DDSRST is reset LOW. This enables the DDS to be reset when the
encoder is operating with a free running subcarrier.
07
4-3
Reserved
07
2
ANCFREN
Ancillary Frequency Enable.
When HIGH, the encoder gets subcarrier frequency data (FREQ3-0) from
incoming ancillary data (in accordance with FRV bit). When LOW,
FREQ3-0 registers contain the subcarrier frequency data.
07
1
ANCPHEN
Ancillary Phase Enable.
When HIGH, the encoder gets subcarrier phase offset data (SCHPHL and
SCHPHM) from incoming ancillary data (in accordance with PHV bit).
When LOW, a default value of 0000h is used for subcarrier phase.
07
0
ANCTREN
Ancillary Timing Enable.
When HIGH, the encoder decodes incoming ancillary data to determine
video timing (FIELD and SVF). When LOW, the ancillary timing reference
data is ignored.
Ancillary Data ID Register (0x08)
7
6
5
4
3
2
1
0
ANCID
Reg
Bit
Name
Description
08
7-0
ANCID
Ancillary Data Identification.
Bits 7-0 determine the ancillary data identification. Bit 0 is an odd parity bit.
The value in this register must match that of the incoming ancillary data.
REV. 1.0 3/26/03
41
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
Keying/Overlay Engine Register (0x09)
7
6
5
4
3
2
HKEN
BUKEN
SKEXT
DKDIS
EKDIS
FKDIS
1
0
LAYMODE
Reg
Bit
Name
Description
09
7
HKEN
Hardware KEY Enable.
When LOW, the KEY pin is ignored.
When HIGH, the KEY pin is enabled.
09
6
BUKEN
Burst KEY Enable.
When LOW, the output video burst is generated internally.
When HIGH, the output video burst is taken from the CVBS port.
09
5
SKEXT
Data KEY Operation Select.
When LOW, data keying is allowed only during active video window.
When HIGH, data keying is allowed during frame.
09
4
DKDIS
Green/Y Data KEY Disable.
When LOW, Green/Y input data is enabled for data keying.
When HIGH, Green/Y input data is ignored for data keying.
09
3
EKDIS
Blue/CB Data KEY Disable.
When LOW, Blue/CB input data is enabled for data keying.
When HIGH, Blue/CB input data is ignored for data keying.
09
2
FKDIS
Red/CR Data KEY Disable.
When LOW, Red/CR input data is enabled for data keying.
When HIGH, Red/CR input data is ignored for data keying.
09
1-0
LAYMODE
Layer Assignment Select.
BACKGND
Source
MIDGND
Source
Key
FOREGND
Source
Key
0
PD
OVERLAY
0L4-0
CVBS
KEY
1
PD
CVBS
KEY
OVERLAY
OL4-0
2
CVBS
OVERLAY
OL4-0
PD
KEY
3
CVBS
PD
KEY
OVERLAY
OL4-0
Mode
42
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Key Value Register (0x0A)
7
6
5
4
3
2
1
0
DKEYMAX
Reg
Bit
Name
Description
0A
7-0
DKEYMAX
Green/Y Maximum Data Key Value.
DKEYMAX is compared against the 8 MSB’s of Green/Y channel. If
DKEYMAX is greater or equal to Green/Y and DKEYMIN less than Green/Y
then a match is signaled.
Key Value Register (0x0B)
7
6
5
4
3
2
1
0
DKEYMIN
Reg
Bit
Name
Description
0B
7-0
DKEYMIN
Green/Y Minimum Data Key Value.
DKEYMIN is compared against the 8 MSB’s of Green/Y channel. If
DKEYMAX is greater or equal to Green/Y and DKEYMIN less than Green/Y
then a match is signaled.
Key Value Register (0x0C)
7
6
5
4
3
2
1
0
EKEYMAX
Reg
Bit
Name
Description
0C
7-0
EKEYMAX
Blue/CB Maximum Data Key Value.
EKEYMAX is compared against the 8 MSB’s of Blue/CB channel. If
EKEYMAX is greater or equal to Blue/CB and EKEYMIN less than Blue/CB
then a match is signaled.
Key Value Register (0x0D)
7
6
5
4
3
2
1
0
EKEYMIN
Reg
Bit
Name
Description
0D
7-0
DKEYMIN
Blue/CB Minimum Data Key Value.
EKEYMIN is compared against the 8 MSB’s of Blue/CB channel. If
EKEYMAX is greater or equal to Blue/CB and EKEYMIN less than Blue/CB
then a match is signaled
REV. 1.0 3/26/03
43
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
Key Value Register (0x0E)
7
6
5
4
3
2
1
0
FKEYMAX
Reg
Bit
Name
Description
0E
7-0
FKEYMAX
Red/CR Maximum Data Key Value.
FKEYMAX is compared against the 8 MSB’s of Red/CR channel. If
FKEYMAX is greater or equal to Red/CR and FKEYMIN less than Red/CR
then a match is signaled.
Key Value Register (0x0F)
7
6
5
4
3
2
1
0
FKEYMIN
Reg
Bit
Name
Description
0F
7-0
FKEYMIN
Red/CR Minimum Data Key Value.
FKEYMIN is compared against the 8 MSB’s of Red/CR channel. If
FKEYMAX is greater or equal to Red/CR and FKEYMIN less than Red/CR
then a match is signaled.
44
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
DAC Control Register (0x10)
7
6
5
4
3
2
1
DAC4DIS
DAC3DIS
DAC2DIS
DAC1DIS
Reserved
OLUTDIS
0
OUTMODE
Reg
Bit
Name
Description
10
7
DAC4DIS
D/A #4 Disable.
When DAC4DIS is LOW, the COMPOSITE D/A is enabled.
When DAC4DIS is HIGH, the COMPOSITE D/A is disabled.
10
6
DAC3DIS
D/A #3 Disable.
When DAC3DIS is LOW, the CHROMA /PR/R D/A is enabled.
When DAC3DIS is HIGH, the CHROMA /PR/R D/A is disabled.
10
5
DAC2DIS
D/A #2 Disable.
When DAC2DIS is LOW, the LUMA/PB/B D/A is enabled.
When DAC2DIS is HIGH, the LUMA/PB/B D/A is disabled.
10
4
DAC1DIS
D/A #1 Disable.
When DAC1DIS is LOW, the COMP/Y/G and reference D/A is enabled.
When DAC1DIS is HIGH, the COMP/Y/G and reference D/A is disabled.
10
3
Reserved
Set to 0.
10
2
OLUTDIS
Overlay LUT Disable.
When OLUTDIS is LOW, the olut is enabled.
When OLUTDIS is HIGH, the olut is disabled.
10
1-0
OUTMODE
Output Modes.
Bit[1:0]
00
01
10 (ext. sync)
11 (sync on G)
REV. 1.0 3/26/03
DAC1
Y
Comp1
Green
Green
DAC2
PB
Y
Blue
Blue
DAC3
PR
C
Red
Red
DAC4
Comp2
Comp2
Comp2
Comp2
45
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
DAC Control Register (0x11)
7
6
5
4
3
2
1
0
DRSSEL
OFMT
COMP2DB
SINEN
REFSEL
LUMDIS
CHRMDIS
BURSTDIS
Reg
Bit
Name
Description
11
7
DRSSEL
DRS Selection.
When DRSSEL is HIGH, PD[7:0] is routed to the DRS detection block.
When DRSSEL is LOW, CVBS[9:2] is routed to the DRS detection block.
11
6
OFMT
Component Data Formatting.
When OFMT is LOW, the MSB’s of blue and red component data paths are
inverted to center the data around a D\A code of 512.
11
5
COMP2DB.
Composite 2 Overflow Control.
When COMP2DB is HIGH, the digital range of the composite sumer is 0 to
2047 with half the digital resolution. When COMP2DB is LOW, the digital
output of the composite summer is 0 to 1023, all values exceeding 1023 or
below 0 are clipped.
11
4
SINEN
X/Sine(X) Filter Enable.
When SINEN is LOW, the X/Sin(X) filter is bypassed.
When SINEN is HIGH, the X/Sin(X) filter is used to compensate for the
DAC roll-off at high frequencies.
11
3
REFSEL
Reference DAC Output Selection.
When REFSEL is LOW, a composite sync is the output of the REFDAC.
When REFSEL is HIGH, a reference level equal to the DAC1’s midpoint is
the output of the REFDAC.
11
2
LUMDIS
Luma Disable.
When LUMDIS is LOW, the luminance data on the composite data path is
enabled. When LUMDIS is HIGH, the luminance data on the composite
data path is disabled.
11
1
CHRMDIS
Chroma Disable.
When CHRMDIS is LOW, the chrominance data on the composite data
path is enabled. When CHRMDIS is HIGH, the chrominance data on the
composite data path is disabled.
11
0
BURSTDIS
Burst Disable.
When BURSTDIS is LOW, the burst is enabled.
When BURSTDIS is HIGH, the burst is disabled.
46
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
VBI Ped Enable Register (0x14)
7
6
5
4
3
2
1
0
VBIPEDEM
Reg
Bit
Name
Description
14
7-0
VBIPEDEM
VBI Pedestal Enable, Even Fields.
VBIPEDEM is the bits 15-8 of VBIPEDE[15:0]. VBIPEDE controls the
addition of pedestal on a line by line basis from line 10 in NTSC
(VBIPEDE[0] = HIGH) to line 24 (VBIPEDE[14] = HIGH) in the EVEN field
of NTSC. VBIPEDE[15] controls the pedestal from line 25 to line 263
inclusive.
VBI Ped Enable Register (0x15)
7
6
5
4
3
2
1
0
VBIPEDEL
Reg
Bit
Name
Description
15
7-0
VBIPEDEL
VBI Pedestal Enable, Even Fields.
VBIPEDEL is the bits 7-0 of VBIPEDE[15:0]. VBIPEDE controls the
addition of pedestal on a line by line basis from line 10 in NTSC
(VBIPEDE[0] = HIGH) to line 24 (VBIPEDE[14] = HIGH) in the EVEN field
of NTSC. VBIPEDE[15] controls the pedestal from line 25 to line 263
inclusive.
VBI Ped Enable Register (0x16)
7
6
5
4
3
2
1
0
VBIPEDOM
Reg
Bit
Name
Description
16
7-0
VBIPEDOM
VBI Pedestal Enable, Odd Fields.
VBIPEDOM is the bits 14-7 of VBIPEDO[14:0]. VBIPEDO controls the
addition of pedestal on a line by line basis from line 273 (VBIPEDE[0] =
HIGH) to line 286 (VBIPEDE[13] = HIGH) in the ODD field of NTSC.
VBIPEDO[14] controls the pedestal from line 287 to line 525 inclusive.
REV. 1.0 3/26/03
47
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
VBI Ped Enable Register (0x17)
7
6
5
4
3
2
1
VBIPEDOL
0
HVA
Reg
Bit
Name
Description
17
7-1
VBIPEDOM
VBI Pedestal Enable, Odd Fields.
VBIPEDOL is the bits 6-0 of VBIPEDO[14:0]. VBIPEDO controls the
addition of pedestal on a line by line basis from line 273 (VBIPEDE[0] =
HIGH) to line 286 (VBIPEDE[13] = HIGH) in the ODD field of NTSC.
VBIPEDO[14] controls the pedestal from line 287 to line 525 inclusive.
17
0
HVA
Horizontal and Vertical Sync Alignment.
When HVA is LOW, the falling edge of HSIN and VSIN must occur just prior
to the rising edge of PXCK to start an field 1. When HVA is HIGH, VSIN is
allowed to vary from HSIN by ±32 pixels.
Vertical Blanking Interval Enable Register (0x18)
7
6
5
4
Reserved
GLKCTL1
GLKCTL0
3
2
1
0
VBIENF1
Reg
Bit
Name
18
7
Reserved
18
6
GLKCTL1
Genlock Control Register 1.
When GLKCTL1 is LOW, the PALODD bit of the GRS stream is ignored.
When GLKCTL1 is HIGH, the PALODD bit of the GRS stream controls the
PALODD flip of the subcarrier.
18
5
GLKCTL0
Genlock Control Register 0.
When GLKCTL0 is LOW, the Color Frame bit of the GRS stream is ignored.
When GLKCTL0 is HIGH, the Color Frame bit of the GRS stream controls
the field sequence in the FVHGEN.
18
4-0
VBIENF
VBI Active Video Enable, Field 1.
The value of VBIENF1 determines which line blanking stops and active line
for EVEN fields in NTSC starting from line 4 to line 35 or an ODD fields for
PAL starting from line 1 to line 32.
48
Description
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Vertical Blanking Interval Enable Register (0x19)
7
6
5
4
SHORT
T512
HALFEN
3
2
1
0
VBIENF2
Reg
Bit
Name
Description
19
7
SHORT
Test Register. Program LOW.
19
6
T512
EH/SL Offset Control Bit.
When LOW, the true value of EH and SL is offset by 256.
When HIGH, the true value of EH and SL is offset by 512.
19
5
HALFEN
Half Line Enable.
When LOW, half-line blanking occurs on line 283 (NTSC) or line 23 (PAL).
When HIGH, line 283 (NTSC) or line 23 (PAL) is treated as a full line of
active video.
19
4-0
VBIENF2
VBI Active Video Enable, Field 2.
The value of VBIENF2 determines which line blanking stops and active line
for ODD fields in NTSC starting from line 4 to line 35 or an EVEN fields for
PAL starting from line 1 to line 32.
Pedestal Height Register (0x1A)
7
6
5
4
3
Reserved
2
1
0
PEDHGT1
Reg
Bit
Name
1A
7
Reserved
1A
6-0
PEDHGT1
Description
Composite Pedestal Height.
PEDHGT1 is a 2’s comp value producing a pedestal height from -22.1 IRE
to 21.7 IRE with .345 IRE steps on the composite data path. The default 7.5
IRE pedestal for NTSC-M results from a hex code of 0010110b.
Closed Caption Register (0x1C)
7
6
5
4
3
2
1
0
CCD1
Reg
Bit
Name
Description
1C
7-0
CCD1
First Byte of CC Data.
Bit 0 is the LSB. The MSB will be overwritten by an ODD Parity Bit if
CCPAR is HIGH.
REV. 1.0 3/26/03
49
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
Closed Caption Register (0x1D)
7
6
5
4
3
2
1
0
CCD2
Reg
Bit
Name
Description
1D
7-0
CCD2
Second Byte of CC Data.
Bit 0 is the LSB. The MSB will be overwritten by an ODD Parity Bit if
CCPAR is HIGH
Closed Caption Register (0x1E)
7
6
5
4
CCON
CCRTS
CCPAR
CCFLD
3
2
1
0
CCLINE
Reg
Bit
Name
Description
1E
7
CCON
Enable CC Data Packet.
Command the CC data generator to send either CC data or a NULL byte
whenever the specified line is transmitted.
1E
6
CCRTS
Request To Send Data.
This bit is set HIGH by the user when bytes 0x1C and 0x1D have been
loaded with the next two bytes to be sent. When the encoder’s line count
reaches preceding the line specified in bits 4-0 of this register the data will
be transferred from registers 0x1C and 0x1D, and RTS will be RESET
LOW. A new pair of bytes may then be loaded into registers 0x1C and
0x1D. If CCON = 1 and CCRTS = 0 when the CC line is to be sent, NULL
bytes will be sent.
1E
5
CCPAR
Auto Parity Generation.
When set HIGH, the encoder replaces the MSB of bytes 0x1C and 0x1D
with a calculated ODD parity. When set LOW, the CC processor transmits
the 16 bits exactly as loaded into registers 0x1C and 0x1D.
1E
4
CCFLD
CC Field Select.
When LOW, CC data is transmitted on the selected line of ODD fields.
When HIGH, it is sent on EVEN fields.
1E
3-0
CCLINE
CC Line Select.
Defines (with an offset) the line on which CC data are transmitted.
Timing Register (0x1F)
7
6
5
4
3
2
1
0
PDCNT
Reg
Bit
Name
Description
1F
7-0
PDCNT
Pixel Data Control Start.
PDCNT determines the number of pixels (PCK’s) from the midpoint of the
falling edge of horizontal sync to the rising edge of PDC on active video
lines.
50
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Timing Register (0x20)
7
6
5
4
3
2
1
0
SY
Reg
Bit
Name
Description
20
7-0
SY
Horizontal Sync Tip Duration.
This 8 bit register holds a value extending from 0 to 255 PCK cycles.
Timing Register (0x21)
7
6
5
4
3
2
1
0
BR
Reg
Bit
Name
Description
21
7-0
BR
Breezeway Duration.
This 8 bit register holds a value extending from 0 to 255 PCK cycles.
Timing Register (0x22)
7
6
5
4
3
2
1
0
BU
Reg
Bit
Name
Description
22
7-0
BU
Burst Duration.
This 8 bit register holds a value extending from 0 to 255 PCK cycles.
Timing Register (0x23)
7
6
5
4
3
2
1
0
CBP
Reg
Bit
Name
Description
23
7-0
CBP
Color Back Porch Duration.
This 8 bit register holds a value extending from 0 to 255 PCK cycles.
Timing Register (0x24)
7
6
5
4
3
2
1
0
XBP
Reg
Bit
Name
Description
24
7-0
CBP
Extended Color Back Porch Duration.
This 8 bit register holds the LSB’s of a 10 bit value extending from 0 to 1023
PCK cycles.
REV. 1.0 3/26/03
51
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
Timing Register (0x25)
7
6
5
4
3
2
1
0
VA
Reg
Bit
Name
Description
25
7-0
VA
Active Video Region Duration.
This 8 bit register holds the LSB’s of a 10 bit value extending from 0 to 1023
PCK cycles.
Timing Register (0x26)
7
6
5
4
3
2
1
0
VC
Reg
Bit
Name
Description
26
7-0
VC
Active Video Region 2nd Half Line Duration.
This 8 bit register holds the LSB’s of a 10 bit value extending from 0 to 1023
PCK cycles.
Timing Register (0x27)
7
6
5
4
3
2
1
0
VB
Reg
Bit
Name
Description
27
7-0
VB
Active Video Region 1st Half Line Duration.
This 8 bit register holds the LSB’s of a 10 bit value extending from 0 to 1023
PCK cycles.
Timing Register (0x28)
7
6
5
4
3
2
1
0
VB
Reg
Bit
Name
Description
28
7-0
EL
Equalization Pulse Low Duration.
This 8 bit register holds a value extending from 0 to 255 PCK cycles.
52
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Timing Register (0x29)
7
6
5
4
3
2
1
0
EH
Reg
Bit
Name
Description
29
7-0
EH
Equalization Pulse High Duration.
This 8 bit register holds 8 LSB’s of EH, The addition of 256 or 512 is
controlled by T512. The range is either 256 to 511 PCK cycles or 512 to
767 PCK cycles.
Timing Register (0x2A)
7
6
5
4
3
2
1
0
SL
Reg
Bit
Name
Description
2A
7-0
SL
Vertical Sync Pulse Low Duration.
This 8 bit register holds 8 LSB’s of SL, The addition of 256 or 512 is
controlled by T512. The range is either 256 to 511 PCK cycles or 512 to
767 PCK cycles.
Timing Register (0x2B)
7
6
5
4
3
2
1
0
SH
Reg
Bit
Name
Description
2B
7-0
SH
Vertical Sync Pulse High Duration.
This 8 bit register holds a value extending from 0 to 255 PCK cycles.
Timing Register (0x2C)
7
6
5
4
3
2
1
0
FP
Reg
Bit
Name
Description
2C
7-0
FP
Front Porch Duration.
This 8 bit register holds a value extending from 0 to 255 PCK cycles.
REV. 1.0 3/26/03
53
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
Timing Register (0x2D)
7
6
5
XBP
4
3
VA
2
1
VB
0
VC
Reg
Bit
Name
Description
2D
7-6
XBP
Extended Color Back Porch Duration.
2 MSB’s of the 10 bit XBP, extending from 0 to 1023 PCK cycles.
2D
5-4
VA
Active Video Duration.
2 MSB’s of the 10 bit VA, extending from 0 to 1023 PCK cycles.
2D
3-2
VB
Active Video Region 1st Half Line Duration.
2 MSB’s of a 10 bit VB, extending from 0 to 1023 PCK cycles.
2D
1-0
VC
Active Video Region 2nd Half Line Duration.
2 MSB’s of a 10 bit VC, extending from 0 to 1023 PCK cycles.
Timing Register (0x2E)
7
6
5
4
3
FIELD
2
1
0
LTYPE
Reg
Bit
Name
Description
2E
7-5
FIELD
Field Identification. (READ ONLY)
These three bits are updated 12 PXCK periods after each vertical sync.
They allow the user to determine field type on a continuous basis
2E
4-0
LTYPE
LineType Identification (READ ONLY)
These three bits are updated 5 PXCK periods after each horizontal sync.
They allow the user to determine line type on a continuous basis.
Timing Register (0x2F)
7
6
5
4
3
2
1
0
CBL
Reg
Bit
Name
Description
2F
7-0
CBL
Color Bar Duration.
This 8 bit register holds a value extending from 0 to 255 PCK cycles.
Color Space Matrix Register (0x30)
7
6
5
4
3
2
1
0
MCF1L
Reg
Bit
Name
Description
30
7-0
MCF1L
Matrix Coefficient #1.
Bits 7-0 of MCF1.
54
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Color Space Matrix Register (0x31)
7
6
5
4
3
2
1
0
3
2
1
0
3
2
1
0
3
2
1
0
3
2
1
0
MCF2L
Reg
Bit
Name
Description
31
7-0
MCF2L
Matrix Coefficient #2.
Bits 7-0 of MCF2.
Color Space Matrix Register (0x32)
7
6
5
4
MCF3L
Reg
Bit
Name
Description
32
7-0
MCF3L
Matrix Coefficient #3.
Bits 7-0 of MCF3.
Color Space Matrix Register (0x33)
7
6
5
4
MCF4L
Reg
Bit
Name
Description
33
7-0
MCF4L
Matrix Coefficient #4.
Bits 7-0 of MCF4.
Color Space Matrix Register (0x34)
7
6
5
4
MCF5L
Reg
Bit
Name
Description
34
7-0
MCF4L
Matrix Coefficient #5.
Bits 7-0 of MCF5.
Color Space Matrix Register (0x35)
7
6
5
4
MCF6L
Reg
Bit
Name
Description
35
7-0
MCF6L
Matrix Coefficient #6.
Bits 7-0 of MCF6.
REV. 1.0 3/26/03
55
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
Color Space Matrix Register (0x36)
7
6
5
4
3
2
1
0
3
2
1
0
3
2
1
0
3
2
1
0
3
2
1
0
MCF7L
Reg
Bit
Name
Description
36
7-0
MCF7L
Matrix Coefficient #7.
Bits 7-0 of MCF7.
Color Space Matrix Register (0x37)
7
6
5
4
MCF8L
Reg
Bit
Name
Description
37
7-0
MCF8L
Matrix Coefficient #8.
Bits 7-0 of MCF8.
Color Space Matrix Register (0x38)
7
6
5
4
MCF9L
Reg
Bit
Name
Description
38
7-0
MCF9L
Matrix Coefficient #9.
Bits 7-0 of MCF9.
Color Space Matrix Register (0x39)
7
6
5
4
MCF10L
Reg
Bit
Name
Description
39
7-0
MCF10L
Matrix Coefficient #10.
Bits 7-0 of MCF10.
Color Space Matrix Register (0x3A)
7
6
5
4
MCF1M
MCF2M
Reg
Bit
Name
Description
3A
7-4
MCF1M
Matrix Coefficient #1.
Bits 11-8 of MCF1.
3A
3-0
MCF2M
Matrix Coefficient #2.
Bits 11-8 of MCF2.
56
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Color Space Matrix Register (0x3B)
7
6
5
4
MCF3M
3
2
1
Reserved
Reg
Bit
Name
Description
3B
7-4
MCF3M
Matrix Coefficient #3.
Bits 11-8 of MCF3.
3B
3
Reserved
Set to 0.
3B
2-0
MCF4M
Matrix Coefficient #4.
Bits 10-8 of MCF4.
0
MCF4M
Color Space Matrix Register (0x3C)
7
6
5
4
MCF5M
3
2
1
Reserved
Reg
Bit
Name
Description
3C
7-4
MCF5M
Matrix Coefficient #5.
Bits 11-8 of MCF5.
3C
3
Reserved
Set to 0.
3C
2-0
MCF6M
Matrix Coefficient #6.
Bits 10-8 of MCF6.
0
MCF6M
Color Space Matrix Register (0x3D)
7
6
5
4
3
2
MCF7M
1
0
1
0
MCF8M
Reg
Bit
Name
Description
3D
7-4
MCF7M
Matrix Coefficient #7.
Bits 11-8 of MCF7.
3D
3-0
MCF8M
Matrix Coefficient #8.
Bits 11-8 of MCF8.
Color Space Matrix Register (0x3E)
7
6
5
4
MCF9M
2
MCF10M
Reg
Bit
Name
Description
3E
7-4
MCF9M
Matrix Coefficient #9.
Bits 11-8 of MCF9.
3E
3-0
MCF10M
Matrix Coefficient #10.
Bits 11-8 of MCF10.
REV. 1.0 3/26/03
3
57
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
Color Space Matrix Register (0x3F)
7
6
5
4
3
2
SEL_CLK
RGB_CLIP
GAUSS_BYP
SEL_PIX
C2DB_OFF
NMEH
1
0
CSMFMT
Reg
Bit
Name
Description
3F
7
SEL_PIX
DCVBS Output Selection.
When SEL_PIX is HIGH, the interpolated pixel data is selected as the
output for the DCVBS port. When SEL_PIX is LOW, the non-interpolated
pixel data is selected as the output for the DCVBS port.
3F
6
RGB_CLIP
RGB Limit Control.
When RGB_CLIP is LOW, the RGB outputs are not limited.
When RGB_CLIP is HIGH, the RGB outputs are limited to a range of 256 to
1023 at the DAC outputs.
3F
5
GAUSS_BYP
Gaussian Bypass Select.
When GAUSS_BYP is LOW, the gaussian filter is enabled.
When GAUSS_BYP is HIGH, the gaussian filter is bypassed.
3F
4
SEL_CLK
DCVBS Clock Select.
When SEL_CLK is LOW, the DCVBS output is clocked at the PXCK.
When SEL_CLK is HIGH, the DCVBS output is clocked at the PCK.
3F
3
C2DB_OFF
COMP2DB Offset Selection.
When C2DB_OFF is HIGH an offset of 256 is added to the COMP2 output
allowing the chrominance data that extends below the sync level to be
passed through the outputs.
3F
2
NMEH
NTSC-M Component Enhancement.
When NMEH is LOW, the CSM performs the normal rounding operation on
multipliers 8, 9 , and 10. When NMEH is HIGH, the CSM extends the
number of rounding bits on multipliers 8, 9, and 10. This is recommended if
the input source is YCBCR and the component output is RGB.
3F
1-0
CSMFMT
Color Space Matrix Configuration.
CSMFMT
Input
Component Output
YPBPR
00
YCBCR
01
YCBCR
RGB
10
RGB
YPBPR
11
RGB
RGB
Subcarrier Register (0x40)
7
6
5
4
3
2
1
0
FREQL
Reg
Bit
Name
Description
40
7-0
FREQL
Subcarrier Frequency.
Bits 7-0 of the subcarrier frequency FREQL[31:0].
58
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Subcarrier Register (0x41)
7
6
5
4
3
2
1
0
1
0
1
0
1
0
1
0
FREQ3
Reg
Bit
Name
Description
41
7-0
FREQ3
Subcarrier Frequency.
Bits 15-8 of the subcarrier frequency FREQL[31:0].
Subcarrier Register (0x42)
7
6
5
4
3
2
FREQ2
Reg
Bit
Name
Description
42
7-0
FREQ2
Subcarrier Frequency.
Bits 23-16 of the subcarrier frequency FREQL[31:0].
Subcarrier Register (0x43)
7
6
5
4
3
2
FREQM
Reg
Bit
Name
Description
43
7-0
FREQM
Subcarrier Frequency.
Bits 31-24 of the subcarrier frequency FREQL[31:0].
Subcarrier Register (0x44)
7
6
5
4
3
2
SYSPHL
Reg
Bit
Name
Description
44
7-0
SYSPHL
System Phase.
Bits 7-0 of the video phase offset SYSPH[15:0].
Subcarrier Register (0x45)
7
6
5
4
3
2
SYSPHM
Reg
Bit
Name
Description
45
7-0
SYSPHM
System Phase.
Bits 15-8 of the video phase offset SYSPH[15:0].
REV. 1.0 3/26/03
59
TMC2193
PRODUCT SPECIFICATION
Control Register Definitions (continued)
Subcarrier Register (0x46)
7
6
5
4
3
2
1
0
1
0
1
0
BURPHL
Reg
Bit
Name
Description
46
7-0
BURPHL
Burst Phase.
Bits 7-0 of the burst phase offset BURPH[15:0].
Subcarrier Register (0x47)
7
6
5
4
3
2
BURPHM
Reg
Bit
Name
Description
47
7-0
BURPHM
Burst Phase.
Bits 15-8 of the burst phase offset BURPH[15:0].
Burst Height Register (0x48)
7
6
5
4
3
2
BRSTFULL
Reg
Bit
Name
Description
48
7-0
BRSTFULL
Burst Height – Maximum Amplitude.
The 8 bit value assigned to U burst component in NTSC and to the U and V
components in PAL for the maximum burst amplitude. The burst envelopes
midpoint is derived from BRSTFULL. The value programmed into
BRSTFULL needs to be .707 of the magnitude of the burst vector.
Burst Height Register (0x49)
7
6
5
4
3
2
1
0
BRST1
Reg
Bit
Name
Description
49
7-0
BRST1
Burst Height – 1st Intermediate Value.
The 8 bit value assigned to U burst component in NTSC and to the U and V
components in PAL for the first intermediate value of the burst envelope.
The value programmed into BRST1 needs to be .707 of the magnitude of
the burst vector.
60
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Control Register Definitions (continued)
Subcarrier Register (0x4A)
7
6
5
4
3
2
1
0
BRST2
Reg
Bit
Name
Description
4A
7-0
BRST2
Burst Height – 2nd Intermediate Value.
The 8 bit value assigned to U burst component in NTSC and to the U and V
components in PAL for the second intermediate value of the burst
envelope. The value programmed into BRST2 needs to be .707 of the
magnitude of the burst vector.
Pedestal Height Register (0x4B)
7
6
5
4
NBMD
3
2
1
0
PEDHGT2
Reg
Bit
Name
Description
4B
7
NBMD
Component Blank and Sync Level Selection.
When NBMD is LOW, the blank level for Y or RGB is 256 and the sync level
is 12. When NMBD is HIGH, the blank level for Y or RGB is a D/A code of
240 and the sync level is a D\A code of 8.
4B
6-0
PEDGHT2
Component Pedestal Height.
PEDHGT2 is a 2’s comp value producing a pedestal height from -22.1 IRE
to 21.7 IRE with .345 IRE steps of the luminance data of the YPBPR
component output.
REV. 1.0 3/26/03
61
TMC2193
PRODUCT SPECIFICATION
Absolute Maximum Ratings (beyond which the device may be damaged)
Parameter
Min.
Max.
Unit
Power Supply Voltage
-0.5
7.0
V
-0.5
VDD + 0.5
V
-20.0
20.0
mA
Applied Voltage2
-0.5
VDD + 0.5
V
Forced Current3,4
-20.0
20.0
mA
1
second
Digital Inputs
Applied Voltage2
3,4
Forced Current
Digital Outputs
Short Circuit Duration (Single Output in HIGH state to GND)
Analog Output Short Circuit Duration (Single output to GND)
Infinite
Temperature
+110
°C
Operating, Junction, Plastic package
+150
°C
Lead, Soldering (10 seconds)
+300
°C
Vapor Phase Soldering (1 minute)
+220
°C
+150
°C
Operating, Ambient
-20
Storage
-65
Notes:
1. Absolute maximum ratings are limiting values applied individually while all other parameters are within specified operating
conditions. Functional operation under any of these conditions is NOT implied.
2. Applied voltage must be current limited to specified range, and measured with respect to GND.
3. Forcing voltage must be limited to specified range.
4. Current is specified as conventional current, flowing into the device.
Operating Conditions
Parameter
VDD
Power Supply Voltage
VIH
Input Voltage, Logic HIGH
TTL Compatible Inputs
Input Voltage, Logic LOW
Nom.
Max.
Units
4.75
5.0
5.25
V
2.0
VDD
V
0.7VDD
VDD
V
TTL Compatible Inputs
GND
0.8
V
CMOS Compatible Inputs
GND
0.3VDD
V
-2.0
mA
4.0
mA
CMOS Compatible Inputs
VIL
Min.
IOH
Output Current, Logic HIGH
IOL
Output Current, Logic LOW
VREF
External Reference Voltage
1.235
V
IREF
D/A Converter Reference Current (IREF = VREF / RREF,
flowing out of the RREF pin)
1.020
mA
RREF
Reference Resistor, VREF = Nom.
1210
Ω
ROUT
Total Output Load Resistance
TA
Ambient Temperature, Still Air
Ω
37.5
0
70
°C
Pixel Interface
fPXL
Pixel Rate
10
15
Mpps
fPXCK
Master Clock Rate, 2x pixel rate
20
30
MHz
tPWHPX
PXCK Pulse Width, HIGH
15
ns
tPWLPX
PXCK Pulse Width, LOW
17.5
ns
62
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Operating Conditions (continued)
Parameter
Min.
Nom.
Max.
Units
tSP
Setup Time
16
ns
tHP
Hold Time
0
ns
Parallel Microprocessor Interface
tPWLCS
CS Pulse Width, LOW
4
PXCK
tPWHCS
CS Pulse Width, HIGH
6
PXCK
tSA
Address Setup Time
17
ns
tHA
Address Hold Time
0
ns
tSD
Data Setup Time (write)
16
ns
tHD
Data Hold Time (write)
0
ns
tSR
RESET Setup Time
12
ns
tHR
RESET Hold Time
2
ns
Serial Interface
tD/AL
SCL Pulse Width, LOW
1.3
µs
tD/AH
SCL Pulse Width, HIGH
0.6
µs
tSTAH
SDA Start Hold Time
0.6
µs
tSTASU
SCL to SDA Setup Time (Stop)
0.6
µs
tSTOSU
SCL to SDA Setup Time (Start)
0.6
µs
tBUFF
SDA Stop Hold Time Setup
1.3
µs
tDSU
SDA to SCL Data Setup Time
300
ns
tDHO
SDA to SCL Data Hold Time
300
ns
REV. 1.0 3/26/03
63
TMC2193
PRODUCT SPECIFICATION
Electrical Characteristics
Symbol
Parameter
Conditions
Min.
Typ.
Max.
Units
IDD
Power Supply Current
VDD = Max., fPXCK = 27MHz
335
375
mA
IDDQ
Power Supply Current
(D/A disabled)
VDD = Max., fPXCK = 27MHz
15
25
mA
VRO
Voltage Reference Output
IBR
Input Bias Current, VREF
VREF = Nom.
1.235
V
50
µA
IIH
Input Current, Logic HIGH
VDD = Max., VIN = VDD
10
µA
IIL
Input Current, Logic LOW
VDD = Max., VIN = GND
-10
µA
VOH
Output Voltage, Logic HIGH
IOH = Max.
VOL
Output Voltage, Logic LOW
IOL = Max.
0.4
V
IOZH
Hi-Z Leakage current, HIGH
VDD = Max., VIN = VDD
10
µA
IOZL
Hi-Z Leakage current, LOW
VDD = Max., VIN = GND
-10
µA
CI
Digital Input Capacitance
TA = 25°C, f = 1MHz
4
10
pF
CO
Digital Output Capacitance
TA = 25°C, f = 1MHz
10
VOC
Video Output Compliance
Voltage
ROUT
Video Output Resistance
COUT
Video Output Capacitance
2.4
V
-0.3
pF
2.0
15
IOUT = 0 mA, f = 1 MHz
V
kΩ
15
25
pF
Typ.
Max.
Units
64
66
PXCK
Periods
15
ns
15
ns
Notes:
1. Typical IDD with VDD = +5.0 Volts and TA = 25°C.
2. Timing reference points are at the 50% level.
Switching Characteristics
Parameter
Conditions
Min.
PIPES
Pipeline Delay
PD to Analog Out
PD to DCVBS
tDOZ
Output Delay, CS to low-Z
tDOM
Output Delay, CS to Data Valid
tHOM
Output Hold Time, CS to hi-Z
tDO
Output Delay
PXCK to HSOUT, VSOUT,
PDC, LINE, FLD
tR
D/A Output Current Risetime
10% to 90% of full-scale
2
ns
tF
D/A Output Current Falltime
90% to 10% of full-scale
2
ns
tDOV
Analog Output Delay
10
ns
4
10
ns
15
ns
Notes:
1. Timing reference points are at the 50% level.
2. Analog CLOAD <10 pF, D7-0 load <40 pF.
3. Pipeline delay, with respect to PXCK, is a function of the phase relationship between the internally generated PCK (PXCK/2)
and PXCK, as established by the hardware RESET.
64
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
System Performance Characteristics
Parameter
Conditions
Min.
Typ.
10
10
Max.
Units
RES
D/A Converter Resolution
10
Bits
ELI
Integral Linearity Error
0.25
%
ELD
Differential Linearity Error
(monotonic)
0.10
%
EG
Gain Error
±7.5
%FS
dp
Differential Phase
PXCK = 27.00 MHz,40 IRE Ramp
0.5
degree
dg
Differential Gain
PXCK = 27.00 MHz,40 IRE Ramp
0.9
%
SKEW
CHROMA to LUMA Output
Skew
PSRR
Power Supply Rejection
Ratio
0
f=1kHz
1
0.5
ns
%/%VDD
Notes:
1. TTL input levels are 0.0 and 3.0 Volts, 10%-90% rise and fall times <3 ns.
2. Analog CLOAD <10 pF, D7-0 load <40 pF.
Applications Discussion
The suggested output reconstruction filter is shown in Figure
29. The phase and frequency response for the encoder and
the reconstruction filter is shown in Figure 30.
The circuit in Figure 31 shows the connection of power supply voltages, output reconstruction filters and the external
voltage reference. All VDD pins should be connected to the
same power source.
The full-scale output voltage level for each D/A:
C6
27pF
VOUTx = IOUTx x RLx = K x IREFx x RLx
= K x (VREF/RREFx) x RLx
D1
DIODE
SCHOTTKY
L5 1.8µH
A_IN
A_OUT
R8
75Ω
C8
100pF
C7
330pF
R9
75Ω
D2
DIODE
SCHOTTKY
C7
330pF
• IOUTx is the full-scale output current sourced by the D/A
converter.
L6
1.0µH
• RLx is the resistive load on the D/A output pin.
65-6294-31
• K is a constant for the TMC2193 D/A converters (approximately equal to 34).
Figure 29. Typical Analog Reconstruction Filter
• IREFx is the reference current flowing out of the RREFx
pin to ground.
• VREF is the voltage measured on the VREF pin.
0
-10
90
-20
180
-30
270
-40
360
5
10
15
20
Frequency (MHz)
Figure 30. Overall Response
REV. 1.0 3/26/03
25
65-6294-32
Phase (deg)
Attenuation (dB)
0
0
where:
• RREFx is the total resistance connected between the
RREFx pin and ground.
The reference voltage in Figure 31 is from an LM185 1.2
Volt band-gap reference. The suggested trim is designed to
give ±10% of trim around 5K Ohms. This RREFx sets the
"gain" for that D/A converter. Varying RREFx ±10% will
cause the full-scale output voltage on the D/A to vary by
±10%.
An alternative output reconstruction filter is the SMA-163E,
which contains 4 independent reconstruction filter. The
phase and frequency response of this filter is shown in the
Output Low-Pass Filters Section of this data sheet.
65
TMC2193
Layout Considerations
Designing with high-performance mixed-signal circuits
demands printed circuits with ground planes. Wire-wrap is
not an option. Overall system performance is strongly influenced by the board layout. Capacitive coupling from digital
to analog circuits may result in poor picture quality. Consider the following suggestions when doing the layout:
•
•
•
66
Keep analog traces (CBYPx, VREF, RREF, DACx) as
short and far from all digital signals as possible. The
TMC2193 should be located near the board edge, close
to the analog output connectors.
The power plane for the TMC2193 should be separate
from that which supplies other digital circuitry. A single
power plane should be used for all of the VDD pins. If
the power supply for the TMC2193 is the same for the
system's digital circuitry, power to the TMC2193 should
be filtered with ferrite beads and 0.1µF capacitors to
reduce noise.
PRODUCT SPECIFICATION
•
Decoupling capacitors should be applied liberally to
pins. For best results, use 0.1µF capacitors. Lead lengths
should be minimized. Ceramic chip capacitors are the
best choice.
•
If there is dedicated digital power plane, it should not
overlap the TMC2193 footprint, the voltage reference,
or the analog outputs. Capacitive coupling of digital
power supply noise from this layer to the TMC2193 and
its related analog circuitry can have an adverse effect on
performance.
•
The PXCK should be handled carefully. Jitter and noise
on this clock or its ground reference will translate to
noise on the video outputs. Terminate the clock line
carefully to eliminate overshoot and ringing.
•
Connect all unused inputs to the TMC2193 to either
ground or VDD. Do not leave them unconnected.
The ground plane should be solid, not cross-hatched.
Connections to the ground plane should be very short.
REV. 1.0 3/26/03
EMCU[0..3]
SCL
SDA
HSIN
VSIN
EPXCK
ECVBS[0..9]
OLENGI[0..5]
VCC
C61
0.1µF
TP29
HSIN
C62
0.1µF
C63
0.1µF
EMCU[0..3]
TP28
TP26
TP27
PXCK VSOUT HSOUT
ECVBS[0..9]
OLENG[0..5]
PD[0..23]
C64
0.1µF
TP30
VSIN
C65
0.1µF
R40
4K7
VDD
C66
0.1µF
SCL
SDA
EMCU2
EMCU3
EMCU1
HSOUT
VSOUT
EMCU0
ECVBS0
ECVBS1
ECVBS2
ECVBS3
ECVBS4
ECVBS5
ECVBS6
ECVBS7
ECVBS8
ECVBS9
OLENG0
OLENG1
OLENG2
OLENG3
OLENG4
OLENG5
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
PD18
PD19
PD20
PD21
PD22
PD23
C67
0.1µF
C68
0.1µF
EDCVBSEN 57
58
59
60
ESA1
61
ESA0
62
56
55
73
74
75
95
ERESET 94
93
92
91
90
89
88
87
86
85
84
25
24
23
22
21
20
52
51
50
49
48
47
46
45
44
43
42
41
38
37
36
35
34
33
32
31
30
29
28
27
DCVEN
SER
CS/SCL
R/W/SDA
A1/SA1
A0/SA0
HSIN
VSIN
PDC
HSOUT
VSOUT
RESET
RESET
CVBS0
CVBS1
CVBS2
CVBS3
CVBS4
CVBS5
CVBS6
CVBS7
CVBS8
CVBS9
OL0
OL1
OL2
OL3
OL4
KEY
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PD16
PD17
PD18
PD19
PD20
PD21
PD22
PD23
DGND
DGND
DGND
DGND
DGND
26
40
53
71
97
PD[0..23]
AGND
AGND
AGND
AGND
REV. 1.0 3/26/03
4
9
14
100
VDD
VDD
VDD
VDD
39
54
72
96
VCC
U8
TMC2193KHC
D0
D1
D2
D3
D4
D5
D6
D7
FLD0
FLD1
FLD2
LINE0
LINE1
LINE2
LINE3
LINE4
VDDA
VDDA
VDDA
VDDA
C_BYB4
C_BYB3
C_BYB2
C_BYB1
V_REF
R_REF4
R_REF3
R_REF2
R_REF1
COMP2
CH/R/P_R
Y/B/P_B
COMP/G/Y
REFDAC
70
69
68
67
66
65
64
63
83
82
81
80
79
78
77
76
1
7
12
17
3
6
11
16
98
99
8
13
18
2
5
10
15
19
COUT
BOUT
DOUT
AOUT
A_OUT
{Schematic}
C56
0.1µF
DCVBS[0..9]
C57
0.1µF
1
2
3
4
5
6
7
8
TP25
ODA4
TP23
ODA3
TP21
ODA2
TP19
ODA1
VSOUT
HSOUT
1
1
3
1
2
D4
1.235V
3.3K Ohm
R27
R36
10K Pot
2
R37
10K Pot
2
R29
10K Ω
1
J3
DAC1
VDD
J4
DAC2
2
R34
8.25KΩ
1
Date:
Size
B
Title
Thursday, September 04, 1997
Document Number
TMB2193
TMC2193.SCH
5580 Morehouse Dr.
San Diego, CA 92121
2
Sheet
3
1
3
1
5
of
Rev
0.9.0
65-6294-33
12
R39
10K Pot
2
R31
10K Ω
J6
DAC4
R38
10K Pot
2
R30
10K Ω
R35
8.25KΩ
1
J5
DAC3
Raytheon Electronics - Semiconductor Division
STUFF EITHER C54 OR D4
2
C54
0.1µF
3
1
2
R28
10K Ω
J2
RDAC
R33
8.25KΩ
R32
8.25KΩ
TP17
2
ORDA 1
DCVBS[0..9]
JP13
VDD
C58
0.1µF
CONNECT Cx TO VDDA PIN
AND CBYPy PIN DIRECTLY
{Schematic}
CIN
BIN
DIN
AIN
ST-163E
A_IN
LPF
DCVBS0
DCVBS1
DCVBS2
DCVBS3
DCVBS4
DCVBS5
DCVBS6
DCVBS7
DCVBS8
DCVBS9
C55
0.1µF
TP24
DA4
TP22
DA3
TP20
DA2
TP18
DA1
TP16
RDA
PRODUCT SPECIFICATION
TMC2193
Figure 31. Typical Layout
67
68
R41
D
D IS150 OHM (1%)
BIN
CIN
DIN
AIN
R42
D
R43
D
R44
D
JUMPER
JP19
JUMPER
JP18
JUMPER
JP17
JUMPER
R57
10K
R58
10K
DO NOT STUFF
NC2EN
NC1EN
D2XEN
JP16 C2XEN
JUMPER
JP15 B2XEN
JUMPER
JP14 A2XEN
VCC
R59
10K
R60
10K
R61
10K
R62
10K
1
NC1
NC2
A2X
B2X
C2X
D2X
BIN
CIN
DIN
AIN
Date:
Size
A
BOUT
COUT
DOUT
AOUT
5
8
17
20
R45
75
JP20
JUMPER
Thursday, September 04, 1997
Document Number
TMB2193
ST-163E
ST-163E
Title
7
18
4
9
16
21
12
13
24
U9
Sheet
R46
75
7
JP21
JUMPER
of
ALL 1%
R47
75
Rev
0.9.0
R48
75
JP23
JUMPER
65-6294-34
12
JP22
JUMPER
BOUT
COUT
DOUT
AOUT
TMC2193
PRODUCT SPECIFICATION
Figure 32. ST-163E Layout
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
Output Low-Pass Filters
The response at 5.0MHz typically varies < ±0.25dB with
supplies of ±5V to ±8V. When operating in the 0dB gain
REV. 1.0 3/26/03
TMC2193
mode, pin 6 must be well isolated from ground planes. When
operating in the +6dB gain mode, pin 6 must have a low
resistance path to ground.
Figure 33. Pass Band
Figure 34. Stop Band
Figure 35. 2T Pulse
Figure 36. Group Delay
69
TMC2193
PRODUCT SPECIFICATION
Notes:
70
REV. 1.0 3/26/03
PRODUCT SPECIFICATION
TMC2193
Mechanical Dimensions
100-Lead MQFP
Inches
Symbol
Min.
A
A1
A2
B
C
D
D1
E
E1
e
L
N
ND
NE
Max.
—
.134
.010
—
.100
.120
.015
.008
.009
.005
.904
.923
.783
.791
.667
.687
.547
.555
.0256 BSC
.028
.040
100
30
20
α
ccc
0°
—
7°
.004
Notes:
Millimeters
Min.
Notes
Max.
2. Controlling dimension is millimeters.
—
3.40
.25
—
2.55
3.05
.38
.22
.23
.13
22.95
23.45
19.90
20.10
16.95
17.45
13.90
14.10
.65 BSC
.73
1.03
100
30
20
0°
—
1. All dimensions and tolerances conform to ANSI Y14.5M-1982.
3. Dimension "B" does not include dambar protrusion. Allowable
dambar protrusion shall be .08mm (.003in.) maximum in excess of
the "B" dimension. Dambar cannot be located on the lower radius
or the foot.
3, 5
5
4. "L" is the length of terminal for soldering to a substrate.
5. "B" & "C" includes lead finish thickness.
4
7°
.12
D
.20 (.008) Min.
0° Min.
.13 (.30)
R
.005 (.012)
D1
Datum Plane
B
C
E1
α
.13 (.005) R Min.
Pin 1 Indentifier
E
L
e
0.076" (1.95mm) Ref
Lead Detail
See Lead Detail
Base Plane
A A2
B
A1
REV. 1.0 3/26/03
Seating Plane
-CLead Coplanarity
ccc C
71
TMC2193
PRODUCT SPECIFICATION
Ordering Information
Product Number
Temperature Range
Screening
Package
Package Marking
TA = 0°C to 70°C
Commercial
100-pin MQFP
TMC2193
TMC2193KJC
Life Support Policy
3/26/03 0.0m 003
Stock#DS30002193