composite,S-video, and RGB or Component
YUV outputs
z Programmable DAC output currents for low
impedance (37.5 Ω) and high impedance
(150 Ω) loads
z Multi-standard support for NTSC-M, NTSC-
JAPAN, PAL (B, D, G, H, I, M, N,
Combination N)
z ITU R.BT656 input mode supporting
EAV/SAV codes and CCIR601 Master/Slave
input modes
z Programmable HSYNC and VSYNC timing
z Multistandard Teletext (Europe, NABTS,
WST) support
z VBI encoding support
z Wide-Screen Signaling (WSS) support, EIA-J
CPX1204
z NTSC closed caption encoder with interrupt
z CS4955 supports Macrovision copy
protection Version 7
z Host interface configurable
for parallel or I²C® compatible
operation
z On-chip voltage reference
generator
z +3.3 V or +5 V operation,
CMOS, low-power modes,
three-state DACs
CLK
SCL
SDA
PDAT[7:0]
RD
WR
PADR
XTAL_IN
XTAL_OUT
TTXDAT
TTXRQ
VD[7:0]
HSYNC
VSYNC
FIELD
INT
RESET
8
8
Description
The CS4954/5 provides full conversion from digital video
formats YCbCr or YUV to NTSC and PAL Composite,
Y/C (S-video) and RGB, or YUV analog video. Input formats can be 27 MHz 8-bit YUV, 8-bit YCbCr, or ITU
R.BT656 with support for EAV/SAV codes. Video output
can be formatted to be compatible with NTSC-M, NTSCJ, PAL-B,D,G,H,I,M,N, and Combination N systems.
Closed Caption is supported in NTSC. Teletext is supported for NTSC and PAL.
Six 10-bit DACs provide two channels for an S-Video
output port, one or two composite video outputs, and
three RGB or YUV outputs. Two-times oversampling reduces the output filter requirements and guarantees no
DAC-related modulation components within the specified bandwidth of any of the supported video standards.
Parallel or high-speed I²C compatible control interfaces are
provided for flexibility in system design. The parallel interface
doubles as a general purpose I/O port when the CS4954/5 is
in I²C mode to help conserve valuable board area.
The CS4954 and CS4955 are available in a 48-pin TQFP
and operate in -40 to +85°C ambient temperature. The
CDB4954/55 Customer Demonstration board is also
available. Please refer to “Ordering Information” on
Output Current Per Pin (Except Supply Pins)-50+50mA
Analog Input Voltage-0.3VAA + 0.3V
Digital Input Voltage-0.3VDD + 0.3V
Ambient Temperature Power Applied-55+ 125°C
Storage Temperature-65+ 150°C
WARNING: Operating beyond these limits can result in permanent damage to the device. Normal operation is not
guaranteed at these extremes.
(AGND,DGND = 0 V, all voltages with respect to 0 V
RECOMMENDED Operating Conditions (AGND,DGND = 0 V, all voltages with respect to 0 V.)
ParameterSymbolMinTypMaxUnits
Power Supplies: Digital AnalogVAA/VDD3.15
4.75
Operating Ambient TemperatureTA-40+25+85 °C
Note:Operation outside the ranges is not recommended.
3.3
5.0
3.45
5.25
V
)
THERMAL CHARACTERISTICS
ParametersSymbolMinTypMaxUnits
Allowable Junction Temperature--150°C
Junction to Ambient Thermal Impedance---
(Four-layer PCB) TQFP
(Two-layer PCB) TQFPθ
Note:Four-layer PCB recommended for operation in environments where TA > 70° C.
DC CHARACTERISTICS (T
ParameterSymbolMin Typ Max Units
Digital Inputs
High level Input Voltage
V [7:0], PDAT [7:0], Hsync/Vsync/CLKIN
High Level Input Voltage I²C
Low level Input Voltage All Inputs--0.3-0.8V
Input Leakage Current--10-+10μA
Digital Outputs
High Level Output Voltage lo = -4 mAVOH2.4-VDDV
Low level Output Voltage lo = 4 mAVOL--0.4V
= 25° C; VAA, VDD = 5 V; GNDA, GNDD = 0 V.)
A
θ
JA-TM
JA-TS
VIH2.2-VDD+0.3V
VIH0.7 VDD--V
-45-
-65-
°C/W
6DS278F6
CS4954 CS4955
ParameterSymbolMin Typ Max Units
Low Level Output Voltage SDA pin only, lo = 6mAVOL --0.4V
Output Leakage Current High-Z Digital Outputs- -10-+10μA
Analog Outputs
Full Scale Output Current CVBS/Y/C/R/G/B (Notes 1, 2, 3)IO32.934.736.5mA
Full Scale Output Current CVBS/Y/C/R/G/B (Notes 1, 2, 4)IO8.228.689.13mA
LSB Current CVBS/Y/C/R/G/B(Notes 1, 2, 3)IB32.233.935.7μA
LSB Current CVBS/Y/C/R/G/B (Notes 1, 2, 4)IB8.048.488.92μA
DAC-to-DAC Matching(Note 1)MAT-24%
Output Compliance(Note 1)VOC0-+ 1.4V
Output Impedance(Note 1)ROUT-15-kΩ
Output Capacitance(Note 1)COUT--30pF
DAC Output Delay(Note 1)ODEL-412ns
DAC Rise/Fall Time (Note 1, 5)TRF-2.55ns
Voltage Reference
Reference Voltage OutputVOV1.1701.2321.294V
Reference Input Current(Note 1)UVC--10μA
Power Supply
Supply VoltageVAA, VDD3.15
4.75
Digital Supply CurrentIAA1-70150mA
Analog SupplyLow-Z(Note 6)IAA2-100150mA
Analog SupplyHigh-Z(Note 7)IAA3-60100mA
Power Supply Rejection RatioPSRR0.020.05V / V
Static Performance
DAC Resolution(Note 1)--10Bits
Differential Non-Linearity(Note 1)DNL-1+
Integral Non-Linearity (Note 1)INL- 2 +
Dynamic Performance
Differential Gain(Note 1)DG-25%
Differential Phase(Note 1)DP- +
Hue Accuracy(Note 1)HA--2°
Signal to Noise RatioSNR70--dB
Saturation Accuracy(Note 1)SAT-12%
3.3
5.0
0.5+ 1LSB
1+ 2LSB
0. 5+ 2°
3.45
5.25
V
Notes: 1. Values are by characterization only
2. Output current levels with ISET = 4 kΩ , VREF = 1.232 V.
3. DACs are set to low impedance mode
4. DACs are set to high impedance mode
5. Times for black-to-white-level and white-to-black-level transitions.
6. Low-Z, 3 DACs on
7. High-Z, 6 DACs on
DS278F67
CS4954 CS4955
AC CHARACTERISTICS
ParameterSymbolMinTypMaxUnits
Pixel Input and Control Port (Figure 1)
Clock Pulse High TimeTch14.8218.5222.58ns
Clock Pulse Low TimeTcl14.8218.5222.58ns
Clock to Data Set-up TimeTisu6--ns
Clock to Data Hold TimeTih0--ns
Clock to Data Output DelayToa--17ns
CLK
T
isu
T
chTcl
V[7:0]
HSYNC
HSYNC
CB/FIELD
/VSYNC
(Inputs)
/VSYNC
(1)
/INT
(Outputs)
T
ih
T
oa
Figure 1. Video Pixel Data and Control Port Timing
8DS278F6
CS4954 CS4955
TIMING CHARACTERISTICS
ParameterSymbolMinTypMaxUnits
I²C Host Port Timing (Figure 2)
SCL FrequencyFclk1000kHz
Clock Pulse High TimeTsph0.1μs
Clock Pulse Low TimeTspl0.7μs
Hold Time (Start Cond.)Tsh100ns
Setup Time (Start Cond.)Tssu100ns
Data Setup TimeTsds50ns
Rise Time Tsr1μs
Fall TimeTsf0.3μs
Setup Time (Stop Cond.)Tss100ns
Bus Free TimeTbuf100ns
Data Hold TimeTdh0ns
SCL Low to Data Out ValidTvdo600ns
SDA
SCL
T
dh
ds
T
sh
T
vdo
T
ssu
T
ss
T
sh
T
bu
T
sr
T
spi
T
T
sph
T
si
Figure 2. I²C Host Port Timing
DS278F69
TIMING CHARACTERISTICS(Continued)
CS4954 CS4955
Parallel Host Port Timing (Figure 27, 28, 29)
Read Cycle TimeTrd 60--ns
Read Pulse WidthTrpw30--ns
Address Setup TimeTas3--ns
Read Address Hold TimeTrah10--ns
Read Data Access TimeTrda --40ns
Read Data Hold TimeTrdh10-50ns
Write Recovery TimeTwr60--ns
Write Pulse WidthTwpw40--ns
Write Data Setup TimeTwds8--ns
Write Data Hold TimeTwdh3--ns
Write-Read/Read-Write Recovery TimeTrec50--ns
Address from Write Hold TimeTwac0--ns
Reset Timing (Figure 3)
Reset Pulse WidthTres100ns
SymbolMinTypMaxUnits
RESET*
T
res
Figure 3. Reset Timing
10DS278F6
CS4954 CS4955
2.ADDITIONAL CS4954/5 FEATURES
•Five programmable DAC output combinations,
including YUV and second composite
•Optional pseudo-progressive scan @ MPEG2
field rates
•Stable color subcarrier for MPEG2 systems
•General purpose input and output pins
•Individual DAC power-down capability
•On-chip color bar generator
•Supports RS170A and ITU R.BT601 composite output timing
•HSYNC and VSYNC output in ITU R.BT656
mode
•Teletext encoding selectable on two composite
and S-video signals
•Programmable saturation, SCH Phase, hue,
brightness and contrast
The CS4954/5 is completely configured and controlled via an 8-bit host interface port or an I²C
compatible serial interface. This host port provides
access and control of all CS4954/5 options and features, such as closed caption insertion, interrupts,
etc.
In order to lower overall system costs, the
CS4954/5 provides an internal voltage reference
that eliminates the requirement for an external, discrete, three-pin voltage reference.
In ISO MPEG-2 system configurations, the
CS4954/5 can be augmented with a common colorburst crystal to provide a stable color subcarrier
given an unstable 27 MHz clock input. The use of
the crystal is optional, but the facility to connect
one is provided for MPEG-2 environments in
which the system clock frequency variability is too
wide for accurate color sub-carrier generation.
4.FUNCTIONAL DESCRIPTION
•Device power-down capability
•Super White and Super Black support
3.CS4954 INTRODUCTION
The CS4954/5 is a complete multi-standard digital
video encoder implemented in current CMOS technology. The device can operate at 5 V as well as at
3.3 V. ITU R.BT601- or ITU R.BT656-compliant
digital video input is converted into NTSC-M,
NTSC-J, PAL-B, PAL-D, PAL-G, PAL-H, PAL-I,
PAL-M, PAL-N, or PAL-N Argentina-compatible
analog video. The CS4954/5 is designed to connect, without glue logic, to MPEG1 and MPEG2
digital video decoders.
Two 10-bit DAC outputs provide high quality SVideo analog output while another 10-bit DAC simultaneously generates composite analog video. In
addition, there are three more DACs to provide simultaneous analog RGB or analog YUV outputs.
The CS4954/5 will accept 8-bit YCbCr or 8-bit
YUV input data.
In the following subsections, the functions of the
CS4954/5 will be described. The descriptions refer
to the device elements shown in the block diagram
on the cover page.
4.1Video Timing Generator
All timing generation is accomplished via a
27 MHz input applied to the CLK pin. The
CS4954/5 can also accept a signal from an optional
color burst crystal on the XTAL_IN &
XTAL_OUT pins. See the section, Color Subcarrier Synthesizer, for further details.
The Video Timing Generator is responsible for orchestrating most of the other modules in the device.
It operates in harmony with external sync input
timing, or it can provide external sync timing outputs. It automatically disables color burst on appropriate scan lines and automatically generates
serration and equalization pulses on appropriate
scan lines.
DS278F611
CS4954 CS4955
The CS4954/5 is designed to function as a video
timing master or video timing slave. In both Master
and Slave Modes, all timing is sampled and asserted with the rising edge of the CLK pin.
In most cases, the CS4954/5 will serve as the video
timing master. HSYNC, VSYNC, and FIELD
(1)
are configured as outputs in Master Mode. HSYNC
or FIELD can also be defined as a composite blanking output signal in Master Mode. In Master Mode,
the timing of HSYNC, VSYNC, FIELD and Composite Blank (CB) signals is programmable. Exact
horizontal and vertical display timing is addressed
in the Operational Description section.
In Slave Mode, HSYNC and VSYNC are typically
configured as input pins and are used to initialize
independent vertical and horizontal timing generators upon their respective falling edges. HSYNC
and VSYNC timing must conform to the ITUR BT.601 specifications.
The CS4954/5 also provides a ITU R.BT656 Slave
Mode in which the video input stream contains
EAV and SAV codes. In this case, proper HSYNC
and VSYNC timing is extracted automatically
without any inputs other than the V [7:0]. ITU
R.BT656 input data that is sampled with the leading edge of CLK.
In addition, it is also possible to output HSYNC
and VSYNC signals when in ITU R.BT656 Slave
Mode.
4.2Video Input Formatter
The Video Input Formatter translates YCbCr input
data into YUV information, when necessary, and
splits the luma and chroma information for filtering, scaling, and modulation.
4.3Color Subcarrier Synthesizer
The subcarrier synthesizer is a digital frequency
synthesizer that produces the appropriate subcarrier frequency for NTSC or PAL. The CS4954/5
generates the color burst frequency based on the
CLK input (27 MHz). Color burst accuracy and
stability are limited by the accuracy of the 27 MHz
input. If the frequency varies, then the color burst
frequency will also vary accordingly.
For environments in which the CLK input varies or
jitters unacceptably, a local crystal frequency reference can be used on the XTAL_IN and
XTAL_OUT pins. In this instance, the input CLK is
continuously compared with the external crystal reference input and the internal timing of the CS4954/5
is automatically adjusted so that the color burst frequency remains within tolerance.
Controls are provided for phase adjustment of the
burst to permit color adjustment and phase compensation. Chroma hue control is provided by the
CS4954/5 via a 10-bit Hue Control Register
(HUE_LSB and H_MSB). Burst amplitude control
is also made available to the host via the 8-bit burst
amplitude register (SC_AMP).
4.4Chroma Path
The Video Input Formatter delivers 4:2:2 YUV
outputs to separate chroma and luma data paths.
The chroma output of the Video Input Formatter is
directed to a chroma low-pass 19-tap FIR filter.
The filter bandwidth is selected (or the filter can be
bypassed) via the CONTROL_1 Register. The
passband of the filter is either 650 kHz or 1.3 MHz
and the passband ripple is less than or equal to
0.05 dB. The stopband for the 1.3 MHz selection
begins at 3 MHz with an attenuation of greater than
35 dB. The stopband for the 650 kHz selection begins around 1.1 MHz with an attenuation of greater
than 20 dB.
The output of the chroma low-pass filter is connected to the chroma interpolation filter in which upsampling from 4:2:2 to 4:4:4 is accomplished.
Following the interpolation filter, the U and V
chroma signals pass through two independent vari-
NOTE 1. The FIELD pin (pin 9) remains an output pin in SLAVE mode. However, the FIELD pin state does not
toggle in SLAVE mode and its output state should be considered random.
12DS278F6
CS4954 CS4955
able gain amplifiers in which the chroma amplitude
can be varied via the U_AMP and V_AMP 8-bit
host addressable registers.
The U and V chroma signals are fed to a quadrature
modulator in which they are combined with the
output from the subcarrier synthesizer to produce
the proper modulated chrominance signal.
The chroma is then interpolated by a factor of two
in order to operate the output DACs at twice the
pixel rate. The interpolation filters enable running
the DACs at twice the pixel rate which helps reduce
the sinx/x roll-off for higher frequencies and reduces the complexity of the external analog low pass
filters.
4.5Luma Path
Along with the chroma output path, the CS4954/5
Video Input Formatter has a parallel luma data output to a digital delay line. The delay line is a digital
FIFO. The FIFO depth matches the clock period
delay associated with the more complex chroma
path. Brightness adjustment is also provided via the
8-bit BRIGHTNESS_OFFSET Register.
Following the luma delay, the data is passed
through an interpolation filter that has a programmable bandwidth, followed by a variable gain amplifier. The amplifier DC luma gain can be changed
using the the Y_AMP Register.
three pixel clocks. This variable delay is useful to
offset different propagation delays of the luma
baseband and modulated chroma signals. This adjustable luma delay is available only on the
CVBS_1 output.
4.6RGB Path and Component YUV Path
The RGB datapath has the same latency as the luma
and chroma path. Therefore all six simultaneous
analog outputs are synchronized. The 4:2:2 YCbCr
data is first interpolated to 4:4:4 and then interpolated to 27 MHz. The color space conversion is performed at 27 MHz. The coefficients for the color
space conversion conform to the ITU R.BT601
specifications.
After color space conversion, the amplitude of each
component can be independently adjusted via the
R_AMP, G_AMP, and B_AMP 8-bit host addressable registers. A synchronization signal can be added to either one, two or all of the RGB signals. The
synchronization signal conforms to NTSC or PAL
specifications.
Some applications (e.g., projection TVs) require
analog component YUV signals. The chip provides
a programmable mode that outputs component
YUV data. Sync can be added to the luminance signal. Independent gain adjustment of the three components is provided as well.
The output of the luma amplifier connects to the
sync insertion block. Sync insertion is accomplished by multiplexing, into the luma data path,
the different sync DC values at the appropriate
times. The digital sync generator takes horizontal
sync and vertical sync timing signals and generates
the appropriate composite sync timing (including
vertical equalization and serration pulses), blanking information, and burst flag. The sync edge rates
conform to RS-170A or ITU R.BT601 and ITU
R.BT470 specifications.
It is also possible to delay the luminance signal,
with respect to the chrominance signal, by up to
DS278F613
4.7Digital to Analog Converters
The CS4954/5 provides six discrete 27 MHz DACs
for analog video. The default configuration is one
10-bit DAC for S-video chrominance, one 10-bit
DAC for S-Video luminance, one 10-bit DAC for
composite output, and three 10-bit DACs for RGB
outputs. All six DACs are designed for driving either low-impedance loads (double terminated
75 Ω) or high-impedance loads (double terminated
300 Ω). There are five different DAC configurations to choose from (see Table 1, below).
The DACs can be put into high-impedance mode
via host-addressable control register bits. Each of
CS4954 CS4955
DACPin #Mode 1Mode 2Mode 3Mode 4Mode 5
Y48YYYCVBS_2CVBS_2
C47CCC - -
CVBS44CVBS_1CVBS_1CVBS_1CVBS_1CVBS_1
R39RCr (V)-RCr (V)
G40GYCVBS_2GY
B43BCb (U)- BCb (U)
Tab l e 1. DAC configuration Modes
the six DACs has its own associated DAC enable
bit. In the Disable Mode, the 10-bit DACs source
(or sink) zero current.
When running the DACs with a low-impedance
load, a minimum of three DACs must be powered
down. When running the DACs with a high-impedance load, all the DACs can be enabled simultaneously.
For lower power standby scenarios, the CS4954/5
also provides power shut-off control for the DACs.
Each DAC has an associated DAC shut-off bit.
4.8Voltage Reference
The CS4954/5 is equipped with an on-board voltage reference generator (1.232 V) that is used by
the DACs. The internal reference voltage is accurate enough to guarantee a maximum of 3% overall
gain error on the analog outputs. However, it is
possible to override the internal reference voltage
by applying an external voltage source to the VREF
pin.
current modes are software selectable via a register
bit.
4.10Host Interface
The CS4954/5 provides a parallel 8-bit data interface for overall configuration and control. The host
interface uses active-low read and write strobes,
along with an active-low address enable signal, to
provide microprocessor-compatible read and write
cycles. Indirect host addressing to the CS4954/5 internal registers is accomplished via an internal address register that is uniquely accessible via bus
write cycles for the device when the host address
enable signal is asserted.
The CS4954/5 also provides an I²C-compatible serial interface for device configuration and control.
This port can operate in standard (up to 100 kb/sec)
or fast (up to 400 kb/sec) modes. When in I²C
mode, the parallel data interface pins, PDAT [7:0],
can be used as a general purpose I/O port controlled
by the I²C interface.
4.9Current Reference
The DAC output current-per-bit is derived in the
current reference block. The current step is specified by the size of resistor placed between the ISET
current reference pin and electrical ground.
4.11Closed Caption Services
The CS4954/5 supports the generation of NTSC
Closed Caption services. Line 21 and Line 284 captioning can be generated and enabled independently via a set of control registers. When enabled,
clock run-in, start bit, and data bytes are automati-
A 4 kΩ resistor needs to be connected between
ISET pin and GNDA. The DAC output currents are
optimized to drive either a doubly terminated 75 W
load (low impedence mode) or a double terminated
cally inserted at the appropriate video lines. A convenient interrupt protocol simplifies the software
interface between the host processor and the
CS4954/5.
300 Ω load (high impedence mode). The 2 output
14DS278F6
CS4954 CS4955
4.12Teletext Services
The CS4954/5 encodes the most common teletext
formats, such as European Teletext, World Standard Teletext (PAL and NTSC), and North American Teletext (NABTS).
Teletext data can be inserted in any of the TV lines
(blanking lines as well as active lines). In addition
the blanking lines can be individually allocated for
Teletext instantiation.
The input timing for teletext data is user programmable. See the section Teletext Services for further
details.
Teletext data can be independently inserted on either one or all of the CVBS_1, CVBS_2, or S-video
signals.
4.13Wide-Screen Signaling Support and
CGMS
Insertion of wide-screen signal encoding for PAL
and NTSC standards is supported and CGMS
(Copy Generation Management System) for NTSC
in Japan. Wide-screen signals are inserted in lines
23 and 336 for PAL, and lines 20 and 283 for
NTSC.
4.14VBI Encoding
This chip supports the transmission of control signals in the vertical blanking time interval according
to SMPTE RP 188 recommendations. VBI encoded
data can be independently inserted into any or all of
CVBS_1, CVBS_2 or S-video signals.
4.15Control Registers
The control and configuration of the CS4954/5 is
accomplished primarily through the control register block. All of the control registers are uniquely
addressable via the internal address register. The
control register bits are initialized during device
RESET.
See the Programming section of this data sheet for
the individual register bit allocations, bit operational descriptions, and initialization states.
4.16Testability
The digital circuits are completely scanned by an
internal scan chain, thus providing close to 100%
fault coverage.
5.OPERATIONAL DESCRIPTION
5.1Reset Hierarchy
The CS4954/5 is equipped with an active low asynchronous reset input pin, RESET. RESET is used to
initialize the internal registers and the internal state
machines for subsequent default operation. See the
electrical and timing specification section of this
data sheet for specific CS4954/5 device RESET
and power-on signal timing requirements and restrictions.
While the RESET pin is held low, the host interface
in the CS4954/5 is disabled and will not respond to
host-initiated bus cycles. All outputs are valid after
a time period following RESET pin low.
A device RESET initializes the CS4954/5 internal
registers to their default values as described by Table 9, Control Registers. In the default state, the
CS4954/5 video DACs are disabled and the device
is internally configured to provide blue field video
data to the DACs (any input data present on the
V [7:0] pins is ignored at this time). Otherwise, the
CS4954/5 registers are configured for NTSC-M
output and ITU R.BT601 output timing operation.
At a minimum, the DAC Registers (0x04 and 0x05)
must be written (to enable the DACs) and the
IN_MODE bit of the CONTROL_0 Register
(0x01) must be set (to enable ITU R.BT601 data input on V [7:0]) for the CS4954/5 to become operational after RESET.
DS278F615
CS4954 CS4955
NTSC 27MHz Clock Count
PAL 27MHz Clock Cou nt
CLK
HSYNC (input)
V[7:0]
(SYNC_DLY=0)
V[7:0]
(SYNC_DLY=1)
1683
1682
1703
1702
Y
Cr
active pixel
• • •
Y
Cb
active pixel
#719
168616851684
1706
17051704
YCbYCrY
#720
Cr
Y
active pixel
#720
• • •
• • •
1716
1728
Figure 4. ITU R.BT601 Input Slave Mode Horizontal Timing
5.2Video Timing
5.2.1Slave Mode Input Interface
In Slave ITU R.BT601 (not ITU-R.BT656 input)
Mode, the CS4954/5 receives signals on VSYNC
and HSYNC as inputs. Slave Mode is the default
following RESET and is changed to Master Mode
via a control register bit (CONTROL_0 [4]). The
CS4954/5 is limited to ITU R.BT601 horizontal
and vertical input timing. All clocking in the
CS4954/5 is generated from the CLK pin. In Slave
Mode, the Sync Generator uses externally provided
horizontal and vertical sync signals to synchronize
the internal timing of the CS4954/5. Video data that
is sent to the CS4954/5 must be synchronized to the
horizontal and vertical sync signals. Figure 4 illustrates horizontal timing for ITU R.BT601 input in
Slave Mode. Note that the CS4954/5 expects to receive the first active pixel data on clock cycle 245
1
23128
1
23128
horizontal blanking
horizontal blankingactive pixel#1active pixel
• • •
• • •
129
129
• • •
• • •
244 245
264 265
246 247
266 267
active pixel#1active pixel
Cb
248
268
#2
Y
Cr
(NTSC) when CONTROL_2 Register (0x02) bit
SYNC_DLY = 0. When SYNC_DLY = 1, it expects
the first active pixel data on clock cycle 246 (NTSC).
5.2.2Master Mode Input Interface
The CS4954/5 defaults to Slave Mode following
RESET high but can be switched into Master Mode
via the MSTR bit in the CONTROL_0 Register
(0x00). In Master Mode, the CS4954/5 uses the
VSYNC, HSYNC and FIELD device pins as outputs to schedule the proper external delivery of digital video into the V [7:0] pins. Figure 5 illustrates
horizontal timing for the CCIR601 input in Master
Mode.
The timing of the HSYNC
the PROG_HS Registers (0x0D, 0x0E). HSYNC
can be delayed by one full line cycle. The timing of
the VSYNC output is also selectable in the
output is selectable in
#2
NTSC 27MHz Clock Count
PAL 27MHz Clock Count
CLK
HSYNC (ou tpu t)
CB (output)
V[7:0]
1682
1702
Y
• • •
1683
1703
Cr
YCbYCrY
active pixel
#720
168616851684
17051704
1706
• • •
• • •
1716
1728
1
23128
1
23128
horizontal blank ing
• • •
• • •
129
129
• • •
• • •
244 245
264 265
246 247
266 267
active pixel#1active pixel
248
268
#2
Figure 5. ITU R.BT601 Input Master Mode Horizontal Timing
16DS278F6
CS4954 CS4955
PROG_VS Register (0x0D). VSYNC can be delayed by thirteen lines or advanced by eighteen lines.
5.2.3Vertical Timing
The CS4954/5 can be configured to operate in any
of four different timing modes: PAL, which is 625
vertical lines, 25 frames per second interlaced;
NTSC, which is 525 vertical lines, 30 frames per
second interlaced; and either 625 or 525 line Pseudo-Progressive Scan (See “Progressive Scan” on
page 18). These modes are selected in the
CONTROL_0 Register (0x00).
The CS4954/5 conforms to standard digital decompression dimensions and does not process digital
input data for the active analog video half lines as
they are typically in the over/underscan region of
TV display. 240 active lines total per field are processed for NTSC, and 288 active lines total per
field are processed for PAL. Frame vertical dimensions are 480 lines for NTSC and 576 lines for
PAL. Table 2 specifies active line numbers for both
NTSC and PAL. Refer to Figure 6 for HSYNC,
VSYNC and FIELD signal timing.
ModeFieldActive Lines
NTSC1, 3;
2, 4
PAL1, 3, 5, 7;
2, 4, 6, 8
NTSC Progressive-ScanNA22-261
PAL Progressive-ScanNA23-310
Table 2. Ver t i c a l T im in g
22-261;
285-524
23-310;
336-623
5.2.4Horizontal Timing
HSYNC is used to synchronize the horizontal-input-to-output timing in order to provide proper horizontal alignment. HSYNC defaults to an input pin
following RESET but switches to an output in Master Mode (CONTROL_0 [4] = 1). Horizontal timing is referenced to HSYNC
active video lines, digital video input is to be applied to the V [7:0] inputs for 244 (NTSC) or for
264 (PAL) CLK periods following the leading
transitioning low. For
(falling) edge of HSYNC if the PROG_HS Registers are set to default values.
5.2.5NTSC Interlaced
The CS4954/5 supports NTSC-M, NTSC-J and
PAL-M modes where there are 525 total lines per
frame, two fixed 262.5-line fields per frame and 30
frames occurring per second. NTSC interlaced vertical timing is illustrated in Figure 7. Each field
consists of one line for closed caption, 240 active
lines of video, plus 21.5 lines of blanking.
VSYNC field one transitions low at the beginning
of line four and will remain low for three lines or
2574 pixel cycles (858 × 3). The CS4954/5 exclusively reserves line 21 of field one for closed caption insertion. Digital video input is expected to be
delivered to the CS4954/5 V [7:0] pins for 240
lines beginning on active video lines 22 and continuing through line 261. VSYNC field two transitions low in the middle of line 266 and stays low for
three line-times and transitions high in the middle
of line 269. The CS4954/5 exclusively reserves line
284 of field two for closed caption insertion. Video
input on the V [7:0] pins is expected between lines
285 through line 525.
5.2.6PAL Interlaced
The CS4954/5 supports PAL modes B, D, G, H, I,
N, and Combination N, in which there are 625 total
lines per frame, two fixed 312.5 line fields per
frame, and 25 total frames per second. Figure 8 illustrates PAL interlaced vertical timing. Each field
consists of 287 active lines of video plus 25.5 lines
of blanking.
VSYNC
will remain low for 2.5 lines or 2160 pixel cycles
(864 × 2.5). Digital video input is expected to be
delivered to the CS4954/5 V [7:0] pins for 287
lines beginning on active video line 24 and continuing through line 310.
Field two begins with VSYNC transitioning low
after 312.5 lines from the beginning of field one.
will transition low to begin field one and
DS278F617
NTSC Vertical Timing (odd field)
CS4954 CS4955
Line
HSYNC
VSYNC
FIELD
Line
HSYNC
VSYNC
FIELD
Line
HSYNC
VSYNC
FIELD
3
NTSC Vertical Timing (even field)
264265
PAL Vertical Timing (odd field)
26512
4
56
266267268269270
789
3456
10
271
7
PAL Vertical Timing (even field)
Line
HSYNC
VSYNC
FIELD
311312
313314315316317
Figure 6. Vertical Timing
VSYNC stays low for 2.5 line-times and transitions
high with the beginning of line 315. Video input on
the V [7:0] pins is expected between line 336
through line 622.
5.2.7Progressive Scan
The CS4954/5 supports a pseudo-progessive scan
mode for which “odd” and “even” numbered line
information is presented in “odd” numbered line
positions by varying the vertical blanking timing.
This preserves precise MPEG-2 frame rates of 30
and 25 frames per second. This mode is in contrast
to other digital video encoders, which commonly
support progressive scan by repetitively displaying
318
a 262 line field (524/525 lines for NTSC). The
common method is flawed: over time, the output
display rate will overrun a system-clock-locked
MPEG-2 decompressor and display a field twice
every 8.75 seconds.
5.2.8NTSC Progressive Scan
VSYNC will transition low at line four to begin
field one and will remain low for three lines or
2574 pixel cycles (858 × 3). NTSC interlaced timing is illustrated in Figure 9. In this mode, the
CS4954/5 expects digital video input at the V [7:0]
pins for 240 lines beginning on active video line 22
and continuing through line 261.
18DS278F6
Loading...
+ 42 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.