l Powerful Dual 32-bit RISCs >160 MIPS
l Software based on popular RTOS, C/C++
l MPEG video decoder supports DVD, VCD,
VCD 3.0, and SVCD standards
l Video input with Picture-in-Picture and zoom
l 8-bit multi-region OSD w/vertical flicker filter
l Universal subpicture unit for DVD and SVCD
l PAL<->NTSC Scaling and Transcoding
l Supports SDRAM and FLASH memories
l Powerful 32-bit Audio DSP >80 MIPS
l Decodes: AC-3, DTS, MPEG Stereo
l Plays MP3 CDs
l Karaoke echo mix and pitch shift
l Optional 3-D Virtual, bass & treble control
l Up to 8-channel PCM output
l IEC-60958/61937 Out: AC-3, DTS, MPEG
l Multi-Mode Serial Audio I/O: I2S & AC-Link
l AV Bus or ATAPI interface or DVD/CD/HD
l GPIO support for all common sub-circuits
Description
Overall the CS98000 Crystal DVD Processor is targeted as a market specific consumer entertainment
processor that empowers new product classes with
the inclusion of a DVD player as a fundamental feature. You can use this integrated circuit with all the
other Crystal mixed signal data converters, DSPs,
and the CS98000’s high quality factory firmware to
rapidly conceptualize, design, and market cuttingedge Internet age products such as:
3.5 Memory Control ...............................................................................................................20
CS98000
Contacting Cirrus Logic Support
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/
Preliminary product information describes products which are in production, but for which full characterization data is not yet available. Advance product information describes products which are in development and subject to development changes. Cirrus Logic, Inc. has made best efforts to ensure 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 information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and
limitation of liability. No responsibility is assumed by Cirrus Logic, Inc. for the use of this information, including use of this information as the basis for manufacture or sale
of any items, nor for infringements of patents or other rights of third parties. This document is the property of Cirrus Logic, Inc. and by furnishing this information, Cirrus
Logic, Inc. grants no license, express or implied under any patents, mask work rights, copyrights, trademarks, trade secrets or other intellectual property rights of Cirrus
Logic, Inc. Cirrus Logic, Inc., copyright owner of the information contained herein, gives consent for copies to be made of the information only for use within your organization
with respect to Cirrus Logic integrated circuits or other parts of Cirrus Logic, Inc. The same consent is given for similar information contained on any Cirrus Logic web site
or disk. 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. The
names of products of Cirrus Logic, Inc. or other vendors and suppliers appearing in this document may be trademarks or service marks of their respective owners which
may be registered in some jurisdictions. A list of Cirrus Logic, Inc. trademarks and service marks can be found
Purchase of I2C components of Cirrus Logic, Inc., or one of its sublicensed Associated Companies conveys a license under the Phillips I2C Patent Rights to use those
components in a standard I2C system.
2
at http://www.cirrus.com
.
CS98000
3.6 Dataflow Control (DMA) ................................................................................................... 20
3.7 System Control Functions ............................................................................................... 21
Table 25. DVD I/O Channel Interface............................................................................................44
Table 26. General Purpose I/O Interface ......................................................................................44
Table 27. Power and Ground.......................................................................................................45
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
VDD
VDD
V
I
I
I
I
O
T
SOL
T
VSOL
T
STOR
T
AMB
P
IO
P
CORE
P
PLL
IO
CORE
Power Supply Voltage on I/O ring-0,54.6Volts
Power Supply Voltage on core logic and PLL -0.53.6Volts
Digital Input Applied Voltage (power applied)-0.55.5Volts
Digital Input Forced Current-1010mA
Digital Output Forced Current-5050mA
Lead Soldering Temperature-260
Vapor Phase Soldering Temperature-220
Storage Temperature (no power applied)-40125
Ambient Temperature (power applied)070
Power consumption on I/O ring (CL = 35 pF)-57mA
Power consumption on the core logic-620mA
Power consumption on the PLL logic-15mA
CS98000
o
C
o
C
o
C
o
C
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.
CS98000 can interface with a ATAPI-type slave loader gluelessly. Figure1 illustrates a read ATAPI trans-
action and a write ATAPI transaction. PIO mode 4 is implemented to enable a sufficient data transfer rate
between ATAPI device and CS98000.
Note: ATAPI interface is a standard administered by the T13 committee that is responsible for all interface standards
relating to the AT Attachment (ATA) storage interface. T13 is a technical committee for the National
Committee on Information Technology Standards (NCITS).See http://www.t13.org/.
SymbolDescriptionMinTypMaxUnit
t
acycCycle Time
t
aavr
t
arww
t
arec
t
awsu
t
awh
t
ardsu
t
arddh
t
ardr
t
arsu
t
aipw
t
arls
Address Valid to HMRD-/HMWR- Setup20ns
H_RD-/H_WR- Pulse Width70ns
H_RD-/H_WR- Recovery Time25ns
H_WR- Data Setup20ns
H_WR- Data Hold10ns
H_RD- Data Setup20ns
H_RD- Data hold5ns
Read Data Valid to H_RDY Active0ns
H_RDY Setup Time35ns
H_RDY Pulse Width1250ns
H_RDY Assertion to Release5ns
1
70ns
Table 1. ATAPI Interface Symbols / Characterization Data
1.
Values are guaranteed by design only.
H_A[4: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)
tacyc
taavr
tarsu
tarar
tarww
taipw
Figure 1. ATAPI Transactions - Read and Write
tardr
tardsu
tarec
Dout
tawhtawsu
Din
tarddh
tarls
7
CS98000
1.2.2SDRAM Interface
CS98000 interfaces with either SDRAM or SGRAM for high data bandwidth transfer. Figure2 shows the
refresh cycle performed by CS98000. Figure3 shows a burst write (length = 8) transaction. Figure4 on
page9 shows a burst read (length = 8) transaction, while Figure5 on page9 shows detailed SDRAM in-
terface timing. In both Figure3 and Figure4, CAS latency is programmed to 3.
SymbolDescriptionMinTypMaxUnit
t
msur
t
mhr
t
mco
tcchM_CKO high time4.5ns
tcclM_CKO low time4.5ns
t
mper
t
mhw
t
mdow
tmsuwM_D[31:0] valid time prior to M_CKO4ns
1.
Values are guaranteed by design only.
M_D[31:0] setup to M_CKO3ns
M_D[31:0] hold time after M_CKO 1ns
M_CKO active edge to Output transition7ns
M_CKO Period1
1012.5ns
M_D[31:0] valid time after M_CKO 5ns
M_D[31:0] delay from M_CKO rising edge5ns
Table 2. SDRAM Interface Symbols and Characterization Data
M_CKE
M_A_[11:0]
M_BS_N
M_RAS_N
M_CAS_N
M_WE_N
MD[31:0]
M_DQM_[3:0]
M_CKO
M_A_[11:0]
M_BS_N
M_RAS_N
M_CAS_N
M_WE_N
M_D_[31:0]
M_DQM_[3:0]
M_AP
M_AP
Figure 2. SDRAM Refresh Transaction
C1 C2 C3 C4 C5 C6 C7C0R0
D0 D1 D2 D3 D4 D5 D6 D7
Figure 3. SDRAM Burst Write Transaction
8
M_CKO
M_A_[11:0]
M_BS_N
M_RAS_N
M_CAS_N
M_WE_N
M_D_[31:0]
M_DQM_[3:0]
M_AP
CS98000
C1 C2 C3 C4 C5 C6 C7C0R0
D0 D1 D2 D3 D4 D5 D6 D7
Figure 4. SDRAM Burst Read Transaction
tccltcchtmpertmco
M_CKO
M_WE_N,M_AP,M_DQM[3:0],
M_RAS_N,M_CAS_N
M_CKE,M_A[11:0]
M_D[31:0](WRITE)
M_D[31:0](READ)
tmsur
tmhr
Figure 5. SDRAM Timing
tmdow
tmhw
tmsuw
9
1.2.3 ROM/NVRAM Interface
SymbolDescriptionMinTypMaxUnit
t
mperM_CKO period
t
nco
t
nwdo
t
nsur
t
nhw
t
nhr
M_CKO to WE or OE out15ns
M_CKO to write data out10ns
Data setup to M_CKO5ns
Data hold from WE inactive5ns
Data hold from OE inactive1ns
Table 3. ROM/NVRAM Interface Symbols and Characterization Data
1.
Values are guaranteed by design only.
CS98000
1
1012.5ns
10
Figure 6. ROM/RVRAM Timing
1.2.4Video Output Interface
SymbolDescriptionMinTypMaxUnit
t
suvo
t
covo1
t
covo2
t
voch
t
vocl
Vsync/Hsync input setup to CLK27_O5ns
VDAT[7:0] delay from CLK27_O transition10ns
Vsync/Hsync delay from CLK27_O transition10ns
CLK27_O High Time
CLK27_O Low Time
Table 4. Video Output Interface Symbols and Characterization Data
1.
Values are guaranteed by design only
CLK27_O
(Output)
VDAT[7:0]
(Output)
1
1
TvoclTvoch
CS98000
14.818.522.2ns
14.818.522.2ns
Tcovo1
Tcovo2
VSYNC/HSYNC (Output)
VSYNC/HSYNC (Input)
Tsuvo
Figure 7. Video Output Timing
11
CS98000
1.2.5Video Input Interface
SymbolDescriptionMinTypMaxUnit
.
t
suvi
t
hvi
t
vich
t
vicl
1.
VIN_D[7:0] set up to VIN_CLK5ns
VIN_D[7:0] hold time after VIN_CLK rising edge2ns
VIN_CLK High Time
VIN_CLK Low Time
1
1
14.818.522.2ns
14.818.522.2ns
Table 5. Video Input Interface Symbols and Characterization Data
Active clock edge is programmable. Timing is referenced from active edge
VIN_CLK
VIN_D[7-0]
VIN_HSNC,VIN_VSNC,
VIN_FLD
tvicl
tvich
tsuvithvi
Figure 8. Video Input Timing
12
1.2.6Audio Input Interface
CS98000
Symbol
t
aicl
t
aich
t
aiper
t
stlr
t
lrts
t
sdsus
t
sdhs
AIN_BCK Low Time1,
AIN_BCK High Time
AIN_BCK period
1, 2
Time form AIN_LRCK transition to AUD_BCK active edge5-ns
Time form AIN_LRCK transition to AIN_BCK active edge2-ns
AIN_DATA setup to AIN_BCK transition5-ns
AIN_DATA hold time after AIN_BCK transition2-ns
DescriptionMinTypMaxUnits
2
1, 2
Table 6. Audio Input Interface Symbols and Characterization Data
1.
Values are guaranteed by design only
2.
Active clock edge is programmable. Timing is referenced from active edge
AIN_BCK (Input)
14ns
14ns
162.7ns
t
aiper
t
aich
t
lrts
t
stlr
t
aicl
AIN_LRCK (Input)
AIN_DATA (Input)
t
sdsus
t
sdhs
Figure 9. Audio Input Timings
13
CS98000
1.2.7Audio Output Interface
SymbolDescriptionMinMaxUnits
1, 2
2
4.5-ns
4.5-ns
13ns
14-ns
14ns
162.7ns
-2
-2
-2
-2
t
axper
t
axch
t
axcl
t
axper
t
aoch
t
aocl
t
aoper
t
sdm
t
sdm
t
lrds
t
adsm
AUD_XCLK High Time (AUD_XCLK is Input/Output)1,
AUD_XCLK Low Time (AUD_XCLK is Input/Output)
AUD_XCLK period (Input/Output)
AUD_BCK High Time for Master mode
AUD_BCK Low Time for Master mode
AUD_BCK period (Output)
1, 2
1, 2
1, 2
1, 2
AUD_BCK delay from AUD_XCLK transition
AUD_BCK delay from AUD_XCLK transition
AUD_LRCK delay from AUD_BCK transition
AUD_D[3:0] delay from AUD_BCK transition
Table 7. Audio Output Interface Symbols and Characterization Data
1.
Values are guaranteed by design only
2.
Active clock edge is programmable. Timing is referenced from active edge
ns
ns
ns
ns
AUD_XCLK(Input/Output)
AUD_BCK(Output)
AUD_BCK(Output)
AUD_LRCK(Output)
AUD_DO[3:0] (Output)
t
axch
t
sdm
t
aoperl
t
aoch
t
lrds
t
adsm
Figure 10. Audio Output Timing
t
axcl
t
aocl
14
CS98000
1.2.8AC97/CODEC Interface
SymbolDescriptionMinTypMaxUnits
t
suc
t
hc
t
coc
t
cch
t
ccl
t
ccper
1.
2.
Data set up to CDC_CK5ns
Data hold time after CDC_CK1ns
Time from active edge of CDC_CK to Data transition10ns
CDC_CK High Time1,
CDC_CK Low Time
CDC_CK period
1, 2
1, 2
2
14ns
14ns
162.7ns
Table 8. AC97/CODEC Interface Symbols and Characterization Data
Values are guaranteed by design only
Active clock edge is programmable. Timing is referenced from active edge
tccper
CDC_CK
(Intput)
CDC_DO,
CDC_SY, CDC_Rst
(Output)
CDC_DI, CDC_SY
(Input)
tcoc
Figure 11. CODEC Timing
tsuc
thc
tccl
tcch
15
1.2.9Miscellaneous Interface Timing
SymbolDescriptionMinTypMaxUnits
t
xccl
t
xcch
t
xccper
t
rstl
t
gpl
t
gpl
1.
XTLCLOCK must meet the requirement of external the video encoder for correct chroma.
•Provides hardware cursor mode for non-DVD applications
19
CS98000
3.2.13System Functions
•208-pin PQFP packages
•All I/O pins are 3V with 5V tolerance
•Advanced 0.25 micron CMOS technology
•Internal processors run at 81MHz
•Supports Low Power modes and clock shutoff
3.3RISC Processor
The CS98000 includes two powerful, proprietary
32-bit RISC processors, RISC0 and RISC1, with
optimizing C compiler support and source level debugger. The RISC processors fully support many
Real Time Operation Systems (RTOS). The DVD
application user interface resides on RISC1 and is
customer programmable. The real time control of
low level DVD functions is performed by RISC0.
RISC1 gains access to system resources controlled
by RISC0 via calls through an Applications Programming Interface, (see the CS98000 Software
API). All RISC0 firmware, API and sample application code are supplied with the CS98000.
The RISC processors also have a MAC engine,
which performs multiply/accumulate in 2 cycles in
a pipelined fashion with C support, effectively
achieving single cycle throughout. The RISC0 processor coordinates on-chip multi-threaded tasks, as
well as system activities such as remote control and
front panel control. The DVD application end-user
interface resides on RISC1, and any modifications
to that interface occur through the CS98000 API.
3.4DSP Processor
The CS98000 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: linear and circular
buffer 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 opera-
tions. The interface to main memory is designed for
handling flexible block sizes and skip counts.
3.5Memory Control
The DRAM Interface performs the SDRAM control and arbitration functions for all the other modules in the CS98000. 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 32Mbytes. For a
typical DVD player application, CS98000 requires
8Mbytes memory space.
Sharing the same interface, CS98000 also supports
FLASH ROM, OTP, or mask ROM interface. Code
is stored in ROM. After the system is booted, the
code is shadowed inside SDRAM for execution.
The FLASH ROM interface is provided so that the
code can be upgraded in the field once the communications channel is established (via modem port,
CD-R, or serial port). Utility software will be provided to debug and upgrade code for the system
manufacturer.
3.6Dataflow Control (DMA)
The DMA controller moves data between the external memory and 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, this feature combines a
DMA read and write into one operation. In addition, the DMA write operation allows for byte,
short, word, and other types of masking.
3.7System Control Functions
The system control functions are used to coordinate
the activities of the multiple processors, and to pro-
20
CS98000
vide the supporting system operations. Four 32-bit
communication registers are available for interprocessor 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. An I2C master
allows for control of other I2C devices, such as a
video encoder. An I2C slave port shares the same
pins, and can be used for debug functions. Interrupts can be generated on specific or generic
events. Infrared inputs can be filtered to make them
free of glitches or stored unfiltered into memory.
Control of all 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.8DVD/ATAPI Interface
The CS98000 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 many
popular CD/DVD loaders. The interface consists of
DVD control and data ports and an optional CD
control/data port.
The CS98000 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 CS98000 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.9MPEG 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 processors. The System Synchronization 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 that currently displayed frame buffers are not overwritten.
3.10Audio 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, DTS, MPEG2 audio, and MP3. The DSP
has enough reserve bandwidth to handle the
Karaoke echo-mix and pitch shift, and AC-3 downmix 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, or 6 channels of audio data plus an IEC-958 encoded output,
at up to 96 KHz. The audio interface also includes
a flexible PCM input interface, which can input a
21
CS98000
wide range of protocols from an audio ADC or an
IEC-958 receiver.
3.11Soft Modem
The soft modem processing is handled by one of
the RISC processors, which is typically dedicated
for that function. Data rates up to 56Kbits (V.90
protocol) are supported. The CS98000 interfaces to
a simple external CODEC/DAA circuit using a
flexible serial interface. The serial interface is a fully programmable, bi-directional interface and can
be used either as a PCM interface or as an AC97 interface. In PCM mode, the sample size could be adjusted to 20, 18 or 16 bits to match common DAC
and ADC formats, or any other specific size. In
AC97 mode, any slot can be used to interface either
a modem CODEC or an audio CODEC.
3.12Video
The Digital Video Interface provides flexible and
powerful means of outputting digital video data to
external devices in CCIR601/3 and CCIR656 formats. The interface directly supports NTSC/PAL
video encoding, in both master and slave synchronization configurations. The internal frame buffer
format could be 4:2:0, 4:2:2, YUV655, RGB565
and RGB555. Cirrus Logic provides some easy-touse utilities in order to get the best advantage of the
powerful video filtering capabilities of the
CS98000. The CS98000 also features an
NTSC/PAL video decoder input interface. The interface accepts CCIR601, CIF, and QCIF formats,
out of many TV decoders on the market. The video
processor also allows overlay of multiple video
planes (main video / video input /
picture_in_picture / on_screen display / cursor).
CS98000 has been proven to work with many TV
encoders on the market with brands such as: Crystal, Brooktree, ADI, and AVS.
The Video Input Scaler (VIS) module inputs 8-bit
digital video data from a camera or PAL/NTSC decoder, optionally down-scales to SIF or QSIF, and
stores the data in one to three DRAM frame buffers. The scaled image, with a border, can be overlaid anywhere on the screen into a ½ or ¼-screen
sized window by the Picture in Picture (PIP) module.
An alternate method of using the Video Input function is to input a full sized picture and present it on
the screen full size (bypass mode). In this mode, the
PIP module can place full motion DVD images in
the small window. An internal glitch-free mux can
switch the video processor clock source from the
internal clock to the Video Input clock, allowing
the PIP mode to switch back and forth on the fly,
with no dropout.
4. MEMORY MAP
4.1Processor Memory Map
The CS98000 externally supports up to 32Mbytes
DRAM and 16 Mbytes ROM/NVRAM. Table10,
Table11 andTable12 on the next page list the
memory map as viewed by the RISC processors,
and identifies whether each segment is mapped or
cacheable.
For detailed information on programming
CS98000 memory, see CS98000 Memory InterfaceUser’s Manual (DS525UMD1).
4.2Host Port Memory Map
Table11 on page23 lists the memory map as
viewed by host slave port.
4.3Internal I/O Space Map
Table10, Table11, andTable12 show how the In-
ternal I/O space is mapped between general registers, internal SRAM ports, and the RISC
processors’ debug port.
Table15 lists the conventions used to identify the pin type and direction.
Pin TypeDirection
I Input
ISInput, with schmitt trigger
IDInput, with pull down resistor
IUInput, with pull up resistor
OOutput
O4Output – 4 mA drive
O8Output – 8 mA drive
T4Three-Stateable Output – 4mA drive
BBi-direction
B4Bi-direction – 4 mA drive
B4UBi-direction – 4 mA drive, with pull-up
B8UBi-direction – 8 mA drive, with pull-up
B4SBi-direction – 4 mA drive, with schmitt trigger
B4SUBi-direction – 4 mA drive, with pull-up and Schmitt trigger
Pwr+2.5 V or +3.3 V power supply voltage
GndPower supply ground
Name_NLow active
Table 15. Pin Type Legend
33
CS98000
6.1Pin Assignments
Table16 lists the pin number, pin name, and pin
type for the 208 pin CS98000 package. The primary function and pin direction is shown for all signal
pins. For some signal pins, a secondary function
114H_D_11B4Host Data[11]BDVD Control Data InI1, 2
115H_CS_2B4Host Chip Select[2]OGenioHst[17]B1
116H_D_10B4Host Data[10]BDVD Control Data OutO1, 2
117H_D_9B4Host Data[9]BDVD Control ReadyI1, 2
118H_D_8B4Host Data[8]BDVD Control ClockO1, 2
119VSS_IOGndI/O GroundI
120H_CKOB4Host ClockOGenioHst[19]B1
121H_D_7B4Host Data[7]BDVD Data[7]I1
122H_D_6B4Host Data[6]BDVD Data[6]I1
123H_D_5B4Host Data[5]BDVD Data[5]I1
124AUD_BCKB4Audio Out Bit ClockOGenioMis[3]B
125H_D_4B4Host Data[4]BDVD Data[4]I1
126VSS_COREGndCore GroundI
127H_D_3B4Host Data[3]BDVD Data[3]I1
128AUD_LRCKO4Audio Out LR ClockO
129VDD_COREPwrCore Power 2.5VI
130H_D_2B4Host Data[2]BDVD Data[2]I1
131VDD_IOPwrI/O Power 3.3VI
132H_D_1B4Host Data[1]BDVD Data[1]I1
133AUD_DO_2B4Audio Out Data[2]OGenioMis[2]B
134H_D_0B4Host Data[0]BDVD Data[0]I1
135AUD_DO_0O4Audio Out Data[0]O
136AUD_DO_1B4Audio Out Data[1]OGenioMis[1]B
137AIN_BCKIUAudio In Bit ClockI
138VSS_COREGndCore GroundI
139AIN_LRCKIUAudio In LR ClockI
140AIN_DATAB4UAudio In DataIGenioMis[0]B
141VDD_COREPwrCore Power 2.5VI
142CDC_DIIUSerial CODEC Data InI
143VSS_IOGndI/O GroundI
144CDC_DOT4Serial CODEC Data OutO
145VIN_CLKIUVideo Input ClockI
146CDC_RSTT4Serial CODEC ResetO
147CDC_CKIUSerial CODEC Bit ClockI
148CDC_SYB4USerial CODEC SyncB
149GPIO_V10B4UGenioMis[26]B
150GPIO_D15B4UGenioDvd[15]B
151GPIO_D14B4UGenioDvd[14]B
152GPIO_D13B4SUGenioDvd[13]B
153VIN_VSNCB4UVideo Input VsyncIGenioMis[25]B
Notes: 1. Pin may be used for micro-less DVD loader interface
2. H_D(15:8) pins may be reassigned as GenIOHst(7:0)
39
CS98000
6.2Miscellaneous Interface Pins
These pins are used for used for basic functions
such as clock and reset input. See Table17. The
I2C pins are used for both master and slave mode
(8-bit slave address is 0x30 for write, and 0x31 for
read).
6.3SDRAM Interface
These pins are used to interface the CS98000 with
some external SDRAM. The CS98000 can interface with SDRAM of various sizes. Both 16 and
32-bit data width is supported, but best performance is achieved with 32 bits. Follow the instructions in Table18 on how to interface with any
particular configuration of SDRAM.
PinSignal NameTypeDescription
186SCLB
187SDAB
201IR_INIInfrared Input, from IR receiver.
202XTLCLOCKI27 MHz Clock Input.
205RESET_NIReset Input, active low.
206MFG_TESTIManufacturing test pin, should always connect to ground.
19M_CKOOMemory Clock
22M_CKEOMemory Clock Enable
21M_BS_NOBank Selection. Always connect to RAM BS or BS0 pin.
23M_APOMemory Auto Pre-charge. Always connect to RAM AP pin.
24M_RAS_NOMemory Row Address Strobe
25M_CAS_NOMemory Column Address Strobe
27M_WE_NOMemory Write Enable
32, 31, 29, 28M_DQM[3..0]OIO Mask of Data Bus M_DQM[3] -> M_D[31:24]
M_D[31..0]BMemory Data Bus. CS98000 can use all 32 bits or can use
only M_D[15..0], in which case M_D[31..16] can be left un-connected.
M_A[11..0]OMemory Address Bus. Connect in order starting with M_A[0] to
all RAM address pins not already connected to M_BS_L or
M_AP. Unused upper M_A pins unconnected.
40
Table 18. SDRAM Interface
CS98000
6.4ROM/NVRAM Interface
This is the interface to the non-volatile memory
that contains the firmware. See Table19. It could
be either ROM, NVRAM – FLASH, or EEPROM,
or any combination of these types of memory. This
interface can also connect to SRAM that would emulate a ROM on a development system. The bus
width is 8 or 16 bits. Except for the NVM_WE_N
and NVM_OE_N pins, all these pins are shared
6.5Video Output Interface
This is the interface to a video encoder chip that
will send the CS98000 video signals to a TV. See
Figure20. The output format is either CCIR-601 or
CCIR-656. The CS98000 supports both master and
slave configuration. For CCIR-656 mode, the
CS98000 must be the sync master. In this case, the
HSYNC and VSYNC pins can be redefined as
GPIOs
with the DRAM interface, which operates simultaneously with the ROM/NVRAM interface.
83M_D[30]OAddress decode low. Copy of address MSB.
87M_D[31]OAddress decode high. Compliment of address MSB.
60NVM_WE_NONVRAM Write Enable.
62NVM_OE_NOROM/NVRAM Output Enable.
M_D[15..0]BMemory Data Bus. Use M_D[7:0] for 8-bit interface
M_A[11..0]OMemory Address Bus[11..0]
M_D[27..16]OMemory Address Bus[23..12] For
16-bit data mode, M_D[26:16] is upper word address.
For 8-bit data mode, M_D[27:16] is upper byte address.
Table 19. ROM/NVRAM Interface
.
PinSignal NameTypeDescription
154CLK27_OO27 Mhz Clock Output.
159HSYNCBHorizontal Sync. Output when the CS98000 is the video
master, input when the video encoder is master.
162VSYNCBVertical Sync. Output when the CS98000 is the video mas-
ter, input when the video encoder is master.
173, 172, 170,
169, 167, 166,
165, 163
VDAT[7..0]OVideo Data Output[7..0] in Cb,Y,Cr,Y format.
Table 20. Video Output Interface
41
CS98000
6.6Video Input Interface
The CS98000 supports CCIR-601, CIF, and QCIF
video input format thought this interface. See
Table21.
6.7Audio Output/Input Interface
This is the audio PCM interface that connects to an
audio CODEC. See Table22. The sample rate and
the size of the samples are programmable for both
input and output direction.
VIN_D [7..0]IVideo Data Input[7..0] in Cb,Y,Cr,Y format.
Table 21. Video Input Interface
PinSignal NameTypeDescription
191AUD_XCLKBAudio 256x/384x Clock input or output to Serial DAC. When
output, is generated from CS98000 internal PLL.
124AUD_BCKOAudio Bit Clock output to serial DAC.
128AUD_LRCKOAudio Out Left/Right Clock to serial DAC.
135AUD_DO_0OAudio Serial Data Out[0].
136AUD_DO_1OAudio Serial Data Out[1].
133AUD_DO_2OAudio Serial Data Out[2].
177AUD_DO_3OAudio Serial Data Out[3].
204SPDIF_OOS/PDIF Output
137AIN_BCKIAudio Input Bit Clock. The CS98000 can be programmed to
use the Audio Output function’s internally generated bit
clock, in which case this pin is not required.
139AIN_LRCKIAudio Input Left/Right Clock. The CS98000 can be pro-
grammed to use the Audio Output function’s internally gen-
erated LR clock, in which case this pin is not required.
140AIN_DATAIAudio Input Data from Serial ADC.
Table 22. Audio Input/Output Interface
42
CS98000
6.8AC97/CODEC Interface
This serial interface could be used either as a second PCM CODEC interface or as an AC97 serial
link to an AC97 compliant CODEC. This interface
could control a modem, or a second set of audio
channels. Table23 describes the pin to signal assignments for the AC97/CODEC Interface.
6.9Host Master/ATAPI Interface
This 16-bit parallel host interface allows the
CS98000 to be a host master, controlling other devices that would be used on the same system. See
Table24. The interface supports programmable
protocols and speeds, including multiplexed and
non-multiplexed addressing. Slaves with different
protocols can be connected at the same time, controlled by different chip selects.
PinSignal NameTypeDescription
142CDC_DIISerial Data Input from Modem CODEC
144CDC_DOOSerial Data Output to Modem CODEC
146CDC_RSTOReset Output to Modem CODEC
147CDC_CKISerial Bit Clock input from Modem CODEC
148CDC_SYBFrame Sync, output when CS98000 is master, input when
CODEC is master.
Table 23. AC97/CODEC Interface
PinSignal NameTypeDescription
111, 115, 101,
106
85H_ALEOHost address latch enable. Used for modes which multiplex
92H_RDOHost Read Request.
93H_WROHost Write Request.
95H_RDYIHost Ready. Connect to pull-up or pull-down if host is not
120H_CKOOHost clock out, required for some synchronous slaves
102, 107, 97, 99,
H_CS[3..0]OHost Chip Select[3..0]. The host master can be pro-
grammed to use a different protocol for each of the 4 chip
selects
upper address information onto the data lines
used.
H_A[4..0]OHost Address[4..0].
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 24. Host Master/ATAPI Interface
43
CS98000
6.10DVD I/O Channel Interface
This interface connects to standard DVD loaders,
and consists of three parts: Control, DVD Data and
CD Data. (See Table25.) This interface shares
CS98000 pins with the Host Master/ATAPI interface. (See Table24 on page43.) The definition of
the pins is set via register programming, and the
two modes are mutually exclusive.
PinSignal NameTypeDescription
121, 122, 123,
125, 127, 130,
132, 134
118H_D[8]OControl port clock to loader
117H_D[9]IControl port ready signal from loader
116H_D[10]OControl port serial command to loader
114H_D[11]IControl port serial status from loader
113H_D[12]ICD error signal from loader
112H_D[13]ICD clock from loader
110H_D[14]ICD left/right clock from loader
109H_D[15]ICD serial data from loader
106H_CS_0IDVD data start sector signal from loader
101H_CS_1IDVD data error signal from loader
95H_RDYODVD data ready signal to loader
93H_WRIDVD data enable signal from loader
92H_RDIDVD data clock from loader
H_D[7:0]IDVD_Data[7:0] – DVD data port parallel data input from
6.11General Purpose Input/Output
(GPIO)
The CS98000 provides 37 GPIO pins, each with individual output three-state controls. Three-state
means that the output driver is turned off or placed
in the high-impedance state. Table26 describes the
General Purpose I/O Interface. Additional pins
may also be re-defined as GPIO’s.