HD-LINX ™ GS1561 II Multi-Rate Deserializer PRELIMINARY DATA SHEET DESCRIPTION • SMPTE 292M and SMPTE 259M-C compliant descrambling and NRZI → NRZ decoding (with bypass) The GS1561 is a reclocking deserializer. When used in conjunction with the GS1524 Automatic Cable Equalizer and the GO1525 Voltage Controlled Oscillator, a receive solution can be realized for HD-SDI, SD-SDI and DVB-ASI applications. • DVB-ASI sync word detection and 8b/10b decoding • auto-configuration for HD-SDI, SD-SDI and DVB-ASI • dual serial digital input buffers with 2 x 1 mux • integrated serial digital signal termination • integrated reclocker • automatic or manual rate selection / indication (HD/SD) • descrambler bypass option • adjustable loop bandwidth • user selectable additional processing features including: - CRC, TRS, ANC data checksum, line number and EDH CRC error detection and correction - programmable ANC data detection - illegal code remapping • internal flywheel for noise immune H, V, F extraction • FIFO load Pulse • 20-bit / 10-bit CMOS parallel output data bus • 148.5MHz / 74.25MHz / 27MHz / 13.5MHz parallel digital output • automatic standards detection and indication • 1.8V core power supply and 3.3V charge pump power supply • 3.3V digital I/O supply • JTAG test interface • small footprint compatible with GS1560A, GS1532, GS9060 and GS9062 APPLICATIONS • SMPTE 292M Serial Digital Interfaces • SMPTE 259M-C Serial Digital Interfaces • DVB-ASI Serial Digital Interfaces In addition to reclocking and deserializing the input data stream, the GS1561 performs NRZI-to-NRZ decoding, descrambling as per SMPTE 292M/259M-C, and word alignment when operating in SMPTE mode. When operating in DVB-ASI mode, the device will word align the data to K28.5 sync characters and 8b/10b decode the received stream. Two serial digital input buffers are provided with a 2x1 multiplexer to allow the device to select from one of two serial digital input signals. The integrated reclocker features a very wide Input Jitter Tolerance of ±0.3 UI (total 0.6 UI), a rapid asynchronous lock time, and full compliance with DVB-ASI data streams. The GS1561 also includes a range of data processing functions such as error detection and correction, automatic standards detection, and EDH support. The device can also detect and extract SMPTE 325M payload identifier packets and independently identify the received video standard. This information is read from internal registers via the host interface port. Line-based CRC errors, line number errors, TRS errors, EDH CRC errors and ancillary data checksum errors can all be detected. A single ‘DATA_ERROR’ pin is provided which is a logical 'OR'ing of all detectable errors. Individual error status is stored in internal ‘ERROR_STATUS’ registers. Finally, the device can correct detected errors and insert new TRS ID words, line-based CRC words, ancillary data checksum words, EDH CRC words, and line numbers. Illegal code re-mapping is also available. All processing function may be individually enabled or disabled via host interface control. Revision Date: July 2003 Document No. 22048 - 1 GENNUM CORPORATION P.O. Box 489, Stn. A, Burlington, Ontario, Canada L7R 3Y3 Tel. +1 (905) 632-2996 Fax. +1 (905) 632-5946 E-mail: [email protected] www.gennum.com GS1561 KEY FEATURES 20bit/10bit IOPROC_EN/DIS FW_EN/DIS F V H DVB_ASI SMPTE_BYPASS SD/HD MASTER/SLAVE LOCKED PCLK CP_CAP VCO VCO LB_CONT LF VCO_VCC VCO_GND IP_SEL CD1 carrier_detect rclk_ctrl pll_lock LOCK detect smpte_sync_det asi_sync_det TERM 1 DDI_1 DDI_1 Reclocker TERM 2 GS1561 CD2 SMPTE Descramble, Word alignment and flywheel S->P K28.5 sync detect, DVB-ASI word alignment and 8b/10b decode DDI_2 DDI_2 DATA_ERROR CRC check Line mumber check TRS check CSUM check ANC data detection CRC correct Line mumber correct TRS correct CSUM correct EDH check & correct Illegal code remap DOUT[19:0] I/O Buffer & mux FIFO_LD CANC YANC Reset HOST Interface / JTAG test JTAG/HOST CS_TMS SCLK_TCK SDIN_TDI SDOUT_TDO RESET_TRST GS1561 FUNCTIONAL BLOCK DIAGRAM 2 of 54 GENNUM CORPORATION 22048 - 1 TABLE OF CONTENTS 1. PIN OUT .......................................................................................................................................... 5 1.1 PIN ASSIGNMENT................................................................................................................ 5 1.2 PIN DESCRIPTIONS .............................................................................................................. 6 2. ELECTRICAL CHARACTERISTICS ........................................................................................................ 15 ABSOLUTE MAXIUMUM RATINGS ........................................................................................ 15 DC ELECTRICAL CHARACTERISTICS...................................................................................... 16 AC ELECTRICAL CHARACTERISTICS...................................................................................... 17 INPUT/OUTPUT CIRCUITS .................................................................................................. 19 HOST INTERFACE MAP....................................................................................................... 20 3. DETAILED DESCRIPTION ................................................................................................................... 23 3.1 FUNCTIONAL OVERVIEW .................................................................................................... 23 3.2 SERIAL DIGITAL INPUT ....................................................................................................... 23 3.2.1 INPUT SIGNAL SELECTION ................................................................................................................................23 3.2.2 CARRIER DETECT INPUT....................................................................................................................................23 3.2.3 SINGLE INPUT CONFIGURATION ......................................................................................................................23 3.3 SERIAL DIGITAL RECLOCKER ............................................................................................... 23 3.3.1 EXTERNAL VCO...................................................................................................................................................24 3.3.2 LOOP BANDWIDTH .............................................................................................................................................24 3.4 SERIAL-TO-PARALLEL CONVERSION...................................................................................... 24 3.5 MODES OF OPERATION ...................................................................................................... 24 3.5.1 LOCK DETECT.....................................................................................................................................................24 3.5.2 MASTER MODE ...................................................................................................................................................25 3.5.3 SLAVE MODE.......................................................................................................................................................25 3.6 SMPTE FUNCTIONALITY ..................................................................................................... 26 3.6.1 3.6.2 3.6.3 3.6.4 SMPTE DESCRAMBLING AND WORD ALIGNMENT ..........................................................................................26 INTERNAL FLYWHEEL.........................................................................................................................................26 SWITCH LINE LOCK HANDLING ........................................................................................................................26 HVF TIMING SIGNAL GENERATION ...................................................................................................................29 3.7 DVB-ASI FUNCTIONALITY .................................................................................................... 31 3.7.1 DVB-ASI 8B/10B DECODING AND WORD ALIGNMENT ....................................................................................31 3.7.2 STATUS SIGNAL OUTPUTS ................................................................................................................................31 3.8 DATA THROUGH MODE ...................................................................................................... 31 3.9 ADDITIONAL PROCESSING FUNCTIONS ................................................................................. 32 3.9.1 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 FIFO LOAD PULSE ..............................................................................................................................................32 ANCILLARY DATA DETECTION AND INDICATION ............................................................................................33 SMPTE 352M PAYLOAD IDENTIFIER ..................................................................................................................35 AUTOMATIC VIDEO STANDARD AND DATA FORMAT DETECTION.................................................................35 ERROR DETECTION AND INDICATION..............................................................................................................38 ERROR CORRECTION AND INSERTION ............................................................................................................42 EDH FLAG DETECTION.......................................................................................................................................44 3.10 PARALLEL DATA OUTPUTS ............................................................................................... 46 3.10.1 3.10.2 3.10.3 3.10.4 3.10.5 PARALLEL DATA BUS BUFFERS ......................................................................................................................46 PARALLEL OUTPUT IN SMPTE MODE..............................................................................................................46 PARALLEL OUTPUT IN DVB-ASI MODE ...........................................................................................................46 PARALLEL OUTPUT IN DATA-THROUGH MODE.............................................................................................46 PARALLEL OUTPUT CLOCK (PCLK) ................................................................................................................47 3 of 54 GENNUM CORPORATION 22048 - 1 GS1561 2.1 2.2 2.3 2.4 2.5 3.11 GSPI HOST INTERFACE ..................................................................................................... 48 3.11.1 COMMAND WORD DESCRIPTION....................................................................................................................48 3.11.2 DATA READ AND WRITE TIMING .....................................................................................................................49 3.11.3 CONFIGURATION AND STATUS REGISTERS ..................................................................................................49 3.12 JTAG ............................................................................................................................. 50 3.13 DEVICE POWER UP.......................................................................................................... 50 3.14 DEVICE RESET................................................................................................................. 50 4.1 TYPICAL APPLICATION CIRCUIT (PART A).............................................................................. 51 4.2 TYPICAL APPLICATION CIRCUIT (PART B).............................................................................. 52 5. REFERENCES & RELEVANT STANDARDS ............................................................................................ 53 6. PACKAGE & ORDERING INFORMATION............................................................................................... 53 6.1 PACKAGE DIMENSIONS ...................................................................................................... 53 6.2 ORDERING INFORMATION................................................................................................... 54 7. REVISION HISTORY .......................................................................................................................... 54 4 of 54 GENNUM CORPORATION 22048 - 1 GS1561 4. APPLICATION REFERENCE DESIGN .................................................................................................... 51 DOUT3 DOUT2 IO_VDD DOUT10 52 DOUT4 DOUT11 53 DOUT5 IO_VDD 54 DOUT6 DOUT12 55 DOUT7 DOUT13 56 DOUT8 DOUT14 57 DOUT9 DOUT15 58 IO_GND DOUT17 59 51 50 49 48 47 46 45 44 43 42 41 GS1561 60 DOUT16 PIN ASSIGNMENT IO_GND IO_VDD 61 40 IO_GND DOUT18 62 39 DOUT1 DOUT19 63 38 DOUT0 CORE_VDD 64 37 CORE_VDD YANC 65 36 H CANC 66 35 V FW_EN/DIS 67 34 F CORE_GND 68 33 CORE_GND PCLK 69 32 FIFO_LD RSV 70 31 DATA_ERROR MASTER/SLAVE 71 30 SCLK_TCK LOCKED 72 29 SDIN_TDI VCO 73 28 SDOUT_TDO VCO 74 27 CS_TMS VCO_GND 75 26 JTAG/HOST VCO_VCC 76 25 RESET_TRST LF 77 24 NC 12 13 14 15 16 17 18 19 20 NC 11 NC 10 DDI2 9 SMPTE_BYPASS 8 DDI2 7 TERM2 6 CD2 5 IOPROC_EN/DIS 4 SD/HD 3 20bit/10bit NC 2 IP_SEL 21 1 DVB_ASI 80 DDI1 CP_GND TERM1 NC DDI1 NC 22 CD1 23 79 BUFF_VDD 78 PD_VDD CP_CAP LB_CONT PDBUFF_GND 1.1 PIN OUT CP_VDD 1. 5 of 54 GENNUM CORPORATION 22048 - 1 1.2 PIN DESCRIPTIONS PIN NUMBER NAME TIMING TYPE 1 CP_VDD - Power Power supply connection for the charge pump. Connect to +3.3V DC analog. 2 PDBUFF_GND - Power Ground connection for the phase detector and serial digital input buffers. Connect to analog GND. 3 PD_VDD - Power Power supply connection for the phase detector. Connect to +1.8V DC analog. 4 BUFF_VDD - Power Power supply connection for the serial digital input buffers. Connect to +1.8V DC analog. 5 CD1 Non Synchronous Input STATUS SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. DESCRIPTION When LOW, the serial digital input signal received at the DDI1 and DDI1 pins is considered valid. When HIGH, the associated serial digital input signal is considered to be invalid. In this case, the LOCKED signal is set LOW and all parallel outputs are muted. 6,8 DDI1, DDI1 Analog Input Differential input pair for serial digital input 1. 7 TERM1 Analog Input Termination for serial digital input 1. AC couple to PDBUFF_GND. 9 DVB_ASI Non Synchronous Input / Output CONTROL SIGNAL INPUT / STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. This pin will be an input set by the application layer in slave mode, and will be an output set by the device in master mode. Master Mode (MASTER/SLAVE = HIGH) The DVB_ASI signal will be HIGH only when the device has locked to a DVB-ASI compliant data stream. It will be LOW otherwise. Slave Mode (MASTER/SLAVE = LOW) When set HIGH in conjunction with SD/HD = HIGH and SMPTE_BYPASS = LOW, the device will be configured to operate in DVB-ASI mode. When set LOW, the device will not support the decoding or word alignment of received DVB-ASI data. 10 IP_SEL Non Synchronous Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to select DDI1 / DDI1 or DDI2 / DDI2 as the serial digital input signal, and CD1 or CD2 as the carrier detect input signal. When set HIGH, DDI1 / DDI1 is selected as the serial digital input and CD1 is selected as the carrier detect input signal. When set LOW, DDI2 / DDI2 serial digital input and CD2 carrier detect input signal is selected. 6 of 54 GENNUM CORPORATION 22048 - 1 GS1561 Used to indicate the presence of a serial digital input signal. Normally generated by a Gennum automatic cable equalizer. 1.2 PIN DESCRIPTIONS (CONTINUED) PIN NUMBER NAME TIMING TYPE 11 SD/HD Non Synchronous Input / Output DESCRIPTION CONTROL SIGNAL INPUT / STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Master Mode (MASTER/SLAVE = HIGH) The SD/HD signal will be LOW whenever the received serial digital signal is 1.485Gb/s or 1.485/1.001Gb/s. The SD/HD signal will be HIGH whenever the received serial digital signal is 270Mb/s. Slave Mode (MASTER/SLAVE = LOW) When set LOW, the device will be configured for the reception of 1.485Gb/s or 1.485/1.001Gb/s signals only and will not lock to any other serial digital signal. When set HIGH, the device will be configured for the reception of 270Mb/s signals only and will not lock to any other serial digital signal. 12 20bit/10bit Non Synchronous Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to select the output data bus width in SMPTE or Data-Through modes. This signal is ignored in DVB-ASI mode. When set HIGH, the parallel output will be 20-bit demultiplexed data. When set LOW, the parallel outputs will be 10-bit multiplexed data. 13 IOPROC_EN/DIS Non Synchronous Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to enable or disable I/O processing features. When set HIGH, the following I/O processing features of the device are enabled: • EDH CRC Error Correction (SD-only) • ANC Data Checksum Correction • Line-based CRC Error Correction (HD-only) • Line Number Error Correction (HD-only) • TRS Error Correction • Illegal Code Remapping To enable a subset of these features, keep IOPROC_EN/DIS HIGH and disable the individual feature(s) in the IOPROC_DISABLE register accesible via the host interface. When set LOW, the I/O processing features of the device are disabled, regardless of whether the features are enabled in the IOPROC_DISABLE register. 14 CD2 Non Synchronous Input STATUS SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to indicate the presence of a serial digital input signal. Normally generated by a Gennum automatic cable equalizer. When LOW, the serial digital input signal received at the DDI2 and DDI2 pins is considered valid. When HIGH, the associated serial digital input signal is considered to be invalid. In this case, the LOCKED signal is set LOW and all parallel outputs are muted. 7 of 54 GENNUM CORPORATION 22048 - 1 GS1561 This pin will be an input set by the application layer in slave mode, and will be an output set by the device in master mode. 1.2 PIN DESCRIPTIONS (CONTINUED) NAME TIMING TYPE DESCRIPTION 15,17 DDI_2, DDI_2 Analog Input Differential input pair for serial digital input 2. 16 TERM2 Analog Input Termination for serial digital input 2. AC couple to PDBUFF_GND. 18 SMPTE_BYPASS Non Synchronous Input / Output CONTROL SIGNAL INPUT / STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. This pin will be an input set by the application layer in slave mode, and will be an output set by the device in master mode. Master Mode (MASTER/SLAVE = HIGH) The SMPTE_BYPASS signal will be HIGH only when the device has locked to a SMPTE compliant data stream. It will be LOW otherwise. Slave Mode (MASTER/SLAVE = LOW) When set HIGH in conjunction with DVB_ASI = LOW, the device will be configured to operate in SMPTE mode. All I/O processing features may be enabled in this mode. When set LOW, the device will not support the descrambling, decoding or word alignment of received SMPTE data. No I/O processing features will be available. 19–24 NC - - 25 RESET_TRST Non Synchronous Input No connect CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to reset the internal operating conditions to default settings and to reset the JTAG test sequence. Host Mode (JTAG/HOST = LOW) When asserted LOW, all functional blocks will be set to default conditions and all input and output signals become high impedance, including the serial digital outputs SDO and SDO. Must be set HIGH for normal device operation. JTAG Test Mode (JTAG/HOST = HIGH) When asserted LOW, all functional blocks will be set to default and the JTAG test sequence will be held in reset. When set HIGH, normal operation of the JTAG test sequence resumes. 26 JTAG/HOST Non Synchronous Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to select JTAG Test Mode or Host Interface Mode. When set HIGH, CS_TMS, SDOUT_TDO, SDI_TDI and SCLK_TCK are configured for JTAG boundary scan testing. When set LOW, CS_TMS, SDOUT_TDO, SDI_TDI and SCLK_TCK are configured as GSPI pins for normal host interface operation. 27 CS_TMS Synchronous with SCLK_TCK Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Chip Select / Test Mode Select Host Mode (JTAG/HOST = LOW) CS_TMS operates as the host interface chip select, CS, and is active LOW. JTAG Test Mode (JTAG/HOST = HIGH) CS_TMS operates as the JTAG test mode select, TMS, and is active HIGH. 8 of 54 GENNUM CORPORATION 22048 - 1 GS1561 PIN NUMBER 1.2 PIN DESCRIPTIONS (CONTINUED) PIN NUMBER NAME TIMING TYPE DESCRIPTION 28 SDOUT_TDO Synchronous with SCLK_TCK Output CONTROL SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. SDOUT_TDO operates as the host interface serial output, SDOUT, used to read status and configuration information from the internal registers of the device. JTAG Test Mode (JTAG/HOST = HIGH) SDOUT_TDO operates as the JTAG test data output, TDO. 29 SDIN_TDI Synchronous with SCLK_TCK Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Serial Data In / Test Data Input Host Mode (JTAG/HOST = LOW) SDIN_TDI operates as the host interface serial input, SDIN, used to write address and configuration information to the internal registers of the device. JTAG Test Mode (JTAG/HOST = HIGH) SDIN_TDI operates as the JTAG test data input, TDI. 30 SCLK_TCK Non Synchronous Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Serial Data Clock / Test Clock. Host Mode (JTAG/HOST = LOW) SCLK_TCK operates as the host interface burst clock, SCLK. Command and data read/write words are clocked into the device synchronously with this clock. JTAG Test Mode (JTAG/HOST = HIGH) SCLK_TCK operates as the JTAG test clock, TCK. 31 DATA_ERROR Synchronous with PCLK Output STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. The DATA_ERROR signal will be LOW when an error within the received data stream has been detected by the device. This pin is a logical 'OR'ing of all detectable errors listed in the internal ERROR_STATUS register. Once an error is detected, DATA_ERROR will remain LOW until the start of the next video frame / field, or until the ERROR_STATUS register is read via the host interface. The DATA_ERROR signal will be HIGH when the received data stream has been detected without error. NOTE: It is possible to program which error conditions are monitored by the device by setting appropriate bits of the ERROR_MASK register HIGH. All error conditions are detected by default. 32 FIFO_LD Synchronous with PCLK Output CONTROL SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Used as a control signal for external FIFO(s). Normally HIGH but will go LOW for one PCLK period at SAV. 33, 68 CORE_GND - Power Ground connection for the digital core logic. Connect to digital GND. 9 of 54 GENNUM CORPORATION 22048 - 1 GS1561 Serial Data Output / Test Data Output Host Mode (JTAG/HOST = LOW) 1.2 PIN DESCRIPTIONS (CONTINUED) PIN NUMBER NAME TIMING TYPE DESCRIPTION 34 F Synchronous with PCLK Output STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Used to indicate the ODD / EVEN field of the video signal. The F signal will be LOW for all lines in field 1 and for all lines in progressive scan systems. 35 V Synchronous with PCLK Output STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Used to indicate the portion of the video field / frame that is used for vertical blanking. The V signal will be HIGH for the entire vertical blanking period as indicated by the V bit in the received TRS signals. The V signal will be LOW for all lines outside of the vertical blanking interval. 36 H Synchronous with PCLK Output STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Used to indicate the portion of the video line containing active video data. H signal timing is configurable via the H_CONFIG bit of the IOPROC_DISABLE register accessible via the host interface. Active Line Blanking (H_CONFIG = 0h) The H signal will be HIGH for the entire horizontal blanking period, including the EAV and SAV TRS words, and LOW otherwise. This is the default setting. TRS Based Blanking (H_CONFIG = 1h) The H signal will be HIGH for the entire horizontal blanking period as indicated by the H bit in the received TRS ID words, and LOW otherwise. 37, 64 CORE_VDD - Power Power supply connection for the digital core logic. Connect to +1.8V DC digital. 10 of 54 GENNUM CORPORATION 22048 - 1 GS1561 The F signal will be HIGH for the entire period of field 2 as indicated by the F bit in the received TRS signals. 1.2 PIN DESCRIPTIONS (CONTINUED) PIN NUMBER 38, 39, 42–48, 50 NAME TIMING TYPE DESCRIPTION DOUT[0:9] Synchronous with PCLK Output PARALLEL DATA BUS Signal levels are LVCMOS/LVTTL compatible. DOUT9 is the MSB and DOUT0 is the LSB. Chroma data output in SMPTE mode SMPTE_BYPASS =HIGH DVB_ASI = LOW Data output in Data-Through mode SMPTE_BYPASS = LOW DVB_ASI = LOW HD 10-bit mode SD/HD = LOW 20bit/10 bit = LOW Forced LOW in all modes. SD 20-bit mode SD/HD = HIGH 20bit/10bit = HIGH Chroma data output in SMPTE mode SMPTE_BYPASS = HIGH DVB_ASI = LOW Data output in Data-Through mode SMPTE_BYPASS = LOW DVB_ASI = LOW Forced LOW in DVB-ASI mode SMPTE_BYPASS = LOW DVB_ASI = HIGH SD 10-bit mode SD/HD = HIGH 20bit/10bit = LOW Forced LOW in all modes. 40, 49, 60 IO_GND - Power Ground connection for digital I/O buffers. Connect to digital GND. 41, 53, 61 IO_VDD - Power Power supply connection for digital I/O buffers. Connect to +3.3V DC digital. 11 of 54 GENNUM CORPORATION 22048 - 1 GS1561 HD 20-bit mode SD/HD = LOW 20bit/10bit = HIGH 1.2 PIN DESCRIPTIONS (CONTINUED) PIN NUMBER 51, 52, 54–59, 62, 63 NAME TIMING TYPE DESCRIPTION DOUT[19:10] Synchronous with PCLK Output PARALLEL DATA BUS Signal levels are LVCMOS/LVTTL compatible. DOUT19 is the MSB and DOUT10 is the LSB. GS1561 HD 20-bit mode SD/HD = LOW 20bit/10bit = HIGH Luma data output in SMPTE mode SMPTE_BYPASS = HIGH DVB_ASI = LOW Data output in Data-Through mode SMPTE_BYPASS = LOW DVB_ASI = LOW HD 10-bit mode SD/HD = LOW 20bit/10bit = LOW Multiplexed Luma and Chroma data output in SMPTE mode SMPTE_BYPASS = HIGH DVB_ASI = LOW Data output in Data-Through mode SMPTE_BYPASS = LOW DVB_ASI = LOW SD 20-bit mode SD/HD = HIGH 20bit/10bit = HIGH Luma data output in SMPTE mode SMPTE_BYPASS = HIGH DVB_ASI = LOW Data output in Data-Through mode SMPTE_BYPASS = LOW DVB_ASI = LOW DVB-ASI data in DVB-ASI mode SMPTE_BYPASS = LOW DVB_ASI = HIGH SD 10-bit mode SD/HD = HIGH 20bit/10bit = LOW Multiplexed Luma and Chroma data output in SMPTE mode SMPTE_BYPASS = HIGH DVB_ASI = LOW Data input in data through mode SMPTE_BYPASS = LOW DVB_ASI = LOW DVB-ASI data in DVB-ASI mode SMPTE_BYPASS = LOW DVB_ASI = HIGH 65 YANC Synchronous with PCLK Output STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Used to indicate the presence of ancillary data in the video stream. HD Mode (SD/HD = LOW) The YANC signal will be HIGH when the device has detected VANC or HANC data in the luma video stream and LOW otherwise. SD Mode (SD/HD = LOW) For 20-bit demultiplexed data (20bit/10bit = HIGH), the YANC signal will be HIGH when VANC or HANC data is detected in the luma video stream and LOW otherwise. For 10-bit multiplexed data (20bit/10bit = LOW), the YANC signal will be HIGH when VANC or HANC data is detected anywhere in the data stream and LOW otherwise. 12 of 54 GENNUM CORPORATION 22048 - 1 1.2 PIN DESCRIPTIONS (CONTINUED) PIN NUMBER NAME TIMING TYPE DESCRIPTION 66 CANC Synchronous with PCLK Output STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Used to indicate the presence of ancillary data in the video stream. SD Mode (SD/HD = LOW) For 20-bit demultiplexed data (20bit/10bit = HIGH), the CANC signal will be HIGH when VANC or HANC data is detected in the chroma video stream and LOW otherwise. For 10-bit multiplexed data (20bit/10bit = LOW), the CANC signal will be HIGH when VANC or HANC data is detected anywhere in the data stream and LOW otherwise. 67 FW_EN/DIS Non Synchronous Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to enable or disable the noise immune flywheel of the device. When set HIGH, the internal flywheel is enabled. This flywheel is used in the extraction and generation of TRS timing signals, in automatic video standards detection, and in manual switch line lock handling. When set LOW, the internal flywheel is disabled and TRS correction and insertion is unavailable. 69 PCLK - Output 70 RSV - - 71 MASTER/SLAVE Non Synchronous Input PARALLEL DATA BUS CLOCK Signal levels are LVCMOS/LVTTL compatible. HD 20-bit mode PCLK = 74.25MHz or 74.25/1.001MHz HD 10-bit mode PCLK = 148.5MHz or 148.5/1.001MHz SD 20-bit mode PCLK = 13.5MHz SD 10-bit mode PCLK = 27MHz Connect to CORE_VDD through 2.2KΩ. CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to determine the input / output selection for the DVB_ASI, SD/HD, and SMPTE_BYPASS pins. When set HIGH, the GS1561 is set to operate in master mode where DVB_ASI, SD/HD, and SMPTE_BYPASS become status signal output pins set by the device. In this mode, the GS1561 will automatically detect, reclock, deserialize and process SD SMPTE, HD SMPTE, or DVB-ASI input data. When set LOW, the GS1561 is set to operate in slave mode where DVB_ASI, SD/HD, and SMPTE_BYPASS become control signal input pins. In this mode, the application layer must set these external device pins for the correct reception of either SMPTE or DVB-ASI data. Slave mode also supports the reclocking and deserializing of data not conforming to SMPTE or DVB-ASI streams. 13 of 54 GENNUM CORPORATION 22048 - 1 GS1561 HD Mode (SD/HD = LOW) The CANC signal will be HIGH when the device has detected VANC or HANC data in the chroma video stream and LOW otherwise. 1.2 PIN DESCRIPTIONS (CONTINUED) PIN NUMBER NAME TIMING TYPE 72 LOCKED Synchronous with PCLK Output DESCRIPTION STATUS SIGNAL OUTPUT Signal levels are LVCMOS / LVTTL compatible. It will be LOW otherwise. 73, 74 VCO, VCO Analog Input Differential inputs for the external VCO reference signal. For single ended devices such as the GO1525, VCO should be AC coupled to VCO_GND. VCO is nominally 1.485GHz. 75 VCO_GND - Output Power Ground reference for the external voltage controlled oscillator. Connect to pins 2, 4, 6, and 8 of the GO1525. This pin is an output. Should be isolated from all other grounds. 76 VCO_VCC - Output Power Power supply for the external voltage controlled oscillator. Connect to pin 5 of the GO1525. This pin is an output. Should be isolated from all other power supplies. 77 LF Analog Output Control voltage to external voltage controlled oscillator. Nominally +1.25V DC. 78 CP_CAP Analog Input PLL lock time constant capacitor connection. Normally connected to VCO_GND through 2.2nF. 79 LB_CONT Analog Input Control voltage to set the loop bandwidth of the integrated reclocker. Normally connected to VCO_GND through 40kΩ. 80 CP_GND - Power Ground connection for the charge pump. Connect to analog GND. 14 of 54 GENNUM CORPORATION 22048 - 1 GS1561 The LOCKED signal will be HIGH whenever the device has correctly received and locked to SMPTE compliant data in SMPTE mode or DVBASI compliant data in DVB-ASI mode, or when the reclocker has achieved lock in Data-Through mode. 2. ELECTRICAL CHARACTERISTICS 2.1 ABSOLUTE MAXIUMUM RATINGS PARAMETER VALUE/UNITS -0.3V to +2.1V Supply Voltage I/O -0.3V to +4.6V Input Voltage Range (any input) -2.0V to + 5.25V Ambient Operating Temperature -20°C < TA < 85°C Storage Temperature Lead Temperature (soldering, 10 sec) GS1561 Supply Voltage Core -40°C < TSTG < 125°C 230°C NOTES: 1. See reflow solder profile 60-150 sec. Temperature 10-20 sec. 230˚C 220˚C 3˚C/sec max 183˚C 6˚C/sec max 150˚C 100˚C 25˚C Time 120 sec. max 6 min. max Figure 1 Reflow Solder Profile 15 of 54 GENNUM CORPORATION 22048 - 1 2.2 DC ELECTRICAL CHARACTERISTICS TA = 0°C to 70°C, unless otherwise specified. MIN TYP MAX UNITS TEST LEVEL NOTES 0 - 70 °C - 1 -25 - 85 °C - 2 CORE_VDD 1.65 1.8 1.95 V 1 1 Digital I/O Supply Voltage IO_VDD 3.0 3.3 3.6 V Charge Pump Supply Voltage CP_VDD 3.0 3.3 3.6 V Phase Detector Supply Voltage PD_VDD 1.65 1.8 1.95 V Input Buffer Supply Voltage BUFF_VDD 1.65 1.8 1.95 V External VCO Supply Voltage Output VCO_VCC 2.25 2.50 2.75 V 1 - +1.8V Supply Current I1V8 - - 200 mA 7 - +3.3V Supply Current I3V3 - - 55 mA 7 - Total Device Power PD - - 545 mW 7 - - 1 - - kV - 3 PARAMETER SYMBOL CONDITIONS SYSTEM TA Function Temperature Range Digital Core Supply Voltage ESD Protection on all Pins DIGITAL I/O Input Logic LOW VIL - - 0.8 V 1 - Input Logic HIGH VIH 2.1 - - V 1 - Output Logic LOW VOL - 0.2 0.4 V 1 - Output Logic HIGH VOH IO_VDD - 0.4 - - V 1 - - 1.45 - V 6 4 INPUT Input Common Mode Voltage VCMIN TEST LEVELS 1. Production test at room temperature and nominal supply voltage with guardbands for supply and temperature ranges. 2. Production test at room temperature and nominal supply voltage with guardbands for supply and temperature ranges using correlated test. 3. Production test at room temperature and nominal supply voltage. 4. QA sample test. 5. Calculated result based on Level 1, 2, or 3. 6. Not tested. Guaranteed by design simulations. 7. Not tested. Based on characterization of nominal parts. 8. Not tested. Based on existing design/characterization data of similar product. 9. Indirect test. NOTES 1. All DC and AC electrical parameters within specification. 2. Guaranteed functional. 3. MIL STD 883 ESD protection will be applied to all pins on the device. 4. Input common mode is set by internal biasing resistors. 16 of 54 GENNUM CORPORATION 22048 - 1 GS1561 Operation Temperature Range 2.3 AC ELECTRICAL CHARACTERISTICS TA = 0°C to 70°C, unless otherwise shown PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS TEST LEVEL NOTES - - UI 1 1 us 6,7 2 us 6,7 2 SYSTEM Serial Digital Input Jitter Tolerance IJT Slave Mode Asynchronous Lock Time Device Latency 0.6 No data to HD - - 468 HD to SD - - 260 HD to DVB-ASI - - 135 No data to SD - - 340 SD to HD - - 256 SD to DVB-ASI - - 173 No data to DVB-ASI - - 65 DVB-ASI to SD - - 227 DVB-ASI to HD - - 215 No data to HD - - 240 No data to SD - - 197 No data to DVB-ASI - - 68 10-bit SD - 21 - PCLK 6 - 20-bit HD - 21 - PCLK 6 - - 11 - PCLK 6 - 1 - - ms 7 3 Gb/s 1 - - DVB-ASI Reset Pulse Width treset SERIAL DIGITAL DIFFERENTIAL INPUT Serial Input Data Rate DRDDI Serial Digital Input Signal Swing ∆VDDI Parallel Clock Frequency fPCLK Parallel Clock Duty Cycle DCPCLK - Differential with internal 100Ω input termination 200 1.485, - 1.485/1.001, Gb/s 270 Mb/s 600 1000 mVp-p 1 13.5 - 148.5 MHz 1 40 50 60 % 1 1 3 1 3 3 3 PARALLEL OUTPUT Output Data Hold Time Output Data Delay Time Output Data Rise/Fall Time tOH tOD 20-bit HD 1.0 - - ns 10-bit SD 19.5 - - ns 20-bit HD - - 4.5 ns 10-bit SD - - 22.8 ns - - 1.5 ns tr/tf 17 of 54 GENNUM CORPORATION 22048 - 1 GS1561 Master Mode Asynchronous Lock Time Nominal loop bandwidth 2.3 AC ELECTRICAL CHARACTERISTICS (CONTINUED) TA = 0°C to 70°C, unless otherwise shown PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS TEST LEVEL NOTES GSPI GSPI Input Clock Frequency fSCLK - - 6.6 MHz 1 - DCSCLK 40 50 60 % 3 - 0 - - ns 3 - GSPI Input Data Setup Time GSPI Input Data Hold Time - - 1.43 ns 3 - GSPI Output Data Hold Time 2.10 - - ns 3 - GSPI Output Data Delay Time - - 7.27 ns 3 - TEST LEVELS 1. Production test at room temperature and nominal supply voltage with guardbands for supply and temperature ranges. 2. Production test at room temperature and nominal supply voltage with guardbands for supply and temperature ranges using correlated test. 3. Production test at room temperature and nominal supply voltage. 4. QA sample test. 5. Calculated result based on Level 1, 2, or 3. 6. Not tested. Guaranteed by design simulations. 7. Not tested. Based on characterization of nominal parts. 8. Not tested. Based on existing design/characterization data of similar product. 9. Indirect test. NOTES 1. 6MHz sinewave modulation. 2. HD = 1080i, SD = 525i 3. See Section 3.13, Figure 20. 18 of 54 GENNUM CORPORATION 22048 - 1 GS1561 GSPI Input Clock Duty Cycle 2.4 INPUT/OUTPUT CIRCUITS All resistors in ohms, all capacitors in farads, unless otherwise shown. LB_CONT VDD 50 45K 8K 800mV 150K 50 DDI Figure 2 Serial Digital Input Figure 4 PLL Loop Bandwidth Control VCO LF VDD 25 1.5K CP_CAP 300 5K 25 VCO Figure 3 VCO Input Figure 5 VCO Control Output & PLL Lock Time Capacitor 19 of 54 GENNUM CORPORATION 22048 - 1 GS1561 DDI 20 of 54 003h 002h 001h 000h EDH_FLAG ERROR_STATUS IOPROC_DISABLE ANC_TYPE5 ANC_TYPE4 ANC_TYPE3 ANC_TYPE2 ANC_TYPE1 VIDEO_STANDARD 025h 024h 023h 022h 021h 020h 019h 018h 017h 016h 015h 014h 013h 012h 011h 010h 009h 008h 007h 006h 005h 004h FF_LINE_END_F1 FF_LINE_START_F1 FF_LINE_END_F0 FF_LINE_START_F0 AP_LINE_END_F1 AP_LINE_START_F1 AP_LINE_END_F0 AP_LINE_START_F0 RASTER_STRUCTURE4 RASTER_STRUCTURE3 RASTER_STRUCTURE2 RASTER_STRUCTURE1 VIDEO_FORMAT_OUT_B VIDEO_FORMAT_OUT_A ADDRESS 026h HOST INTERFACE MAP REGISTER NAME ERROR_MASK 2.5 Not Used Not Used Not Used Not Used Not Used ANC-UES b14 b14 b14 b14 b14 VDS-b4 Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used VFO4-b6 VFO2-b6 Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used VFO4-b7 VFO2-b7 b15 b15 b15 b15 b15 Not Used 14 Not Used 15 Not Used Not Used Not Used ANC-IDA b13 b13 b13 b13 b13 VDS-b3 Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used VFO4-b5 VFO2-b5 13 Not Used Not Used Not Used ANC-IDH b12 b12 b12 b12 b12 VDS-b2 Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used VFO4-b4 VFO2-b4 12 Not Used Not Used Not Used ANC-EDA b11 b11 b11 b11 b11 VDS-b1 Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used b11 b11 VFO4-b3 VFO2-b3 11 Not Used VD_STD_ ERR Not Used ANC-EDH b10 b10 b10 b10 b10 VDS-b0 10 VD_STD_ ERR_ MASK Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used b10 b10 b10 b10 VFO4-b2 VFO2-b2 FF_CRC_ ERR Not Used FF-UES b9 b9 b9 b9 b9 INT_PROG 9 FF_CRC_ ERR_ MASK b9 b9 b9 b9 b9 b9 b9 b9 b9 b9 b9 b9 VFO4-b1 VFO2-b1 AP_CRC_ ERR H_CONFI G b8 b8 b8 b8 b8 STD_ LOCK FF-IDA LOCK_ ERR Not Used FF-IDH b7 b7 b7 b7 b7 CDF-b3 7 LOCK_ ERR_ MASK b7 b7 b7 b7 b7 b7 b7 b7 b7 b7 b7 b7 VFO3-b7 VFO1-b7 8 AP_CRC_ ERR_ MASK b8 b8 b8 b8 b8 b8 b8 b8 b8 b8 b8 b8 VFO4-b0 VFO2-b0 6 Not Used CCS_ERR FF-EDA b6 b6 b6 b6 b6 CDF-b2 b6 b6 b6 b6 b6 b6 b6 b6 b6 b6 b6 b6 VFO3-b6 VFO1-b6 CCS_ERR_ MASK 5 ILLEGAL_ REMAP YCS_ERR FF-EDH b5 b5 b5 b5 b5 CDF-b1 b5 b5 b5 b5 b5 b5 b5 b5 b5 b5 b5 b5 VFO3-b5 VFO1-b5 YCS_ERR_ MASK 4 CCRC_ ERR EDH_CRC _INS AP-UES b4 b4 b4 b4 b4 CDF-b0 CCRC_ ERR_ MASK b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 VFO3-b4 VFO1-b4 3 YCRC_ ERR ANC_ CSUM_INS AP-IDA b3 b3 b3 b3 b3 YDF-b3 YCRC_ ERR_ MASK b3 b3 b3 b3 b3 b3 b3 b3 b3 b3 b3 b3 VFO3-b3 VFO1-b3 2 LNUM_ER R CRC_INS AP-IDH b2 b2 b2 b2 b2 YDF-b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 VFO3-b2 VFO1-b2 LNUM_ER R_MASK GS1561 GENNUM CORPORATION 22048 - 1 1 LNUM_ INS SAV_ERR AP-EDA b1 b1 b1 b1 b1 YDF-b1 b1 b1 b1 b1 b1 b1 b1 b1 b1 b1 b1 b1 VFO3-b1 VFO1-b1 SAV_ERR_ MASK 0 TRS_INS EAV_ERR AP-EDH b0 b0 b0 b0 b0 YDF-b0 b0 b0 b0 b0 b0 b0 b0 b0 b0 b0 b0 b0 VFO3-b0 VFO1-b0 EAV_ERR_ MASK 21 of 54 025h 024h 023h 022h 021h 020h 019h 018h 017h 016h 015h 014h 013h 012h 011h 010h 009h 008h 007h 006h 005h 004h 003h 002h 001h 000h FF_LINE_END_F1 FF_LINE_START_F1 FF_LINE_END_F0 FF_LINE_START_F0 AP_LINE_END_F1 AP_LINE_START_F1 AP_LINE_END_F0 AP_LINE_START_F0 IOPROC_DISABLE ANC_TYPE5 ANC_TYPE4 ANC_TYPE3 ANC_TYPE2 ANC_TYPE1 ADDRESS 026h REGISTER NAME ERROR_MASK b15 b15 b15 b15 b15 15 b14 b14 b14 b14 b14 14 2.5.1 Host Interface Map (R/W Only Registers) b13 b13 b13 b13 b13 13 b12 b12 b12 b12 b12 12 b11 b11 b11 b11 b11 11 b10 b10 b10 b10 b10 10 VD_STD_ ERR_ MASK b9 b9 b9 b9 b9 9 FF_CRC_ ERR_ MASK b9 b9 b9 b9 b9 b9 b9 b9 H_CONFI G b8 b8 b8 b8 b8 b7 b7 b7 b7 b7 7 LOCK_ ERR_ MASK b7 b7 b7 b7 b7 b7 b7 b7 8 AP_CRC_ ERR_ MASK b8 b8 b8 b8 b8 b8 b8 b8 b6 b6 b6 b6 b6 ILLEGAL_ REMAP b5 b5 b5 b5 b5 b5 b5 b5 b5 b5 b5 b5 b5 b6 b6 b6 b6 b6 b6 b6 b6 5 YCS_ERR_ MASK 6 CCS_ERR_ MASK 4 EDH_CRC _INS b4 b4 b4 b4 b4 CCRC_ ERR_ MASK b4 b4 b4 b4 b4 b4 b4 b4 3 ANC_ CSUM_INS b3 b3 b3 b3 b3 YCRC_ ERR_ MASK b3 b3 b3 b3 b3 b3 b3 b3 2 CRC_INS b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 LNUM_ER R_MASK GS1561 GENNUM CORPORATION 22048 - 1 1 LNUM_ INS b1 b1 b1 b1 b1 b1 b1 b1 b1 b1 b1 b1 b1 SAV_ERR_ MASK 0 TRS_INS b0 b0 b0 b0 b0 b0 b0 b0 b0 b0 b0 b0 b0 EAV_ERR_ MASK 22 of 54 ERROR_STATUS EDH_FLAG VIDEO_STANDARD RASTER_STRUCTURE4 RASTER_STRUCTURE3 RASTER_STRUCTURE2 RASTER_STRUCTURE1 VIDEO_FORMAT_OUT_B VIDEO_FORMAT_OUT_A REGISTER NAME 000h 003h 002h 001h 022h 021h 020h 019h 018h 017h 016h 015h 014h 013h 012h 011h 010h 009h 008h 007h 006h 005h 004h ADDRESS 026h 025h 024h 023h VFO4-b7 VFO2-b7 15 ANC-UES VDS-b4 VFO4-b6 VFO2-b6 14 2.5.2 Host Interface Map (Read Only Registers) ANC-IDA VDS-b3 VFO4-b5 VFO2-b5 13 ANC-IDH VDS-b2 VFO4-b4 VFO2-b4 12 ANC-EDA VDS-b1 b11 b11 VFO4-b3 VFO2-b3 11 VD_STD_ ERR ANC-EDH VDS-b0 b10 b10 b10 b10 VFO4-b2 VFO2-b2 10 FF_CRC_ ERR FF-UES INT_PROG b9 b9 b9 b9 VFO4-b1 VFO2-b1 9 AP_CRC_ ERR STD_ LOCK FF-IDA b8 b8 b8 b8 VFO4-b0 VFO2-b0 8 LOCK_ ERR FF-IDH CDF-b3 b7 b7 b7 b7 VFO3-b7 VFO1-b7 7 CCS_ERR FF-EDA CDF-b2 b6 b6 b6 b6 VFO3-b6 VFO1-b6 6 YCS_ERR FF-EDH CDF-b1 b5 b5 b5 b5 VFO3-b5 VFO1-b5 5 CCRC_ ERR AP-UES CDF-b0 b4 b4 b4 b4 VFO3-b4 VFO1-b4 4 YCRC_ ERR AP-IDA YDF-b3 b3 b3 b3 b3 VFO3-b3 VFO1-b3 3 2 LNUM_ER R AP-IDH YDF-b2 b2 b2 b2 b2 VFO3-b2 VFO1-b2 GS1561 GENNUM CORPORATION 22048 - 1 SAV_ERR AP-EDA YDF-b1 b1 b1 b1 b1 VFO3-b1 VFO1-b1 1 EAV_ERR AP-EDH YDF-b0 b0 b0 b0 b0 VFO3-b0 VFO1-b0 0 3. DETAILED DESCRIPTION 3.1 FUNCTIONAL OVERVIEW 3.2.2 Carrier Detect Input The device has two basic modes of operation which determine preceisely how SMPTE or DVB-ASI compliant input data streams are reclocked and processed. In master mode, (MASTER/SLAVE = HIGH), the GS1561 will automatically detect, reclock, deserialize and process SD SMPTE 259M-C, HD SMPTE 292M, or DVB-ASI input data. In slave mode, (MASTER/SLAVE = LOW), the application layer must set external device pins for the correct reception of either SMPTE or DVB-ASI data. Slave mode also supports the reclocking and deserializing of data not conforming to SMPTE or DVB-ASI streams. In the digital signal processing core, several data processing functions are implemented including error detection and correction and automatic video standards detection. These features are all enabled by default, but may be individually disabled via internal registers accessible through the GSPI host interface. For each of the differential inputs, an associated carrier detect input signal is included, (CD1 and CD2). These signals are generated by Gennum's family of automatic cable equalizers. When LOW, CDx indicates that a valid serial digital data stream is being delivered to the GS1561 by the equalizer. When HIGH, the serial digital input to the device should be considered invalid. If no equalizer preceeds the device, the application layer should set CD1 and CD2 accordingly. NOTE: If the GS1524 Automatic Cable Equalizer is used, the MUTE/CD output signal from that device must be translated to TTL levels before passing to the GS1561 CDx inputs. See Section 4.1 for a recommended transistor network that will set the correct voltage levels. A 2x1 input multiplexer is also provided for these signals. The internal carrier_detect signal is determined by the setting of the IP_SEL pin and is used by the lock detect block of the GS1561 to determine the lock status of the device, (see Section 3.5.1). 3.2.3 Single Input Configuration Finally, the GS1561 contains a JTAG interface for boundary scan test implementations. If the application requires a single differential input, the second set of inputs may be left unconnected. Tie the associated carrier detect pin HIGH, and leave termination pin unconnected. 3.2 3.3 SERIAL DIGITAL INPUT The GS1561 contains two current mode differential serial digital input buffers, allowing the device to be connected to two SMPTE 259M-C or 292M compliant input signals. Both input buffers have internal 50Ω termination resistors which are connected to ground via the TERM1 and TERM2 pins. The input common mode level is set by internal biasing resistors such that the serial digital input signals must be AC coupled into the device. Gennum recommends using a capacitor value of 4.7uF to accommodate pathological signals. The input buffers use a separate power supply of +1.8V DC supplied via the BUFF_VDD and PDBUFF_GND pins. 3.2.1 Input Signal Selection A 2x1 input multiplexer is provided to allow the application layer to select between the two serial digital input streams using a single external pin. When IP_SEL is set HIGH, serial digital input 1 (DDI1 / DDI1) is selected as the input to the GS1561's reclocker stage. When IP_SEL is set LOW, serial digital input 2 (DDI2 / DDI2) is selected. SERIAL DIGITAL RECLOCKER The output of the 2x1 serial digital input multiplexer passes to the GS1561's internal reclocker stage. The function of this block is to lock to the input data stream, extract a clean clock, and retime the serial digital data to remove high frequency jitter. The reclocker was designed with a 'hexabang' phase and frequency detector. That is, the PFD used can identify six 'degrees' of phase / frequency misalignment between the input data stream and the clock signal provided by the VCO, and correspondingly signal the charge pump to produce six different control voltages. This results in fast and accurate locking of the PLL to the data stream. In master mode, the operating center frequency of the reclocker is toggled between 270Mb/s and 1.485Gb/s by the lock detect block, (see Section 3.5.1). In slave mode, however, the center frequency is determined entirely by the SD/HD input control signal set by the application layer. If lock is achieved, the reclocker provides an internal pll_lock signal to the lock detect block of the device. 23 of 54 GENNUM CORPORATION 22048 - 1 GS1561 The GS1561 is a multi-rate reclocking deserializer. When used in conjunction with the multi-rate GS1524 Adaptive Cable Equalizer and the external GO1525 Voltage Controlled Oscillator, a receive solution at 1.485Gb/s, 1.485/1.001Gb/s or 270Mb/s is realized. 3.3.1 External VCO The GS1561 requires the external GO1525 Voltage Controlled Oscillator as part of the reclocker's phase-locked loop. This external VCO implementation was chosen to ensure high quality reclocking. The control voltage to the VCO is output from the GS1561 on the LF pin and requires 4.7kΩ pull-up and pull-down resistors to ensure correct operation. The GO1525 produces a 1.485GHz reference signal for the reclocker, input on the VCO pin of the GS1561. Both LF and VCO signals should be referenced to the supplied VCO_GND as shown in the recommended application circuit of Section 4.1. 3.3.2 Loop Bandwidth The loop bandwidth of the integrated reclocker is nominally 1.4MHz, but may be increased or decreased via the LB_CONT pin. It is recommended that this pin be connected to VCO_GND through 39.2kΩ to maximize the input jitter tolerance of the device. 3.4 SERIAL-TO-PARALLEL CONVERSION The retimed data and phase-locked clock signals from the reclocker are fed to the serial-to-parallel converter. The function of this block is to extract 10-bit or 20-bit parallel data words from the reclocked serial data stream and present them to the SMPTE and DVB-ASI word alignment blocks simultaneously. 3.5 MODES OF OPERATION The GS1561 has two basic modes of operation which determine how the lock detect block controls the integrated reclocker. Master mode is enabled when the application layer sets the MASTER/SLAVE pin HIGH, and slave mode is enabled when MASTER/SLAVE is set LOW. 3.5.1 Lock Detect The lock detect block controls the center frequency of the integrated reclocker to ensure lock to the received serial digital data stream is achieved, and indicates via the LOCKED output pin that the device has detected the appropriate sync words. Lock detection is a continuous process, which begins at device power up or after a system reset, and continues until the device is powered down or held in reset. If the carrier_detect signal is HIGH, the serial data into the device is considered invalid, and the VCO frequency will be set to the center of the pull range. The LOCKED pin will be LOW and all outputs of the device except for the PCLK output will be muted. Instead, the PCLK output frequency will operate within +/-3% of the rates shown in Table 15 of Section 3.10.5. NOTE: When the device is operating in DVB-ASI Slave mode only, the parallel outputs will not mute when the carrier_detect signal is HIGH. The LOCKED signal will function normally. If a valid input signal has been detected, and the device is in master mode, the lock algorithm will enter a hunt phase where four attempts are made to detect the presence of either SMPTE TRS sync words or DVB-ASI sync words. At each attempt, the center frequency of the reclocker will be toggled between 270Mb/s and 1.485Gb/s. Assuming that a valid SMPTE or DVB-ASI signal has been applied to the device, asynchronous lock times will be as listed in AC Characteristics, (see Section 2.3). In slave mode, the application layer fixes the center frequency of the reclocker such that the lock algorithm will attempt to lock within the single data rate determined by the setting of the SD/HD pin. Asynchronous lock times are also listed in the AC Characteristics, (see Section 2.3). NOTE: The PCLK output will continue to operate during the lock detection process. The frequency may toggle between 148MHz and 27MHz when the 20bit/10bit pin is set LOW, or between 74MHz and 13.5MHz when 20bit/10bit is set HIGH. For SMPTE and DVB-ASI inputs, the lock detect block will only assert the LOCKED output signal HIGH if (1) the reclocker has locked to the input data stream as indicated by the internal pll_lock signal, and (2) TRS or DVB-ASI sync words have been correctly identified. If after four attempts lock has not been achieved, the lock detection algorithm will enter into PLL lock mode. In this mode, the reclocker will attempt to lock to the input data stream without detecting SMPTE TRS or DVB-ASI sync words. This unassisted process can take up to 10ms to achieve lock. 24 of 54 GENNUM CORPORATION 22048 - 1 GS1561 Power for the external VCO is generated entirely by the GS1561 from an integrated voltage regulator. The internal regulator uses +3.3V DC supplied via the CP_VDD / CP_GND pins to provide +2.5V DC on the VCO_VCC / VCO_GND pins. The lock detection algorithm first determines if a valid serial digital input signal has been presented to the device by sampling the internal carrier_detect signal. As described in Section 3.2.2, this signal will be LOW when a good serial digital input signal has been detected. When reclocker lock as indicated by the internal pll_lock signal is achieved in this mode, one of the following will occur: 2. In master mode, the LOCKED signal will be asserted LOW, the parallel outputs will be latched to logic LOW, and the SMPTE_BYPASS and DVB_ASI output signals will also be set LOW. 3.5.2 Master Mode Recall that the GS1561 is said to be in master mode when the MASTER/SLAVE input signal is set HIGH. In this case, the following four device pins become output status signals: • SMPTE_BYPASS • DVB_ASI • SD/HD 3.5.3 Slave Mode The GS1561 is said to be in slave mode when the MASTER/SLAVE input signal is set LOW. In this case, the three device pins listed in Section 3.5.2 become input control signals. It is required that the application layer set these inputs to reflect the appropriate input data format (SMPTE_BYPASS, DVB_ASI, and SD/HD). If just one of these three is configured incorrectly, the device will not lock to the input data stream, and the DATA_ERROR pin will be set LOW. Table 2 shows the required settings for various input formats. TABLE 1 MASTER MODE OUTPUT STATUS SIGNALS PIN SETTINGS SMPTE_BYPASS DVB_ASI SD/HD HD SMPTE HIGH LOW LOW SD SMPTE HIGH LOW HIGH DVB-ASI LOW HIGH HIGH NOT SMPTE OR DVB-ASI* LOW LOW HIGH OR LOW FORMAT *NOTE: When the device locks to the data stream in PLL lock mode, the parallel outputs will be latched LOW. TABLE 2 SLAVE MODE INPUT CONTROL SIGNALS PIN SETTINGS SMPTE_BYPASS DVB_ASI SD/HD HD SMPTE HIGH LOW LOW SD SMPTE HIGH LOW HIGH DVB-ASI LOW HIGH HIGH NOT SMPTE OR DVB-ASI* LOW LOW HIGH OR LOW FORMAT *NOTE: See Section 3.8 for a complete description of Data-Through mode. 25 of 54 GENNUM CORPORATION 22048 - 1 GS1561 1. In slave mode, data will be passed directly to the parallel outputs without any further processing taking place and the LOCKED signal will be asserted HIGH if and only if the SMPTE_BYPASS and DVB_ASI input pins are set LOW; or The combined setting of these three pins will indicate whether the device has locked to valid SMPTE or DVB-ASI data at SD or HD rates. Table 1 shows the possible combinations. 3.6 SMPTE FUNCTIONALITY The GS1561 is said to be in SMPTE mode once the device has detected SMPTE TRS sync words and locked to the input data stream as described in Section 3.5.1. The device will remain in SMPTE mode until such time that SMPTE TRS sync words fail to be detected. • RESET_TRST is asserted LOW • CDx is HIGH • SMPTE_BYPASS is asserted LOW in slave mode • DVB_ASI is asserted HIGH in slave mode The flywheel 'learns' the video standard by timing the horizontal and vertical reference information contained in the TRS ID words of the received video stream. Full synchronization of the flywheel to the received video standard therefore requires one complete video frame. Once synchronization has been achieved, the flywheel will continue to monitor the received TRS timing information to maintain synchronization. TRS word detection is a continuous process and both 8-bit and 10-bit TRS words will be identified by the device in both SD and HD modes. In master mode, the GS1561 sets the SMPTE_BYPASS pin HIGH and the DVB_ASI pin LOW to indicate that it has locked to a SMPTE input data stream. When operating in slave mode, the application layer must assert the DVB_ASI pin LOW and the SMPTE_BYPASS pin HIGH in order to enable SMPTE operation. 3.6.1 SMPTE Descrambling and Word Alignment After serial-to-parallel conversion, the internal 10-bit or 20bit data bus is fed to the SMPTE descramble and word alignment block. The function of this block is to carry out NRZI-to-NRZ decoding, descrambling according to SMPTE 259M or 292M, and word alignment of the data to the TRS sync words. Word alignment occurs when three consecutive valid TRS words (SAV and EAV inclusive) with the same bit alignment have been detected (1½ video lines). In normal operation, re-synchronization of the word alignment process will only take place when two consecutive identical TRS word positions have been detected. When automatic or manual switch line lock handling is 'actioned', (see Section 3.6.3), word alignment re-synchronization will occur on the next received TRS code word. 3.6.2 Internal Flywheel The GS1561 has an internal flywheel which is used in the generation of internal / external timing signals, in the detection and correction of certain error conditions and in automatic video standards detection. It is only operational in SMPTE mode. The FW_EN/DIS input pin controls the synchronization mechanism of the flywheel. When this input signal is LOW, the flywheel will re-synchronize all pixel and line based counters on every received TRS ID word. When FW_EN/DIS is held HIGH, re-synchronization of the pixel and line based counters will only take place when a consistent synchronization error has been detected. Two consecutive video lines with identical TRS timing different to the current flywheel timing must occur to initiate resynchronization of the counters. This provides a measure of noise immunity to internal and external timing signal generation. The flywheel will be disabled should the LOCKED signal or the RESET_TRST signal be LOW. A LOW to HIGH transistion on either signal will cause the flywheel to reacquire synchronization on the next received TRS word, regardless of the setting of the FW_EN/DIS pin. 3.6.3 Switch Line Lock Handling The principal of switch line lock handling is that the switching of synchronous video sources will only disturb the horizontal timing and alignment of the stream, whereas the vertical timing remains in synchronization. To account for the horizontal disturbance caused by a synchronous switch, it is necessary to re-synchronize the flywheel immediately after the switch has taken place. Rapid re-synchronization of the GS1561 to the new video standard can be achieved by controlling the flywheel using the FW_EN/DIS pin. At every PCLK cycle the device samples the FW_EN/DIS pin. When a logic LOW to HIGH transition at this pin is detected anywhere within the active line, the flywheel will re-synchronize immediately to the next TRS word. This is shown in Figure 6. To ensure switch line lock handling, the FW_EN/DIS signal should be LOW for a minimum of one PCLK cycle (maximum one video line) anywhere within the active portion of the line on which the switch has taken place. 26 of 54 GENNUM CORPORATION 22048 - 1 GS1561 The lock detect block may also drop out of SMPTE mode under the following conditions: The flywheel consists of a number of counters and comparators operating at video pixel and video line rates. These counters maintain information about the total line length, active line length, total number of lines per field / frame, and total active lines per field / frame for the received video stream. Switch point Video source 1 EAV ANC EAV Video source 2 SAV ANC SAV ACTIVE PICTURE EAV ACTIVE PICTURE ANC EAV ANC SAV EAV ACTIVE PICTURE ANC SAV EAV EAV ACTIVE PICTURE ANC ANC EAV SAV ACTIVE PICTURE EAV ANC SAV ANC SAV ACTIVE PICTURE EAV ANC SAV switch video source 1 to 2 ANC SAV ACTIVE PICTURE EAV ANC SAV ACTIVE PICTURE ANC EAV ANC SAV ACTIVE PICTURE EAV ANC SAV DATA OUT EAV ANC SAV ACTIVE PICTURE EAV ANC SAV ACTIVE PICTURE ANC EAV ANC SAV ACTIVE PICTURE EAV ANC SAV Flywheel TRS position FW_EN/DIS Flywheel re-synch Switch point Video source 1 EAV ANC SAV ACTIVE PICTURE EAV ANC SAV EAV ACTIVE PICTURE ANC ACTIVE PICTURE ANC EAV ANC EAV ANC SAV SAV ACTIVE PICTURE ACTIVE PICTURE EAV EAV ANC ANC SAV Video source 2 EAV ANC SAV ACTIVE PICTURE EAV ANC SAV EAV SAV DATA IN EAV ANC SAV ACTIVE PICTURE EAV ANC SAV ACTIVE PICTURE EAV ANC SAV ACTIVE PICTURE EAV ANC SAV DATA OUT EAV ANC SAV ACTIVE PICTURE EAV ANC SAV ACTIVE PICTURE EAV ANC SAV ACTIVE PICTURE EAV ANC SAV switch video source 2 to 1 Flywheel TRS position FW_EN/DIS Flywheel re-synch Figure 6 Switch Line Locking The ability to manually re-synchronize the flywheel is also important when switching asynchronous sources or to implement other non-standardized video switching functions. The GS1561 also implements automatic switch line lock handling. By utilizing the synchronous switch points defined by SMPTE RP168 for all major video standards with the automatic video standards detect function, the device automatically re-synchronizes the flywheel at the switch point. This function will occur regardless of the setting of the FW_EN/DIS pin. The switch line is defined as follows: • For 525 line interlaced systems: re-sync takes place at the end of lines 10 & 273. • For 525 line progressive systems: re-sync takes place at the end of line 10. • For 625 line interlaced systems: re-sync takes place at the end of lines 6 & 319. • For 625 line progressive systems: re-sync takes place at the end of line 6. • For 750 line progressive systems: re-sync takes place at the end of line 7. • For 1125 line interlaced systems: re-sync takes place at the end of lines 7 & 568. • For 1125 line progressive systems: re-sync takes place at the end of line 7. A full list of all major video standards and switching lines is shown in Table 3. NOTE 1 : The flywheel timing will define the line count such that the line numbers shown in Table 3 may not correspond directly to the digital line counts. NOTE 2: Unless indicated by SMPTE 352M payload identifier packets, the GS1561 will not distinguish between 50/60 frames PsF and 25/30 frames interlaced for the 1125 line video systems; 24 PsF will be identified. 27 of 54 GENNUM CORPORATION 22048 - 1 GS1561 DATA IN EAV TABLE 3 SWITCH LINE POSITION FOR DIGITAL SYSTEMS SYSTEM HD-SDTI VIDEO FORMAT 1920x1080 (PsF) SAMPLING SIGNAL STANDARD PARALLEL INTERFACE SERIAL INTERFACE SWITCH LINE NO. 4:2:2 274M 274M + 348M 292M 7 1920x1080 (2:1) 7, 569 1280x720 (1:1) 720x576/50 (2:1) 4:2:2 720x483/59.94 (2:1) 750 1280x720/60 (1:1) 296M + 348M BT.656 BT.656 + 305M 125M 125M + 305M 7 259M 6, 319 10, 273 4:2:2 296M 296M 7 4:2:2 274M + RP211 292M 7 1280x720/50 (1:1) 1280x720/30 (1:1) 1280x720/25 (1:1) 1280x720/24 (1:1) 1125 1920x1080/60 (1:1) 1920x1080/50 (1:1) 1920x1080/30 (1:1) 1920x1080/25 (1:1) 1920x1080/24 (1:1) 1920x1080/30 (PsF) 1920x1080/25 (PsF) 1920x1080/24 (PsF) 1920x1080/60 (2:1) 7, 569 1920x1080/50 (2:1) 525 960x483/59.94 (2:1) 4:2:2 267M 349M 292M 267M 259M 349M 292M 720x483/59.94 (2:1) 347M 344M 720x483/59.94 (2:1) RP174 344M 720x483/59.94 (2:1) RP175 RP175 349M 292M 125M 259M 349M 292M 720x483/59.94 (1:1) 347M 344M 720x483/59.94 (1:1) 293M 294M 349M 292M 293M 294M 960x483/59.94 (2:1) 720x483/59.94 (2:1) 720x483/59.94 (2:1) 4:4:4:4 4:2:2 125M 720x483/59.94 (2:1) 720x483/59.94 (1:1) 720x483/59.94 (1:1) 4:2:2 293M 4:2:0 720x483/59.94 (1:1) 10, 273 10 28 of 54 GENNUM CORPORATION 22048 - 1 GS1561 SDTI 296M TABLE 3 SWITCH LINE POSITION FOR DIGITAL SYSTEMS (CONTINUED) SYSTEM 625 SIGNAL STANDARD PARALLEL INTERFACE SERIAL INTERFACE SWITCH LINE NO. 4:2:2 BT.1358 349M 292M 6 720x576/50 (1:1) 347M 344M 720x576/50 (1:1) BT.1358 BT.1362 349M 292M BT.1358 BT.1362 349M 292M BT.656 259M 349M 292M 720x576/50 (2:1) 347M 344M 720x576/50 (2:1) BT.799 344M 720x576/50 (2:1) BT.799 - 349M 292M 125M 259M 720x576/50 (1:1) 720x576/50 (1:1) 4:2:0 720x576/50 (1:1) 960x576/50 (2:1) 4:2:2 BT.601 960x576/50 (2:1) 720x576/50 (2:1) 720x576/50 (2:1) 4:4:4:4 BT.799 4:2:2 BT.601 720x576/50 (2:1) GS1561 SAMPLING VIDEO FORMAT 6, 319 3.6.4 HVF Timing Signal Generation The GS1561 extracts critical timing parameters from either the received TRS signals (FW_EN/DIS = LOW), or from the internal flywheel-timing generator (FW_EN/DIS = HIGH). Horizontal blanking period (H), vertical blanking period (V), and even / odd field (F) timing are all extracted and presented to the application layer via the H:V:F status output pins. The H signal timing is configurable via the H_CONFIG bit of the internal IOPROC_DISABLE register as either active line based blanking, or TRS based blanking, (see Section 3.9.6). Active line based blanking is enabled when the H_CONFIG bit is set LOW. In this mode, the H output is HIGH for the entire horizontal blanking period, including the EAV and SAV TRS words. This is the default H timing used by the device. When H_CONFIG is set HIGH, TRS based blanking is enabled. In this case, the H output will be HIGH for the entire horizontal blanking period as indicated by the H bit in the received TRS ID words. The timing of these signals is shown in Figure 7. 29 of 54 GENNUM CORPORATION 22048 - 1 PCLK LUMA DATA OUT 3FF 000 000 XYZ (eav) 3FF 000 000 XYZ (sav) CHROMA DATA OUT 3FF 000 000 XYZ (eav) 3FF 000 000 XYZ (sav) H V GS1561 F H:V:F TIMING - HD 20-BIT OUTPUT MODE PCLK MULTIPLEXED Y/Cr/Cb DATA OUT 3FF 3FF 000 000 000 000 XYZ (eav) XYZ (eav) XYZ (sav) XYZ (sav) H V F H:V:F TIMING AT EAV - HD 10-BIT OUTPUT MODE PCLK MULTIPLEXED Y/Cr/Cb DATA OUT 3FF 3FF 000 000 000 000 H V F H;V:F TIMING AT SAV - HD 10-BIT OUTPUT MODE PCLK CHROMA DATA OUT 3FF 000 3FF 000 LUMA DATA OUT 000 XYZ (eav) 000 XYZ (SAV) H V H SIGNAL TIMING: H_CONFIG = LOW F H_CONFIG = HIGH H:V:F TIMING - SD 20-BIT OUTPUT MODE PCLK MULTIPLEXED Y/Cr/Cb DATA OUT 3FF 000 000 XYZ (eav) 3FF 000 000 XYZ (sav) H V F H:V:F TIMING - SD 10-BIT OUTPUT MODE Figure 7 H, V, F Timing 30 of 54 GENNUM CORPORATION 22048 - 1 3.7 DVB-ASI FUNCTIONALITY 3.7.1 DVB-ASI 8b/10b Decoding and Word Alignment After serial-to-parallel conversion, the internal 10-bit data bus is fed to the DVB-ASI 8b/10b decode and word alignment block. The function of this block is to word align the data to the K28.5 sync characters, and 8b/10b decode and bit-swap the data to achieve bit alignment with the data outputs. The lock detect block may also drop out of DVB-ASI mode under the following conditions: The extracted 8-bit data will be presented to DOUT[17:10], bypassing all internal SMPTE mode data processing. • RESET_TRST is asserted LOW • CDx is HIGH NOTE: When operating in DVB-ASI mode, DOUT[9:0] become high impedance. • SMPTE_BYPASS is asserted HIGH in slave mode • DVB_ASI is asserted LOW in slave mode 3.7.2 Status Signal Outputs In DVB-ASI mode, the DOUT19 and DOUT18 pins will be configured as DVB-ASI status signals SYNCOUT and WORDERR respectively. K28.5 sync patterns in the received DVB-ASI data stream will be detected by the device in either inverted or noninverted form. SYNCOUT will be HIGH whenever a K28.5 sync character is present on the output. This output may be used to drive the write enable signal of an external FIFO, thus providing a means of removing the K28.5 sync characters from the data stream. Parallel DVB-ASI data may then be clocked out of the FIFO at some rate less than 27MHz. See Figure 8. In master mode, the GS1561 sets the SMPTE_BYPASS pin LOW and the DVB_ASI pin HIGH to indicate that it has locked to a DVB-ASI input data stream. When operating in slave mode, the application layer must set the SD/HD pin HIGH, in addition to setting SMPTE_BYPASS LOW and DVB_ASI HIGH, in order to enable DVB-ASI operation. WORDERR will be high whenever the device has detected a running disparity error or illegal code word. AOUT ~ HOUT DDI 8 8 DDI FIFO GS1561 SYNCOUT FE FF WORDERR WORDERR PCLK = 27MHz TS CLK_IN WE CLK_OUT READ_CLK <27MHz Figure 8 DVB-ASI FIFO Implementation using the GS1561 3.8 DATA THROUGH MODE The GS1561 may be configured by the application layer to operate as a simple serial-to-parallel converter. In this mode, the device presents data to the output data bus without performing any decoding, descrambling or wordalignment. When operating in master mode, the GS1561 will set the SMPTE_BYPASS and DVB_ASI signals to logic LOW if presented with a data stream without SMPTE TRS ID words or DVB-ASI sync words. The LOCKED and data bus outputs will be forced LOW. Data through mode is enabled only when the MASTER/SLAVE, SMPTE_BYPASS, and DVB_ASI input pins are set LOW. Under these conditions, the lock detection algorithm enters PLL lock mode, (see Section 3.5.1), such that the device may reclock data not conforming to SMPTE or DVB-ASI streams. 31 of 54 GENNUM CORPORATION 22048 - 1 GS1561 The GS1561 is said to be in DVB-ASI mode once the device has detected 32 consecutive DVB-ASI words without a single word or disparity error being generated. The device will remain in DVB-ASI mode until 32 consecutive DVB-ASI word or disparity errors are detected, or until SMPTE TRS ID words have been detected. 3.9 ADDITIONAL PROCESSING FUNCTIONS The FIFO_LD output pin will normally be HIGH but will go LOW for one PCLK period, thereby generating a FIFO write reset signal. The GS1561 contains an additional data processing block which is available in SMPTE mode only, (see Section 3.6). The FIFO load pulse will be generated such that it is cotimed to the SAV XYZ code word presented to the output data bus. This ensures that the next PCLK cycle will correspond to the first active sample of the video line. 3.9.1 FIFO Load Pulse Figure 9 shows the timing relationship between the FIFO_LD signal and the output video data. PCLK LUMA DATA OUT 3FF 000 000 XYZ (SAV) CHROMA DATA OUT 3FF 000 000 XYZ (SAV) FIFO_LD FIFO LOAD PULSE - HD 20BIT OUTPUT MODE PCLK MULTIPLEXED Y/Cr/Cb DATA OUT 3FF 000 3FF 000 000 000 XYZ (SAV) XYZ (SAV) FIFO_LD FIFO LOAD PULSE - HD 10BIT OUTPUT MODE PCLK CHROMA DATA OUT 3FF 000 LUMA DATA OUT 000 XYZ (SAV) FIFO_LD FIFO LOAD PULSE - SD 20BIT OUTPUT MODE PCLK MULTIPLEXED Y/Cr/Cb DATA OUT 3FF 000 000 XYZ (SAV) FIFO_LD FIFO LOAD PULSE - SD 10BIT OUTPUT MODE Figure 9 FIFO_LD Pulse Timing 32 of 54 GENNUM CORPORATION 22048 - 1 GS1561 To aid in the application-specific implementation of autophasing and line synchronization functions, the GS1561 will generate a FIFO load pulse to reset line-based FIFO storage. In SD mode, (SD/HD = HIGH), the YANC and CANC signal operation will depend on the output data format. For 20-bit demultiplexed data, (see Section 3.10), the YANC and CANC signals will operate independently. However, for 10bit multiplexed data, the YANC and CANC signals will both be HIGH whenever ancillary data is detected. 3.9.2 Ancillary Data Detection and Indication The signals will be HIGH from the start of the ancillary data preamble and will remain HIGH until after the ancillary data checksum. When operating in HD mode, (SD/HD = LOW), the YANC signal will be HIGH whenever ancillary data is detected in the luma data stream, and the CANC signal will be HIGH whenever ancillary data is detected in the chroma data stream. The operation of the YANC and CANC signals is shown in Figure 10. PCLK LUMA DATA OUT 000 3FF 3FF DID DBN CHROMA DATA OUT 000 3FF 3FF DID DBN DC CSUM BLANK ANC DATA ANC DATA ANC DATA DC ANC DATA BLANK CSUM YANC CANC ANC DATA DETECTION - HD 20BIT OUTPUT MODE PCLK MULTIPLEXED Y/Cr/Cb DATA OUT 000 000 3FF 3FF 3FF 3FF YDID CANC YCSUM CCSUM YANC CANC ANC DATA DETECTION - HD 10BIT OUTPUT MODE PCLK BLANK LUMA DATA OUT CHROMA DATA OUT 000 3FF DID 3FF DBN DC ANC DATA ANC DATA ANC DATA CSUM ANC DATA ANC DATA ANC DATA ANC DATA BLANK YANC CANC ANC DATA DETECTION - SD 20BIT OUTPUT MODE PCLK MULTIPLEXED Y/Cr/Cb DATA OUT 000 3FF 3FF DID DBN DC ANC DATA ANC DATA CSUM YANC/CANC ANC DATA DETECTION - SD 10BIT OUTPUT MODE Figure 10 YANC and CANC Output Signal Timing 33 of 54 GENNUM CORPORATION 22048 - 1 GS1561 The GS1561 will detect all types of ancillary data in either the vertical or horizontal blanking spaces and indicate via the status signal output pins YANC and CANC the position of ancillary data in the output data stream. These status signal outputs are synchronous with PCLK and can be used as clock enables to external logic, or as write enables to an external FIFO or other memory device. 3.9.2.1 Programmable Ancillary Data Detection Although the GS1561 will detect all types of ancillary data by default, it also allows the host interface to specifically program up to five different ancillary data types for detection. This is accomplished via the ANC_TYPE register (Table 4). If any DID or SDID value is set to zero in the ANC_TYPE register, no comparison or match will be made for that value. For example, if the DID is programmed but the SDID is set to zero, the device will detect all ancillary data types matching the DID value, regardless of the SDID. Where one or more, but less than five, DID and/or SDID values have been programmed, then only those matching ancillary data types will be detected and indicated. NOTE 1: The GS1561 will always detect EDH ancillary data packets for EDH error detection purposes, regardless of which DID/SDID values have been programmed for ancillary data indication, (see Section 3.9.5.2). NOTE 2: See SMPTE 291M for a definition of ancillary data terms. TABLE 4 HOST INTERFACE DESCRIPTION FOR PROGRAMMABLE ANCILLARY DATA TYPE REGISTERS REGISTER NAME ANC_TYPE1 Address: 005h BIT NAME DESCRIPTION R/W DEFAULT 15-8 ANC_TYPE1[15:8] Used to program the DID for ancillary data detection at the YANC and CANC output R/W 0 7-0 ANC_TYPE1[7:0] Used to program the SDID for ancillary data detection at the YANC and CANC output. R/W 0 Should be set to zero if no SDID is present in the ancillary data product to be detected. ANC_TYPE2 Address: 006h 15-8 ANC_TYPE2[15:8] Used to program the DID for ancillary data detection at the YANC and CANC output R/W 0 7-0 ANC_TYPE2[7:0] Used to program the SDID for ancillary data detection at the YANC and CANC output. R/W 0 Should be set to zero if no SDID is present in the ancillary data product to be detected. ANC_TYPE3 Address: 007h 15-8 ANC_TYPE3[15:8] Used to program the DID for ancillary data detection at the YANC and CANC output R/W 0 7-0 ANC_TYPE3[7:0] Used to program the SDID for ancillary data detection at the YANC and CANC output. R/W 0 Should be set to zero if no SDID is present in the ancillary data product to be detected. ANC_TYPE4 Address: 008h 15-8 ANC_TYPE4[15:8] Used to program the DID for ancillary data detection at the YANC and CANC output R/W 0 7-0 ANC_TYPE4[7:0] Used to program the SDID for ancillary data detection at the YANC and CANC output. R/W 0 Should be set to zero if no SDID is present in the ancillary data product to be detected. ANC_TYPE5 Address: 009h 15-8 ANC_TYPE5[15:8] Used to program the DID for ancillary data detection at the YANC and CANC output R/W 0 7-0 ANC_TYPE5[7:0] Used to program the SDID for ancillary data detection at the YANC and CANC output. R/W 0 Should be set to zero if no SDID is present in the ancillary data product to be detected. 34 of 54 GENNUM CORPORATION 22048 - 1 GS1561 For each data type to be detected, the host interface must program the DID and/or SDID of the ancillary data type of interest. The GS1561 will compare the received DID and/or SDID with the programmed values and assert YANC and CANC only if an exact match is found. In the case where all five DID and SDID values are set to zero, the GS1561 will detect all ancillary data types. This is the default setting after device reset. 3.9.3 SMPTE 352M Payload Identifier The GS1561 can receive and detect the presence of the SMPTE 352M payload identifier ancillary data packet. This four word payload identifier packet may be used to indicate the transport mechanism, frame rate and line scanning / sampling structure. These registers will be cleared to zero, indicating an undefined format, if the device loses lock to the input data stream (LOCKED = LOW), or if the SMPTE_BYPASS pin is asserted LOW. This is also the default setting after device reset. The SMPTE 352M packet should be received once per field for interlaced systems and once per frame for progressive systems. If the packet is not received for two complete video frames, the VIDEO_FORMAT_OUT registers will be cleared to zero. TABLE 5 HOST INTERFACE DESCRIPTION FOR SMPTE 352M PAYLOAD IDENTIFIER REGISTERS REGISTER NAME BIT VIDEO_FORMAT_OUT_B Address: 013h 15-8 SMPTE352M Byte 4 7-0 VIDEO_FORMAT_OUT_A Address: 012h NAME DESCRIPTION R/W DEFAULT Data will be available in this register when Video Payload Indentification Packets are detected in the data stream. R 0 SMPTE352M Byte 3 Data will be available in this register when Video Payload Indentification Packets are detected in the data stream. R 0 15-8 SMPTE352M Byte 2 Data will be available in this register when Video Payload Indentification Packets are detected in the data stream. R 0 7-0 SMPTE352M Byte 1 Data will be available in this register when Video Payload Indentification Packets are detected in the data stream. R 0 3.9.4 Automatic Video Standard and Data Format Detection 3.9.4.1 Video Standard Indication The GS1561 can independently detect the input video standard and data format by using the timing parameters extracted from the received TRS ID words. This information is presented to the host interface via the VIDEO_STANDARD register (Table 6). The video standard codes reported in the VD_STD[4:0] bits of the VIDEO_STANDARD register represent the SMPTE standards as shown in Table 8. Total samples per line, active samples per line, total lines per field/frame and active lines per field/frame are also calculated and presented to the host interface via the RASTER_STRUCTURE registers (Table 7). These line and sample count registers are updated once per frame at the end of line 12. This is in addition to the information contained in the VIDEO_STANDARD register. After device reset, the four RASTER_STRUCTURE registers default to zero. In addition to the 5-bit video standard code word, the VIDEO_STANDARD register also contains two status bits. The STD_LOCK bit will be set HIGH whenever the flywheel has achieved full synchronization. The INT_PROG bit will be set HIGH if the detected video standard is progressive and LOW if the detected video standard is interlaced. The VD_STD[4:0], STD_LOCK and INT_PROG bits of the VIDEO_STANDARD register will default to zero after device reset. These bits will also default to zero if the device loses lock to the input data stream, (LOCKED = LOW), or if the SMPTE_BYPASS pin is asserted LOW. 35 of 54 GENNUM CORPORATION 22048 - 1 GS1561 Upon reception of this packet, the device will extract the four words describing the video format being transported and make this information available to the host interface via the four VIDEO_FORMAT_OUT registers (Table 5). The VIDEO_FORMAT_OUT registers will only be updated if the received checksum is the same as the locally calculated checksum. TABLE 6 HOST INTERFACE DESCRIPTION FOR VIDEO STANDARD AND DATA FORMAT REGISTER REGISTER NAME BIT VIDEO_STANDARD Address: 004h 15 14-10 NAME DESCRIPTION R/W DEFAULT Not Used Video Data Standard (see Table 11) R 0 9 INT_PROG Interlace/Progressive: Set HIGH if detected video standard is PROGRESSIVE and is set LOW if it is INTERLACED. R 0 8 STD_LOCK Standard Lock: Set HIGH when flywheel has achieved full synchronization. R 0 7-4 CDATA_FORMAT[3:0] Chroma Data Format. Set HIGH in SD mode. Indicates chroma data format in HD mode (see Table 9). R Fh 3-0 YDATA_FORMAT[3:0] Luma Data Format. Indicates Luma data format in HD mode and data format in SD mode (see Table 9). R Fh R/W DEFAULT R 0 R 0 R 0 R 0 TABLE 7 HOST INTERFACE DESCRIPTION FOR RASTER STRUCTURE REGISTERS REGISTER NAME BIT RASTER_STRUCTURE1 Address: 014h 15-12 11-0 RASTER_STRUCTURE2 Address: 015h Not Used RASTER_STRUCTURE1[11:0] RASTER_STRUCTURE2[11:0] Words Per Total Line. Not Used RASTER_STRUCTURE3[10:0] 15-11 10-0 Words Per Active Line. Not Used 15-11 10-0 RASTER_STRUCTURE4 Address: 017h DESCRIPTION 15-12 11-0 RASTER_STRUCTURE3 Address: 016h NAME Total Lines Per Frame. Not Used RASTER_STRUCTURE4[10:0] Active Lines Per Field. 36 of 54 GENNUM CORPORATION 22048 - 1 GS1561 VD_STD[4:0] TABLE 8 SUPPORTED VIDEO STANDARDS VD_STD[4:0] SMPTE STANDARD LENGTH OF ACTIVE VIDEO TOTAL SAMPLES SMPTE352M LINES 00h 296M (HD) 1280x720/60 (1:1) 358 1280 1650 13 01h 1280x720/60 (1:1) - EM 198 1440 1650 13 02h 1280x720/30 (1:1) 2008 1280 3300 13 03h 1280x720/30 (1:1) - EM 408 2880 3300 13 04h 1280x720/50 (1:1) 688 1280 1980 13 05h 1280x720/50 (1:1) - EM 240 1728 1980 13 06h 1280x720/25 (1:1) 2668 1280 3960 13 07h 1280x720/25 (1:1) - EM 492 3456 3960 13 08h 1280x720/24 (1:1) 2833 1280 4125 13 09h 1280x720/24 (1:1) - EM 513 3600 4125 13 1920x1080/60 (2:1) or 1920x1080/30 (PsF) 268 1920 2200 10, 572 0Bh 1920x1080/30 (1:1) 268 1920 2200 18 0Ch 1920x1080/50 (2:1) or 708 1920 2640 10, 572 0Ah 274M (HD) GS1561 LENGTH OF HANC VIDEO FORMAT 1920x1080/25 (PsF) 0Dh 1920x1080/25 (1:1) 708 1920 2640 18 0Eh 1920x1080/25 (1:1) - EM 324 2304 2640 18 0Fh 1920x1080/25 (PsF) - EM 324 2304 2640 10, 572 10h 1920x1080/24 (1:1) 818 1920 2750 18 11h 1920x1080/24 (PsF) 818 1920 2750 10, 572 12h 1920x1080/24 (1:1) - EM 338 2400 2750 18 13h 1920x1080/24 (PsF) - EM 338 2400 2750 10, 572 14h 295M (HD) 1920x1080/50 (2:1) 444 1920 2376 10, 572 15h 260M (HD) 1920x1035/60 (2:1) 268 1920 2200 10, 572 16h 125M (SD) 1440x487/60 (2:1) 268 1440 1716 3, 276 268 1440 1716 3, 276 (Or dual link progressive) 17h 1440x507/60 (2:1) 19h 525-line 487 generic - - 1716 3, 276 1Bh 525-line 507 generic - - 1716 3, 276 280 1440 1728 9, 322 625-line generic (EM) - - 1728 9, 322 18h ITU-R BT.656 (SD) 1440x576/50 (2:1) (Or dual link progressive) 1Ah 1Dh Unknown HD - - - - - 1Eh Unknown SD - - - - - 1Ch, 1Fh Reserved 37 of 54 GENNUM CORPORATION 22048 - 1 The YDATA_FORMAT[3:0] and CDATA_FORMAT[3:0] bits of the VIDEO_STANDARD register will default to 'Fh' after device reset. These bits will also default to 'Fh' if the device loses lock to the input data stream, (LOCKED = LOW), or if Data-Through mode is enabled, (see Section 3.8). 3.9.4.2 Data Format Indication The luma and chroma data format codes will be reported in the YDATA_FORMAT[3:0] and CDATA_FORMAT[3:0] bits of the VIDEO_STANDARD register when the device is operating in HD mode, (SD/HD = LOW). GS1561 In SD or DVB-ASI mode, the data format code will only appear in the YDATA_FORMAT[3:0] bits. The CDATA_FORMAT[3:0] bits will be set to 'Fh'. These codes represent the data formats listed in Table 9. TABLE 9 DATA FORMAT CODES YDATA_FORMAT[3:0] OR CDATA_FORMAT[3:0] DATA FORMAT APPLICABLE STANDARDS 0h SDTI DVCPRO - No ECC SMPTE 321M 1h SDTI DVCPRO - ECC SMPTE 321M 2h SDTI DVCAM SMPTE 322M 3h SDTI CP SMPTE 326M 4h Other SDTI fixed block size - 5h Other SDTI variable block size - 6h SDI - 7h DVB-ASI - 8h TDM data SMPTE 346M 9h ~ Eh Fh Reserved Unknown data format 3.9.5 Error Detection and Indication The GS1561 contains a number of error detection functions to enhance operation of the device when operating in SMPTE mode. These functions, (except lock error detection), will not be available in either DVB-ASI or DataThrough operating modes (see Section 3.7 and Section 3.8). The device maintains an error status register at address 000h called ERROR_STATUS (Table 10). Each type of error has a specific flag or bit in this register which is set HIGH whenever that error is detected. The ERROR_STATUS register will be cleared at the start of each video field or when read by the host interface, which ever condition occurs first. All bits of the ERROR_STATUS register except the LOCK_ERR bit will also be cleared if a change in the video standard is detected, or under the following conditions: • RESET_TRST is held LOW • LOCKED is asserted LOW • SMPTE_BYPASS is asserted LOW in slave mode - In addition to the ERROR_STATUS register, a register called ERROR_MASK (Table 11) is included which allows the host interface to select the specific error conditions that will be detected. There is one bit in the ERROR_MASK register for each type of error represented in the ERROR_STATUS register. The bits of the ERROR_MASK register will default to '0' after device reset, thus enabling all error types to be detected. The host interface may disable individual error detection by setting the corresponding bit HIGH in this register. Error conditions are also indicated to the application layer via the status signal pin DATA_ERROR. This output pin is a logical 'OR'ing of each error status flag stored in the ERROR_STATUS register. DATA_ERROR is normally HIGH, but will be set LOW by the device when an error condition that has not been masked is detected. 38 of 54 GENNUM CORPORATION 22048 - 1 TABLE 10 HOST INTERFACE DESCRIPTION FOR ERROR STATUS REGISTER REGISTER NAME ERROR_STATUS Address: 001h BIT NAME DESCRIPTION 15-11 R/W DEFAULT Not Used VD_STD_ERR Video Standard Error Flag. Set HIGH when a mismatch between the received SMPTE352M packets and the calculated video standard occurs. R 0 9 FF_CRC_ERR Full Field CRC Error Flag. Set HIGH in SD mode when a Full Field (FF) CRC mismatch has been detected in Field 1 or 2. R 0 8 AP_CRC_ERR Active Picture CRC Error Flag. Set HIGH in SD mode when an Active Picture (AP) CRC mismatch has been detected in Field 1 or 2. R 0 7 LOCK_ERR Lock Error Flag. Set HIGH whenever the LOCK pin is LOW (indicating the device not correctly locked). R 0 6 CCS_ERR Chroma Checksum Error Flag. Set HIGH when ancillary data packet checksum error has been detected in the C channel. R 0 5 YCS_ERR Luma Checksum Error Flag. Set HIGH when ancillary data packet checksum error has been detected in the Y channel. R 0 4 CCRC_ERR Chroma CRC Error Flag. Set HIGH in HD mode when a mismatch occurs between the calculated and received CRC values in the C channel. R 0 3 YCRC_ERR Luma CRC Error Flag. Set HIGH in HD mode when a mismatch occurs between the calculated and received CRC values in the Y channel. R 0 2 LNUM_ERR Line Number Error Flag. Set HIGH in HD mode when a mismatch occurs between the calculated and received line numbers. R 0 1 SAV_ERR Start of Active Video Error Flag. Set HIGH when TRS errors are detected in either 8-bit or 10-bit TRS words. In HD mode only Y channel TRS codes will be checked. FW_EN/DIS must be set HIGH. R 0 0 EAV_ERR End of Active Video Error Flag. Set HIGH when TRS errors are detected in either 8-bit or 10-bit TRS words. In HD mode only Y channel TRS codes will be checked. FW_EN/DIS must be set HIGH. R 0 39 of 54 GENNUM CORPORATION 22048 - 1 GS1561 10 TABLE 11 HOST INTERFACE DESCRIPTION FOR ERROR MASK REGISTER REGISTER NAME BIT ERROR_MASK Address: 026h 15-11 NAME DESCRIPTION R/W DEFAULT Not Used VD_STD_ERR_MASK Video Standard Error Flag Mask bit. R/W 0 9 FF_CRC_ERR_MASK Full Field CRC Error Flag Mask bit. R/W 0 8 AP_CRC_ERR_MASK Active Picture CRC Error Flag Mask bit. R/W 0 7 LOCK_ERR_MASK Lock Error Flag Mask bit. R/W 0 6 CCS_ERR_MASK Chroma Checksum Error Flag Mask bit. R/W 0 5 YCS_ERR_MASK Luma Checksum Error Flag Mask bit. R/W 0 4 CCRC_ERR_MASK Chroma CRC Error Flag Mask bit. R/W 0 3 YCRC_ERR_MASK Luma CRC Error Flag Mask bit. R/W 0 2 LNUM_ERR_MASK Line Number Error Flag Mask bit. R/W 0 1 SAV_ERR_MASK Start of Active Video Error Flag Mask bit. R/W 0 0 EAV_ERR_MASK End of Active Video Error Flag Mask bit. R/W 0 3.9.5.1 Video Standard Error Detection If a mismatch between the received SMPTE 352M packets and the calculated video standard occurs, the GS1561 will indicate a video standard error by setting the VD_STD_ERR bit of the ERROR_STATUS register HIGH. 3.9.5.2 EDH CRC Error Detection The GS1561 calculates Full Field (FF) and Active Picture (AP) CRC words according to SMPTE RP165 in support of Error Detection and Handling packets in SD signals. These calculated CRC values are compared with the received CRC values. If a mismatch is detected, the error is flagged in the AP_CRC_ERR and/or FF_CRC_ERR bits of the ERROR_STATUS register. These two flags are shared between fields 1 and 2. The AP_CRC_ERR bit will be set HIGH when an active picture CRC mismatch has been detected in field 1 or 2. The FF_CRC_ERR bit will be set HIGH when a full field CRC mismatch has been detected in field 1 or 2. EDH CRC errors will only be indicated when the device is operating in SD mode (SD/HD = HIGH), and when the device has correctly received EDH packets. If the received video format does not correspond to 525 or 625 digital component video standards as determined by the flywheel pixel and line counters, then one of two schemes for determining the EDH calculation ranges will be employed: 1. Ranges will be based on the line and pixel ranges programmed by the host interface; or 2. In the absence of user-programmed calculation ranges, ranges will be determined from the received TRS timing information. The registers available to the host interface for programming EDH calculation ranges include active picture and full field line start and end positions for both fields. Table 12 shows the relevant registers, which default to '0' after device reset. If any or all of these register values are zero, then the EDH CRC calculation ranges will be determined from the flywheel generated H signal. The first active and full field pixel will always be the first pixel after the SAV TRS code word. The last active and full field pixel will always be the last pixel before the start of the EAV TRS code words. SMPTE RP165 specifies the calculation ranges and scope of EDH data for standard 525 and 625 component digital interfaces. The GS1561 will utilize these standard ranges by default. 40 of 54 GENNUM CORPORATION 22048 - 1 GS1561 10 TABLE 12 HOST INTERFACE DESCRIPTION FOR EDH CALCULATION RANGE REGISTERS REGISTER NAME BIT AP_LINE_START_F0 Address: 018h 15-10 9-0 AP_LINE_END_F1 Address: 021h FF_LINE_START_F1 Address: 024h Field 0 Active Picture end line data used to set EDH calculation range outside of SMPTE RP 165 values. AP_LINE_START_F1[9:0] Field 1 Active Picture end line data used to set EDH calculation range outside of SMPTE RP 165 values. 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 Not Used AP_LINE_END_F1[9:0] Field 1 Active Picture end line data used to set EDH calculation range outside of SMPTE RP 165 values. Not Used FF_LINE_START_F0[9:0] Field 0 Full Field start line data used to set EDH calculation range outside of SMPTE RP 165 values. Not Used FF_LINE_END_F0[9:0] Field 0 Full Field start line data used to set EDH calculation range outside of SMPTE RP 165 values. Not Used FF_LINE_START_F1[9:0] Field 1 Full Field start line data used to set EDH calculation range outside of SMPTE RP 165 values. 15-10 9-0 R/W Not Used 15-10 9-0 FF_LINE_END_F1 Address: 025h AP_LINE_END_F0[9:0] 15-10 9-0 DEFAULT Not Used 15-10 9-0 FF_LINE_END_F0 Address: 023h Field 0 Active Picture start line data used to set EDH calculation range outside of SMPTE RP 165 values. 15-10 9-0 FF_LINE_START_F0 Address: 022h AP_LINE_START_F0[9:0] 15-10 9-0 R/W Not Used 15-10 9-0 AP_LINE_START_F1 Address: 020h DESCRIPTION Not Used FF_LINE_END_F1[9:0] Field 1 Full Field end line data used to set EDH calculation range outside of SMPTE RP 165 values. 41 of 54 GENNUM CORPORATION 22048 - 1 GS1561 AP_LINE_END_F0 Address: 019h NAME 3.9.5.3 Lock Error Detection 3.9.5.6 HD Line Number Error Detection The LOCKED pin of the GS1561 indicates the lock status of the reclocker and lock detect blocks of the device. Only when the LOCKED pin is asserted HIGH has the device correctly locked to the received data stream, (see Section 3.5.1). When operating in HD mode, the GS1561 will calculate line numbers based on the timing generated by the internal flywheel. These calculated line numbers are compared with the received line numbers for the Y channel data and any mismatch is flagged in the LNUM_ERR bit of the ERROR_STATUS. Line number errors will also be generated if line number values are not received. 3.9.5.4 Ancillary Data Checksum Error Detection 3.9.5.7 TRS Error Detection The GS1561 will calculate checksums for all received ancillary data and compare the calculated values to the received checksum words. If a mismatch is detected, the error is flagged in the CCS_ERR and/or YCS_ERR bits of the ERROR_STATUS register. TRS errors flags are generated by the GS1561 when: When operating in HD mode, (SD/HD = LOW), the device will make comparisons on both the Y and C channels separately. If an error condition in the Y channel is detected, the YCS_ERR bit will be set HIGH. If an error condition in the C channel is detected, the CCS_ERR bit will be set HIGH. Both 8-bit and 10-bit SAV and EAV TRS words are checked for timing and data integrity errors. These are flagged via the SAV_ERR and/or EAV_ERR bits of the ERROR_STATUS register. When operating in SD mode, (SD/HD = HIGH), only the YCS_ERR bit will be set HIGH when checksum errors are detected. Although the GS1561 will calculate and compare checksum values for all ancillary data types by default, the host interface may program the device to check only certain types of ancillary data checksums. 1. The received TRS timing does not correspond to the internal flywheel timing; or 2. The received TRS hamming codes are incorrect. Timing-based TRS errors will only be generated if the FW_EN/DIS pin is set HIGH. NOTE: In HD mode, (SD/HD = LOW), only the Y channel TRS codes will be checked for errors. 3.9.6 Error Correction and Insertion 3.9.5.5 Line Based CRC Error Detection In addition to signal error detection and indication, the GS1561 may also correct certain types of errors by inserting corrected code words, checksums and CRC values into the data stream. These features are only available in SMPTE mode and IOPROC_EN/DIS must be set HIGH. Individual correction features may be enabled or disabled via the IOPROC_DISABLE register (Table 13). The GS1561 will calculate line based CRC words for HD video signals for both the Y and C data channels. These calculated CRC values are compared with the received CRC values and any mismatch is flagged in the YCRC_ERR and/or CCRC_ERR bits of the ERROR_STATUS register. All of the IOPROC_DISABLE register bits default to '0' after device reset, enabling all of the processing features. To disable any individual error correction feature, the host interface must set the corresponding bit HIGH in the IOPROC_DISABLE register. This is accomplished via the ANC_TYPE register as described in Section 3.9.2.1. Line based CRC error flags will only be generated when the device is operating in HD mode, (SD/HD = LOW). If a CRC error is detected in the Y channel, the YCRC_ERR bit in the error status register will be set HIGH. If a CRC error is detected in the C channel, the CCRC_ERR bit in the error status register is set HIGH. Y and C CRC errors will also be generated if CRC values are not received. 42 of 54 GENNUM CORPORATION 22048 - 1 GS1561 The GS1561 will also indicate lock error to the host interface when LOCKED = LOW by setting the LOCK_ERR bit in the ERROR_STATUS register HIGH. TABLE 13 HOST INTERFACE DESCRIPTION FOR INTERNAL PROCESSING DISABLE REGISTER REGISTER NAME BIT IOPROC_DISABLE Address: 000h 15-9 8 BIT NAME DESCRIPTION R/W DEFAULT Not Used H_CONFIG 0 7 Not Used 6 Not Used GS1561 Horizontal sync timing output configuration. Set LOW for active line blanking timing. Set HIGH for H blanking based on the H bit setting of the TRS words. See Figure 6. 5 ILLEGAL_REMAP Illegal Code re-mapping. Correction of illegal code words within the active picture. Set HIGH to disable. The IOPROC_EN/DIS pin must be set HIGH. R/W 0 4 EDH_CRC_INS Error Detection & Handling (EDH) Cyclical Redundancy Check (CRC) error correction insertion. In SD mode set HIGH to disable. The IOPROC_EN/DIS pin must be set HIGH. R/W 0 3 ANC_CSUM_INS Ancillary Data Check-sum insertion. Set HIGH to disable. The IOPROC_EN/DIS pin must be set HIGH. R/W 0 2 CRC_INS Y and C line based CRC insertion. In HD mode, inserts line based CRC words in both the Y and C channels. Set HIGH to disable. The IOPROC_EN/DIS pin must be set HIGH. R/W 0 1 LNUM_INS Y and C line number insertion. In HD mode set HIGH to disable. The IOPROC_EN/DIS pin must be set HIGH. R/W 0 0 TRS_INS Timing Reference Signal Insertion. Set HIGH to disable. The IOPROC_EN/DIS pin must be set HIGH. R/W 0 3.9.6.1 Illegal Code Remapping 3.9.6.3 Ancillary Data Checksum Error Correction If the ILLEGAL_REMAP bit of the IOPROC_DISABLE register is set LOW, the GS1561 will remap all codes within the active picture between the values of 3FCh and 3FFh to 3FBh. All codes within the active picture area between the values of 000h and 003h will be re-mapped to 004h. When ancillary data checksum error correction and insertion is enabled, the GS1561 will generate and insert ancillary data checksums for all ancillary data words by default. Where user specified ancillary data has been programmed into the device (see Section 3.9.2.1), only the checksums for the programmed ancillary data types will be corrected. In addition, 8-bit TRS and ancillary data preambles will be remapped to 10-bit values if this feature is enabled. This feature is enabled when the ANC_CSUM_INS bit of the IOPROC_DISABLE register is set LOW. 3.9.6.2 EDH CRC Error Correction The GS1561 will generate and insert active picture and full field CRC words into the EDH data packets received by the device. This feature is only available in SD mode and is enabled by setting the EDH_CRC_INS bit of the IOPROC_DISABLE register LOW. EDH CRC calculation ranges are described in Section 3.9.5.2. 3.9.6.4 Line Based CRC Correction The GS1561 will generate and insert line based CRC words into both the Y and C channels of the data stream. This feature is only available in HD mode and is enabled by setting the CRC_INS bit of the IOPROC_DISABLE register LOW. NOTE: Although the GS1561 will modify and insert EDH CRC words and EDH packet checksums, EDH error flags will not be updated by the device. 43 of 54 GENNUM CORPORATION 22048 - 1 3.9.6.5 HD Line Number Error Correction 3.9.7 EDH Flag Detection In HD mode, the GS1561 will calculate and insert line numbers into the Y and C channels of the output data stream. As described in Section 3.9.5.2, the GS1561 can detect EDH packets in the received data stream. The EDH flags for ancillary data, active picture and full field areas are extracted from the detected EDH packets and placed in the EDH_FLAG register of the device (Table 14). Line number generation is in accordance with the relevant HD video standard as determined by the device, (see Section 3.9.4). 3.9.6.6 TRS Error Correction When TRS error correction and insertion is enabled, the GS1561 will generate and insert 10-bit TRS code words as required. TRS word generation will be performed in accordance with the timing parameters generated by the flywheel to provide an element of noise immunity. As a result, TRS correction will only take place if the flywheel is enabled, (FW_EN/DIS = HIGH). In addition, the TRS_INS bit of the IOPROC_DISABLE register must be set LOW. The EDH_FLAG register may be read by the host interface at any time during the received frame except on the lines defined in SMPTE RP165 where these flags are updated. NOTE 1: By programming the ANC_TYPE1 register (005h) with the DID word for EDH ancillary packets, the application layer may detect a high-to-low transition on either the YANC or CANC output pin of the GS1561 to determine (a) when EDH packets have been received by the device, and (b) when the EDH_FLAG register can be read by the host interface. See Section 3.9.2 for more information on ancillary data detection and indication. NOTE 2: The bits of the EDH_FLAG register are sticky and will not be cleared by a read operation. If the GS1561 is decoding a source containing EDH packets, where EDH flags may be set, and the source is replaced by one without EDH packets, the EDH_FLAG register will not be cleared. NOTE 3: The GS1560A will detect EDH flags, but will not update the flags if an EDH CRC error is detected. Gennum's GS1532 Multi-Rate Serializer allws the host to individually set EDH flags. 44 of 54 GENNUM CORPORATION 22048 - 1 GS1561 This feature is enabled when SD/HD = LOW, and the LNUM_INS bit of the IOPROC_DISABLE register is set LOW. One set of flags is provided for both fields 1 and 2. Field 1 flag data will be overwritten by field 2 flag data. TABLE 14 HOST INTERFACE DESCRIPTION FOR EDH FLAG REGISTER REGISTER NAME BIT EDH_FLAG Address: 003h 15 NAME DESCRIPTION R/W DEFAULT Not Used ANC-UES out Ancillary Unknown Error Status Flag. R 0 13 ANC-IDA out Ancillary Internal device error Detected Already Flag. R 0 12 ANC-IDH out Ancillary Internal device error Detected Here Flag. R 0 11 ANC-EDA out Ancillary Error Detected Already Flag. R 0 10 ANC-EDH out Ancillary Error Detected Here Flag. R 0 9 FF-UES out Full Field Unknown Error Status Flag. R 0 8 FF-IDA out Full Field Internal device error Detected Already Flag. R 0 7 FF-IDH out Full Field Internal device error Detected Here Flag. R 0 6 FF-EDA out Full Field Error Detected Already Flag. R 0 5 FF-EDH out Full Field Error Detected Here Flag. R 0 4 AP-UES out Active Picture Unknown Error Status Flag. R 0 3 AP-IDA out Active Picture Internal device error Detected Already Flag. R 0 2 AP-IDH out Active Picture Internal device error Detected Here Flag. R 0 1 AP-EDA out Active Picture Error Detected Already Flag. R 0 0 AP-EDH out Active Picture Error Detected Here Flag. R 0 45 of 54 GENNUM CORPORATION 22048 - 1 GS1561 14 3.10 PARALLEL DATA OUTPUTS SD MODE Data outputs leave the device on the rising edge of PCLK as shown in Figure 11 and Figure 12. PCLK Likewise, the output data format is defined by the setting of the external SD/HD, SMPTE_BYPASS and DVB_ASI pins. Recall that in slave mode, these pins are set by the application layer as inputs to the device. In master mode, however, the GS1561 sets these pins as output status signals. DOUT[19:0] DATA GS1561 The data may be scrambled or unscrambled, framed or unframed, and may be presented in 10-bit or 20-bit format. The output data bus width is controlled independently from the internal data bus width by the 20bit/10bit input pin. Control signal output tOH tOD Figure 12 SD PCLK to Data Timing 3.10.2 Parallel Output in SMPTE Mode 3.10.1 Parallel Data Bus Buffers The parallel data outputs of the GS1561 are driven by highimpedance buffers which support both LVTTL and LVCMOS levels. These buffers use a separate power supply of +3.3V DC supplied via the IO_VDD and IO_GND pins. All output buffers, including the PCLK output, may be driven to a high-impedance state if the RESET_TRST signal is asserted LOW. Note that the timing characteristics of the parallel data output buffers are optimized for 10-bit HD operation. As shown in Figure 11, the output data hold time for HD is 1.5ns. Due to this optimization, however, the output data hold time for SD data is so small that the rising edge of the PCLK is nearly incident with the data transition. To improve output hold time at SD rates, the PCLK output is inverted is SD mode, (SD/HD = HIGH). This is shown in Figure 12. When the device is operating in SMPTE mode, (see Section 3.6), both SD and HD data may be presented to the output bus in either multiplexed or demultiplexed form depending on the setting of the 20bit/10bit input pin. In 20-bit mode, (20bit/10bit = HIGH), the output data will be word aligned, demultiplexed luma and chroma data. Luma words will always appear on DOUT[19:10] while chroma words will occupy DOUT[9:0]. In 10-bit mode, (20bit/10bit = LOW), the output data will be word aligned, multiplexed luma and chroma data. The data will be presented on DOUT[19:10], and the device will force DOUT[9:0] LOW. 3.10.3 Parallel Output in DVB-ASI Mode When operating in DVB-ASI mode, (see Section 3.7), the GS1561 automatically configures the output port for 10-bit operation regardless of the setting of the 20bit/10bit pin. The extracted 8-bit data words will be presented on DOUT[17:10] such that DOUT17 = HOUT is the most significant bit of the decoded transport stream data and DOUT10 = AOUT is the least significant bit. HD MODE PCLK DOUT[19:0] In addition, DOUT19 and DOUT18 will be configured as the DVB-ASI status signals SYNCOUT and WORDERR respectively. See Section 3.7.2 for a description of these DVB-ASI specific output signals. DATA DOUT[9:0] will be forced LOW when the GS1561 is operating in DVB-ASI mode. Control signal output tOH tOD Figure 11 HD PCLK to Data Timing 3.10.4 Parallel Output in Data-Through Mode When operating in Data-Through mode, (see Section 3.8), the GS1561 presents data to the output data bus without performing any decoding, descrambling or word-alignment. As described in Section 3.8, the data bus outputs will be forced to logic LOW if the device is set to operate in master mode but cannot identify SMPTE TRS ID or DVB-ASI sync words in the input data stream. 46 of 54 GENNUM CORPORATION 22048 - 1 3.10.5 Parallel Output Clock (PCLK) The frequency of the PCLK output signal of the GS1561 is determined by the output data format. Table 15 below lists the possible output signal formats and their corresponding parallel clock rates. Note that DVB-ASI output will always be in 10-bit format, regardless of the setting of the 20bit/10bit pin. GS1561 TABLE 15 PARALLEL DATA OUTPUT FORMAT STATUS / CONTROL SIGNALS* OUTPUT DATA FORMAT 20bit/10bit SD/HD SMPTE_BYPASS DVB_ASI DOUT [19:10] DOUT [9:0] PCLK LOW LUMA CHROMA 13.5MHz LUMA / CHROMA FORCED 27MHz LUMA CHROMA SMPTE MODE 20bit DEMULTIPLEXED SD HIGH HIGH 10bit MULTIPLEXED SD LOW HIGH 20bit DEMULTIPLEXED HD HIGH HIGH LOW LOW 74.25 or 74.25/1.001MHz 10bit MULTIPLEXED HD LOW LOW LUMA / CHROMA FORCED 148.5 or LOW 148.5/1.001MHz DVB-ASI FORCED 27MHz DATA LOW DATA DATA 13.5MHz DATA FORCED 27MHz DVB-ASI MODE 10bit DVB-ASI HIGH HIGH LOW HIGH LOW DATA-THROUGH MODE** 20bit DEMULTIPLEXED SD HIGH HIGH 10bit MULTIPLEXED SD LOW HIGH LOW LOW LOW 20bit DEMULTIPLEXED HD HIGH LOW DATA DATA 74.25 or 74.25/1.001MHz 10bit MULTIPLEXED HD LOW LOW DATA FORCED 148.5 or LOW 148.5/1.001MHz *NOTE1: Recall that SD/HD, SMPTE_BYPASS, and DVB_ASI are input control pins in slave mode to be set by the application layer, but are output status signals set by the device in master mode. **NOTE 2: Data-Through mode is only available in slave mode (see Section 3.8). 47 of 54 GENNUM CORPORATION 22048 - 1 3.11 GSPI HOST INTERFACE When operating in GSPI mode, the SCLK, SDIN, and CS signals are provided by the host interface. The SDOUT pin is a high-impedance output allowing multiple devices to be connected in parallel and selected via the CS input. The interface is illustrated in Figure 13. The GSPI, or Gennum Serial Peripheral Interface, is a 4-wire interface provided to allow the host to enable additional features of the device and /or to provide additional status information through configuration registers in the GS1561. Because these pins are shared with the JTAG interface port, an additional control signal pin JTAG/HOST is provided. When JTAG/HOST is LOW, the GSPI interface is enabled. Application Host GS1561 SCLK SCLK SDOUT SDIN CS CS SDIN SDOUT Figure 13 Gennum Serial Peripheral Interface (GSPI) Command words are clocked into the GS1561 on the rising edge of the serial clock SCLK. The appropriate chip select, CS, signal must be asserted low a minimum of 1.5ns (t0 in Figure 16 and Figure 17) before the first clock edge to ensure proper operation. 3.11.1 Command Word Description The command word is transmitted MSB first and contains a read/write bit, nine reserved bits and a 6-bit register address. Set R/W = '1' to read and R/W = '0' to write from the GSPI. Each command word must be followed by only one data word to ensure proper operation. MSB LSB R/W RSV RSV RSV RSV RSV RSV RSV RSV RSV A5 A4 A3 A2 A1 A0 D5 D4 D3 D2 D1 D0 Figure 14 Command Word MSB D15 LSB D14 D13 D12 D11 D10 D9 D8 D7 D6 Figure 15 Data Word 48 of 54 GENNUM CORPORATION 22048 - 1 GS1561 All read or write access to the GS1561 is initiated and terminated by the host processor. Each access always begins with a 16-bit command word on SDIN indicating the address of the register of interest. This is followed by a 16bit data word on SDIN in write mode, or a 16-bit data word on SDOUT in read mode. The GSPI comprises a serial data input signal SDIN, serial data output signal SDOUT, an active low chip select CS, and a burst clock SCLK. When reading from the registers via the GSPI, the MSB of the data word will be available on SDOUT 12ns following the falling edge of the LSB of the command word, and thus may be read by the host on the very next rising edge of the clock. The remaining bits are clocked out by the GS1561 on the negative edges of SCLK. 3.11.2 Data Read and Write Timing Read and write mode timing for the GSPI interface is shown in Figure 16 and Figure 17 respectively. The maximum SCLK frequency allowed is 6.6MHz. duty cycle t2 t0 t4 GS1561 When writing to the registers via the GSPI, the MSB of the data word may be presented to SDIN immediately following the falling edge of the LSB of the command word. All SDIN data is sampled on the rising edge of SCLK. t5 period SCLK CS t3 input data setup time RSV RSV t6 SDIN R/W RSV RSV RSV RSV RSV RSV RSV A5 A4 A3 A2 A1 output data hold time A0 SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D3 D2 D1 D0 Figure 16 GSPI Read Mode Timing duty cycle t2 t0 t4 period SCLK CS SDIN R/W RSV RSV RSV RSV t3 input data setup time RSV RSV RSV RSV RSV A5 A4 A3 A2 A1 A0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 Figure 17 GSPI Write Mode Timing 3.11.3 Configuration and Status Registers Table 16 summarizes the GS1561's internal status and configuration registers. All of these registers are available to the host via the GSPI and are all individually addressable. Where status registers contain less than the full 16 bits of information however, two or more registers may be combined at a single logical address. TABLE 16 GS1561 INTERNAL REGISTERS ADDRESS REGISTER NAME SEE SECTION 000h IOPROC_DISABLE Section 3.9.6 001h ERROR_STATUS Section 3.9.5 003h EDH_FLAG Section 3.9.7 004h VIDEO_STANDARD Section 3.9.4 005h - 009h ANC_TYPE Section 3.9.2.1 012h - 013h VIDEO_FORMAT Section 3.9.3 014h - 017h RASTER_STRUCTURE Section 3.9.4 018h - 025h EDH_CALC_RANGES Section 3.9.5.2 026h ERROR_MASK Section 3.9.5 49 of 54 GENNUM CORPORATION 22048 - 1 3.12 JTAG When the JTAG/HOST input pin of the GS1561 is set HIGH, the host interface port will be configured for JTAG test operation. In this mode, pins 27 through 30 become TMS, TDO, TDI, and TCK. In addition, the RESET_TRST pin will operate as the test reset pin. Application HOST GS1561 CS_TMS SCLK_TCK Boundary scan testing using the JTAG interface will be enabled in this mode. SDIN_TDI 1. As a stand-alone JTAG interface to be used at in-circuit ATE (Automatic Test Equipment) during PCB assembly; or JTAG_HOST Tri-State In-circuit ATE probe Figure 19 System JTAG Please contact your Gennum representative to obtain the BSDL model for the GS1561. 2. Under control of the host for applications such as system power on self tests. 3.13 When the JTAG tests are applied by ATE, care must be taken to disable any other devices driving the digital I/O pins. If the tests are to be applied only at ATE, this can be accomplished with tri-state buffers used in conjunction with the JTAG/HOST input signal. This is shown in Figure 18. Because the GS1561 is designed to operate in a multi-volt environment, any power up sequence is allowed. The charge pump, phase detector, core logic, serial digital input/output buffers and digital I/O buffers should all be powered up within 1ms of one another. Application HOST DEVICE POWER UP Device pins may also be driven prior to power up without causing damage. GS1561 To ensure that all internal registers are cleared upon powerup, the application layer must hold the RESET_TRST signal LOW for a minimum of 1ms after the core power supply has reached the minimum level specified in the DC Electrical Characteristics Table. See Section 2.2. See Figure 20. CS_TMS SCLK_TCK SDIN_TDI 3.14 SDOUT_TDO DEVICE RESET In order to initialize all internal operating conditions to their default states the application layer must hold the RESET_TRST signal LOW for a minimum of treset = 1ms. JTAG_HOST In-circuit ATE probe When held in reset, all device outputs will be driven to a high-impedance state. Figure 18 In-Circuit JTAG Alternatively, if the test capabilities are to be used in the system, the host may still cntrol the JTAG/HOST input signal, but some means for tri-stating the host must exist in order to use the interface at ATE. This is represented in Figure 19. +1.65V +1.8V CORE_VDD treset treset RESET_TRST Reset Reset Figure 20 Reset Pulse 50 of 54 GENNUM CORPORATION 22048 - 1 GS1561 SDOUT_TDO There are two methods in which JTAG can be used on the GS1561: 4. 4.1 APPLICATION REFERENCE DESIGN TYPICAL APPLICATION CIRCUIT (PART A) EQ_VCC GS1561 3 1K 2N4402 2 1 1 2 2N4400 3 CD1b EQ_VCC 2K2 EQ_VCC 10K 10n 10n GND_EQ 6.4n 1 2 3 4 5 6 7 8 GND_EQ SDI 1u 75 1u 75 37R4 GND_EQ CLI VCCA VEEA SDI SDI VEEA RSVD RSVD MUTE/CD VCC VEE SDO SDO VEE MCLADJ BYPASS 16 15 14 13 12 11 10 9 GND_EQ DDI1 DDI1b GND_EQ GS1524 EQ_VCC GND_EQ 1u 1 2 3 EQ_VCC HEADER 0 GND_EQ POT 0 GND_EQ EQ_VCC 3 1K 2 2 2N4400 1 1 2N4402 3 CD2b EQ_VCC EQ_VCC 2K2 10K 10n 10n GND_EQ 6.4n GND_EQ SDI 1 2 3 4 5 6 7 8 1u 75 1u 75 37R4 GND_EQ CLI VCCA VEEA SDI SDI VEEA RSVD RSVD MUTE/CD VCC VEE SDO SDO VEE MCLADJ BYPASS 16 15 14 13 12 11 10 9 GND_EQ DDI2 DDI2b GND_EQ GS1524 1u EQ_VCC GND_EQ 1 2 3 EQ_VCC HEADER 0 0 GND_EQ POT GND_EQ 51 of 54 GENNUM CORPORATION 22048 - 1 4.2 TYPICAL APPLICATION CIRCUIT (PART B) 20bit/10bitb 20bit/10bitb IOPROC_EN/DISb IOPROC_EN/DISb SDO_EN/DISb SDO_EN/DISb 1 2 IPSEL JTAG/HOSTb O/P 3 NC GND FW_EN/DISb IPSEL JTAG/HOSTb MASTER/SLAVEb MASTER/SLAVEb 10n GND 8 VCO_VCC 1u GND_VCO VCC GND VCO_VCC GND_VCO SMPTE_BYPASSb 2k2 SD/HDb 2k2 DVB_ASI 2k2 10n VCO_VCC 7 VCTR 5 GND_VCO GND GO1525 6 4 GND_VCO SMPTE_BYPASSb SD/HDb DVB_ASI 10n 4K7 GND_VCO NOTE: SMPTE_BYPASSb, SD/HDb, and DVB_ASI are INPUTS in slave mode (MASTER/SLAVEb = LOW), and are OUTPUTS in master mode (MASTER/SLAVEb = HIGH). 4K7 2n2 0 +1.8V 10n 100n GND_VCO GND_D 39K2 PCLK GND_VCO 75 DATA[19..0] 10n 1u 1u 10n 0 DATA19 DATA18 +3.3V DDI1 10n +1.8V_A 4u7 GND_EQ DDI1b 4u7 CD2b DDI2 4u7 GND_EQ 4u7 10n SMPTE_BYPASSb CP_VDD PDBUFF_GND PD_VDD BUFF_VDD CD1 DDI_1 TERM1 DDI_1 DVB_ASI IPSEL SD/HD 20bit/10bit IOPROC_EN/DIS CD2 DDI_2 TERM2 DDI_2 SMPTE_BYPASS NC NC GS1561 1u 10n GND_D IO_GND DOUT17 DOUT16 DOUT15 DOUT14 DOUT13 DOUT12 IO_VDD DOUT11 DOUT10 DOUT9 IO_GND DOUT8 DOUT7 DOUT6 DOUT5 DOUT4 DOUT3 DOUT2 IO_VDD 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 DATA17 DATA16 DATA15 DATA14 DATA13 DATA12 +3.3V DATA11 DATA10 DATA9 10n DATA8 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 1u GND_D +3.3V 1u 10n 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 DDI2b 10n DVB_ASI IPSEL SD/HDb 20bit/10bitb IOPROC_EN/DISb 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 NC NC NC NC RESET_TRST JTAG/HOST CS_TMS SDOUT_TDO SDIN_TDI SCLK_TCK DATA_ERROR FIFO_LD CORE_GND F V H CORE_VDD DOUT0 DOUT1 IO_GND GND_A CD1b CP_GND LB_CONT CP_CAP LF VCO_VCC VCO_GND VCO VCO LOCKED MASTER/SLAVE RSV PCLK CORE_GND FW_EN/DIS CANC YANC CORE_VDD DOUT19 DOUT18 IO_VDD 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 +3.3V PCLK 2K2 GND_A F W _ E N /DISb CANC YANC LOCK MASTER/SLAVEb 0 DATA_ERRORb FIFO_LDb JTAG/HOSTb GND_D DATA1 DATA0 H V F +1.8V 10n DATA_ERRORb LOCK YANC CANC FIFO_LDb DATA_ERRORb LOCK YANC CANC FIFO_LDb GND_D SCLK_TCK SDIN_TDI SDOUT_TDO CSb_TMS RESET_TRSTb 52 of 54 GENNUM CORPORATION 22048 - 1 GS1561 FW_EN/DISb GND_VCO 5. REFERENCES & RELEVANT STANDARDS Component video signal 4:2:2 – bit parallel interface SMPTE 260M 1125 / 60 high definition production system – digital representation and bit parallel interface SMPTE 267M Bit parallel digital interface – component video signal 4:2:2 16 x 9 aspect ratio SMPTE 274M 1920 x 1080 scanning analog and parallel digital interfaces for multiple picture rates SMPTE 291M Ancillary Data Packet and Space Formatting SMPTE 292M Bit-Serial Digital Interface for High-Definition Television Systems SMPTE 293M 720 x 483 active line at 59.94 Hz progressive scan production – digital representation SMPTE 296M 1280 x 720 scanning, analog and digital representation and analog interface SMPTE 352M Video Payload Identification for Digital Television Interfaces SMPTE RP165 Error Detection Checkwords and Status Flags for Use in Bit-Serial Digital Interfaces for Television SMPTE RP168 Definition of Vertical Interval Switching Point for Synchronous Video Switching 6. 6.1 GS1561 SMPTE 125M PACKAGE & ORDERING INFORMATION PACKAGE DIMENSIONS Table X CONTROL DIMENSIONS ARE IN MILLIMETERS. Table Y 80L SYMBOL M IL L IM E T E R b e M IN NOM MAX 0 .2 2 0 .3 0 0 .3 8 0 .6 5 B S C IN C H M IN NOM MAX 0 .0 0 9 0 .0 1 2 0 .0 1 5 0 .0 2 6 B S C D2 1 2 .3 5 0 .4 8 6 E2 1 2 .3 5 0 .4 8 6 TOLERANCES OF FORM AND POSITION aaa 0 .2 0 0 .0 0 8 bbb 0 .2 0 0 .0 0 8 ccc 0 .1 0 0 .0 0 4 ddd 0 .1 3 0 .0 0 5 NOTES: Diagram shown is representative only. Table X is fixed for all pin sizes, and Table Y is specific to the 80-pin package. 1. DIMENSIONS D1 AND E1 DO NOT INCLUDE MOLD PROTRUSION. ALLOWABLE PROTRUSION IS 0.25mm PER SIDE. D1 AND E1 ARE MAXIMUM PLASTIC BODY SIZE DIMENSIONS INCLUDING MOLD MISMATCH. 2. DIMENSION b DOES NOT INCLUDE DAMBAR PROTRUSION. ALLOWABLE DAMBAR PROTRUSION SHALL NOT CAUSE THE LEAD WIDTH TO EXCEED THE MAXIMUM b DIMENSION BY MORE THAN 0.08mm. DAMBAR CAN NOT BE LOCATED ON THE LOWER RADIUS OR THE FOOT. MINIMUM SPACE BETWEEN PROTRUSION AND AN ADJACENT LEAD IS 0.07mm FOR 0.4mm AND 0.5mm PITCH PACKAGES. 53 of 54 GENNUM CORPORATION 22048 - 1 6.2 PART NUMBER PACKAGE TEMPERATURE RANGE GS1561-CF 80-pin LQFP 0°C to 70°C REVISION HISTORY VERSION ECR DATE A 120494 October 2002 0 130129 May 2003 GS1561 7. ORDERING INFORMATION CHANGES AND/OR MODIFICATIONS New Document Condensed front page description. Edited pin descriptions and AC/DC Characteristics tables. Corrected HOST interface maps. Added detailed descriptions of all major functional blocks. Changed GSPI timing diagrams. Updated typical application circuit. Added reference list. Cleaned up host interface tables, added missing information, corrected pin names and other minor typos. 1 130802 July 2003 Added Section 3.14. DOCUMENT IDENTIFICATION CAUTION PRELIMINARY DATA SHEET The product is in a preproduction phase and specifications are subject to change without notice. GENNUM CORPORATION MAILING ADDRESS: P.O. Box 489, Stn. A, Burlington, Ontario, Canada L7R 3Y3 Tel. +1 (905) 632-2996 Fax. +1 (905) 632-5946 SHIPPING ADDRESS: 970 Fraser Drive, Burlington, Ontario, Canada L7L 5P5 ELECTROSTATIC SENSITIVE DEVICES DO NOT OPEN PACKAGES OR HANDLE EXCEPT AT A STATIC-FREE WORKSTATION GENNUM JAPAN CORPORATION Shinjuku Green Tower Building 27F, 6-14-1, Nishi Shinjuku, Shinjuku-ku, Tokyo, 160-0023 Japan Tel. +81 (03) 3349-5501, Fax. +81 (03) 3349-5505 GENNUM UK LIMITED 25 Long Garden Walk, Farnham, Surrey, England GU9 7HX Tel. +44 (0)1252 747 000 Fax +44 (0)1252 726 523 Gennum Corporation assumes no responsibility for the use of any circuits described herein and makes no representations that they are free from patent infringement. © Copyright March 2003 Gennum Corporation. All rights reserved. Printed in Canada. 54 of 54 22048 - 1