l 32-bit DSP capable of AC-3, MPEG, DTS, MP3, and WMA
l Progressive Scan (480p) with 3:2 pull down support or
Interlaced (PAL/NTSC) video encoding, both modes with
Macrovision encoding, via three 10-bit Video DACs
l Serial DVD data interface for direct connection to low cost
(track buffer-less) DVD loader
l Flexible interface connects ATAPI, local bus or
microcontroller-less DVD loaders without external logic
l MPEG decoder supports VCD, VCD 3.0, SVCD, DVD video
standards
l Advanced subpicture unit handles DVD and SVCD, and
PAL<->NTSC scaling
l High quality video scaling for zoom and NTSC/PAL
conversion
l 4-bit multi-region OSD and special video effects
l Simultaneous 8 channels PCM audio output and IEC-958.
l 2-Channel PCM audio input for high-end karaoke
applications
l Three serial control/status ports
l Low-power, ~0.5 W power dissipation
Description
Building on innovative, market-leading technology, Cirrus
Logic presents the most complete DVD processor solution available: CS98100. The CS98100 provides the highperformance typical of Cirrus Logic integrated circuits,
and on-chip integration that allows for seamless integration of functions. Among the integrated functions in this
system-on-chip architecture is
encoder with a triple 10-bit video DAC, allowing for a significant decrease in system cost.
Not only is the CS98100 equipped with an intuitive onscreen display and user interface, but the CS98100 also
offers progressive output, DTS decoding, HDCD support, and MP3 plus WMA decoding. Other advanced
features include karaoke down-mix. The low cost extended feature set makes the CS98100 ideal for both
low-end and high-end system manufacturers.
For a complete listing of Direct Sales, Distributor, and Sales Representative contacts, visit the Cirrus Logic web site at:
http://www.cirrus.com/corporate/contacts
IMPORTANT NOTICE
“Preliminary” product information describes products that are in production, but for which full characterization data is not yet available. “Advance” product information
describes products that are in development and subject to development changes. Cirrus Logic, Inc. and its subsidiaries (“Cirrus”) believe that the information contained
in this document is accurate and reliable. However, the information is subject to change without notice and is provided “AS IS” without warranty of any kind (express
or implied). Customers are advised to obtain the latest version of relevant information to verify, before placing orders, that i
complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent
infringement, and limitation of liability. No responsibility is assumed by Cirrus for the use of this information, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third parties. This document is the property of Cirrus and by furnishing this information,
Cirrus grants no license, express or implied under any patents, mask work rights, copyrights, trademarks, trade secrets or other intellectual property rights. Cirrus
owns the copyrights of the information contained herein and gives consent for copies to be made of the information only for use within your organization with respect
to Cirrus integrated circuits or other parts of Cirrus. This consent does not extend to other copying such as copying for general distribution, advertising or promotional
purposes, or for creating any work for resale.
An export permit needs to be obtained from the competent authorities of the Japanese Government if any of the products or technologies described in this material
and controlled under the “Foreign Exchange and Foreign Trade Law” is to be exported or taken out of Japan. An export license and/or quota needs to be obtained
from the competent authorities of the Chinese Government if any of the products or technologies described in this material is su
and is to be exported or taken out of the PRC.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED, OR WARRANTED TO BE
SUITABLE FOR USE IN LIFE-SUPPORT DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER'S RISK.
Cirrus Logic, Cirrus, and the Cirrus Logic logo designs are trademarks of Cirrus Logic, Inc. All other brand and product names i
or service marks of their respective owners.
Purchase of I2C components of Cirrus Logic, Inc., or one of its sublicensed Associated Companies conveys a license under the Phillips I
components in a standard I2C system.
2
2
C Patent Rights to use those
4.2 Host Port Memory Map .................................................................................................... 23
4.3 Internal IO Space Map ..................................................................................................... 24
4.4 CS98100 Register Space ................................................................................................ 24
Table 23. DVD I/O Channel Interface Pin Assignments................................................................53
Table 24. DVD Serial Data Interface Pin Assignments................................................................. 54
Table 25. Video Encoder Interface Pin Assignments....................................................................55
Table 26. General Purpose I/O Interface Pin Assignments...........................................................56
Table 27. Power and Ground........................................................................................................57
4
1. CHARACTERISTICS AND SPECIFICATIONS
1.1AC AND DC PARAMETRIC SPECIFICATIONS
(AGND, DGND=0V, all voltages with respect to 0V)
1.1.1ABSOLUTE MAXIMUM RATING
SymbolDescriptionMinMaxUnit
CS98100
VDD
VDD
V
I
I
I
I
O
T
SOL
T
VSOL
T
STOR
T
AMB
P
total
IO
CORE
Power Supply Voltage on I/O ring-0.54.6Volts
Power Supply Voltage on core logic and PLL -0.52.5Volts
Digital Input Applied Voltage (power applied)-0.55.5Volts
Digital Input Forced Current-1010mA
Digital Output Forced Current-5050mA
Lead Soldering Temperature260
Vapor Phase Soldering Temperature235
Storage Temperature (no power applied)-40125
Ambient Temperature (power applied)070
o
C
o
C
o
C
o
C
Total Power consumption 2W
CAUTION: Operating beyond these Minimum and Maximum limits can result in permanent damage to
the device. Cirrus Logic recommends that CS98000 devices operate at the settings described in the next
table.
1.1.2RECOMMENDED OPERATING CONDITIONS
ParameterSymbolMinTypMaxUnits
Supply Voltage, IOV
Supply Voltage, core and PLLV
Ambient Temperature (power applied)T
1.1.3ELECTRICAL CHARACTERISTICS
ParameterSymbolConditionsMinTypMaxUnits
Power Supply
Supply Voltage, IOV
Supply Voltage, core and PLLV
Supply Current, IOI
Supply Current, core and PLLI
Digital Pins
Input Voltage, HighV
Input Voltage, LowV
DD
DD
DD
DD
Normal Operating45mA
Normal Operating210mA
IH
IL
DD
DD
AMB
3.03.33.6Volts
1.621.81.98Volts
02570
o
C
3.03.33.6Volts
1.621.81.98Volts
2.2Volts
0.8Volts
5
CS98100
ParameterSymbolConditionsMinTypMaxUnits
Input CurrentI
Input Pull up/down resistorR
Output Voltage, HighV
Output Voltage, LowV
High-Z-state LeakageI
IN
I
OH
OL
OZ
Analog Video Pins
Full Scale CurrentI
Output Voltage RangeV
DAC to DAC matching
1
Output Voltage RangeV
FS
IO
MAT2%
out
Differential GainDG1%
Differential PhaseDP 0.5deg
Signal to NoiseSNR74dB
Chrominance AM NoiseAM80dB
Chrominance PM NoisePM75dB
The CS98100 can interface with ATAPI-type slave loader gluelessly. Figure1 illustrates a read ATAPI
transaction and a write ATAPI transaction. PIO mode 4 is implemented for sufficient data transfer rate between ATAPI device and the CS98100.
See Table1 for the ATAPI symbols and characterization data.
SymbolDescriptionMinTypMaxUnit
t
acyc
t
aavr
t
ah
t
arww
t
arec
t
awsu
t
awh
t
ardsu
t
arddh
t
ardts
t
arsu
t
arh
1
1
Cycle Time87ns
Address Valid to HMRD-/HMWR- Setup7ns
Address Hold from HMRD-/HMWR Setup 8ns
H_RD/H_WR Pulse Width58ns
H_RD/H_WR Recovery Time19ns
H_WR Data Setup20ns
H_WR Data Hold4ns
H_RD Data Setup20ns
H_RD Data hold0ns
H_RD Data three-state7ns
H_RDY Setup Time14ns
H_RDY Hold Time0ns
H_A[2:0] ,
H_CS[3:0]
H_RD/H_WR
H_D[15:0](WRITE)
H_D[15:0](READ)
H_RDY(deasserted
before tarsu)
H_RDY(asserted
before tarsu)
Table 1. ATAPI Interface Characteristics
1.
Values are guaranteed by design only
t aavr
Figure 1. ATAPI Interface Timing Diagram
tarsu
tarww
tacyc
tardsu
tarh
tarddh
t ah
tarec
tawhtawsu
tardts
7
CS98100
1.2.2SDRAM Interface
The CS98100 interfaces with either SDRAM or SGRAM, for high data bandwidth transfer. Figure5 and
Table2 show the interface pin timing. Figure2 shows the refresh cycle performed by the CS98100.
Figure3 shows a burst read (length = 8) transaction, while Figure4 shows a burst write (length=8) trans-
action. In both Figure3 and Figure4, CAS latency is programmed to 3.
SymbolDescriptionMinTypMaxUnit
t
mco
t
mper
t
mdow
t
mhw
t
msur
t
msurd
t
mhr
t
mhrd
1
1
1
Output Delay from DR_CKO active edge9ns
DR_CKO Period1112.2ns
DR_D[31:0] delay from DR_CKO9.1ns
DR_D[31:0] valid time after DR_CKO1.5ns
DR_D[31:0] setup to DR_CKO3.9ns
1
DR_D[31:0] setup to DR_CKO with delay 4.3ns
DR_D[31:0] hold time after DR_CKO1.85ns
DR_D[31:0] hold time after DR_CKO with
1.3ns
delay
1.
Delay is programmable by selecting the DRAM_Input_Speed bit of the Command Register(0x000)
DR_CKO
DR_A[11:0]
DR_BS_N
DR_RAS_N
DR_CAS_N
DR_WE_N
DR_D[31:0]
DR_DQM_[3:0]
DR_AP
Table 2. SDRAM Interface Characteristics
Figure 2. SDRAM Refresh Transaction
8
DR_CKO
CS98100
DR_A_[11:0]
DR_CKE
DR_RAS_N
DR_CAS_N
DR_WE_N
DR_D[31:0]
DR_DQM[3:0]
DR_CKO
DR_A_[11:0]
DR_CKE
DR_RAS_N
R0
C0
C1
C2
C3C4C5C6C7
D0 D1D2
0F
Figure 3. SDRAM Burst Read Transaction
R0
C0
C1
C2
C3C4C5C6C7
D3
D4D5D6D7
F
DR_CAS_N
DR_WE_N
DR_D[31:0]
DR_DQM[3:0]
D0
D1D2
D3
D4D5D6D7
0F
Figure 4. SDRAM Burst Write Transaction
F
9
DR_CKO
DR_RAS_N,DR_CAS_N
DR_WE_N,DR_AP,DR_DQM[3:0],
DR_CKE,DR_A[11:0]
DR_D[31:0](WRITE)
DR_D[31:0](READ)
tmpertmco
tmdow
CS98100
tmhw
tmsur
tmhr
Figure 5. CS98100 SDRAM Read and Write
10
1.2.3DVD Serial Interface Timing
Figure6 and Table3 illustrate the signal timing for the DVD serial interface input pins.
SymbolDescriptionMinTypMaxUnit
t
dsckper
t
dsckl
t
dsckh
t
dsdsu
t
dsdhd
t
dscdsu
t
dscdhd
1
DVDS_CLK Period33ns
1
DVDS_CLK Low Time4050%
1
DVDS_CLK High Time4050%
DVDS_DATA Setup to DVDS_CLK active edge 4ns
DVDS_DATA Hold after DVDS_CLK active edge 0ns
DVDS_VLD,DVDS_SOS Setup to DVDS_CLK3ns
DVDS_VLD,DVDS_SOS Hold after DVDS_CLK 0ns
Table 3. CS98100 DVD Interface Characteristics
1.
Values are guaranteed by design only
t
dsckper
CS98100
DVDS_CLK
(Input)
DVDS_DATA
(Input)
DVDS_VLD, DVDS_SOS
(Input)
t
dsckldsckh
t
t
dsdsu
t
dscdsu
t
dsdhd
t
dscdhd
Figure 6. CS98100 DVD Serial Interface Timing Diagram
11
CS98100
1.2.4Digital Video Interface Timing
Figure7 illustrates the signal timing for the digital video interface pins. The clock is without a polarity to
show the clock may be inverted by register programming. This also illustrates that data is clocked out on
both clock edges in progressive mode. The data order is Cr,Y0,Cb,Y1, and the sync outputs may be programmed as active high or active low.
SymbolDescriptionMinTypMaxUnit
t
t
t
1
vocper
covo1
covo2
CLK27_O period37.037ns
2
VDAT[7:0] delay from CLK27_O-1010ns
2
Vsync/Hsync delay from CLK27_O-1010ns
Table 4. CS98100 Digital Video Interface Characteristics
1.
Values are guaranteed by design only
2.
It is recommanded that the output data should be taken at the opposite edge of the CLK27_O.
Tvocper
CLK27_O
(Output)
VDAT[7:0]
(Output)
VSYNC/HSYNC (Output)
Figure 7. CS98100 Digital Video Interface Timing Diagram
Tcovo1
Tcovo2
12
CS98100
* Active clock edge is programmable. Timing is referenced from active edge.
1.2.5Digital Audio Interface Timing
Figure8 and Figure9 illustrate the signal timing for the digital audio pins. The bi-directional AUD_XCK
pin clocks at 8x the frequency of the AUD_BCK pin. The AUD_BCK pin outputs at 32x or 48x of the
sample frequency, and transitions on the falling edge of the AUD_XCK pin. AUD_BCK is shown without
polarity to indicate the polarity is programmable.
SymbolDescriptionMinTypMaxUnit
t
slri
t
sdi
thsdiAIN_DATA hold time after AUD_BCK active edge 1-ns
*AUD_BCK (Output)
AIN_LRCK setup to AUD_BCK active edge25-ns
AIN_DATA setup to AUD_BCK active edge25-ns
Table 5. Digital Audio In Characteristics
AIN_LRCK (Input)
AIN_DATA (Input)
t
lrts
t
sdsus
Figure 8. Digital Audio In Timing Diagram
t
sdhs
13
CS98100
SymbolDescriptionMinTypMaxUnit
t
1
axch
1
taxcl
t
axper
t
odbck
t
odbck
t
aoper
t
2
odlr
t
2
odsd
1.
Values are guaranteed by design only
2.
It is recommanded that the output data should be taken at the opposite edge of the AUD_BCK.
AUD_XCLK High Time (AUD_XCLK is Input/Output) 4050%
AUD_XCLK Low Time (AUD_XCLK is Input/Output) 4050%
AUD_XCLK period (Input/Output)27ns
AUD_BCK delay from AUD_XCLK(output) active
10ns
edge
AUD_BCK delay from AUD_XCLK(input) active
21ns
edge
AUD_BCK period216ns
AUD_LRCK delay from AUD_BCK active edge-1010ns
AUD_D[3:0] delay from AUD_BCK active edge-1010ns
Table 6. Digital Audio Out Characteristics
AUD_XCLK(Input/Output)
AUD_BCK(Output)
* AUD_BCK(Output)
AUD_LRCK(Output)
AUD_DO[3:0] (Output)
t
axper
t
odsd
t
axch
t
odlr
t
aoper
t
axcl
t
odbck
14
* Active clock edge is programmable. Timing is referenced from active edge.
Figure 9. Digital Audio Out Timing Diagram
1.2.6ROM/NVRAM Interface
SymbolDescriptionMinTypMaxUnit
t
rc
t
cds
t
ods
t
ads
t
aws
t
cws
t
wp
t
wdo
t
dh
Read Cycle Time98ns
CE to Data Setup80ns
OE to Data Setup70ns
Address to Data Setup90ns
Address to WE setup (Write)20ns
CE to WE setup (Write)5ns
WE Pulse Width (Write)160ns
CE to Data Output (Write)-5ns
WE to Data Hold (Write)10ns
Table 7. RAM/NVROM Characteristics
Note:Read timing based on 10.5 ns memory clock and 4 programmed wait states.
•8 Kbyte instruction cache, 12 Kbyte program
visible local memory
•Single cycle instructions run at 90 MHz.
SYSTEM CONTROLS
•Include several hardware lockable semaphore
registers
•General-purpose registers for inter-processor
18
•Built in PLLs generate all required clocks from
27 MHz input clock.
•Memory Controller
•Supports SDRAM, and SGRAM, from 2
MBytes to 32 MBytes.
•Supports multiple banks of FLASH and ROM
up to 32 MBytes.
•32-bit data bus for DRAM, 8 or 16-bit data bus
for ROM.
DATA FLOW ENGINE
•Two DMA controllers – local memory based
and direct memory-to-memory
•2432 bytes of internal memory, DMA to/from
main RAM into local SRAM.
•Supports endian conversion and byte, short,
CS98100
long data formats on DMA.
•Supports block transfers for graphics bit blits.
MPEG VIDEO DECODER
•Supports VCD1.0, 1.1, 2.0 and 3.0, SVCD, and
DVD video standards.
•Supports trick features, including smooth 2x
forward play.
•Special anti-tearing logic controls picture decode and presentation.
•Advanced error concealment hardware.
SYSTEM SYNCHRONIZATION
•System time clock (STC) for audio/video synchronization
•Flexible interrupt structure for controlling decode and presentation times
•Hardware scheduling of sub-picture and highlight events
AUDIO INTERFACE
•Supports 8 channels PCM, I2S at up to 24 bits
and 96 kHz output rate.
•Simultaneous IEC-958 output with programmable channel status and user data
•Also supports S/PDIF receiver for high performance applications
EXTERNAL INTERFACE
•2-wire serial master and slave port, second 2wire master port for controlling DVD device.
•3- or 4-wire serial master/slave port.
•Large number of programmable bi-directional
I/O pins.
•All pins not used for other function can be reassigned as general purpose I/O pins
•8 pins can be used as edge or level detection interrupt pins.
•Hardware-assisted support for infrared remote
devices, such as remote control, infrared keyboard, mouse, printer, and more.
•Programmable parallel host master interface
supports formats including ATAPI, ISA, and
more.
•IO channel interface supports standard DVD
loader protocols
•Separate serial DVD interface to support lowcost (track buffer-less) loaders
VIDEO PROCESSOR
•On screen display module supports 2-bit or 4bit, pixel modes. It supports 3 separate regions
and 16 transparency overlay levels
•High quality scaling using 16 tap polyphase
programmable vertical and horizontal filters, to
support any size image up to 768x576.
•Multiple video plain overlays (main video /
subpicture / picture-in-picture / on-screen display).
•Gamma Correction.
•Progressive scan video output
VIDEO ENCODER
•Three 10-bit video DACs, drive 37.5Ω load directly without external buffering
•Supports PAL (B,D,G,H,I,N) and NTSC
•Component (RBG or YUV) or composite + SVideo output
•Progressive or interlaced mode output
•Macrovision 7.1 support (interlaced) and Macrovision 1.03 support (progressive)
•Wide-screen signaling support (interlaced and
progressive) and CGMS support
•Closed captioning support
SUB-PICTURE PROCESSOR
•Run-length decode DVD sub-pictures and
SVCD OGT formats
•Hardware vertical scaling supports NTSC-PAL
format conversion
•16 level alpha blending
System Functions
•208-pin MQFP package.
•All I/O pins are 3V with 5V tolerance.
•Advanced 0.18 micron CMOS technology.
•Chip runs at 90 MHz
•Supports Low power modes and clock shutoff.
19
3. FUNCTIONAL DESCRIPTION
CS98100
3.1RISC Processor
The CS98100 includes a powerful, proprietary 32bit RISC processor with optimizing C compiler
support. The RISC has a MAC engine which performs multiply/accumulate in 2 cycles in a pipelined fashion with C support, effectively achieving
single cycle throughout. The CS98100 fully supports many Real Time Operating Systems (RTOS).
The RISC processor co-ordinates on-chip multithreaded tasks, as well as supervises system activities such as remote control and VFD front panel
control.
3.2DSP Processor
The CS98100 contains a proprietary digital signal
processor (DSP) which is optimized for audio applications. The DSP performs 32-bit simple integer
operations, and has a 24-bit fixed point logic unit,
with a 54-bit accumulator. There are 32 generalpurpose registers, and eight independent address
generation registers, featuring: post-increment
ALU, linear and circular buffer operations, bit reverse ALU operations, and dual operand read from
memory. The multiply-accumulator has single-cycle throughput, with two cycle latency. The DSP is
optimized for bit packing and unpacking operations. The interface to main memory is designed for
bursting flexible block sizes and skip counts.
3.3Memory Control
The DRAM Interface performs the SDRAM control and arbitration functions for all the other modules in the CS98100. The DRAM interface services
and arbitrates a number of clients and stores their
code and/or data within the local memory. This arbitration and scheduling guarantees the allocation
of sufficient bandwidth to the various clients. The
DRAM Interface supports up to 32 MByte. For a
typical DVD player application, CS98100 requires
8 MByte of SDRAM and 1 MByte of FLASH.
Sharing the same interface, the CS98100 also supports flash ROM, OTP, or masked ROM interface.
Code is stored in ROM. After the system is booted,
the code is shadowed inside DRAM for execution.
FLASH ROM interface is provided so that the code
can be upgraded in field once the communication
channel is established via, for example, CD-R or
serial port. Utility software will be provided to debug and upgrade code for the system manufacturer.
3.4Dataflow Control (DMA)
The DMA controller moves data between the external memory and an internal memory. The external
memory address can be specified using a register,
or in FIFO mode, using start and end address registers. Separate start/end address registers are used
for DMA read and write operations. The DMA interface also has a block transfer function, which allows for the transfer of one block of data from one
external memory location to another external memory location. In effect, combining a DMA read and
write into one operation. In addition, the DMA
write operation allows for byte, short, word, and
other types of masking. A second dedicated DMA
controller provides for fast memory-to-memory
transfers.
3.5System Control Functions
The system control functions are used to coordinate
the activities of the multiple processors, and to provide the supporting system operations. Four 32-bit
communication registers are available inter-processor communication, and eight semaphore registers are used for resource locking. Timers are
available for general-purpose functions, as well as
more specialized functions such as watchdog timers and performance monitoring. The large number
of general purpose I/Os offers flexibility in system
configurations.
Three separate serial interfaces, conforming to industry-standard protocols, are available for a vari-
20
CS98100
ety of system interface functions. Interrupts can be
generated on specific or generic events. Infrared inputs can be filtered of glitches or stored unfiltered
into memory. Power-down control of the internal
clocks is also possible. Internal PLLs are used to
generate the internal system and memory clocks,
and audio clocks of any widely used frequency.
3.6DVD/ATAPI Interface
The CS98100 has a programmable interface port,
which can be configured to connect to industry
standard CD/DVD loaders without external glue
logic. The CD/DVD interface fully supports a wide
range of popular CD/DVD loaders. The interface
consists of DVD control and data ports, and an optional CD control/data port. The CS98100 hardware manages the DVD interface and moving data
to an arbitrary size input FIFO in DRAM.
The same interface pins can be optionally configured as a generic 16-bit host master port. In this
mode, the CS98100 can control up to four devices
(using 4 chip select outputs), each of which may
use different protocol and timing. The interface can
be set up in ATAPI mode, to connect directly to any
ATAPI DVD loader (using two chip selects). Simultaneously, the other two chip selects can be
configured to connect to other devices, such as a
super I/O chip or hard disk.
A third option is to configure the interface for micro-less DVD loader operation, which may also be
configured to connect without external glue logic.
3.7Serial DVD Interface
The CS98100 has a 4-pin serial port which interfaces to the data port of popular low-cost DVD loaders. This type of loader provides for low system
cost by eliminating the track buffer, interface
FIFO, and flow control logic. The CS98100 contains a large internal SRAM to handle high burst
data rates, without requiring reverse flow control.
The track buffer resides in the CS98100 SDRAM,
which reduces system complexity and simplifies
the software architecture. The CS98100 performs
error detection, sector number tracking, and interrupt generation.
3.8MPEG Video Decoding
Compressed MPEG data is read from the DVD disk
into an input FIFO in DRAM. The data flow
(DMA) controller moves Video packets from the
input FIFO into the MPEG decoder’s input FIFO
(also in DRAM). The DMA controller can also perform advanced functions such as start code search,
relieving the RISC processor. The System Sync
function is used to control the timing of MPEG picture decoding. The MPEG Video decoder processes I, B and P frames, and writes to video frame
buffers in DRAM, for output to the display. Special
anti-tearing logic ensures currently displayed
frame buffers are not overwritten.
3.9Audio Processing
Compressed Audio data is read from the DVD disk
into an input FIFO in DRAM. The data is decompressed, then written to a PCM output FIFO, also in
DRAM. Presentation time stamps (PTS) are extracted from the stream to update the STC, in order
to maintain audio/video synchronization. The
DMA and decompression stages of audio processing can be done with a combination of the DMA
unit, DSP and RISC processors. The DSP is optimized for audio processing, so most common formats can be handled by the DSP alone, including
AC-3, MPEG2 audio, and others. The DSP has
enough reserve bandwidth to handle the Karaoke
echo-mix and pitch shift, and AC-3 down-mix
functions.
The audio output data is written into a DRAM
FIFO in 16, 18, 20 or 24-bit PCM format. A flexible audio output stage can simultaneously output 8
channels of PCM data to audio DACs, plus an IEC958 encoded output, at up to 96 kHz. The IEC-958
output has fully programmable channel status
(commercial), and provides a flexible solution to
support all IEC-958 modes for User Data.
21
CS98100
The audio interface also includes a flexible PCM
input interface, which can input a wide range of
protocols from IEC-958 receiver. Another, lowcost approach for audio input is the internal sigmadelta demodulator. This module inputs a digital
PWM version of the audio input, which can be created on the board using an inexpensive ramp generator and comparator. The sigma-delta demodulator
uses a set of programmable filters to reconstruct 9bit (mono) audio data at up to 12 kHz sampling frequency.
3.10Video Processing
The CS98100 Video processor is a powerful, fully
programmable video post processing engine that
displays video on an interlaced TV or a progressive
HDTV. A 16-tap polyphase vertical filter is fully
programmable on a line-by-line basis, to provide
high quality vertical scaling and interlaced field
conversion. Horizontal filtering is done with a programmable 16-tap polyphase filter. This advanced
filter processing is used for de-interlacing, zoom,
and frame size conversion.
Source mode of interlaced or progressive is determined from the disk type automatically. For progressive source detection, 3:2 pulldown is detected
from status flags in the video stream to ensure optimized playback. Interlaced video source is filtered up to progressive size output using the
bilinear vertical filter. This is visibly superior to
simple line doubling. Each 240 line field being filtered and output at 480p. Progressive video source
is output at the full progressive resolution. Each
480 line frame output at 480p. Source mode of interlaced or progressive is determined from the disk
type. For progressive source detection, 3:2 pulldown is simply detected from status flags in the
video stream.
Zoom is fully programmable, from 1X to 500X
zoom, with any value in between. Frame type conversion, from NTSC to PAL, or PAL to NTSC, is
done with a the bilinear vertical filter, reducing
flicker and jaggies.
There is a programmable gamma-correction look-
up table for the final output. Cirrus Logic provides
some easy to use utilities in order to get the best advantage of the powerful video filtering capabilities
of the CS98100. The video encoder sends progressive or interlaced digital video data to the internal
video encoder, and can output parallel digital data
to an external video encoder.
The video processor also allows multiple video
plain overlay (main video / sub-picture / on-screen
display). The sub-picture unit is a hardware-only
solution which performs high-quality vertical scaling for PAL/NTSC conversion, and full support for
DVD (sub-picture) and SVCD (OGT) modes. The
on-screen display unit features 2-bit and 4-bit pixels, 16 transparency levels, and three independent
regions of up to full-screen size. The picture-in-picture unit can place a 1/2 or 1/4 screen sized window
anywhere on the screen. This feature can be used
for special effects, such as snapshot freeze and
zoom assist.
3.11Video Encoder
The video encoder uses three 10-bit DACS to convert digital data to component (RGB or YPRPB) or
composite (composite plus S-Video) analog video.
The output can be interlaced (PAL/NTSC) or high
resolution progressive. In progressive mode, the
video encoder will typically drive YPRPB to a 525line television at 59.94 Hz, although other output
modes are possible, such as 625 lines and RGB.
The encoder performs the Macrovision copy protection function for all modes (revision 7.1 for interlaced, revision 1.03 for progressive). Other
features include built-in voltage reference, color
bar generator, individual power-down control for
each DAC, programmable baseband filters, color/contrast/tint controls, Closed Captioning (interlaced modes), wide screen signalling (PAL mode),
and Copy Generation Management System (NTSC
and progressive modes).
22
CS98100
4. MEMORY MAP AND REGISTERS
4.1Processor Memory Map
The CS98100 externally supports up to 32 Mbytes DRAM and 16 Mbytes ROM/NVRAM. Table9 lists
the memory map as viewed by the RISC processor, and identifies whether each segment is mapped or
cacheable.
Processor byte addressDescriptionCacheable
0000_0000 – 07FF_FFFFDRAM (mapped)Y
8000_0000 - 81FF_FFFFDRAM (32 Mbytes)Y
9400_0000 – 9CFF_FFFF16 bit NVRAM write (16 Mbytes) N
9C00_0000 – 9CFF_FFFF16 bit NVRAM/ROM (16 Mbytes) Y
9D00_0000 – 9DFF_FFFF8 bit NVRAM/ROM (16 Mbytes)Y
A000_0000 – A1FF_FFFFDRAM (32 Mbytes)N
B000_0000 – B003_FFFFInternal I/O (256 Kbytes)N
B400_0000 – BCFF_FFFF16 bit NVRAM write (16 Mbytes) N
BC00_0000 – BCFF_FFFF16 bit NVRAM/ROM (16 Mbytes) N
BD00_0000 – BDFF_FFFF8 bit NVRAM/ROM (16 Mbytes)N
C000_0000 – FFFF_FFFFDRAM (mapped)Y
Table 9. Memory Map - RISC Processor
4.2Host Port Memory Map
Table10 lists the memory map as viewed by host slave port.
Host byte addressDescription
0000 0000 – 003F FFFFInternal I/O Space
1000 0000 – 13FF FFFFDRAM space (16 Mbytes)
1400 0000 – 17FF FFFFNVRAM space (16 Mbytes)
Table 10. Host Port Memory Map
23
CS98100
4.3Internal IO Space Map
Table11 shows how the Internal IO space is mapped between general registers, internal SRAM ports, and
B5cWOVideo ProcessorGamma Control
B60WOVideo ProcessorGamma Control
B64WOVideo ProcessorGamma Control
B68WOVideo ProcessorGamma Control
B6CWOVideo ProcessorGamma Control
B70WOVideo ProcessorGamma Control
B74WOVideo ProcessorGamma Control
CS98100
B78WOVideo ProcessorGamma Control
B7CR/WVideo ProcessorENC_Field_at_EAV
C00R/WSubpictureSubpicture_Color0
C04R/WSubpictureSubpicture_Color1
C08R/WSubpictureSubpicture_Color2
187V_R_YCAnalogVideoO
188DAC_3V3PwrAnalog Power
189DAC_GNDGndAnalog Ground
190COMPAnalogCompensationO
191RSETAnalogCurrent SetB
192VREFAnalogVoltage RefB
193DAC_3V3PwrAnalog Power
194DAC_GNDGndAnalog Ground
195DAC_GNDGndAnalog Ground
196DAC_3V3PwrAnalog Power
197DAC_3V3Pwr.Analog Power
198IO_GNDGndI/O Ground
199DR_WE_NO8ODR_WE_NO
200DR_DQM0O8ODR_DQM[0]O
201DR_DQM1O8ODR_DQM[1]O
202DR_DQM2O8ODR_DQM[2]O
203DR_DQM3O8ODR_DQM[3]O
204IO_3V3PwrI/O Power
205XTLCLK_III27 MHz Osc.I
206XTLCLK_OOO27 MHz Osc.O
207IO_GNDGndI/O Ground
208PLL_GNDGndPLL Ground
Table 15. Pin Assignments (Continued)
Note 1: Pin may be used for micro-less DVD loader interface
Note 2: Pin should be left unconnected
Note 3 M_D[31:16] are driving when CS98100 is reading ROM/NVRAM on M_D[15:0], which occurs
immediately after reset.
45
CS98100
6.1Miscellaneous Pins
These pins are used for used for basic functions, such as clocking, reset, and infrared receiver interface.
PinSignal NameTypeDescription
152IR_INIDe-modulated infrared Input, from IR receiver.
205XTLCLK_II27 MHz crystal input, or 27 MHz oscillator input
206XTLCLK_OO27 MHz crystal output
154RST_NIReset Input, active low.
125MFG_TESTIManufacturing test pin, should always connect to ground.
Table 16. Miscellaneous Interface Pins
46
6.2Serial Interface
There are two 2-wire serial controllers, which support industry standard protocols. One controller is
a combination master/slave, and is typically used
for debug (slave), or to control a small non-volatile
memory (master). The slave chip select address is
programmable and defaults to a 7-bit value of
0x1A. The second 2-wire controller is a dedicated
master and can be used for controlling certain DVD
PinSignal NameTypeDescription
139MS_SCL1BClock for 2-wire serial port #1 (master/slave port)
140MS_SDA1BData for 2-wire serial port #1 (master/slave port)
142M_SCL2BClock for 2-wire serial port #2 (master)
143M_SDA2BData for 2-wire serial port #2 (master)
119SER_CLKBClock for 4-wire serial port (output for master mode, input
CS98100
devices. A third serial controller in the device supports industry standard 3-wire and 4-wire protocols. In master mode, this interface can control a
front panel or a small non-volatile memory. In
slave mode, it can operate under control of an external processor, for example, in a combination
unit.
for slave mode)
117SER_DOBOutput data for 4-wire serial port – may function as bi-
directional data in 3-wire mode.
118SER_DIBInput data for 4-wire serial port
115SER_CSBChip select for 4-wire serial port (output for master mode,
input for slave mode). Can also be used as bi-directional
ready line.
Table 17. Serial Interface Pin Assignments
47
6.3SDRAM Interface
These pins are used to interface the CS98100 with
external SDRAM of various sizes. Typical configurations are two 1 Mbyte x16-bit, or one 2 Mbyte
PinSignal NameTypeDescription
CS98100
x32-bit. Table18 gives instructions on how to interface any particular configuration of SDRAM.
20DR_CKOOMemory Clock
17DR_CKEOMemory Clock Enable
35DR_BS_NOBank Selection. Always connect to RAM BS or BS0 pin.
37DR_APOMemory Auto Pre-charge. Always connect to RAM AP pin.
40DR_RAS_NOMemory Row Address Strobe
42DR_CAS_NOMemory Column Address Strobe
199DR_WE_NOMemory Write Enable
203,202,201,200DR_DQM[3..0]OIO Mask of Data Bus DR_DQM[3] -> DR_Data[31:24]
M_D[31:0]BMemory Data Bus. CS98100 can use all 32 bits or can use
only M_D[15:0], in which case M_D[31:16] can be left
unconnected.note: 32 bits wide is recommended
M_A[11.0]OMemory Address Bus. Connect in order starting with M_A[0]
to all RAM address pins not already connected to DR_BS_N
or DR_AP.
48
Table 18. SDRAM Interface Pin Assignments
6.4ROM/NVRAM Interface
This interface connects to the non-volatile memory
that contains the firmware. The memory could be
ROM, NVRAM (FLASH), EEPROM, or any combination of these. This interface can also connect to
SRAM that can emulate a ROM on a development
system. The bus width is 8 or 16 bits. Most of these
PinSignal NameTypeDescription
CS98100
pins are shared with the DRAM interface, which
operates simultaneously with the ROM/NVRAM
interface.
This interface can be used to drive CCIR601/CCIR-656 digital data to an external video encoder (such as an CS4955), for example if a fourth
DAC is required. The CS98100 is sync master of
this interface. For progressive mode, the data pins
output on both edges of the clock.
Optionally, this interface can be used only to generate separate or combined horizontal/ vertical
sync, for example to drive syncs to a VGA monitor.
112, 111, 110, 109,
108, 107, 106, 105
VDAT[7:0]OVideo Data Output[7:0] in YCrCb format.
Table 20. Video Output Interface Pin Assignments
50
6.6Audio Output/Input Interface
This is the audio PCM interface that connects to an
audio CODEC. The sample rate and the size of the
PinSignal NameTypeDescription
120AUD_XCKBAudio 256x/384x Clock input or output to Serial DAC. When
output, it’s generated from CS98100 internal PLL.
121AUD_BCKOAudio Bit Clock output to serial DAC. Polarity is programma-
ble.
122AUD_LRCKOAudio Out Left/Right Clock to serial DAC.
128AUD_DO0OAudio Serial PCM Data Out[0] (Front)
130AUD_DO1OAudio Serial PCM Data Out[1] (Surround)
131AUD_DO2OAudio Serial PCM Data Out[2] (Center + LFE)
132AUD_DO3OAudio Serial PCM Data Out[3] (2-channel downmix)
CS98100
samples are programmable for both input and output direction.
137IEC958_OOIEC-958 Output
134AIN_DATAIThis input can come from from an external comparator.
136AIN_LRCKILeft/Right Clock. Input from external audio ADC. The
CS98100 can be programmed to use the Audio Output func-
tion’s internally generated LR clock, in which case this pin is
not required.
Table 21. Audio Output Interface Pin Assignments
51
CS98100
6.7Host Master/ATAPI Interface
This 16-bit parallel host interface allows the
CS98100 to be a host master, controlling other devices that would be used on the same system. The
interface supports a programmable protocols and
speeds, including multiplexed and non-multiplexed
addressing. Slaves with different protocols can be
connected at the same time, controlled by different
PinSignal NameTypeDescription
91, 92, 93, 94H_CS[3:0]OHost Chip Select[3:0]. The host master can be programmed
69H_ALEOHost address latch enable. Used for modes which multiplex
chip selects. For example, two chip selects can be
used to control an ATAPI DVD device, while the
other two chip selects can control another ATAPI
or non-ATAPI slave device.
to use a different protocol for each of the 4 chip selects
upper address information onto the data lines
158H_RDYIHost Ready. Connect to pull-up or pull-down if host is not
H_D[15:0]BHost Data Bus[15:0]. These pins can also output Host
Address during the address phase for multiplexed
address/data mode. Tie together to pull-up or pull-down if
host is not used.
Table 22. Host Master Interface Pin Assignments
52
6.8DVD I/O Channel Interface
This interface connects to standard DVD loaders,
and consists of three parts: Control, DVD Data and
CD Data. This interface shares CS98100 pins with
the Host Master/ATAPI interface. The pin defini-
CS98100
tion is set via register programming, and the two
modes are mutually exclusive.
PinSignal
Name
94DVD_SOSIDVD data start sector signal from loader
93DVD_ErrorIDVD data error signal from loader
124H_RDODVD_RDY, DVD data ready signal to loader
123H_WRIDVD_ENA, DVD data enable signal from loader
158H_RDYIDVD_STB, DVD data clock from loader
170, 171, 172, 173,
87, 88, 89, 90
164CD_C2P0ICD error signal from loader
163CD_BCLKICD clock from loader
162CD_LRCKICD left/right clock from loader
160CD_DATAICD serial data from loader
168DVDL_CKOControl port clock to loader
167DVDL_RD
H_D[7:0]IDVD_Data[7:0], DVD data port parallel data input from
Y
TypeDescription
loader
IControl port ready signal from loader
166DVDL_DOOControl port serial command to loader
165DVDL_DIIControl port serial status from loader
Table 23. DVD I/O Channel Interface Pin Assignments
53
6.9DVD Serial Data Interface
This interface connects to the data port of low cost
DVD loaders using a 4-wire serial interface. In this
case, control for the loader will typically be done
using the 2-wire serial interface master. The ATAPI/IO channel pins are then free to be used for a
PinSignal NameTypeDescription
144DVDS_CLKIDVD clock input – rising edge is the active edge
145DVDS_DATIDVD serial data input (data can be input MSB or LSB first)
146DVDS_VLDIDVD valid – a bit of data is clocked in when this pin is high
147DVDS_SOSIDVD start of sector input – active high
Table 24. DVD Serial Data Interface Pin Assignments
CS98100
second DVD loader, a general purpose ATAPI, or
as GPIOs.
54
6.10Video Encoder Interface
The video encoder interface has three DAC outputs, and operates in one of three modes: component YUV, component RGB, and S-Video plus
composite. The component modes may operate ei-
PinSignal NameTypeDescription
181U_B_COAnalog video output – U(YUV), B(RGB), C(Y/C/YC)
184Y_G_YOAnalog video output – Y(YUV), G(RGB), Y(Y/C/YC)
187V_R_YCOAnalog video output – V(YUV), R(RGB), YC(Y/C/YC)
190COMPOCompensation pin, should be connect through 0.1µF capaci-
tor to analog 3.3V supply
191RSETBCurrent adjust pin, connect through 174Ω,1% resistor to
analog ground
192VREFBVoltage reference pin, connect through 0.1µF capacitor to
analog ground
CS98100
ther normal interlaced resolution, or progressive
(high resolution).
Table 25. Video Encoder Interface Pin Assignments
55
6.11General Purpose Input/Output (GPIO)
The CS98100 provides a number of GPIO pins,
each with individual output three-state controls.
There are eight dedicated GPIO pins, which can
also be used to generate internal interrupts based on
edge or level events on the pins. Two groups of ad-
ditional pins may also be re-defined as GPIOs if not
required for other functions. Each of these additional pins has its own control register bit to select
either GPIO or normal function for the pin.
56
Table 26. General Purpose I/O Interface Pin Assignments
6.12Power and Ground
The CS98100 requires five different types of power
supplies for the Plus, internal logic, IO pins, video
DAC-digital and video DAC analog. The PLLs, internal logic and video DAC digital use 1.8 V supply
voltage. The IO pins and video DAC analog use 3.3
V supply voltage. It is recommended to use good
CS98100
layout techniques to provide isolation between the
supply types on the board. Contact Cirrus Logic applications engineering for layout guidelines.
PinSignal
Name
1, 156PLL_1V81.8V for internal PLLs
157, 208PLL_GNDGround for internal PLLs
15, 36, 79, 129, 161DIG_1V81.8V for internal core logic
18, 38, 81, 127, 159DIG_GNDGround for internal core logic
10, 21, 41, 50, 62,