CS7808 CIRRUS | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 52
Technical content
Features
! Dual 32-bit RISC processors (81 MIPS each) ! 32-bit DSP (81 MIPS) ! Digital video input for Picture-in-Picture (PIP) ! On-screen display generator ! 8-bit graphic engine with advanced vertical flicker filter ! Programmable audio decoder ! MPEG1 & MPEG2 video decoder ! System interface supports ATAPI CD loaders and hard disk drives ! Host interface supports peripherals such as 10/100 Ethernet controllers, DSPs, etc. ! V.90 soft-modem support ! AC'97 link support ! 2 channels of audio input ! 8 channels of audio output ! 2 channel IEC60958 transmitter ! Remote control input support ! Large number of GPIO increases design flexibility ! On-chip PLLs generate system clocks from 27 MHz ! SDRAM, SGRAM, and Flash memory support ! Available in a 208 pin MQFP
Description
The CS7808 processor is a single chip solution that pro- vides all of the processing functions you need for a broad range of audio and video applications including thin me- dia clients, CD recorders, advanced set-top boxes, interactive TV and much more. It supports all CD for- mats, disk control, video decoding and up to eight channels of output. Achieve new levels of performance with 240 highly configurable MIPS of processing power. Its flexible set of design features maximizes perfor- mance, reduces system complexity, and minimizes system cost. CS7808 is the perfect choice. Working on your next consumer entertainment product design? Combine CS7808 with other Cirrus mixed-sig- nal converters, DSP chips, and factory firmware for a highly integrated platform crucial for Video-on-demand, set-top boxes, and other similar platforms. CS7808 is a Total-E™ (Total Entertainment) IC solution specifically designed for consumer entertainment electronics.
ORDERING INFORMATION
CS7808-CM 0° to 70° C 208-pin MQFP RISC-1 RISC-2 Memory Controller 32-Bit DSP Video Input Clock Manager Subpicture Decode Audio/IO Host InterfaceSDRAM System Controls External I/Os Dataflow Engine Video Processor MPEG Decoder I-Cache D-Cache MMU MAC Filter Scaler SDRAM Control RAM MoCo IDCT On-Screen Display Picture-in-Picture Video/Graphics Display I-Cache D-Cache MMU MAC Flash Control VLC Parser DMA / BitBlit SRAM Buffer Remote Input GPIOs Scaler STC Interupts Registers I-Cache X,Y Data Memory CPU / MAC PCM Out PCM In XMT958 MAR ‘02 DS554PP1
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. Advanceproduct information de- scribes products which are in development and subject to development changes. Cirrus Logic, Inc. has made best efforts to ensure that the informationcontained 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 prod- ucts are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patentinfringement, 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 creatingany 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 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.
- CHARACTERISTICS AND SPECIFICATIONS
1.1 AC AND DC PARAMETRIC SPECIFICATIONS
(AGND, DGND=0V, all voltages with respect to 0V)
1.1.1 ABSOLUTE MAXIMUM RATING
CAUTION: Operating beyond these Minimum and Maximum limits can result in permanent damage to the device. Cirrus Logic recommends that CS7808 devices operate at the settings described in the next ta- ble.
1.1.2 RECOMMENDED OPERATING CONDITIONS
Symbol Description Min Max Unit VDD IO Power Supply Voltage on I/O ring -0,5 4.6 Volts VDD CORE Power Supply Voltage on core logic and PLL -0.5 3.6 Volts VI Digital Input Applied Voltage (power applied) -0.5 5.5 Volts II Digital Input Forced Current -10 10 mA IO Digital Output Forced Current -50 50 mA TSOL Lead Soldering Temperature - 260 oC TVSOL Vapor Phase Soldering Temperature - 220 oC TSTOR Storage Temperature (no power applied) -40 125 oC TAMB Ambient Temperature (power applied) 0 70 oC Ptotal Total Power consumption - 2.5 W Parameter Symbol Min Typ Max Units Supply Voltage, IO V DD 3.0 3.3 3.6 Volts Supply Voltage, core and PLL V DD 2.25 2.5 2.75 Volts Ambient Temperature (power applied) T AMB 02 5 7 0 oC
1.1.3 ELECTRICAL CHARACTERISTICS
Parameter Symbol Conditions Min Typ Max Units Supply Current, IO I DD Normal Operating - 45 - mA Supply Current, core and PLL I DD Normal Operating - 550 - mA Input Voltage, High V IH 2.0 - 5.0 Volts Input Voltage, Low V IL - - 0.8 Volts Input Current I IN VIN =V DD or VSS -1 - +1 µA Input Pull up/down resistor R I -7 5- K Ω Output Voltage, High V OH @ buffer rating 2.4 - - Volts Output Voltage, Low V OL @ buffer rating - - 0.4 Volts High-Z Leakage I OZ VOUT =V SS or VDD -10 - +10 µA Input Capacitance C IN -3-p F
1.2 DC CHARACTERISTICS
1.2.1 Host Interface
between ATAPI device and CS7808. 1.Values are guaranteed by design only. Table 1. Host Interface Characteristics Figure 1. Host Timing Diagram
1.2.2 SDRAM Interface
terface timing. In bothFigure 3and Figure 4,C A Sl a t e n c yi sp r o g r a m m e dt o3 . 1.Values are guaranteed by design only. Table 2. SDRAM Interface Characteristics Figure 2. SDRAM Refresh Transaction Figure 3. SDRAM Burst Write Transaction
1.2.3 ROM/NVRAM Interface
1.Values are guaranteed by design only. Table 3. ROM/NVRAM Interface Characteristics Figure 6. ROM/RVRAM Timing
1.2.4 Video Output Interface
Figure 7. Video Output Timing Table 4. Video Output Interface Characteristics
1.2.5 Video Input Interface
Figure 8. Video Input Timing Table 5. Video Input Interface Characteristics
1.2.6 Audio Input Interface
Table 6. Audio Input Interface Characteristics Figure 9. Audio Input Timings
1.2.7 Audio Output Interface
Figure 10. Audio Output Timing
1.2.8 AC97/CODEC Interface
Figure 11. CODEC Timing Table 8. AC97/CODEC Interface Characteristics
1.2.9 Miscellaneous Interface Timing
1.XTLCLOCK must meet the requirement of external the video encoder for correct chroma (27 MHz± 1 KHz). Table 9. Miscellaneous Interface Characteristics Figure 12. Miscellaneous Timing
The Figure 13shows a typical example of a complete Set-Top Box solution using the CS7808. Figure 13. CS7808 Typical Application
3.1 Block Diagram
The CS7808 block diagram is shown inFigure 14.
3.2 CS7808 Device Details
3.2.1 RISC-32 Processors
3.2.2 Powerful 32-Bit DSP
3.2.3 System Controls
Figure 14. CS7808 Block Diagram
Built in PLLs generate all required clocks from
27 Mhz input clock
3.2.4 Memory Controller
Supports SDRAM, and SGRAM, from 2 Mbytes to
32 Mbytes
Supports multiple banks of FLASH and ROM up to
16 Mbytes
32-bit data bus for DRAM, 8 or 16-bit data bus for ROM
3.2.5 Data Flow Engine
2432 bytes of internal memory DMA to/from main RAM into local SRAM Supports endian conversion and byte, short, long data formats on DMA Supports block transfers for graphics bit blits
3.2.6 Audio Interface
Supports PCM, I2S and IEC-958 outputs at up to
96 KHz output rate
8 output channels, 2 input channels
3.2.7 Video Input
NTSC/PAL video decoder input interface Built in variable down scaling, handles CCIR 601 to QCIF input formats Video input image can be displayed in small win- dow, or as main picture
3.2.8 External Interface
Serial I2C ® master and slave port 29 independent fully programmable bi-directional I/O pins 8 edge or level detection interrupt pins Hardware assisted support for infrared remote de- vices, such as remote control, infrared keyboard, mouse, printer, and more Programmable parallel host master and slave inter- face supports many formats including ATAPI, ISA, and more Serial interface supports AC-97 and other standard MODEM CODEC protocols
3.2.9 Video Processor
Supports 24-bit 4:2:0 and 4:2:2 video modes and 16-bit true color graphics modes. On screen display module supports 2-bit, 4-bit, or 8- bit pixel modes, while supporting 3 separate regions and 16 transparency overlay levels Picture-in-picture module includes horizontal and vertical downscaling with programmable output siz- es, positions, and borders Overlay mixer with RGB to YUV conversion and output formatting Supports 4:2:0, 4:2:2, YUV655, RGB565 and RGB555 frame buffer inputs Outputs 4:2:2 video in CCIR-601 or CCIR-656 for- mat High quality scaling using a vertical and a horizontal 16 taps polyphase programmable filter and sup- ports any size image up to 768x576 Programmable sharpening and de-blocking filters 5 taps programmable adaptive anti-flicker filtering for graphics source Master or Slave video sync configuration Multiple video plains overlay (main video / video in- put / picture_in_picture / picture/on_screen / dis- play/cursor) Gamma correction
3.2.10 Cursor
4-bit color 16-level alpha blending
3.2.11 System Functions
208-pin PQFP packages All I/O pins are 3 V with 5 V tolerance Advanced 0.25 micron CMOS technology Internal processors run at 81 MHz Supports Low Power modes and clock shutoff
3.3 RISC Processor
The CS7808 includes two powerful, proprietary 32-bit RISC processors, RISC0 and RISC1, with optimizing C compiler support and source level de- bugger. The RISC processors fully support many Real Time Operation Systems (RTOS). In addition to being compatible with the standard MIPS ® R3000 ® instruction set, the RISC proces- sors also have a MAC engine, which performs mul- tiply/accumulate in 2 cycles in a pipelined fashion with C support, effectively achieving single cycle throughout.
3.4 DSP Processor
The CS7808 contains a proprietary digital signal processor (DSP), which is optimized for audio ap- plications. 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 general- purpose registers, and eight independent address generation registers, featuring: linear and circular buffer operations, and dual operand read from memory. The multiply-accumulator has single-cy- cle 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.5 Memory Control
The DRAM Interface performs the SDRAM con- trol and arbitration functions for all the other mod- ules in the CS7808. The DRAM interface services and arbitrates a number of clients and stores their code and/or data within the local memory. This ar- bitration and scheduling guarantees the allocation of sufficient bandwidth to the various clients. The DRAM Interface supports up to 32 Mbytes. For a typical application, the CS7808 requires 8 Mbytes memory space. Sharing the same interface, CS7808 also supports F L A S HR O M ,O T P ,o rm a s kR O Mi n t e r f a c e .C o d e 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 commu- nications channel is established (via modem port, CD-R, or serial port). Utility software will be pro- vided to debug and upgrade code for the system manufacturer.
3.6 Dataflow Control (DMA)
The DMA controller moves data between the exter- nal memory and internal memory. The external memory address can be specified using a register, or in FIFO mode, using start and end address regis- ters. Separate start/end address registers are used for DMA read and write operations. The DMA in- terface also has a block transfer function, which al- lows for the transfer of one block of data from one external memory location to another external mem- ory location. In effect, this feature combines a DMA read and write into one operation. In addi- tion, the DMA write operation allows for byte, short, word, and other types of masking.
3.7 System Control Functions
The system control functions are used to coordinate the activities of the multiple processors, and to pro- vide the supporting system operations. Four 32-bit communication registers are available for 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 tim- ers and performance monitoring. The large number of general purpose I/Os offers flexibility in system configurations. An I 2Cm a s t e r allows for control of other I2Cd e v i c e s ,s u c ha sa video encoder. An I2C slave port shares the same pins, and can be used for debug functions. Inter-
rupts 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 sys- tem and memory clocks and audio clocks of any widely used frequency.
3.8 Host Interface
The CS7808 has a programmable interface port which can be configured to connect to industry- standard ATAPI interfaces without external glue logic. The Host interface can be set up in ATAPI mode, to connect directly to any ATAPI hard-disk drive (using two chip selects).
3.9 MPEG Video Decoding
Compressed MPEG data is read from Internet through Ethernet controller(Host I/F) or soft mo- dem(CODEC I/F) into an input FIFO in DRAM. The data flow (DMA) controller moves Video packets from the input FIFO into the MPEG decod- er’s input FIFO (also in DRAM). The DMA con- troller 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 en- sures that currently displayed frame buffers are not overwritten.
3.10 Audio Processing
Compressed Audio data is decompressed, then written to a PCM output FIFO, also in DRAM The DMA and decompression stages of audio process- ing can be done with a combination of the DMA unit, DSP, and RISC processors. The DSP is opti- mized for audio processing, so most common for- mats 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 down-mix functions. The audio output data is written into a DRAM FIFO in 16-, 18-, 20- or 24-bit PCM format. A flex- ible audio output stage can simultaneously output 8 channels of PCM data to audio DACs, or 6 chan- nels 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 wide range of protocols from an audio ADC or an IEC-958 receiver.
3.11 Soft Modem
The soft modem processing is handled by one of the RISC processors, which is typically dedicated for that function. Data rates up to 56 Kbits (V.90 protocol) are supported. The CS7808 interfaces to a simple external CODEC/DAA circuit using a flexible serial interface. The serial interface is a ful- ly programmable, bi-directional interface and can be used either as a PCM interface or as an AC97 in- terface. In PCM mode, the sample size could be ad- justed 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.12 Video
The Digital Video Interface provides flexible and powerful means of outputting digital video data to external devices in CCIR601/3 and CCIR656 for- mats. The interface directly supports NTSC/PAL video encoding, in both master and slave synchro- nization configurations. The internal frame buffer format could be 4:2:0, 4:2:2, YUV655, RGB565 and RGB555. Cirrus Logic provides some easy-to- use utilities in order to get the best advantage of the powerful video filtering capabilities of the CS7808. The CS7808 also features an NTSC/PAL video de- coder 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 vid- eo / video input / picture_in_picture / on_screen display / cursor). CS7808 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 de- coder, optionally down-scales to SIF or QSIF, and stores the data in one to three DRAM frame buff- ers. The scaled image, with a border, can be over- laid anywhere on the screen into a ½ or ¼-screen sized window by the Picture in Picture (PIP) mod- ule. An alternate method of using the Video Input func- tion is to input a full sized picture and present it on the screen full size (bypass mode). 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.1 Processor Memory Map
4.2 Host Port Memory Map
4.3 Internal I/O Space Map
Table 10. Memory Map-RISC0 Processor Table 11. Host Port Memory Map Table 12. Internal I/O Space Map
5.1 CS7808 Register Space
Table 13lists the register groups, and how they are split among the main CS7808 functional blocks. read/write (R/W), read only (RO), or write only (WO). Table 13. CS7808 Register Map and Blocks
000 R/W General Command
010 R/W General InterProc_Comm_Register_0
014 R/W General InterProc_Comm_Register_1
018 R/W General InterProc_Comm_Register_2
020 R/W General Semaphore_Register_0
024 R/W General Semaphore_Register_1
028 R/W General Semaphore_Register_2
030 R/W General Semaphore_Register_4
034 R/W General Semaphore_Register_5
038 R/W General Semaphore_Register_6
Table 14. CS7808 Registers
040 RO General GenIO_Read_Data
044 R/W General GenIO_Write_Data
048 R/W General GenIO_Three_State_Enable
050 R/W General GenIO_Negative_Edge
054 R/W General GenIO_Interrupt_Status
058 R/W General GenIO_Positive_Edge_Mask
060 R/W General GenIO_Level_Mask
064 R/W General GenIO_Mode Register
1040 RO General GenIOMIS_Read_Data
1044 R/W General GenIOMIS_Write_Data
1048 R/W General GenIOMIS_Three_State_Enable
1050 R/W General GenIOMIS_Negative_Edge
1054 R/W General GenIOMIS_Interrupt_Status
1058 R/W General GenIOMIS_Positive_Edge_Mask
1060 R/W General GenIOMIS_Level_Mask
1064 R/W General GenIOMIS_Mode Register
1068 RO General GenIOD_Read_Data
1070 R/W General GenIOD_HiZ_State_Enable
1074 RO General GenIOHST_Read_Data
1078 R/W General GenIOHST_Write_Data
068 R/W General I
070 R/W General I2C_Mstr_Write_2Bytes
074 R/W General I2C_Mstr_Control
078 RO General I2C_Mstr_Status
080 R/W General RSK0_Interrupt_Mask
084 WO General RSK0_Interrupt_Set
088 R/W General RSK0_Interrupt_Status
090 R/W General DSP_Interrupt_Mask
094 WO General DSP_Interrupt_Set
Table 14. CS7808 Registers (Continued)
098 R/W General DSP_Interrupt_Status
1080 R/W General RSK1_Interrupt_Mask
1084 WO General RSK1_Interrupt_Set
1088 R/W General RSK1_Interrupt_Status
100 R/W Host Device_1_Control
104 R/W Host Device_2_Control
108 R/W Host Device_3_Control
110 R/W Host Write_Data_Port
114 RO Host Read_Data_Port
120 R/W Host Host_Start_Address
124 R/W Host DRAM Start Address
128 R/W Host Stream_Transfer_Size
200 R/W DRAM controller DRAM_Controller_Priority0
204 R/W DRAM controller DRAM_Controller_Priority1
208 R/W DRAM controller DRAM_Controller_Priority2
210 R/W DRAM controller DRAM_Controller_Priority4
214 R/W DRAM controller DRAM_Controller_Setup
218 R/W DRAM controller DRAM_Command
220 R/W DRAM controller DRAM_Controller_Debug_Control
224 RO DRAM controller DRAM_Debug_Status
300 WO DMA DMA_Enable
304 R/W DMA DMA_Control
308 RO DMA DMA_Status
310 R/W DMA Dram_Byte_Start_Addr
314 R/W DMA Sram_Byte_Start_Addr
318 R/W DMA Fifo_Start_Rd_Addr
328 R/W DMA Search_Control
330 R/W DMA Fifo_End_Rd_Addr
334 R/W DMA Fifo_End_Wr_Addr
338 R/W DMA Lines_and_Skip
540 R/W SER/DCI Serial_Frame_Sync_Control
544 R/W SER/DCI Serial_Output_Input_Control
548 R/W SER/DCI AC97_Codec_Control
550 R/W SER/DCI Serial_Output_Fifo_Start_Address
554 R/W SER/DCI Serial_Output_Fifo_End_Address
558 R/W SER/DCI Serial_Input_Fifo_Start_Address
560 RO SER/DCI Serial_Output_Fifo_Read_Address
564 RO SER/DCI Serial_Input_Fifo_Write_Address
568 R/W SER/DCI Serial_Clock_Synthesis_Parameters
570 R/W SER/DCI Slot5_Register_Data
574 R/W SER/DCI Slot10_Register_Data
578 R/W SER/DCI Slot11_Register_Data
580 R/W SER/DCI Out_fifo_int
584 R/W SER/DCI In_fifo_int
588 R/W SER/DCI Rate_Control
600 WO DSP DSP_Boot_Code_Start_Address
604 WO DSP DSP_Run_Enable
700 R/W Synchronization Control Audio_Sync_Control
704 R/W Synchronization Control Video_Sync_Control
708 RO Synchronization Control Video_Sync_Status
710 R/W Synchronization Control Frame_Period
714 R/W Synchronization Control STC_Interval
718 R/W Synchronization Control System_Time_Clock
720 R/W Synchronization Control Video_PTS_FIFO_Start_Address
724 R/W Synchronization Control Video_PTS_FIFO_End_Address
728 R/W Synchronization Control Video_PTS_FIFO_Write_Address
730 R/W Synchronization Control Subpicture_PTS_FIFO_Start_Address
734 R/W Synchronization Control Subpicture_PTS_FIFO_End_Address
738 R/W Synchronization Control Subpicture_PTS_FIFO_Write_Address
740 R/W Synchronization Control Highlight_Start_PTS
744 R/W Synchronization Control Highlight_End_PTS
748 R/W Synchronization Control Button_End_PTS
750 R/W Synchronization Control Video_PTS
754 R/W Synchronization Control Audio_PTS
758 RO Synchronization Control Subpicture_PTS
760 RO Synchronization Control Video_Sync_Debug
764 R/W Synchronization Control SP_DRC_VPTS_Debug
768 R/W Synchronization Control Frame_Count_Interrupt
770 RO Synchronization Control Sync_Interrupt_Status
774 R/W Synchronization Control Sync_Interrupt_Control
778 WO Synchronization Control Sync_Interrupt_Set
800 R/W MPEG Video Decoder MPEG_Video_Control
804 R/W MPEG Video Decoder MPEG_Video_Setup
808 R/W MPEG Video Decoder MPEG_Video_FIFO_Start_Address
810 RO MPEG Video Decoder MPEG_Video_FIFO_Current_Address
814 RO MPEG Video Decoder MPEG_Video_Horiz_Pan_Vector
818 WO MPEG Video Decoder MPEG_Video_FIFO_Add_Bytes
820 R/W MPEG Video Decoder MPEG_Video_FIFO_Interrupt_Bytes
824 RO MPEG Video Decoder MPEG_Video_FIFO_Total_Bytes
828 RO MPEG Video Decoder MPEG_Video_Status
830 RO MPEG Video Decoder MPEG_Video_Debug
834 R/W MPEG Video Decoder MPEG_U_Offset
840 R/W MPEG Video Decoder MPEG_P_Base_Register
844 R/W MPEG Video Decoder MPEG_Dest_Control
848 RO MPEG Video Decoder MPEG_Software_Flags
854 R/W MPEG Video Decoder MPEG_AntiTearWindow
858 R/W MPEG Video Decoder MPEG_Error_Pos
900 R/W Video Input Scaler VIS_Control
904 R/W Video Input Scaler VIS_StartX
908 R/W Video Input Scaler VIS_EndX
910 R/W Video Input Scaler VIS_EndY
914 R/W Video Input Scaler VIS_Frame_Base
918 R/W Video Input Scaler VIS_U_Offset
920 R/W Video Input Scaler VIS_Frame_Size
Table 15lists the conventions used to identify the pin type and direction. Table 15. Pin Type Legend Figure 15. CS7808 Pinouts
6.1 Pin Assignments
2 M_A_11 O8 SDRAM Address[11] O ROM/NVRAM Address[11] O
3 M_A_10 O8 SDRAM Address[10] O ROM/NVRAM Address[10] O
4 GPIO_D18 B4U GenIOD[18] B System Clock PLL Bypass I
5 M_A_9 O8 SDRAM Address[9] O ROM/NVRAM Address[9] O
6 M_A_8 O8 SDRAM Address[8] O ROM/NVRAM Address8] O
7 M_A_7 O8 SDRAM Address[7] O ROM/NVRAM Address[7] O
8 GPIO_D16 B4SU GenIOD[16] B
9 M_A_6 O8 SDRAM Address[6] O ROM/NVRAM Address[6] O
10 M_A_5 O8 SDRAM Address[5] O ROM/NVRAM Address[5] O
11 M_A_4 O8 SDRAM Address[4] O ROM/NVRAM Address[4] O
12 GPIO_D17 B4U GenIOD[17] B
13 M_A_3 O8 SDRAM Address[3] O ROM/NVRAM Address[3] O
14 M_A_2 O8 SDRAM Address[2] O ROM/NVRAM Address[2] O
15 M_A_1 O8 SDRAM Address[1] O ROM/NVRAM Address[1] O
16 M_A_0 O8 SDRAM Address[0] O ROM/NVRAM Address[0] O
17 GPIO_D19 B4U GenIOD[19] B Memory Clock PLL Bypass I
18 VSS_IO Gnd I/O Ground I
19 M_CKO O8 SDRAM Clock O
21 M_BS_N O8 SDRAM Bank Select O
22 M_CKE B8 SDRAM Clock Enable O GenioMis(7) B 3
23 M_AP O8 SDRAM Auto Pre-charge O
24 M_RAS_N O8 SDRAM Row Strobe O
25 M_CAS_N O8 SDRAM Column Strobe O
26 GPIO_D20 B4U GenIOD[20] B
27 M_WE_N O8 SDRAM Write Enable O
28 M_DQM_0 O8 SDRAM DQM[0] O
29 M_DQM_1 O8 SDRAM DQM[1] O
30 GPIO_D0 B4U GenIOD[0] B
31 M_DQM_2 O8 SDRAM DQM[2] O
32 M_DQM_3 O8 SDRAM DQM[3] O
33 M_D_8 B8U SDRAM Data[8] B ROM/NVRAM Data[8] B
34 GPIO_D1 B4U GenIOD[1] B
Table 16. 208-Pin Package Assignments
35 VSS_IO Gnd I/O Ground I
36 VSS_CORE Gnd Core Ground I
37 M_D_7 B8U SDRAM Data[7] B ROM/NVRAM Data[7] B
39 GPIO_D2 B4U GenIOD[2] B
40 M_D_9 B8U SDRAM Data[9] B ROM/NVRAM Data[9] B
42 M_D_6 B8U SDRAM Data[6] B ROM/NVRAM Data[6] B
43 GPIO_D3 B4U GenIOD[3] B
44 M_D_10 B8U SDRAM Data[10] B ROM/NVRAM Data[10] B
45 M_D_5 B8U SDRAM Data[5] B ROM/NVRAM Data[5] B
46 M_D_11 B8U SDRAM Data[11] B ROM/NVRAM Data[11] B
47 GPIO_D4 B4U GenIOD[4] B
48 M_D_4 B8U SDRAM Data[4] B ROM/NVRAM Data[4] B
49 M_D_12 B8U SDRAM Data[12] B ROM/NVRAM Data[12] B
50 GPIO_D5 B4U GenIOD[5] B
51 M_D_3 B8U SDRAM Data[3] B ROM/NVRAM Data[3] B
52 UNUSED may leave unconnected
53 UNUSED may leave unconnected
54 M_D_13 B8U SDRAM Data[13] B ROM/NVRAM Data[13] B
55 M_D_2 B8U SDRAM Data[2] B ROM/NVRAM Data[2] B
56 M_D_14 B8U SDRAM Data[14] B ROM/NVRAM Data[14] B
57 GPIO_D6 B4U GenIOD[6] B
58 VSS_IO Gnd I/O Ground I
59 M_D_1 B8U SDRAM Data[1] B ROM/NVRAM Data[1] B
60 M_D_15 B8U SDRAM Data[15] B ROM/NVRAM Data[15] B
61 GPIO_D7 B4U GenIOD[7] I B
62 M_D_0 B8U SDRAM Data[0] B ROM/NVRAM Data[0] B
63 VSS_CORE Gnd Core Ground I
64 M_D_24 B8U SDRAM Data[24] B ROM/NVRAM Address[20] O 2
65 GPIO_D11 B4U GenIOD[11] B
67 M_D_23 B8U SDRAM Data[23] B ROM/NVRAM Address[19] O 2
68 M_D_25 B8U SDRAM Data[23] B ROM/NVRAM Address[21] O 2
69 GPIO_D10 B4U GenIOD[10] B
70 M_D_22 B8U SDRAM Data[22] B ROM/NVRAM Address[18] O 2
71 M_D_26 B8U SDRAM Data[26] B ROM/NVRAM Address[22] O 2
72 M_D_21 B8U SDRAM Data[21] B ROM/NVRAM Address[17] O 2
73 GPIO_D9 B4U GenIOD[9] B
74 M_D_27 B8U SDRAM Data[27] B ROM/NVRAM Address[23] O 2
Table 16. 208-Pin Package Assignments (Continued)
75 M_D_20 B8U SDRAM Data[20] B ROM/NVRAM Address[16] O 2
76 M_D_28 B8U SDRAM Data[28] B 2
77 GPIO_D8 B4U GenIOD[8] B
78 M_D_19 B8U SDRAM Data[19] B ROM/NVRAM Address[15] O 2
79 M_D_29 B8U SDRAM Data[29] B 2
80 M_D_18 B8U SDRAM Data[18] B ROM/NVRAM Address[14] O 2
81 NV_WE_N B4U NVRAM Write Enable O GenioMis[8] B
82 VSS_CORE Gnd Core Ground I
83 M_D_30 B8U SDRAM Data[30] B ROM/NVRAM Decode Low O 2
85 H_ALE B4U Host Address Latch O GenioHst[13] B
86 M_D_17 B8U SDRAM Data[18] B ROM/NVRAM Address[13] O 2
87 M_D_31 B8U SDRAM Data[31] B ROM/NVRAM Decode High O 2
88 M_D_16 B8U SDRAM Data[16] B ROM/NVRAM Address[12] O 2
89 GPIO_H14 B4U GenioHst[14] B
90 NV_OE_N O4 ROM/NVRAM Output
92 H_RD B4S Host Read Strobe O I
93 H_WR B4 Host Write Strobe O I
94 GPIO_H15 B4U GenioHst[15] B
95 H_RDY B4 Host Ready I O
96 VSS_IO Gnd I/O Ground I
97 H_A_2 B4 Host Address[2] O GenioHst[10] B
98 GPIO_H16 B4U GenioHst[16] B
99 H_A_1 B4 Host Address[1] O GenioHst[9] B
100 H_A_0 B4 Host Address[0] O GenioHst[8] B
101 H_CS_1 B4 Host Chip Select [1] O I
102 H_A_4 B4 Host Address[4] O GenioHst[12] B
103 VSS_CORE Gnd Core Ground I
104 VSS_PLL Gnd PLL Ground I
106 H_CS_0 B4 Host Chip Select[0] O I
107 H_A_3 B4 Host Address[3] O GenioHst[11] B
109 H_D_15 B4 Host Data[15] B I 1
110 H_D_14 B4 Host Data[14] B I 1
111 H_CS_3 B4 Host Chip Select[3] O GenioHst[18] B
112 H_D_13 B4S Host Data[13] B I 1
113 H_D_12 B4 Host Data[12] B I 1
114 H_D_11 B4 Host Data[11] B I 2
115 H_CS_2 B4 Host Chip Select[2] O GenioHst[17] B
116 H_D_10 B4 Host Data[10] B O 2
117 H_D_9 B4 Host Data[9] B I 2
118 H_D_8 B4 Host Data[8] B O 2
119 VSS_IO Gnd I/O Ground I
120 H_CKO B4 Host Clock O GenioHst[19] B
121 H_D_7 B4 Host Data[7] B I
122 H_D_6 B4 Host Data[6] B I
123 H_D_5 B4 Host Data[5] B I
124 AUD_BCK B4 Audio Out Bit Clock O GenioMis[3] B 3
125 H_D_4 B4 Host Data[4] B I
126 VSS_CORE Gnd Core Ground I
127 H_D_3 B4 Host Data[3] B I
128 AUD_LRCK O4 Audio Out LR Clock O
130 H_D_2 B4 Host Data[2] B I
132 H_D_1 B4 Host Data[1] B I
133 AUD_DO_2 B4 Audio Out Data[2] O GenioMis[2] B 3
134 H_D_0 B4 Host Data[0] B I
135 AUD_DO_0 O4 Audio Out Data[0] O
136 AUD_DO_1 B4 Audio Out Data[1] O GenioMis[1] B 3
137 AIN_BCK IU Audio In Bit Clock I
138 VSS_CORE Gnd Core Ground I
139 AIN_LRCK IU Audio In LR Clock I
140 AIN_DATA B4U Audio In Data I GenioMis[0] B 3
142 CDC_DI IU Serial CODEC Data In I
143 VSS_IO Gnd I/O Ground I
144 CDC_DO T4 Serial CODEC Data Out O
145 VIN_CLK IU Video Input Clock I
146 CDC_RST T4 Serial CODEC Reset O
147 CDC_CK IU Serial CODEC Bit Clock I
148 CDC_SY B4U Serial CODEC Sync B
149 GPIO_V10 B4U GenioMis[26] B
150 GPIO_D15 B4U GenIOD[15] B
151 GPIO_D14 B4U GenIOD[14] B
152 GPIO_D13 B4SU GenIOD[13] B
153 VIN_VSNC B4U Video Input Vsync I GenioMis[25] B
154 CLK27_O B4U Video Output Clock O GenioMis[6] B
155 GPIO_D12 B4U GenIOD[12] B
157 VSS_PLL Gnd PLL Ground I
158 VSS_CORE Gnd Core Ground I
159 HSYNC B4U Video Output Hsync O GenioMis[4] B
160 VIN_HSYNC B4U Video Input Hsync I GenioMis[24] B
162 VSYNC B4U Video Output Vsync O GenioMis[5] B
163 VDAT_0 O4 Video Output Data[0] O
164 VIN_D0 B4U Video Input Data[0] I GenioMis[16] B
165 VDAT_1 O4 Video Output Data[1] O
166 VDAT_2 O4 Video Output Data[2] O
167 VDAT_3 O4 Video Output Data[3] O
168 VIN_D1 B4U Video Input Data[1] I GenioMis[17] B
169 VDAT_4 O4 Video Output Data[4] O
170 VDAT_5 O4 Video Output Data[5] O
171 UNUSED may leave unconnected
172 VDAT_6 O4 Video Output Data[6] O
173 VDAT_7 O4 Video Output Data[7] O
174 GPIO_0 B4U General Purpose IO[0] B Audio PLL Input Bypass I
175 VIN_D2 B4U Video Input Data[2] I GenioMis[18] B
176 VSS_CORE Gnd Core Ground I
177 AUD_DO_3 B4U Audio Out Data[3] O General Purpose IO[1] B
179 VIN_D3 B4U Video Input Data[3] I GenioMis[19] B
181 GPIO_2 B4U General Purpose IO[2] B
182 VSS_IO Gnd I/O Ground I
183 GPIO_3 B4U General Purpose IO[3] B
184 VIN_D4 B4U Video Input Data[4] I GenioMis[20] B
185 GPIO_4 B4U General Purpose IO[4] B
186 SCL B4U I
187 SDA B4U I 2C Data B General Purpose IO[6] B
188 GPIO_7 B4U General Purpose IO[7] B
189 VIN_D5 B4U Video Input Data[5] I GenioMis[21] B
190 GPIO_8 B4U General Purpose IO[8] B
191 AUD_XCLK B4U Audio 256x/384x Clock B General Purpose IO[9] B
192 GPIO_10 B4U General Purpose IO[10] B
193 VIN_D6 B4U Video Input Data[6] I GenioMis[22] B
- H_D(15:8) pins may be reassigned as GenIOHst(7:0)
- Pin can receive level or edge signals which generate an internal interrupt if pin is used as GPIO
194 GPIO_11 B4U General Purpose IO[11] B
195 GPIO_12 B4U General Purpose IO[12] B
196 GPIO_13 B4U General Purpose IO[13] B
197 GPIO_14 B4U General Purpose IO[14] B
198 VIN_D7 B4U Video Input Data[7] I GenioMis[23] B
199 GPIO_15 B4U General Purpose IO[15] B
200 VSS_CORE Gnd Core Ground I
201 IR_IN IS Infrared input I
202 XTLCLOCK I 27 MHz Clock In I
204 SPDIF_O O4 S/PDIF Out O
205 RESET_N IS Reset In I
206 MFG_TEST I (Tie to ground) I
207 VIN_FLD ID Video Input Field I
208 VSS_PLL Gnd PLL Ground I
6.2 Miscellaneous Interface Pins
are used for both master and slave mode (8-bit slave address is 0x30 for write, and 0x31 for read).
186 SCL B I2CC l o c k
187 SDA B I2CD a t a
201 IR_IN I Infrared Input, from IR receiver. 202 XTLCLOCK I 27 MHz Clock Input. 205 RESET_N I Reset Input, active low. 206 MFG_TEST I Manufacturing test pin, should always connect to ground. Table 17. Miscellaneous Interface Pins
6.3 SDRAM Interface
M_AP. Unused upper M_A pins unconnected.
19 M_CKO O Memory Clock
22 M_CKE O Memory Clock Enable
21 M_BS_N O Bank Selection. Always connect to RAM BS or BS0 pin. 23 M_AP O Memory Auto Pre-charge. Always connect to RAM AP pin.
24 M_RAS_N O Memory Row Address Strobe
25 M_CAS_N O Memory Column Address Strobe
27 M_WE_N O Memory Write Enable
Table 18. SDRAM Interface
6.4 ROM/NVRAM Interface
also connect to SRAM that would emulate a ROM on a development system. The bus width is 8 or 16 bits. which operates simultaneously with the ROM/NVRAM interface. 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. 83 M_D[30] O Address decode low. Copy of address MSB. 87 M_D[31] O Address decode high. Compliment of address MSB. 60 NVM_WE_N O NVRAM Write Enable. 62 NVM_OE_N O ROM/NVRAM Output Enable. Table 19. ROM/NVRAM Interface
6.5 Video Output Interface
This is the interface to a video encoder chip that will send the CS7808 video signals to a TV. SeeFigure 20. pins can be redefined as GPIOs. 154 CLK27_O O 27 Mhz Clock Output. master, input when the video encoder is master. ter, input when the video encoder is master. Table 20. Video Output Interface
6.6 Video Input Interface
The CS7808 supports CCIR-601, CIF, and QCIF video input format thought this interface. SeeTable 21. 145 VIN_CLK I Video Input Clock. 153 VIN_VSNC I Video Input Vertical Sync. 160 VIN_HSNC I Video Input Horizontal Sync. 207 VIN_FLD I Video Input Field. Table 21. Video Input Interface
6.7 Audio Output/Input Interface
size of the samples are programmable for both input and output direction. output, is generated from CS7808 internal PLL. 124 AUD_BCK O Audio Bit Clock output to serial DAC. 128 AUD_LRCK O Audio Out Left/Right Clock to serial DAC. 135 AUD_DO_0 O Audio Serial Data Out[0]. 136 AUD_DO_1 O Audio Serial Data Out[1]. 133 AUD_DO_2 O Audio Serial Data Out[2]. 177 AUD_DO_3 O Audio Serial Data Out[3].
204 SPDIF_O O S/PDIF Output
clock, in which case this pin is not required. erated LR clock, in which case this pin is not required. 140 AIN_DATA I Audio Input Data from Serial ADC. Table 22. Audio Input/Output Interface
6.8 AC97/CODEC Interface
an AC97 compliant CODEC. This interface could control a modem, or a second set of audio channels. Table 23describes the pin to signal assignments for the AC97/CODEC Interface.
142 CDC_DI I Serial Data Input from Modem CODEC
144 CDC_DO O Serial Data Output to Modem CODEC
146 CDC_RST O Reset Output to Modem CODEC
147 CDC_CK I Serial Bit Clock input from Modem CODEC
148 CDC_SY B Frame Sync, output when CS7808 is master, input when
Table 23. AC97/CODEC Interface
6.9 Host Master/ATAPI Interface
nected at the same time, controlled by different chip selects. 92 H_RD O Host Read Request. 93 H_WR O Host Write Request.
120 H_CKO O Host clock out, required for some synchronous slaves
Table 24. Host Master/ATAPI Interface
6.10 General Purpose Input/Output (GPIO)
I/O Interface. Additional pins may also be re-defined as GPIO’s.
149 GPIO_V10 B General purpose I/O
174 GPIO_0 B General purpose I/O
Table 25. General Purpose I/O Interface
6.11 Power and Ground
and internal logic use 2.5 V power supply, The IO pins use 3.3 V power supply, and are 5 V input tolerant. Table 26. Power and Ground
Figure 16. 208-Pin Package Drawing
0.20 BASE METAL
- Notes