GS2961A 3Gb/s, HD, SD SDI Receiver, with Integrated Adaptive Cable Equalizer complete with SMPTE Video Processing Key Features Applications * Operation at 2.97Gb/s, 2.97/1.001Gb/s, 1.485Gb/s, 1.485/1.001Gb/s and 270Mb/s * Supports SMPTE 425M (Level A and Level B), SMPTE 424M, SMPTE 292M, SMPTE 259M-C and DVB-ASI * Integrated adaptive cable equalizer * Application: Single Link (3G-SDI) to Dual Link (HD-SDI) Converter 10-bit Typical equalized length of Belden 1694A cable: 150m at 2.97Gb/s HD-SDI GS2962 Link A HV F/PCLK GS2961A 3G-SDI HV F/PCLK 10-bit 250m at 1.485Gb/s HD-SDI GS2962 Link B 480m at 270Mb/s * Integrated Reclocker with low phase noise, integrated VCO * Serial digital reclocked, or non-reclocked output * Ancillary data extraction * Optional conversion from SMPTE 425M Level B to Level A for 1080p 50/60 4:2:2 10-bit * Parallel data bus selectable as either 20-bit or 10-bit * Comprehensive error detection and correction features * Output H, V, F or CEA 861 Timing Signals * 1.2V digital core power supply, 1.2V and 3.3V analog power supplies, and selectable 1.8V or 3.3V I/O power supply * GSPI Host Interface * Wide temperature range of -40C to +85C * Low power operation (typically 515mW) * Small 11mm x 11mm 100-ball BGA package * Pb-free and ROHS compliant Application: Dual Link (HD-SDI) to Single Link (3G-SDI) Converter HD-SDI Link A HD-SDI Deserializer GS2961A 10-bit 10-bit FIFO HV F/PCLK W 3G-SDI R HV F/PCLK HD-SDI Link B HD-SDI Deserializer GS2961A GS2962 10-bit 10-bit FIFO HV F/PCLK W HV F R GS4910 X TAL Description The GS2961A is a multi-rate SDI integrated Receiver which includes complete SMPTE processing, as per SMPTE 425M, 292M and SMPTE 259M-C. The SMPTE processing features can be bypassed to support signals with other coding schemes. The GS2961A integrates Gennum's adaptive cable equalizer technology, achieving unprecedented cable lengths and jitter tolerance. It features DC restoration to compensate for the DC content of SMPTE pathological signals. The device features an Integrated Reclocker with an internal VCO and a wide Input Jitter Tolerance (IJT) of 0.7UI. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 www.semtech.com 1 of 104 A serial digital loop-through output is provided, which can be configured to output either reclocked or non-reclocked serial digital data. The serial digital output can be connected to an external cable driver. The device operates in one of four basic modes: SMPTE mode, DVB-ASI mode, Data-Through mode or Standby mode. In SMPTE mode (the default operating mode), the GS2961A performs full SMPTE processing, and features a number of data integrity checks and measurement capabilities. The device also supports ancillary data extraction, and can provide entire ancillary data packets through host-accessible registers. It also provides a variety of other packet detection and error handling features. All of these processing features are optional, and may be individually enabled or disabled through register programming. Both SMPTE 425M Level A and Level B inputs are supported with optional conversion from Level B to Level A for 1080p 50/59.94/60 4:2:2 10-bit inputs. In DVB-ASI mode, sync word detection, alignment and 8b/10b decoding is applied to the received data stream. In Data-Through mode all forms of SMPTE and DVB-ASI processing are disabled, and the device can be used as a simple serial to parallel converter. The device can also operate in a lower power Standby mode. In this mode, no signal processing is carried out and the parallel output is held static. Parallel data outputs are provided in 20-bit or 10-bit format for 3Gb/s, HD and SD video rates, with a variety of mapping options. As such, this parallel bus can interface directly with video processor ICs, and output data can be multiplexed onto 10 bits for a low pin count interface. Crystal Buffer/ Oscillator GSPI and JTAG Controller CORE_VDD CORE_GND IO_VDD IO_GND DVB_ASI RESET_TRST STANDBY IOPROC_EN/DIS SMPTE_BYPASS 20BIT/10BIT TIM861 SW_EN SDIN_TDI SCLK_TCLK CS_TMS SDOUT_TDO JTAG/HOST XTAL_OUT XTAL1 XTAL2 VCO_VDD VCO_GND PLL_VDD PLL_GND Functional Block Diagram Host Interface VBG LB_CONT LF SDI EQ Buffer SDI Reclocker with Integrated VCO Serial to Parallel Converter Descramble, Word Align, Rate Detect Flywheel Video Standard Detect TRS Detect Timing Extraction ANC/ Checksum /352M Extraction SMPTE 425M Level B Level A 1080p 50/60 4:2:2 10-bit Illegal code remap, TRS/ Line Number/ CRS Insertion, EDH Packet Insertion PCLK Output Mux/ Demux DOUT[19:0] Mux AGC+ AGCV/VSync H/HSync LOCKED Error Flags F/De Mux YANC/CANC Buffer Rate_det[1:0] DVB-ASI Decoder SDO SDO LOCKED EQ_VDD EQ_GND A_VDD A_GND BUFF_VDD BUFF_GND RC_BYP SDO_EN/DIS I/O Control GS2961A Functional Block Diagram GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 2 of 104 Contents Key Features ........................................................................................................................................................1 Applications.........................................................................................................................................................1 Description...........................................................................................................................................................1 Functional Block Diagram ..............................................................................................................................2 1. Pin Out...............................................................................................................................................................7 1.1 Pin Assignment ..................................................................................................................................7 1.2 Pin Descriptions ................................................................................................................................7 2. Electrical Characteristics ......................................................................................................................... 14 2.1 Absolute Maximum Ratings ....................................................................................................... 14 2.2 Recommended Operating Conditions .................................................................................... 14 2.3 DC Electrical Characteristics ..................................................................................................... 15 2.4 AC Electrical Characteristics ..................................................................................................... 17 3. Input/Output Circuits ............................................................................................................................... 22 4. Detailed Description.................................................................................................................................. 26 4.1 Functional Overview .................................................................................................................... 26 4.2 SMPTE 425M Mapping - 3G Level A and Level B Formats ............................................... 27 4.2.1 Level A Mapping................................................................................................................ 27 4.2.2 Level B Mapping ................................................................................................................ 27 4.3 Serial Digital Input ........................................................................................................................ 28 4.3.1 Integrated Adaptive Cable Equalizer.......................................................................... 28 4.4 Serial Digital Loop-Through Output ........................................................................................ 29 4.5 Serial Digital Reclocker ............................................................................................................... 29 4.5.1 PLL Loop Bandwidth ........................................................................................................ 30 4.6 External Crystal/Reference Clock ........................................................................................... 30 4.7 Lock Detect ...................................................................................................................................... 32 4.7.1 Asynchronous Lock .......................................................................................................... 32 4.7.2 Signal Interruption............................................................................................................ 33 4.8 SMPTE Functionality .................................................................................................................... 33 4.8.1 Descrambling and Word Alignment ........................................................................... 33 4.9 Parallel Data Outputs ................................................................................................................... 34 4.9.1 Parallel Data Bus Buffers................................................................................................. 34 4.9.2 Parallel Output in SMPTE Mode ................................................................................... 37 4.9.3 Parallel Output in DVB-ASI Mode ............................................................................... 37 4.9.4 Parallel Output in Data-Through Mode ..................................................................... 38 4.9.5 Parallel Output Clock (PCLK)......................................................................................... 38 4.9.6 DDR Parallel Clock Timing ............................................................................................. 39 4.10 Timing Signal Generator ........................................................................................................... 41 4.10.1 Manual Switch Line Lock Handling.......................................................................... 42 4.10.2 Automatic Switch Line Lock Handling .................................................................... 43 4.10.3 Switch Line Lock Handling During Level B to Level A Conversion ............... 43 4.11 Programmable Multi-function Outputs ............................................................................... 45 4.12 H:V:F Timing Signal Generation ............................................................................................ 46 4.12.1 CEA-861 Timing Generation ....................................................................................... 48 4.13 Automatic Video Standards Detection ................................................................................ 55 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 3 of 104 4.13.1 2K Support......................................................................................................................... 59 4.14 Data Format Detection & Indication ..................................................................................... 60 4.15 EDH Detection .............................................................................................................................. 61 4.15.1 EDH Packet Detection ................................................................................................... 61 4.15.2 EDH Flag Detection ........................................................................................................ 61 4.16 Video Signal Error Detection & Indication ......................................................................... 62 4.16.1 TRS Error Detection........................................................................................................ 63 4.16.2 Line Based CRC Error Detection ................................................................................ 63 4.16.3 EDH CRC Error Detection............................................................................................. 64 4.16.4 HD & 3G Line Number Error Detection ................................................................... 64 4.17 Ancillary Data Detection & Indication ................................................................................. 65 4.17.1 Programmable Ancillary Data Detection................................................................ 66 4.17.2 SMPTE 352M Payload Identifier ................................................................................ 67 4.17.3 Ancillary Data Checksum Error ................................................................................. 68 4.17.4 Video Standard Error..................................................................................................... 69 4.18 Signal Processing ......................................................................................................................... 70 4.18.1 TRS Correction & Insertion........................................................................................... 71 4.18.2 Line Based CRC Correction & Insertion ................................................................... 71 4.18.3 Line Number Error Correction & Insertion ............................................................. 71 4.18.4 ANC Data Checksum Error Correction & Insertion ............................................. 71 4.18.5 EDH CRC Correction & Insertion ............................................................................... 71 4.18.6 Illegal Word Re-mapping ............................................................................................. 72 4.18.7 TRS and Ancillary Data Preamble Remapping...................................................... 72 4.18.8 Ancillary Data Extraction............................................................................................. 72 4.18.9 Level B to Level A Conversion .................................................................................... 76 4.19 GSPI - HOST Interface ................................................................................................................ 77 4.19.1 Command Word Description ...................................................................................... 78 4.19.2 Data Read or Write Access........................................................................................... 78 4.19.3 GSPI Timing....................................................................................................................... 79 4.20 Host Interface Register Maps .................................................................................................. 81 4.21 JTAG Test Operation .................................................................................................................. 95 4.22 Device Power-up ......................................................................................................................... 96 4.23 Device Reset .................................................................................................................................. 97 4.24 Standby Mode .............................................................................................................................. 97 5. Application Reference Design ............................................................................................................... 98 5.1 High Gain Adaptive Cable Equalizers .................................................................................... 98 5.2 PCB Layout ....................................................................................................................................... 98 5.3 Typical Application Circuit ........................................................................................................ 99 6. References & Relevant Standards ....................................................................................................... 100 7. Package & Ordering Information ........................................................................................................ 101 7.1 Package Dimensions ................................................................................................................... 101 7.2 Packaging Data ............................................................................................................................. 102 7.3 Marking Diagram ......................................................................................................................... 102 7.4 Solder Reflow Profiles ................................................................................................................ 103 7.5 Ordering Information ................................................................................................................. 103 Revision History ............................................................................................................................................ 103 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 4 of 104 List of Figures Figure 3-1: Digital Input Pin with Schmitt Trigger............................................................................... 22 Figure 3-2: Bidirectional Digital Input/Output Pin.............................................................................. 22 Figure 3-3: Bidirectional Digital Input/Output Pin with programmable drive strength ........ 23 Figure 3-4: XTAL1/XTAL2/XTAL-OUT ................................................................................................... 23 Figure 3-5: VBG .............................................................................................................................................. 24 Figure 3-6: LB_CONT .................................................................................................................................... 24 Figure 3-7: Loop Filter .................................................................................................................................. 24 Figure 3-8: SDO/SDO .................................................................................................................................... 25 Figure 3-9: Equalizer Input Equivalent Circuit .................................................................................... 25 Figure 4-1: Level A Mapping ...................................................................................................................... 27 Figure 4-2: Level B Mapping ...................................................................................................................... 27 Figure 4-3: GS2961A Integrated EQ Block Diagram .......................................................................... 28 Figure 4-4: 27MHz Clock Sources ............................................................................................................ 31 Figure 4-5: PCLK to Data and Control Signal Output Timing - SDR Mode 1 .............................. 34 Figure 4-6: PCLK to Data and Control Signal Output Timing - SDR Mode 2 .............................. 35 Figure 4-7: PCLK to Data and Control Signal Output Timing - DDR Mode ................................. 36 Figure 4-8: DDR Video Interface - 3G Level A ..................................................................................... 39 Figure 4-9: DDR Video Interface - 3G Level B ...................................................................................... 40 Figure 4-10: Delay Adjustment Ranges .................................................................................................. 41 Figure 4-11: Switch Line Locking on a Non-Standard Switch Line ............................................... 42 Figure 4-12: H:V:F Output Timing - 3G Level A and HDTV 20-bit Mode .................................... 46 Figure 4-13: H:V:F Output Timing - 3G Level A and HDTV 10-bit Mode 3G Level B 20-bit Mode, each 10-bit stream ......................................................................................... 47 Figure 4-14: H:V:F Output Timing - 3G Level B 10-bit Mode .......................................................... 47 Figure 4-15: H:V:F Output Timing - HD 20-bit Output Mode ......................................................... 47 Figure 4-16: H:V:F Output Timing - HD 10-bit Output Mode ......................................................... 47 Figure 4-17: H:V:F Output Timing - SD 20-bit Output Mode .......................................................... 47 Figure 4-18: H:V:F Output Timing - SD 10-bit Output Mode .......................................................... 47 Figure 4-19: H:V:DE Output Timing 1280 x 720p @ 59.94/60 (Format 4) ................................... 49 Figure 4-20: H:V:DE Output Timing 1920 x 1080i @ 59.94/60 (Format 5) ................................. 50 Figure 4-21: H:V:DE Output Timing 720 (1440) x 480i @ 59.94/60 (Format 6&7) .................... 51 Figure 4-22: H:V:DE Output Timing 1280 x 720p @ 50 (Format 19) ............................................. 51 Figure 4-23: H:V:DE Output Timing 1920 x 1080i @ 50 (Format 20) ........................................... 52 Figure 4-24: H:V:DE Output Timing 720 (1440) x 576 @ 50 (Format 21 & 22) ........................... 53 Figure 4-25: H:V:DE Output Timing 1920 x 1080p @ 59.94/60 (Format 16) .............................. 53 Figure 4-26: H:V:DE Output Timing 1920 x 1080p @ 50 (Format 31) .......................................... 54 Figure 4-27: H:V:DE Output Timing 1920 x 1080p @ 23.94/24 (Format 32) .............................. 54 Figure 4-28: H:V:DE Output Timing 1920 x 1080p @ 25 (Format 33) .......................................... 55 Figure 4-29: H:V:DE Output Timing 1920 x 1080p @ 29.97/30 (Format 34) .............................. 55 Figure 4-30: 2K Feature Enhancement ................................................................................................... 59 Figure 4-31: Y/1ANC and C/2ANC Signal Timing .............................................................................. 66 Figure 4-32: Ancillary Data Extraction - Step A .................................................................................. 73 Figure 4-33: Ancillary Data Extraction - Step B ................................................................................... 74 Figure 4-34: Ancillary Data Extraction - Step C .................................................................................. 74 Figure 4-35: Ancillary Data Extraction - Step D .................................................................................. 75 Figure 4-36: GSPI Application Interface Connection ........................................................................ 77 Figure 4-37: Command Word Format ..................................................................................................... 78 Figure 4-38: Data Word Format ................................................................................................................ 78 Figure 4-39: Write Mode .............................................................................................................................. 79 Figure 4-40: Read Mode ............................................................................................................................... 79 Figure 4-41: GSPI Time Delay .................................................................................................................... 79 Figure 4-42: In-Circuit JTAG ...................................................................................................................... 95 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 5 of 104 Figure 4-43: System JTAG ........................................................................................................................... 96 Figure 4-44: Reset Pulse ............................................................................................................................... 97 Figure 7-1: Pb-free Solder Reflow Profile ............................................................................................ 103 List of Tables Table 1-1: Pin Descriptions ............................................................................................................................ 7 Table 2-1: Absolute Maximum Ratings................................................................................................... 14 Table 2-2: Recommended Operating Conditions................................................................................ 14 Table 2-3: DC Electrical Characteristics ................................................................................................. 15 Table 2-4: AC Electrical Characteristics ................................................................................................. 17 Table 4-1: Serial Digital Output................................................................................................................. 29 Table 4-2: PLL Loop Bandwidth ................................................................................................................ 30 Table 4-3: Input Clock Requirements...................................................................................................... 31 Table 4-4: Lock Detect Conditions............................................................................................................ 32 Table 4-5: GS2961A Output Video Data Format Selections ............................................................ 36 Table 4-6: GS2961A PCLK Output Rates ................................................................................................ 38 Table 4-7: Switch Line Position for Digital Systems ........................................................................... 44 Table 4-8: Output Signals Available on Programmable Multi-Function Pins............................ 45 Table 4-9: Supported CEA-861 Formats................................................................................................. 48 Table 4-10: CEA861 Timing Formats....................................................................................................... 49 Table 4-11: Supported Video Standard Codes ..................................................................................... 56 Table 4-12: Data Format Register Codes ................................................................................................ 60 Table 4-13: Error Status Register and Error Mask Register .............................................................. 63 Table 4-14: SMPTE 352M Packet Data .................................................................................................... 68 Table 4-15: IOPROC_DISABLE Register Bits ......................................................................................... 70 Table 4-16: GSPI Time Delay...................................................................................................................... 79 Table 4-17: GSPI Timing Parameters (50% levels; 3.3V or 1.8V operation) ................................ 80 Table 4-18: Configuration and Status Registers................................................................................... 81 Table 4-19: ANC Extraction FIFO Access Registers............................................................................ 95 Table 7-1: Packaging Data......................................................................................................................... 102 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 6 of 104 1. Pin Out 1.1 Pin Assignment 1 2 A VBG LF B A_VDD C D E 3 4 5 6 7 8 9 10 LB_CONT VCO_ VDD STAT0 STAT1 IO_VDD PCLK PLL_ VDD RSV VCO_ GND STAT2 STAT3 IO_GND DOUT19 DOUT16 DOUT15 SDI A_GND PLL_ VDD PLL_ VDD STAT4 STAT5 RESET DOUT12 DOUT14 DOUT13 _TRST SDI A_GND A_GND PLL_ GND CORE _GND CORE _VDD SW_EN EQ_VDD EQ_GND A_GND PLL_ GND CORE _GND CORE _VDD SDOUT_ SDIN_ TDO TDI DOUT18 DOUT17 JTAG/ IO_GND IO_VDD HOST DOUT10 DOUT11 F AGCP A_GND PLL_ GND CORE _GND CORE _VDD G AGCN A_GND RC_BYP CORE _GND CORE _GND CORE _VDD SMPTE_ DVB_ASI IO_GND IO_VDD BYPASS H BUFF_ VDD BUFF_ GND CORE _GND RSV TIM_861 XTAL_ OUT 20bit/ IOPROC_ DOUT6 DOUT7 10bit EN/DIS J SDO SDO_ EN/DIS RSV RSV RSV XTAL2 IO_GND DOUT1 DOUT4 DOUT5 K SDO STANDBY RSV RSV RSV XTAL1 IO_VDD DOUT0 DOUT2 DOUT3 RSV CS_ TMS SCLK_ TCK DOUT8 DOUT9 1.2 Pin Descriptions Table 1-1: Pin Descriptions Pin Number Name Timing A1 VBG Analog Input Band Gap voltage filter connection. A2 LF Analog Input Loop Filter component connection. A3 LB_CONT Analog Input Connection for loop bandwidth control resistor. A4 VCO_VDD Input Power POWER pin for the VCO. Connect to a 1.2V5% analog supply followed by a RC filter (see 5.3 Typical Application Circuit). A 105 1% resistor must be used in the RC filter circuit. VCO_VDD is nominally 0.7V. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 Type Description 7 of 104 (Continued) Pin Number Name A5, A6, B5, B6, C5, C6 STAT[0:5] Timing Type Output Description MULTI-FUNCTIONAL OUTPUT PORT. Please refer to the Output Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Each of the STAT [0:5] pins can be configured individually to output one of the following signals: Signal H/HSYNC V/VSYNC F/DE LOCKED Y/1ANC C/2ANC DATA ERROR VIDEO ERROR EDH DETECTED CARRIER DETECT RATE_DET0 RATE_DET1 A7, D10, G10, K7 IO_VDD Input Power A8 PCLK Output Default STAT0 STAT1 STAT2 STAT3 STAT4 - STAT5 - - - - - POWER connection for digital I/O. Connect to 3.3V or 1.8V DC digital. PARALLEL DATA BUS CLOCK Please refer to the Output Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 3G 10-bit or 20-bit mode PCLK @ 148.5 or 148.5/1.001MHz HD 10-bit mode PCLK @ 148.5 or 148.5/1.001MHz HD 20-bit mode PCLK @ 74.25 or 74.25/1.001MHz SD 10-bit mode PCLK @ 27MHz SD 20-bit mode PCLK @ 13.5MHz 8 of 104 Table 1-1: Pin Descriptions (Continued) Pin Number Name A9, A10, B8, B9, B10,C8, C9, C10, E9, E10 DOUT18, 17, 19, 16, 15, 12, 14, 13, 10, 11 Timing Type Output Description PARALLEL DATA BUS Please refer to the Output Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. 20-bit mode 20bit/10bit = HIGH SMPTE mode (SMPTE_BYPASS = HIGH and DVB_ASI = LOW): Luma data output for SD and HD data rates; Data Stream 1 for 3G data rate DVB-ASI mode (SMPTE_BYPASS = LOW and DVB_ASI = HIGH): Not defined Data-Through mode (SMPTE_BYPASS = LOW and DVB_ASI = LOW): Data output 10-bit mode 20bit/10bit = LOW SMPTE mode (SMPTE_BYPASS = HIGH and DVB_ASI = LOW): Multiplexed Luma/Chroma data output for SD and HD data rates; Multiplexed Data Stream 1&2 for 3G data rate DVB-ASI mode (SMPTE_BYPASS = LOW and DVB_ASI = HIGH): 8b/10b decoded DVB-ASI data Data-Through mode (SMPTE_BYPASS = LOW and DVB_ASI = LOW): Data output B1 A_VDD Input Power POWER pin for analog circuitry. Connect to 3.3V DC analog. B2, C3, C4 PLL_VDD Input Power POWER pins for the Reclocker PLL. Connect to 1.2V DC analog. B3, F2, H4, J3, J4, J5, K3, K4, K5 RSV B4 VCO_GND Input Power GND pin for the VCO. Connect to analog GND. B7, D9, G9, J7 IO_GND Input Power GND connection for digital I/O. Connect to digital GND. C1, D1 SDI, SDI Analog Input Serial Digital Differential Input. C2, D2, D3, E3, F3, G2 A_GND Input Power GND pins for sensitive analog circuitry. Connect to analog GND. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 These pins must be left unconnected. 9 of 104 Table 1-1: Pin Descriptions (Continued) Pin Number Name C7 RESET_TRST Timing Type Description Input CONTROL SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Used to reset the internal operating conditions to default settings and to reset the JTAG sequence. Normal mode (JTAG/HOST = LOW): When LOW, all functional blocks are set to default conditions and all digital output signals become high impedance. When HIGH, normal operation of the device resumes. JTAG test mode (JTAG/HOST = HIGH): When LOW, all functional blocks are set to default and the JTAG test sequence is reset. When HIGH, normal operation of the JTAG test sequence resumes after RESET_TRST is de-asserted. D4, E4, F4 PLL_GND Input Power GND pins for the Reclocker PLL. Connect to analog GND. D5, E5, F5, G4, G5, H3 CORE_GND Input Power GND connection for device core. Connect to digital GND. D6, E6, F6, G6 CORE_VDD Input Power POWER connection for device core. Connect to 1.2V DC digital. D7 SW_EN Input CONTROL SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Used to enable switch-line locking, as described in Section 4.10.1. D8 JTAG/HOST Input CONTROL SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Used to select JTAG test mode or host interface mode. When JTAG/HOST is HIGH, the host interface port is configured for JTAG test. When JTAG/HOST is LOW, normal operation of the host interface port resumes. E1 EQ_VDD Input Power POWER pin for SDI buffer. Connect to 3.3V DC analog. E2 EQ_GND Input Power GND pin for SDI buffer. Connect to analog GND. E7 SDOUT_TDO Output COMMUNICATION SIGNAL OUTPUT Please refer to the Output Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. GSPI serial data output/test data out. In JTAG mode (JTAG/HOST = HIGH), this pin is used to shift test results from the device. In host interface mode, this pin is used to read status and configuration data from the device. Note: GSPI is slightly different than the SPI. For more details on GSPI, please refer to 4.19 GSPI - HOST Interface. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 10 of 104 Table 1-1: Pin Descriptions (Continued) Pin Number Name E8 SDIN_TDI Timing Type Description Input COMMUNICATION SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. GSPI serial data in/test data in. In JTAG mode (JTAG/HOST = HIGH), this pin is used to shift test data into the device. In host interface mode, this pin is used to write address and configuration data words into the device. F1, G1 AGCP, AGCN F7 CS_TMS Automatic Gain Control for the equalizer. Attach the AGC capacitor between these pins. Input COMMUNICATION SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Chip select / test mode start. In JTAG mode (JTAG/HOST = HIGH), this pin is Test Mode Start, used to control the operation of the JTAG test. In host interface mode (JTAG/HOST = LOW), this pin operates as the host interface chip select and is active LOW. F8 SCLK_TCK Input COMMUNICATION SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Serial data clock signal. In JTAG mode (JTAG/HOST = HIGH), this pin is the JTAG clock. In host interface mode (JTAG/HOST = LOW), this pin is the host interface serial bit clock. All JTAG/host interface addresses and data are shifted into/out of the device synchronously with this clock. F9, F10, H9, H10, J8, J9, J10, K8, K9, K10 DOUT8, 9, 6, 7, 1, 4, 5, 0, 2, 3 Output PARALLEL DATA BUS Please refer to the Output Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. 20-bit mode 20bit/10bit = HIGH SMPTE mode (SMPTE_BYPASS = HIGH and DVB_ASI = LOW): Chroma data output for SD and HD data rates; Data Stream 2 for 3G data rate DVB-ASI mode (SMPTE_BYPASS = LOW and DVB_ASI = HIGH): Not defined Data-Through mode (SMPTE_BYPASS = LOW and DVB_ASI = LOW): Data output 10-bit mode 20bit/10bit = LOW GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 Forced LOW 11 of 104 Table 1-1: Pin Descriptions (Continued) Pin Number Name G3 RC_BYP Timing Type Description Input CONTROL SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. When this pin is LOW, the serial digital output is the buffered version of the input serial data. When this pin is HIGH, the serial digital output is the reclocked version of the input serial data. G7 SMPTE_BYPASS Input/Output CONTROL SIGNAL INPUT/OUTPUT Please refer to the Input/Output Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Indicates the presence of valid SMPTE data. When the AUTO/MAN bit in the host interface register is HIGH (Default), this pin is an OUTPUT. SMPTE_BYPASS is HIGH when the device locks to a SMPTE compliant input. SMPTE_BYPASS is LOW under all other conditions. When the AUTO/MAN bit in the host interface register is LOW, this pin is an INPUT: No SMPTE scrambling takes place, and none of the I/O processing features of the device are available when SMPTE_BYPASS is set LOW. When SMPTE_BYPASS is set HIGH, the device carries out SMPTE scrambling and I/O processing. When SMPTE_BYPASS and DVB_ASI are both set LOW, the device operates in Data-Through mode. G8 DVB_ASI Input/Output CONTROL SIGNAL INPUT Please refer to the Input/Output Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Used to enable/disable DVB-ASI data extraction in manual mode. When the AUTO/MAN bit in the host interface is LOW, this pin is an input and when the DVB_ASI pin is set HIGH the device will carry out DVB_ASI data extraction and processing. The SMPTE_BYPASS pin must be set LOW. When SMPTE_BYPASS and DVB_ASI are both set LOW, the device operates in Data-Through mode. When the AUTO/MAN bit in the host interface is HIGH (default), DVB-ASI is configured as a status output (set LOW), and DVB-ASI input streams are not supported or recognized. H1 BUFF_VDD Input Power POWER pin for the serial digital output 50 buffer. Connect to 3.3V DC analog. H2 BUFF_GND Input Power GND pin for the cable driver buffer. Connect to analog GND. H5 TIM_861 Input CONTROL SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Used to select CEA-861 timing mode. When TIM_861 is HIGH, the device outputs CEA 861 timing signals (HSYNC/VSYNC/DE) instead of H:V:F digital timing signals. H6 XTAL_OUT GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 Digital Output Buffered 27MHz crystal output. Can be used to cascade the crystal signal. 12 of 104 Table 1-1: Pin Descriptions (Continued) Pin Number Name H7 20bit/10bit Timing Type Description Input CONTROL SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Used to select the output bus width. HIGH = 20-bit, LOW = 10-bit. H8 IOPROC_EN/DIS Input CONTROL SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Used to enable or disable video processing features. When IOPROC_EN is HIGH, the video processing features of the device are enabled. When IOPROC_EN is LOW, the processing features of the device are disabled, and the device is in a low-latency operating mode. J1, K1 SDO, SDO Output Serial Data Output Signal. 50 CML buffer for interfacing to an external cable driver. Serial digital output signal operating at 2.97Gb/s, 2.97/1.001Gb/s, 1.485Gb/s, 1.485/1.001Gb/s and 270Mb/s. J2 SDO_EN/DIS Input CONTROL SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. Used to enable/disable the serial digital output stage. When SDO_EN/DIS is LOW, the serial digital output signals, SDO and SDO, are both pulled HIGH. When SDO_EN/DIS is HIGH, the serial digital output signals, SDO and SDO, are enabled. J6, K6 XTAL2, XTAL1 Analog Input K2 STANDBY Input Input connection for 27MHz crystal. CONTROL SIGNAL INPUT Please refer to the Input Logic parameters in the DC Electrical Characteristics table for logic level threshold and compatibility. When this pin is set HIGH, the device is placed in a power-saving mode. No data processing occurs, and the digital I/Os are powered down. In this mode, the serial digital output signals, SDO and SDO, are both pulled HIGH. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 13 of 104 2. Electrical Characteristics 2.1 Absolute Maximum Ratings Table 2-1: Absolute Maximum Ratings Parameter Value/Units Supply Voltage, Digital Core (CORE_VDD) -0.3V to +1.5V Supply Voltage, Digital I/O (IO_VDD) -0.3V to +4.0V Supply Voltage, Analog 1.2V (PD_VDD, VCO_VDD) -0.3V to +1.5V Supply Voltage, Analog 3.3V (EQ_VDD, BUFF_VDD, A_VDD) -0.3V to +4.0V Input Voltage Range (digital inputs) -2.0V to +5.25V Operating Temperature Range -20C to +85C Functional Temperature Range -40C to +85C Storage Temperature Range -50C to +125C Peak Reflow Temperature (JEDEC J-STD-020C) 260C ESD Sensitivity, HBM (JESD22-A114) 2kV NOTES: Absolute Maximum Ratings are those values beyond which damage may occur. Functional operation under these conditions or at any other condition beyond those indicated in the AC/DC Electrical Characteristics sections is not implied. 2.2 Recommended Operating Conditions Table 2-2: Recommended Operating Conditions TA = -20C to + 85C, unless otherwise shown. Parameter Symbol Supply Voltage, Digital Core CORE_VDD Supply Voltage, Digital I/O Supply Voltage, PLL Supply Voltage, Analog Supply Voltage, Serial Digital Input Supply Voltage, CD Buffer Conditions Min Typ Max Units Notes - 1.14 1.2 1.26 V - 1.8V mode 1.71 1.8 1.89 V - 3.3V mode 3.13 3.3 3.47 V - PLL_VDD - 1.14 1.2 1.26 V - A_VDD - 3.13 3.3 3.47 V 1 EQ_VDD - 3.13 3.3 3.47 V 1 BUFF_VDD - 3.13 3.3 3.47 V 1 IO_VDD NOTES: 1. The 3.3V supplies must track the 3.3V supply of an external CD. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 14 of 104 2.3 DC Electrical Characteristics Table 2-3: DC Electrical Characteristics Guaranteed over recommended operating conditions unless otherwise noted. Parameter Symbol Conditions Min Typ Max Units Notes 10bit 3G - 200 240 mA - 20bit 3G - 190 240 mA - 10/20bit HD - 160 200 mA - 10/20bit SD - 130 170 mA - DVB_ASI - 130 170 mA - 10bit 3G - 37 45 mA - 20bit 3G - 16 20 mA - 10/20bit HD - 15 21 mA - 10/20bit SD - 4 7 mA - DVB_ASI - 4 6 mA - 10bit 3G - 150 180 mA - 20bit 3G - 115 130 mA - 10/20bit HD - 110 135 mA - 10/20bit SD - 90 100 mA - DVB_ASI - 90 95 mA - 10bit 3G - 540 640 mW - 20bit 3G - 500 600 mW - 10/20bit HD - 460 560 mW - 10/20bit SD - 410 490 mW - DVB_ASI - 410 490 mW - Reset - 390 - mW - Standby - 23 45 mW - 10bit 3G - 720 890 mW - 20bit 3G - 600 720 mW - 10/20bit HD - 550 700 mW - 10/20bit SD - 440 540 mW - DVB_ASI - 440 530 mW - Reset - 410 - mW - Standby - 23 45 mW - System +1.2V Supply Current +1.8V Supply Current +3.3V Supply Current Total Device Power (IO_VDD = 1.8V) Total Device Power (IO_VDD = 3.3V) I1V2 I1V8 I3V3 P1D8 P3D3 Digital I/O Input Logic LOW VIL 3.3V or 1.8V operation IO_VSS -0.3 - 0.3 x IO_VDD V - Input Logic HIGH VIH 3.3V or 1.8V operation 0.7 x IO_VDD - IO_VDD +0.3 V - GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 15 of 104 Table 2-3: DC Electrical Characteristics (Continued) Guaranteed over recommended operating conditions unless otherwise noted. Parameter Output Logic LOW Output Logic HIGH Symbol VOL VOH Conditions Min Typ Max Units Notes IOL = 5mA, 1.8V operation - - 0.2 V - IOL = 8mA, 3.3V operation - - 0.4 V - IOH = 5mA, 1.8V operation 1.4 - - V - IOH = 8mA, 3.3V operation 2.4 - - V - Serial Input Serial Input Common Mode Voltage - 75 load - 2.2 - V - - 50 load BUFF_VDD -(0.6/2) BUFF_VDD -(0.45/2) BUFF_VDD -(0.35/2) V - Serial Output Serial Output Common Mode Voltage NOTES: The output drive strength of the digital outputs can be programmed through the host interface. please see Table 4-18: Configuration and Status Registers, register 06Dh for details. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 16 of 104 2.4 AC Electrical Characteristics Table 2-4: AC Electrical Characteristics Guaranteed over recommended operating conditions unless otherwise noted. Parameter Symbol Conditions Min Typ Max Units Notes 3G (Level A) 44 - 48 PCLK - 3G (Level B) 108 - 116 PCLK - HD 44 - 48 PCLK - SD 44 - 48 PCLK - 3G (Level A) 33 - 36 PCLK - HD 33 - 36 PCLK - SD 32 - 35 PCLK - 3G (Level A) 6 - 9 PCLK - HD 6 - 9 PCLK - SD 5 - 9 PCLK - - SD 12 - 16 PCLK - treset - 1 - - ms - Parallel Clock Frequency fPCLK - 13.5 - 148.5 MHz - Parallel Clock Duty Cycle DCPCLK - 40 - 60 % - System Device Latency: SMPTE mode, IOPROC_EN = 1 Device Latency: SMPTE mode, IOPROC_EN = 0 Device Latency: SMPTE bypass, IOPROC_EN = 0 Device Latency: DVB-ASI Reset Pulse Width - - - Parallel Output GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 17 of 104 Table 2-4: AC Electrical Characteristics (Continued) Guaranteed over recommended operating conditions unless otherwise noted. Parameter Output Data Hold Time (1.8V) Symbol toh Conditions 3G 10-bit 6pF Cload 3G 20-bit 6pF Cload HD 10-bit 6pF Cload HD 20-bit 6pF Cload SD 10-bit 6pF Cload SD 20-bit 6pF Cload Output Data Hold Time (3.3V) toh 3G 10-bit 6pF Cload 3G 20-bit 6pF Cload HD 10-bit 6pF Cload HD 20-bit 6pF Cload SD 10-bit 6pF Cload SD 20-bit 6pF Cload GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 Min Typ Max Units Notes SPI 1.5 - - ns 1 DBUS 0.3 - - ns 1 STAT 0.3 - - ns 1 DBUS 1.0 - - ns 1 STAT 1.0 - - ns 1 DBUS 1.0 - - ns 1 STAT 1.0 - - ns 1 DBUS 1.0 - - ns 1 STAT 1.0 - - ns 1 DBUS 19.4 - - ns 1 STAT 19.4 - - ns 1 DBUS 38.0 - - ns 1 STAT 38.0 - - ns 1 SPI 1.5 - - ns 2 DBUS 0.3 - - ns 2 STAT 0.3 - - ns 2 DBUS 1.0 - - ns 2 STAT 1.0 - - ns 2 DBUS 1.0 - - ns 2 STAT 1.0 - - ns 2 DBUS 1.0 - - ns 2 STAT 1.0 - - ns 2 DBUS 19.4 - - ns 2 STAT 19.4 - - ns 2 DBUS 38.0 - - ns 2 STAT 38.0 - - ns 2 18 of 104 Table 2-4: AC Electrical Characteristics (Continued) Guaranteed over recommended operating conditions unless otherwise noted. Parameter Output Data Delay Time (1.8V) Symbol tod Conditions 3G 10-bit 15pF Cload 3G 20-bit 15pF Cload HD 10-bit 15pF Cload HD 20-bit 15pF Cload SD 10-bit 15pF Cload SD 20-bit 15pF Cload Output Data Delay Time (3.3V) tod 3G 10-bit 15pF Cload 3G 20-bit 15pF Cload HD 10-bit 15pF Cload HD 20-bit 15pF Cload SD 10-bit 15pF Cload SD 20-bit 15pF Cload GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 Min Typ Max Units Notes SPI - - 14.0 ns 3 DBUS - - 1.8 ns 3 STAT - - 2.5 ns 3 DBUS - - 3.7 ns 3 STAT - - 4.4 ns 3 DBUS - - 3.7 ns 3 STAT - - 4.4 ns 3 DBUS - - 3.7 ns 3 STAT - - 4.4 ns 3 DBUS - - 22.2 ns 3 STAT - - 22.2 ns 3 DBUS - - 41.0 ns 3 STAT - - 41.0 ns 3 SPI - - 14.0 ns 4 DBUS - - 1.9 ns 4 STAT - - 2.2 ns 4 DBUS - - 3.7 ns 4 STAT - - 4.1 ns 4 DBUS - - 3.7 ns 4 STAT - - 4.1 ns 4 DBUS - - 3.7 ns 4 STAT - - 4.1 ns 4 DBUS - - 22.2 ns 4 STAT - - 22.2 ns 4 DBUS - - 41.0 ns 4 STAT - - 41.0 ns 4 19 of 104 Table 2-4: AC Electrical Characteristics (Continued) Guaranteed over recommended operating conditions unless otherwise noted. Parameter Output Data Rise/Fall Time (1.8V) Symbol tr/tf Conditions 3G 10-bit 6pF Cload All other modes 6pF Cload 3G 10-bit 15pF Cload All other modes 15pF Cload Output Data Rise/Fall Time (3.3V) tr/tf 3G 10-bit 6pF Cload All other modes 6pF Cload Output Data Rise/Fall Time (3.3V) tr/tf 3G 10-bit 15pF Cload All other modes 15pF Cload Min Typ Max Units Notes STAT - - 0.4 ns 1 DBUS - - 0.3 ns 1 STAT - - 0.4 ns 1 DBUS - - 0.4 ns 1 STAT - - 1.5 ns 3 DBUS - - 1.1 ns 3 STAT - - 1.5 ns 3 DBUS - - 1.4 ns 3 STAT - - 0.5 ns 2 DBUS - - 0.4 ns 2 STAT - - 0.5 ns 2 DBUS - - 0.4 ns 2 STAT - - 1.6 ns 4 DBUS - - 1.5 ns 4 STAT - - 1.6 ns 4 DBUS - - 1.4 ns 4 Serial Digital Input Serial Input Data Rate DRSDI - 0.27 - 2.97 Gb/s - Serial Input Voltage Swing VSDI TA =25C, differential, 270Mb/s & 1.485Gb/s 720 800 950 mVp-p 6 TA =25C, differential, 2.97Gb/s 720 800 880 mVp-p 6 Belden 1694A cable, 3G - 150 - m - Belden 1694A cable, HD - 230 - m - Belden 1694A cable, SD - 440 - m - - Achievable Cable Length Input Return Loss - Single-ended 15 21 - dB 7 Input Resistance - Single-ended - 1.52 - k - Input Capacitance - Single-ended - 1 - pF - Serial Output Data Rate DRSDO - 0.27 - 2.97 Gb/s - Serial Output Swing VSDO Differential with 100 load 320 - 600 mVp-p - trSDO - - - 180 ps - Serial Digital Output Serial Output Rise Time 20% ~ 80% GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 20 of 104 Table 2-4: AC Electrical Characteristics (Continued) Guaranteed over recommended operating conditions unless otherwise noted. Parameter Serial Output Fall Time 20% ~ 80% Serial Output Jitter with loop-through mode Serial Output Duty Cycle Distortion Symbol Conditions tfSDO - tOJ DCDSDD Min Typ Max Units Notes - - 180 ps - SMPTE colour bar 3G, 150m - - 100 ps - SMPTE colour bar HD, 250m - - 100 ps - SMPTE colour bar SD, 480m - - 470 ps - 3G - 10 - ps - HD - 10 - ps - SD - 20 - ps - Synchronous lock time - - - - 25 s - Asynchronous lock time - - 0.1 - 20 ms - Lock time from power-up - After 20 minutes at -20C - - 5 s - GSPI GSPI Input Clock Frequency fSCLK - - 60 MHz 5 GSPI Input Clock Duty Cycle DCSCLK 40 50 60 % 5 GSPI Input Data Setup Time - 1.5 - - ns 5 GSPI Input Data Hold Time - 1.5 - - ns 5 GSPI Output Data Hold Time - 1.5 - - ns 5 1.5 - - ns 5 50% levels 3.3V or 1.8V operation CS low before SCLK rising edge - Time between end of command word (or data in Auto-Increment mode) and the first SCLK of the following data word - write cycle - 37.1 - - ns 5 Time between end of command word (or data in Auto-Increment mode) and the first SCLK of the following data word - read cycle - 148.4 - - ns 5 CS high after SCLK falling edge - 37.1 - - ns 5 50% levels 3.3V or 1.8V operation NOTES: 1. 2. 3. 4. 5. 6. 7. 1.89V and 0C. 3.47V and 0C. 1.71V and 85C 3.13V and 85C Timing parameters defined in Section 4.19.3 0m cable length Tested on a GS2961A board from 5MHz to 3GHz GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 21 of 104 3. Input/Output Circuits IO_VDD 200 Input Pin Figure 3-1:Digital Input Pin with Schmitt Trigger (20bit/10bit, CS_TMS, SW_EN, IOPROC_EN/DIS, JTAG/HOST, RC_BYP, RESET_TRST, SCLK_TCK, SDIN_TDI, SDO_EN/DIS, STANDBY, TIM_861) IO_VDD 200 Output Pin Figure 3-2:Bidirectional Digital Input/Output Pin - Configured to Output unless in Reset Mode. (DVB_ASI, SMPTE_BYPASS) GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 22 of 104 IO_VDD 200 Output Pin Figure 3-3:Bidirectional Digital Input/Output Pin with programmable drive strength. These pins are configured to output unless in Reset Mode; in which case they are high-impedance. The drive strength can be set by writing to address 06Dh in the host interface register. (DOUT0, DOUT1, DOUT2, DOUT3, DOUT4, DOUT5, DOUT6, DOUT7, DOUT8, DOUT9, SDOUT_TDO, STAT0, STAT1, STAT2, STAT3, STAT4, STAT5, XTAL_OUT, DOUT10, DOUT11, DOUT12, DOUT13, DOUT14, DOUT15, DOUT16, DOUT17, DOUT18, DOUT19, PCLK) XTAL1 XTAL2 XTAL_OUT Figure 3-4:XTAL1/XTAL2/XTAL-OUT GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 23 of 104 A_VDD 2k VBG 50 Figure 3-5:VBG EQ_VDD Out <0> LB_CONT Out <1> Figure 3-6:LB_CONT PLL_VDD 25 LF 25 Figure 3-7:Loop Filter GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 24 of 104 BUFF_VDD 50 50 SDO SDO Figure 3-8:SDO/SDO 4k 4k SDI SDI RC 6k 6k Figure 3-9:Equalizer Input Equivalent Circuit GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 25 of 104 4. Detailed Description 4.1 Functional Overview The GS2961A is a multi-rate SDI integrated Receiver which includes complete SMPTE processing, as per SMPTE 425M, 292M and SMPTE 259M-C. The SMPTE processing features can be bypassed to support signals with other coding schemes. The GS2961A integrates Gennum's adaptive cable equalizer technology, achieving unprecedented cable lengths and jitter tolerance. It features DC restoration to compensate for the DC content of SMPTE pathological signals. The device features an Integrated Reclocker with an internal VCO and a wide Input Jitter Tolerance (IJT) of 0.7UI. A serial digital loop through output is provided, which can be configured to output either reclocked or non-reclocked serial digital data. The Serial Digital Output can be connected to an external Cable Driver. The device operates in one of four basic modes: SMPTE mode, DVB-ASI mode, Data-Through mode or Standby mode. In SMPTE mode, the GS2961A performs SMPTE de-scrambling and NRZI to NRZ decoding and word alignment. Line-based CRC errors, line number errors, TRS errors and ancillary data check sum errors can all be detected. The GS2961A also provides ancillary data extraction. The entire ancillary data packet is extracted, and written to host-accessible registers. Other processing functions include H:V:F timing extraction, Luma and Chroma ancillary data indication, video standard detection, and SMPTE 352M packet detection and decoding. All of the processing features are optional, and may be enabled or disabled via the Host Interface. Both SMPTE 425M Level A and Level B inputs are supported. The GS2961A also provides user-selectable conversion from Level B to Level A for 1080p 50/60 4:2:2 10-bit formats only. In DVB-ASI mode, 8b/10b decoding is applied to the received data stream. In Data-Through mode, all forms of SMPTE and DVB-ASI decoding are disabled, and the device can be used as a simple serial to parallel converter. The device can also be placed in a lower power Standby mode. In this mode, no signal processing is carried out and the parallel output is held static. Placing the Receiver in Standby mode will automatically place the integrated equalizer in power down mode as well. Parallel data outputs are provided in 20-bit or 10-bit multiplexed format for 3Gb/s, HD and SD video rates. For 1080p 50/60 4:2:2 10-bit, the parallel data is output on the 20-bit parallel bus as Y on 10 bits and Cb/Cr on the other 10 bits. As such, this parallel bus can interface directly with video processor ICs. For other SMPTE 425M mapping structures, the video data is mapped to a 20-bit virtual interface as described in SMPTE 425M. In all cases this 20-bit parallel bus can be multiplexed onto 10 bits for a low pin count interface with downstream devices. The associated Parallel Clock input signal operates at 148.5 or 148.5/1.001MHz (for all 3Gb/s HD 10-bit multiplexed modes), 74.25 or 74.25/1.001MHz (for HD 20-bit mode), 27MHz (for SD 10-bit mode) and 13.5MHz (for SD 20-bit mode). GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 26 of 104 Data Stream 2 ("Link 2") HANC GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 3FF 3FF 000 000 000 000 XYZ XYZ C b[1] 0 Y[1] 0 C r[1] 0 Y[1] 1 C b[1] 1 Y[1] 2 C r[1] 1 Y[1] 3 C b[1] 2 Y[1] 4 C r[1] 2 Y[1] 5 C b[1] 3 Y[1] 6 C r[1] 3 Y[1] 7 C b[1] 4 Y[1] 8 C r[1] 4 Y[1] 9 C b[1] 5 Y[1] 10 C r[1] 5 Y[1] 11 C b[1] 6 Y[1] 12 C r[1] 6 Y[1] 13 C b[1] 7 Y[1] 14 C r[1] 7 Y[1] 15 C b[1] 8 Y[1] 16 C r[1] 8 Y[1] 17 EAV 3FF 3FF 000 000 000 000 XYZ XYZ C b[2] 0 Y[2] 0 C r[2] 0 Y[2] 1 C b[2] 1 Y[2] 2 C r[2] 1 Y[2] 3 C b[2] 2 Y[2] 4 C r[2] 2 Y[2] 5 C b[2] 3 Y[2] 6 C r[2] 3 Y[2] 7 C b[2] 4 Y[2] 8 C r[2] 4 Y[2] 9 C b[2] 5 Y[2] 10 C r[2] 5 Y[2] 11 C b[2] 6 Y[2] 12 C r[2] 6 Y[2] 13 C b[2] 7 Y[2] 14 C r[2] 7 Y[2] 15 C b[2] 8 Y[2] 16 C r[2] 8 Y[2] 17 Audio data[1] Audio Ctl[1] Audio data[1] Audio Ctl[1] Audio data[1] Audio Ctl[1] Audio data[1] Audio Ctl[1] Audio data[1] YANC data[1] Audio data[1] YANC data[1] Audio data[1] YANC data[1] Audio data[1] YANC data[1] EAV Audio data[2] Audio Ctl[2] Audio data[2] Audio Ctl[2] Audio data[2] Audio Ctl[2] Audio data[2] Audio Ctl[2] Audio data[2] YANC data[2] Audio data[2] YANC data[2] Audio data[2] YANC data[2] Audio data[2] YANC data[2] Data Stream 1 ("Link A") 3FF 000 000 XYZ LN0 LN1 C RC 0 C RC 1 Audio data Audio data Audio data Audio data Audio data Audio data Audio data Audio data Audio data Audio data Audio data Audio data CANC data CANC data CANC data CANC data HBLANK HBLANK HBLANK HBLANK HBLANK HBLANK HBLANK HBLANK HBLANK HBLANK HBLANK HBLANK 3FF 000 000 XYZ Cb0 C r0 Cb1 C r1 Cb2 C r2 Cb3 C r3 Cb4 C r4 Cb5 C r5 Cb6 C r6 Cb7 C r7 Cb8 C r8 Cb9 C r9 Cb10 C r10 Cb11 C r11 Cb12 C r12 Cb13 C r13 Cb14 C r14 Cb15 C r15 Cb16 C r16 Cb17 C r17 Data Stream 2 3FF 3FF 000 000 000 000 XYZ XYZ LN0 LN0 LN1 LN1 C RC 0 C RC 0 C RC 1 C RC 1 3FF 000 000 XYZ LN0 LN1 C RC 0 C RC 1 Audio Ctl Audio Ctl Audio Ctl Audio Ctl YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data YANC data 3FF 000 000 XYZ Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 Y11 Y12 Y13 Y14 Y15 Y16 Y17 Y18 Y19 Y20 Y21 Y22 Y23 Y24 Y25 Y26 Y27 Y28 Y29 Y30 Y31 Y32 Y33 Y34 Y35 Data Stream 1 3FF 3FF 000 000 000 000 XYZ XYZ LN0 LN0 LN1 LN1 C RC 0 C RC 0 C RC 1 C RC 1 NOTE: for 3Gb/s 10-bit mode the device operates in Dual Data Rate (DDR) mode, where the data is sampled at both the rising and falling edges of the clock. This reduces the I/O speed requirements of the downstream devices. 4.2 SMPTE 425M Mapping - 3G Level A and Level B Formats 4.2.1 Level A Mapping Direct image format mapping - the mapping structure used to define 1080p/50/59.94/60 4:2:2 YCbCr 10 bit data, as supported by the GS2961A. See Figure 4-1: HANC SAV Active Video Figure 4-1:Level A Mapping 4.2.2 Level B Mapping The 2 x 292 HD SDI interface - this can be two distinct links running at 1.5Gb/s or one 3Gb/s link formatted according to SMPTE 292 on two 10-bit links (Y/C interleaved). For 1080p/50/59.94/60 4:2:2 video formats, each link should be line-interleaved as per SMPTE 372M. See Figure 4-2: multiplexed Y/C data SAV Active Video "double" TRS headers from interleaved HD-SDI; Figure 4-2:Level B Mapping The GS2961A distinguishes between Level A and Level B mappings at 3Gb/s. When Level B data is detected, each 10-bit link is demultiplexed into its individual component streams, and most video processing features, including error detection and correction are enabled separately for Data Stream 1 and Data Stream 2 (Link A and Link B, respectively). Note that ancillary data extraction can only be enabled for one link for 3Gb/s Level B data. Data Stream 1 or Data Stream 2 can be selected via the host interface. 27 of 104 4.3 Serial Digital Input The GS2961A can accept serial digital inputs compliant with SMPTE 424M, SMPTE 292 and SMPTE 259M-C. 4.3.1 Integrated Adaptive Cable Equalizer The GS2961A integrates Gennum's adaptive cable equalizer technology. The integrated adaptive equalizer can equalize 3Gb/s, HD and SD serial digital signals, and will typically equalize 150m of Belden 1694A cable at 2.97Gb/s, 250m at 1.485Gb/s and 480m at 270Mb/s.The integrated adaptive equalizer is powered from a single +3.3V power supply and consumes approximately 195mW of power. The equalizer can be bypassed by programming register 073h through the GSPI interface. 4.3.1.1 Serial Digital Inputs The Serial Data Signal may be connected to the input pins (SDI/SDI) in either a differential or single ended configuration. AC coupling of the inputs is recommended, as the SDI and SDI inputs are internally biased at approximately 1.8V. 4.3.1.2 Cable Equalization The input signal passes through a variable gain equalizing stage whose frequency response closely matches the inverse of the cable loss characteristic. In addition, the variation of the frequency response with control voltage imitates the variation of the inverse cable loss characteristic with cable length. The edge energy of the equalized signal is monitored by a detector circuit which produces an error signal corresponding to the difference between the desired edge energy and the actual edge energy. This error signal is integrated by both an internal and an external AGC filter capacitor providing a steady control voltage for the gain stage. As the frequency response of the gain stage is automatically varied by the application of negative feedback, the edge energy of the equalized signal is kept at a constant level which is representative of the original edge energy at the transmitter. The equalized signal is also DC restored, effectively restoring the logic threshold of the equalized signal to its correct level independent of shifts due to AC coupling. SDI SDI Equalizer DC Restore Output SDO SDO GAIN_SEL AGC AGC AGC Figure 4-3:GS2961A Integrated EQ Block Diagram GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 28 of 104 4.4 Serial Digital Loop-Through Output The GS2961A contains a 100 differential serial output buffer which can be configured to output either a retimed or a buffered version of the serial digital input. The SDO and SDO outputs of this buffer can interface directly to a 3Gb/s-capable, SMPTE compliant Gennum cable driver. See 5.3 Typical Application Circuit on page 99. When the RC_BYP pin is set HIGH, the serial digital output is the re-timed version of the serial input. When the RC_BYP pin is set LOW, the serial digital output is simply the buffered version of the serial input, bypassing the internal reclocker. The output can be disabled by setting the SDO_EN/DIS pin LOW. The output is also disabled when the STANDBY pin is asserted HIGH. When the output is disabled, both SDO and SDO pins are set to VDD and remain static. The SDO output is muted when the RC_BYP pin is set HIGH and the PLL is unlocked (LOCKED pin is LOW). When muted, the output is held static at logic `0' or logic `1'. Table 4-1: Serial Digital Output SDO_EN/DIS RC_BYP SDO/SDO 0 X Disabled 1 1 Re-timed 1 0 Buffered (not re-timed) NOTE: the serial digital output is muted when the GS2961A is unlocked. 4.5 Serial Digital Reclocker The GS2961A includes both a PLL stage and a sampling stage. The PLL is comprised of two distinct loops: * A coarse frequency acquisition loop sets the centre frequency of the integrated Voltage Controlled Oscillator (VCO) using an external 27MHz reference clock * A fine frequency and phase locked loop aligns the VCO's phase and frequency to the input serial digital stream The frequency lock loop results in a very fast lock time. The sampling stage re-times the serial digital input with the locked VCO clock. This generates a clean serial digital stream, which may be output on the SDO/SDO output pins and converted to parallel data for further processing. Parallel data is not affected by RC_BYP. Only the SDO is affected by this pin. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 29 of 104 4.5.1 PLL Loop Bandwidth The fine frequency and phase lock loop in the GS2961A reclocker is non-linear. The PLL loop bandwidth scales with the jitter amplitude of the input data stream; automatically reduces bandwidth in response to higher jitter. This allows the PLL to reject more of the jitter in the input data stream and produce a very clean reclocked output. The loop bandwidth of the GS2961A PLL is defined with 0.2UI input jitter. The bandwidth is controlled by the LB_CONT pin. Under nominal conditions, with the LB_CONT pin floating and 0.2UI input jitter applied, the loop bandwidth is set to 1/1000 of the frequency of the input data stream. Connecting the LB_CONT pin to 3.3V reduces the bandwidth to half of the nominal setting. Connecting the LB_CONT pin to GND increases the bandwidth to double the nominal setting. Table 4-2 below summarizes this information. Table 4-2: PLL Loop Bandwidth Input Data Rate LB_CONT Pin Connection Loop Bandwidth (MHz)1 SD 3.3V 0.135 Floating 0.27 0V 0.54 3.3V 0.75 Floating 1.5 0V 3.0 3.3V 1.5 Floating 3.0 0V 6.0 HD 3G 1Measured with 0.2UI input jitter applied 4.6 External Crystal/Reference Clock The GS2961A requires an external 27MHz reference clock for correct operation. This reference clock is generated by connecting a crystal to the XTAL1 and XTAL2 pins of the device. See Application Reference Design on page 98. Table 4-3 shows XTAL characteristics. Alternately, a 27MHz external clock source can be connected to the XTAL1 pin of the device, as shown in Figure 4-4. The frequency variation of the crystal including aging, supply and temperature variation, should be less than +/-100ppm. The equivalent series resistance (or motional resistance) should be a maximum of 50. The external crystal is used in the frequency acquisition process. It has no impact on the output jitter performance of the part when the part is locked to incoming data. Because of this, the only key parameter is the frequency variation of the crystal that is stated above. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 30 of 104 External Crystal Connection External Clock Source Connection 16pF K6 K6 XTAL1 XTAL1 External Clock J6 NC XTAL2 J6 XTAL2 16pF Notes: 1. Capacitor values listed represent the total capacitance, including discrete capacitance and parasitic board capacitance. 2.XTAL1 serves as an input, which may alternatively accept a 27MHz clock source. Figure 4-4:27MHz Clock Sources Table 4-3: Input Clock Requirements Parameter Min Typ Max UOM Notes XTAL1 Low Level Input Voltage (Vil) - - 20% of VDD_IO V 3 XTAL1 High Level Input Voltage (Vih) 80% of VDDIO - - V 3 XTAL1 Input Slew Rate 2 - - V/ns 3 XTAL1 to XOUT Prop. Delay (High to Low) 1.3 1.5 2.3 ns 3 XTAL1 to XOUT Prop. Delay (Low to High) 1.3 1.6 2.3 ns 3 NOTES: Valid when the cell is used to buffer an external clock source which is connected to the XTAL1 pin, then nothing should be connected to the XTAL2 pin. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 31 of 104 4.7 Lock Detect The LOCKED output signal is available by default on the STAT3 output pin, but may be programmed to be output through any one of the six programmable multi-functional pins of the device; STAT[5:0]. The LOCKED output signal is set HIGH by the Lock Detect block under the following conditions: Table 4-4: Lock Detect Conditions Mode of Operation Mode Setting Condition for Locked Data-Through Mode SMPTE_BYPASS = LOW DVB_ASI = LOW Reclocker PLL is locked. SMPTE Mode SMPTE_BYPASS = HIGH DVB_ASI = LOW Reclocker PLL is locked. Three consecutive TRS words are detected in a two-line window. SMPTE Mode with Lock Noise-Immunity Enabled SMPTE_BYPASS = HIGH DVB_ASI = LOW Bit 0x085[10] set to 1 AUTO/MAN = HIGH Reclocker PLL is locked. Two consecutive TRS words are detected in a two-line window. The last two detected TRS words must have the same alignment. NOTE: Auto mode only. Not supported in Manual mode. DVB_ASI Mode SMPTE_BYPASS = LOW DVB_ASI = HIGH Bit AUTO/MAN = LOW Reclocker PLL is locked. 32 consecutive DVB_ASI words with no errors are detected within a 128-word window. NOTE 1: The part will lock to ASI Auto mode, but could falsely unlock for some ASI input patterns. NOTE 2: In Standby mode, the reclocker PLL unlocks. However, the LOCKED signal retains whatever state it previously held. So, if before Standby assertion, the LOCKED signal is HIGH, then during standby, it remains HIGH regardless of the status of the PLL. 4.7.1 Asynchronous Lock The lock detection algorithm is a continuous process, beginning at device power-up or after a system reset. It continues until the device is powered down or held in reset. The device first determines if a valid serial digital input signal has been presented to the device. If no valid serial data stream has been detected, the serial data into the device is considered invalid, and the LOCKED signal is LOW. Once a valid input signal has been detected, the asynchronous lock algorithm enters a "hunt" phase, in which the device attempts to detect the presence of either TRS words or DVB-ASI sync words. By default, the device powers up in auto mode (the AUTO/MAN bit in the host interface is set HIGH). In this mode, the device operating frequency toggles between 3G, HD and SD rates as it attempts to lock to the incoming data rate. The PCLK output continues to operate, and the frequency may switch between 148.5MHz, 74.25MHz, 27MHz and 13.5MHz. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 32 of 104 When the device is operating in manual mode (AUTO/MAN bit in the host interface is LOW), the operating frequency needs to be set through the host interface using the RATE_DET[1:0] bits. In this mode, the asynchronous lock algorithm does not toggle the operating rate of the device and attempts to lock within a single standard. Lock is achieved within three lines of the selected standard. 4.7.2 Signal Interruption The device tolerates a signal interruption of up to 10s without unlocking, as long as no TRS words are deleted by this interruption. If a signal interruption of greater than 10s is detected, the lock detection algorithm may lose the current data rate, and LOCKED will de-assert until the data rate is re-acquired by the lock detection block. 4.8 SMPTE Functionality 4.8.1 Descrambling and Word Alignment The GS2961A performs NRZI to NRZ decoding and data descrambling according to SMPTE 424M/SMPTE 292/SMPTE 259M-C and word aligns the data to TRS sync words. When operating in manual mode (AUTO/MAN = LOW), the device only carries out SMPTE decoding, descrambling and word alignment when the SMPTE_BYPASS pin is set HIGH and the DVB_ASI pin is set LOW. When operating in Auto mode (AUTO/MAN = HIGH), the GS2961A carries out descrambling and word alignment to enable the detection of TRS sync words. When two consecutive valid TRS words (SAV and EAV), with the same bit alignment have been detected, the device word-aligns the data to the TRS ID words. TRS ID word detection is a continuous process. The device remains in SMPTE mode until TRS ID words fail to be detected. NOTE 1: Both 8-bit and 10-bit TRS headers are identified by the device. NOTE 2: In 3G Level B mode, the device only supports Data Stream 1 and Data Stream 2 having the same bit width (i.e. both data streams contain 8-bit data, or both data streams contain 10-bit data). If the bit widths between the two data streams are different, the GS2961A cannot word align the input stream, and switches in Data-Through mode. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 33 of 104 4.9 Parallel Data Outputs The parallel data outputs are aligned to the rising edge of the PCLK. 4.9.1 Parallel Data Bus Buffers The parallel data bus, status signal outputs and control signal input pins are all connected to high-impedance buffers. The device supports 1.8 or 3.3V (LVTTL and LVCMOS levels) supplied at the IO_VDD and IO_GND pins. All output buffers (including the PCLK output), are set to high-impedance in Reset mode (RESET_TRST = LOW). I/O Timing Specs: 10-bit SDR Mode: 6.734ns (HD 10-bit) 37.037ns (SD 10-bit) DBUS[19:10] Y0 Cr0 80% Y1 Cb1 80% PCLK_OUT 20% toh 20% tr tf tod 10bHD Mode 3.3V dbus stat toh 1.000ns 1.000ns tr/tf (min) 0.400ns 0.500ns Cload 6 pF tod tr/tf (max) 3.700ns 1.400ns 4.100ns 1.600ns 1.8V Cload 15 pF toh 1.000ns 1.000ns tr/tf (min) 0.400ns 0.400ns Cload toh tr/tf (min) 19.400ns 0.400ns 19.400ns 0.400ns Cload 6 pF tod tr/tf (max) 3.700ns 1.400ns 4.400ns 1.500ns Cload 15 pF 10bSD Mode 3.3V dbus stat toh tr/tf (min) 19.400ns 0.400ns 19.400ns 0.500ns Cload 6 pF tod tr/tf (max) 22.200ns 1.400ns 22.200ns 1.600ns 1.8V Cload 15 pF 6 pF tod tr/tf (max) 22.200ns 1.400ns 22.200ns 1.500ns Cload 15 pF Figure 4-5:PCLK to Data and Control Signal Output Timing - SDR Mode 1 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 34 of 104 I/O Timing Specs: 20-bit SDR Mode: 6.734ns (3G 20-bit) 13.468ns (HD 20-bit) 74.074ns (SD 20-bit) DBUS[19:10] Y0 Y1 Y2 Y3 DBUS[9:0] Cb0 Cr0 Cb1 Cr1 80% 80% PCLK_OUT 20% toh 20% tr tf tod 20b3G and 20bHD Modes 3.3V dbus stat toh 1.000ns 1.000ns tr/tf (min) 0.400ns 0.500ns Cload tod tr/tf (max) 3.700ns 1.400ns 4.100ns 1.600ns 6 pF 1.8V Cload 15 pF toh 1.000ns 1.000ns tr/tf (min) 0.400ns 0.400ns Cload toh tr/tf (min) 38.000ns 0.400ns 38.000ns 0.400ns Cload 6 pF tod tr/tf (max) 3.700ns 1.400ns 4.400ns 1.500ns Cload 15 pF 20bSD Mode 3.3V dbus stat toh tr/tf (min) 38.000ns 0.400ns 38.000ns 0.500ns Cload 6 pF tod tr/tf (max) 41.000ns 1.400ns 41.000ns 1.600ns 1.8V Cload 15 pF 6 pF tod tr/tf (max) 41.000ns 1.400ns 41.000ns 1.500ns Cload 15 pF Figure 4-6:PCLK to Data and Control Signal Output Timing - SDR Mode 2 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 35 of 104 I/O Timing Specs: DDR Mode: 6.734ns 3.367ns DBUS[19:10] Y0 Cr0 Y1 80% Cb1 Y2 Cr1 Y3 80% PCLK_OUT 20% toh toh tod 20% tr tf tod 10b3G Mode 3.3V dbus stat toh 0.450ns 0.450ns tr/tf (min) 0.400ns 0.500ns Cload 6 pF 1.8V tod tr/tf (max) 1.900ns 1.500ns 2.200ns 1.600ns Cload 15 pF toh 0.400ns 0.450ns tr/tf (min) 0.300ns 0.400ns Cload 6 pF tod tr/tf (max) 1.800ns 1.100ns 2.500ns 1.500ns Cload 15 pF Figure 4-7:PCLK to Data and Control Signal Output Timing - DDR Mode The GS2961A has a 20-bit output parallel bus, which can be configured for different output formats as shown in Table 4-5. Table 4-5: GS2961A Output Video Data Format Selections Output Data Format Pin/Register Bit Settings DOUT[9:0] DOUT[19:10] 20BIT /10BIT RATE_ SEL0 RATE_ SEL1 SMPTE_ BYPASS DVB-ASI 20-bit demultiplexed HD format HIGH LOW LOW HIGH LOW Chroma Luma 20-bit data output HD format HIGH LOW LOW LOW LOW DATA DATA 20-bit demultiplexed SD format HIGH HIGH X HIGH LOW Chroma Luma 20-bit data output SD format HIGH HIGH X LOW LOW DATA DATA 10-bit multiplexed 3G DDR format LOW LOW HIGH HIGH LOW Driven LOW Data Stream One/ Data Stream Two* 10-bit multiplexed HD format LOW LOW LOW HIGH LOW Driven LOW Luma/Chroma 10-bit data output HD format LOW LOW LOW LOW LOW Driven LOW DATA GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 36 of 104 Table 4-5: GS2961A Output Video Data Format Selections (Continued) Output Data Format Pin/Register Bit Settings DOUT[9:0] DOUT[19:10] 20BIT /10BIT RATE_ SEL0 RATE_ SEL1 SMPTE_ BYPASS DVB-ASI 10-bit multiplexed SD format LOW HIGH X HIGH LOW Driven LOW Luma/Chroma 10-bit data output SD format LOW HIGH X LOW LOW Driven LOW DATA 20-bit demultiplexed 3G format HIGH LOW HIGH HIGH LOW Data Stream Two* Data Stream One* DVB-ASI format LOW HIGH X - HIGH DOUT19 = WORD_ERR DOUT18 = SYNC_OUT DOUT17 = H_OUT DOUT16 = G_OUT DOUT15 = F_OUT DOUT14 = E_OUT DOUT13 = D_OUT DOUT12 = C_OUT DOUT11 = B_OUT DOUT10 = A_OUT *In 3G Mode, the data streams can be swapped at the output through the host interface. NOTE: When in Auto Mode, swap RATE_SEL with RATE_DET. 4.9.2 Parallel Output in SMPTE Mode When the device is operating in SMPTE mode (SMPTE_BYPASS = HIGH and DVB_ASI = LOW), data is output in either Multiplexed or Demultiplexed form depending on the setting of the 20bit/10bit pin. When operating in 20-bit mode (20bit/10bit = HIGH), the output data is demultiplexed Luma and Chroma data for SD and HD data rates, and Data Stream 1 and Data Stream 2 for the 3G data. When operating in 10-bit mode (20bit/10bit = LOW), the output data is multiplexed Luma and Chroma data for SD and HD data rates, and multiplexed Data Stream 1 and Data Stream 2 for the 3G data. In this mode, the data is presented on the DOUT[19:10] pins, with DOUT[9:0] being forced LOW. 4.9.3 Parallel Output in DVB-ASI Mode In DVB-ASI mode, the 20bit/10bit pin must be set LOW to configure the output parallel bus for 10-bit operation. DVB-ASI mode is enabled when the AUTO/MAN bit is LOW, SMPTE_BYPASS pin is LOW and the DVB_ASI pin is HIGH. The extracted 8-bit data is presented on DOUT[17:10] such that DOUT[17:10] = HOUT ~ AOUT, where AOUT is the least significant bit of the decoded transport stream data. In addition, the DOUT19 and DOUT18 pins are configured as DVB-ASI status signals WORDERR and SYNCOUT respectively. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 37 of 104 SYNCOUT is HIGH whenever a K28.5 sync character is output from the device. WORDERR is HIGH whenever the device has detected a running disparity error or illegal code word. 4.9.4 Parallel Output in Data-Through Mode This mode is enabled when the SMPTE_BYPASS and DVB_ASI pins are LOW. In this mode, data is passed to the output bus without any decoding, descrambling or word-alignment. The output data width (10-bit or 20-bit) is controlled by the setting of the 20bit/10bit pin. NOTE: In order to use Data-Through Mode, a 3G-B input signal must be connected at the input of the device when the switch is made from Auto Mode to Data-Through Mode. 4.9.5 Parallel Output Clock (PCLK) The frequency of the PCLK output signal of the GS2961A is determined by the output data rate and the 20bit/10bit pin setting. Table 4-6 lists the output signal formats according to the data format selected in Manual mode (AUTO/MAN bit in the host interface is set LOW), or detected in Auto Mode (AUTO/MAN bit in the host interface is set HIGH). Table 4-6: GS2961A PCLK Output Rates Output Data Format Pin/Control Bit Settings PCLK Rate 20bit/ 10bit RATE_DET0 RATE_DET1 SMPTE_ BYPASS DVB-ASI 20-bit demultiplexed HD format HIGH LOW LOW HIGH LOW 74.25 or 74.25/1.001MHz 20-bit data output HD format HIGH LOW LOW LOW LOW 74.25 or 74.25/1.001MHz 20-bit demultiplexed SD format HIGH HIGH X HIGH LOW 13.5MHz 20-bit data output SD format HIGH HIGH X LOW LOW 13.5MHz 20-bit demultiplexed 3G format HIGH LOW HIGH HIGH LOW 148.5 or 148.5/1.001MHz 10-bit multiplexed 3G DDR format LOW LOW HIGH HIGH LOW 148.5 or 148.5/1.001MHz 10-bit multiplexed HD format LOW LOW LOW HIGH LOW 148.5 or 148.5/1.001MHz 10-bit data output HD format LOW LOW LOW LOW LOW 148.5 or 148.5/1.001MHz 10-bit multiplexed SD format LOW HIGH X HIGH LOW 27MHz GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 38 of 104 Table 4-6: GS2961A PCLK Output Rates (Continued) Output Data Format Pin/Control Bit Settings PCLK Rate 20bit/ 10bit RATE_DET0 RATE_DET1 SMPTE_ BYPASS DVB-ASI 10-bit data output SD format LOW HIGH X LOW LOW 27MHz 10-bit ASI output SD format LOW HIGH X LOW HIGH 27MHz 4.9.6 DDR Parallel Clock Timing The GS2961A has the ability to transmit 10-bit parallel video data with a DDR (Dual Data Rate) pixel clock over a single-ended interface. DDR Mode can be enabled when the SDI data bandwidth is 3Gb/s. In this case, the 10-bit parallel data rate is 297Mb/s, and the frequency of the DDR clock is 148.5MHz (10-bit output in 3G mode). The DDR pixel clock avoids the need to operate a high-drive pixel clock at 297MHz. This reduces power consumption, clock drive strength, and noise generation, and precludes from generating excessive EMI had PCLK on the board have to run at 297MHz. It also enables easier board routing and avoids the need to use the higher-speed I/Os on FPGAs, which may require more expensive speed grades. Figure 4-8 and Figure 4-9 show how the DDR interface operates. The pixel clock is transmitted at half the data rate, and the interleaved data is sampled at the receiver on both clock edges. 20-bit bus (transition rate = 74.25MHz) 10-bit bus (transition rate = 148.5MHz) Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Cb0 Cr0 Cb1 Cr1 Cb2 Cr2 Cb3 Cr3 Cb4 Cr4 Y0 Cb Y1 0 Y6 Cb Y7 3 Y8 Cb Y9 4 Cr Cb Y2 Y3 0 1 Cr Cb Y4 Y5 1 2 Cr 2 Cr 3 Cr 4 PCLK (148.5MHz) Figure 4-8:DDR Video Interface - 3G Level A GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 39 of 104 Y[2] 3 C b[2] 2 Y[2] 4 Y[3] 3 C b[3] 2 Y[3] 4 Y[2] 2 Cr[2] 1 Y[3] 2 Cr[3] 1 Y[2] 1 Cr[2] 0 Cr[3] 0 C b[2] 1 Y[2] 0 Y[3] 0 Y[3] 1 C b[2] 0 DOUT1[9:0] Data Stream 2 DOUT0[9:0] C b[3] 1 Data Stream 1 C b[3] 0 20-bit bus (transition rate = 74.25MHz) DOUT1[9:0] C b[3] 0 C b[2] 0 Y[3] 0 Y[2] 0 C r[3] 0 C r[2] 0 Y[3] 1 Y[2] 1 C b[3] 1 C b[2] 1 Y[3] 2 Y[2] 2 C r[3] 1 C r[2] 1 Y[3] 3 Y[2] 3 C b[3] 2 C b[2] 2 Y[3] 4 Y[2] 4 10-bit bus (transition rate = 148.5MHz) PCLK (148.5MHz) Figure 4-9:DDR Video Interface - 3G Level B The GS2961A has the ability to shift the Setup/Hold window on the receive interface, by using an on-chip delay line to shift the phase of PCLK with respect to the data bus. The timing of the PCLK output, relative to the data, can be adjusted through the host interface registers. Address 06Ch contains the delay line controls: Bit[5] (DEL_LINE_CLK_SEL) is a coarse delay adjustment that selects between the default (nominal) PCLK phase and a quadrature phase, for a 90 phase shift. Bits[4:0] (DEL_LINE_OFFSET) comprise a fine delay adjustment to shift the PCLK in 40ps increments (typical conditions). The maximum fine delay adjustment is approximately 1.2ns under nominal conditions. An example delay adjustment over min/typ/max conditions is illustrated in Figure 4-10. The target delay is 0.84 ns under typical conditions (approximately 45 PCLK phase shift), and requires a control word setting of 0x0014 for address 0x006C. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 40 of 104 90 phase shift 6.734ns 3.367ns 1.684ns PCLK 0.842ns offset [5] = 1 (90 phase shift) Typical 45 phase shift 6.734ns 3.367ns Ranges: 1.684ns PCLK (MIN) 0.58ns delay PCLK (TYP) 0.84ns delay PCLK (MAX) 1.38ns delay Figure 4-10:Delay Adjustment Ranges 4.10 Timing Signal Generator The GS2961A has an internal timing signal generator which is used to generate digital FVH timing reference signals, to detect and correct certain error conditions and automatic video standard detection. The timing signal generator is only operational in SMPTE mode (SMPTE_BYPASS = HIGH). The timing signal generator 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 standard. It takes one video frame to obtain full synchronization to the received video standard. NOTE: Both 8-bit and 10-bit TRS words are identified by the device. Once synchronization has been achieved, the timing signal generator continues to monitor the received TRS timing information to maintain synchronization. The timing signal generator re-synchronizes all pixel and line based counters on every received TRS ID. Note that for correct operation of the timing signal generator, the SW_EN input pin must be set LOW, unless manual synchronous switching is enabled (Section 4.10.1). GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 41 of 104 4.10.1 Manual Switch Line Lock Handling The principle of switch line lock handling is that the switching of synchronous video sources will only disturb the horizontal timing and alignment, whereas the vertical timing remains in synchronization - i.e. switching between video sources of the same format. To account for the horizontal disturbance caused by a synchronous switch, the word alignment block and timing signal generator automatically re-synchronizes to the new timing immediately if the synchronous switch happens during the designated switch line, as defined in SMPTE recommended practice RP168-2002. The device samples the SW_EN pin on every PCLK cycle. When a Logic LOW to HIGH transition on this pin is detected anywhere within the active line, the word alignment block and timing signal generator re-synchronize immediately to the next TRS word. This allows the system to force immediate lock on any line, if the switch point is non-standard. To ensure proper switch line lock handling, the SW_EN signal should be asserted HIGH anywhere within the active portion of the line on which the switch has taken place, and should be held HIGH for approximately one video line. After this time period, SW_EN should be de-asserted. SW_EN should be held LOW during normal device operation. NOTE: It is the rising edge of the SW_EN signal, which generates the switch line lock re-synchronization. This edge must be in the active portion of the line containing the video switch point. Switch point V ideo source 1 Video source 2 EAV EAV ANC ANC SAV SAV AC TIVE PICTU RE AC TIVE PICTU RE E AV EAV ANC ANC S AV EA V ACTIVE P ANC ICTUR E SAV E AV ACTIVE PICTUR ANC E EAV ANC EAV SA V ACTIVE PICTURE EAV A NC SAV ANC S AV ACTIVE PICTURE EAV ANC SAV sw itch video source 1 to 2 DA TA IN EAV ANC SAV AC TIVE PICTU RE E AV ANC S AV ACTIVE PICTURE ANC EAV ANC S AV ACTIVE PICTURE EAV ANC SAV D ATA O U T EAV ANC SAV AC TIVE PICTU RE E AV ANC S AV ACTIVE PICTURE ANC EAV ANC S AV ACTIVE PICTURE EAV ANC SAV TRS position SW _EN Re-synchronization Switch point Video source 1 Video source 2 EAV EAV ANC ANC SAV SAV AC TIVE PICTU RE AC TIVE PICTU RE E AV EAV ANC ANC S AV EA V ACTIVE P ANC ICTUR E SAV E AV ACTIVE PICTUR ANC E EAV ANC EAV ANC SA V S AV ACTIVE PICTURE ACTIVE PICTURE EAV EAV A NC ANC SAV SAV sw itch video source 2 to 1 DA TA IN EAV ANC SAV AC TIVE PICTU RE EAV ANC SAV ACTIVE PICTURE EAV ANC SA V ACTIVE PICTURE EAV A NC SAV D ATA O U T EAV ANC SAV AC TIVE PICTU RE EAV ANC SAV ACTIVE PICTURE EAV ANC SA V ACTIVE PICTURE EAV A NC SAV TRS position SW _EN Re-synchronization Figure 4-11:Switch Line Locking on a Non-Standard Switch Line GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 42 of 104 4.10.2 Automatic Switch Line Lock Handling The synchronous switch point is defined for all major video standards in SMPTE RP168-2002. The device automatically re-synchronizes the word alignment block and timing signal generator at the switch point, based on the detected video standard. The device, as described in Section 4.10.1 and Figure 4-11 above, implements the re-synchronization process automatically, every field/frame. The switch line is defined as follows: * For 525 line interlaced systems: resynchronization takes place at then end of lines 10 & 273 * For 525 line progressive systems: resynchronization takes place at then end of line 10 * For 625 line interlaced systems: resynchronization takes place at then end of lines 6 & 319 * For 625 line progressive systems: resynchronization takes place at then end of line 6 * For 750 line progressive systems: resynchronization takes place at then end of line 7 * For 1125 line interlaced systems: resynchronization takes place at then end of lines 7 & 568 * For 1125 line progressive systems: resynchronization takes place at then end of line 7 NOTE: Unless indicated by SMPTE 352M payload identifier packets, the GS2961A does not distinguish between 1125-line progressive segmented-frame (PsF) video and 1125-line interlaced video operating at 25 or 30fps. However. PsF video operating at 24fps is detected by the device. A full list of all major video standards and switching lines is shown in Table 4-7. 4.10.3 Switch Line Lock Handling During Level B to Level A Conversion When 3G data is detected by the GS2961A, and Level B to Level A conversion is enabled, the device only supports a limited phase offset between two synchronous video sources if a synchronous switch is implemented. If the synchronous switch point results in an "extended" active video period, the GS2961A only re-synchronizes to the following TRS ID if the phase difference between the two sources is less than or equal to 10s. If the phase difference is greater than 10s, the GS2961A takes one additional line to re-synchronize. In this case, the user may observe a missing H pulse on the line following the switch line, on the H timing output. Note that this 10s constraint is only valid when Level B to Level A conversion is enabled, and only when the synchronous switch point results in an extended active video area. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 43 of 104 Table 4-7: Switch Line Position for Digital Systems System Frame Rate & Structure 1125 60/P 750 625 Pixel Structure 1920x1080 4:2:2 Signal Standard Parallel Interface 274M + RP211 50/P 274M + RP211 60/I 274M + RP211 50/I 274M + RP211 30/P 274M + RP211 25/P 274M + RP211 24/P 274M + RP211 30/PsF 274M + RP211 25/PsF 274M + RP211 24/PsF 274M + RP211 60/P 1280x720 4:2:2 296M 50/P 296M 30/P 296M 25/P 296M 24/P 296M 50/P 720x576 4:2:2 4:2:0 50/I 960x576 720x576 4:2:2 4:4:4:4 4:2:2 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 Serial Interface Line No. 292 7 7/569 7 292 7 6 BT.1358 349M 292 BT.1358 347M 344M BT.1358 BT.1358 BT.1362 BT.1358 349M 292 BT.1358 BT.1358 BT.1362 BT.601 349M 292 BT.601 BT.656 259M BT.799 349M 292 BT.799 347M 344M BT.799 BT.799 344M BT.799 BT.799 - BT.601 349M 292 BT.601 125M 259M 6/319 44 of 104 Table 4-7: Switch Line Position for Digital Systems (Continued) System Frame Rate & Structure 525 59.94/P Pixel Structure 720x483 4:2:2 4:2:0 59.94/I 960x483 720x483 4:2:2 4:4:4 4:2:2 HD-SDTI P or PsF structure 1920x1080 4:2:2 I structure Parallel Interface Serial Interface Line No. 293M 349M 292 10 293M 347M 344M 293M 293M 294M 293M 349M 292 293M 293M 294M 267M 349M 292 267M 267M 259M 267M 349M 292 267M 347M 344M 267M RP174 344M 267M RP175 RP175 125M 349M 292 125M 125M 259M 274M 274M + 348M 292 10/273 7 274M P structure 1280x720 50/I 720x576 59.94/I 720x483 SDTI Signal Standard 4:2:2 7/569 296M 296M + 348M BT.656 BT.656 + 305M 125M 125M + 305M 7 259M 6/319 10/273 4.11 Programmable Multi-function Outputs The GS2961A has 6 multi-function output pins, STAT [5:0], which are programmable via the host interface to output one of the following signals: Table 4-8: Output Signals Available on Programmable Multi-Function Pins Status Signal Selection Code Default Output Pin H/HSYNC (according to TIM_861 Pin) Section 4.12 0000 STAT 0 V/VSYNC (according to TIM_861 Pin) Section 4.12 0001 STAT 1 F/DE (according to TIM_861 Pin) Section 4.12 0010 STAT 2 LOCKED Section 4.7 0011 STAT 3 Y/1ANC Section 4.17 0100 STAT 4 C/2ANC Section 4.17 0101 - DATA ERROR Section 4.16 0110 STAT 5 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 45 of 104 Table 4-8: Output Signals Available on Programmable Multi-Function Pins (Continued) Status Signal Selection Code Default Output Pin VIDEO ERROR 0111 - EDH DETECTED 1001 - CARRIER DETECT 1010 - RATE_DET0 1011 - RATE_DET1 1100 - NOTE: Each of the STAT[5:0] pins are configurable individually using the register bits in the host interface; STAT[5:0]_CONFIG (008h/009h). 4.12 H:V:F Timing Signal Generation The GS2961A extracts critical timing parameters from the received TRS words. Horizontal blanking (H), Vertical blanking (V), and Field odd/even (F) timing are output on the STAT[2:0] pins by default. Using the H_CONFIG bit in the host interface, the H signal timing can be selected as one of the following: 1. Active line blanking (H_CONFIG = LOW) - the H output is HIGH for the horizontal blanking period, including the EAV TRS words. 2. TRS based blanking (H_CONFIG = HIGH) - the H output is set HIGH for the entire horizontal blanking period as indicated by the H bit in the received TRS signals. The timing of these signals is shown in Figure 4-15 below. NOTE: Both 8-bit and 10-bit TRS words are identified by the device. PCLK LUMA DATA CHROMA DATA H V F 3FF 000 000 XYZ (EAV) 3FF 000 000 XYZ (SAV) 3FF 000 000 XYZ (EAV) 3FF 000 000 XYZ (SAV) Figure 4-12:H:V:F Output Timing - 3G Level A and HDTV 20-bit Mode PCLK (3G DDR) PCLK (HD) MULTIPLEXED Y'CbCr DATA (HD) MULTIPLEXED DS1/DS2 DATA (3G) H V F 3FF 3FF 000 000 000 000 XYZ (EAV) XYZ (EAV) H VF T IM IN G A T E A V PCLK (3G DDR) PCLK (HD) MULTIPLEXED Y'CbCr DATA (HD) MULTIPLEXED DS1/DS2 DATA (3G) 3FF 3FF 000 000 000 000 XYZ (SAV) XYZ (SAV) H V F H VF T IM IN G A T S A V H S IG N A L T IM IN G : H _ C O N F IG = L O W GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 H _ C O N F IG = H IG H 46 of 104 Figure 4-13:H:V:F Output Timing - 3G Level A and HDTV 10-bit Mode 3G Level B 20-bit Mode, each 10-bit stream PCLK (DDR) MULTIPLEXED LINKA/LINKB DATA H V F 3FF 3FF 3FF 3FF 000 000 000 000 000 000 000 000 XYZ (eav) XYZ (eav) XYZ (eav) XYZ (eav) H VF T IM IN G A T E A V PCLK (DDR) MULTIPLEXED LINKA/LINKB DATA H V 3FF 3FF 3FF 3FF 000 000 000 000 000 000 000 000 XYZ (sav) XYZ (sav ) XYZ (sav ) XYZ (sav ) F H VF T IM IN G A T S A V H S IG N A L T IM IN G : H _ C O N F IG = L O W H _ C O N F IG = H IG H Figure 4-14:H:V:F Output Timing - 3G Level B 10-bit Mode PC LK L U M A D A T A IN P U T C H R O M A D A T A IN P U T H V F 3FF 000 000 X Y Z (EAV) 3FF 000 000 X Y Z (SAV) 3FF 000 000 X Y Z (EAV) 3FF 000 000 X Y Z (SAV) H S IG N A L T IM IN G : H _ C O N F IG = L O W H _ C O N F IG = H IG H Figure 4-15:H:V:F Output Timing - HD 20-bit Output Mode PC LK M U L T IP L E X E D Y 'C b C r D A T A IN P U T 3FF 3FF 000 000 000 000 X Y Z (EAV) X Y Z (EAV) H V F H V F T IM IN G A T E A V PC LK M U L T IP L E X E D Y 'C b C r D A T A IN P U T 3FF 3FF 000 000 000 000 X Y Z (SAV) X Y Z (SAV) H V F H V F T IM IN G A T S A V Figure 4-16:H:V:F Output Timing - HD 10-bit Output Mode P C LK C H R O M A D A T A IN P U T L U M A D A T A IN P U T H V F 3FF 000 3FF 000 000 X Y Z (EAV) 000 X Y Z (SAV) H S IG N A L T IM IN G : H _ C O N F IG = L O W H _ C O N F IG = H IG H Figure 4-17:H:V:F Output Timing - SD 20-bit Output Mode PC LK M U L T IP L E X E D Y 'C b C r D A T A IN P U T H V F 3FF 000 H S IG N A L T IM IN G : 000 X Y Z (EAV) H _ C O N F IG = L O W 3FF 000 000 X Y Z (SAV) H _ C O N F IG = H IG H Figure 4-18:H:V:F Output Timing - SD 10-bit Output Mode GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 47 of 104 4.12.1 CEA-861 Timing Generation The GS2961A is capable of generating CEA 861 timing instead of SMPTE HVF timing for all of the supported video formats. This mode is selected when the TIM_861 pin is HIGH. Horizontal sync (HSYNC), Vertical sync (VSYNC), and Data Enable (DE) timing are output on the STAT[2:0] pins by default. Table 4-9 shows the CEA-861 formats supported by the GS2961A: Table 4-9: Supported CEA-861 Formats Format CEA-861 Format VD_STD[5:0] 720(1440) x 480i @ 59.94/60Hz 6&7 16h, 17h, 19h, 1Bh 720(1440) x 576i @ 50Hz 21 & 22 18h, 1Ah 1280 x 720p @ 59.94/60Hz 4 20h, 00h 1280 x 720p @ 50Hz 19 24h, 04h 1920 x 1080i @ 59.94/60Hz 5 2Ah, 0Ah 1920 x 1080i @ 50Hz 20 2Ch, 0Ch 1920 x 1080p @ 29.97/30Hz 341 2Bh, 0Bh 1920 x 1080p @ 25Hz 332 2Dh, 0Dh 1920 x 1080p @ 23.98/24Hz 32 30h, 10h 1920 x 1080p @ 59.94/60Hz 161 2Bh 1920 x 1080p @ 50Hz 312 2Dh NOTES: 1,2: Timing is identical for the corresponding formats. 4.12.1.1 Vertical Timing When CEA861 timing is selected, the device outputs standards compliant CEA861 timing signals as shown in the figures below; for example 240 active lines per field for SMPTE 125M. The register bit TRS_861 is used to select DFP timing generator mode which follows the vertical blanking timing as defined by the embedded TRS code words. This setting is helpful for 525i. When TRS_861 is set LOW, DE will go HIGH for 480 lines out of 525. When TRS_861 is set HIGH, DE will go HIGH for 487 lines out of 525. The timing of the CEA 861 timing reference signals can be found in the CEA 861 specifications. For information, they are included in the following diagrams. These diagrams may not be comprehensive. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 48 of 104 Table 4-10: CEA861 Timing Formats Format Parameters 4 H:V:DE Input Timing 1280 x 720p @ 59.94/60Hz 5 H:V:DE Input Timing 1920 x 1080i @ 59.94/60Hz 6&7 H:V:DE Input Timing 720 (1440) x 480i @ 59.94/60Hz 19 H:V:DE Input Timing 1280 x 720p @ 50Hz 20 H:V:DE Input Timing 1920 x 1080i @ 50Hz 21&22 H:V:DE Input Timing 720 (1440) x 576 @ 50Hz 16 H:V:DE Input Timing 1920 x 1080p @ 59.94/60Hz 31 H:V:DE Input Timing 1920 x 1080p @ 50Hz 32 H:V:DE Input Timing 1920 x 1080p @ 23.94/24Hz 33 H:V:DE Input Timing 1920 x 1080p @ 25Hz 34 H:V:DE Input Timing 1920 x 1080p @ 29.97/30Hz 1660 Total Horizontal Clocks per line Data Enable 370 1280 Clocks for Active Video 40 110 220 clocks HSYNC ~ ~ ~ 720 Active Vertical Lines ~ Progressive Frame: 30 Vertical Blanking Lines ~ ~ ~ ~ Data Enable 1650 clocks 260 110 745 746 747 748 749 750 1 2 3 4 5 6 7 25 26 ~ ~ ~ ~ HSYNC 745 746 750 VSYNC Figure 4-19:H:V:DE Output Timing 1280 x 720p @ 59.94/60 (Format 4) GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 49 of 104 2200 Total Horizontal Clocks per line Data Enable 280 44 88 1920 Clocks for Active Video 148 clocks HSYNC ~ ~ ~ ~ 540 Active Vertical Lines per field Field 1: 22 Vertical Blanking Lines ~ ~ Data Enable 2200 clocks 88 192 ~ ~ HSYNC 1123 1124 1125 1 2 3 4 5 6 7 8 19 20 21 560 561 562 VSYNC ~ ~ ~ ~ 540 Active Vertical Lines per field Field 2: 23 Vertical Blanking Lines ~ ~ Data Enable 2200 clocks 1100 88 192 ~ ~ HSYNC 560 561 562 563 564 565 566 567 568 569 570 582 583 584 1123 1124 1125 VSYNC Figure 4-20:H:V:DE Output Timing 1920 x 1080i @ 59.94/60 (Format 5) GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 50 of 104 1716 Total Horizontal Clocks per line Data Enable 276 124 38 1440 Clocks for Active Video 114 clocks HSYNC ~ ~ ~ ~ ~ Data Enable 240 Active Vertical Lines per field ~ Field 1: 22 Vertical Blanking Lines 1716 clocks 38 238 HSYNC 524 525 1 2 3 4 5 6 7 8 9 21 22 261 262 263 VSYNC ~ ~ 240 Active Vertical Lines per field Field 2: 23 Vertical Blanking Lines ~ ~ Data Enable 1716 clocks 38 238 858 HSYNC 284 285 261 262 263 264 265 266 267 268 269 270 271 524 525 1 VSYNC Figure 4-21:H:V:DE Output Timing 720 (1440) x 480i @ 59.94/60 (Format 6&7) 1980 Total Horizontal Clocks per line Data Enable 700 40 440 1280 Clocks for Active Video 220 clocks HSYNC ~ 1980 clocks 260 745 746 747 748 749 750 1 2 3 4 5 6 7 ~ ~ ~ HSYNC ~ ~ 440 ~ ~ ~ ~ Data Enable ~ 720 Active Vertical Lines Progressive Frame: 30 Vertical Blanking Lines 25 26 745 746 750 VSYNC Figure 4-22:H:V:DE Output Timing 1280 x 720p @ 50 (Format 19) GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 51 of 104 2640 Total Horizontal Clocks per line Data Enable 720 44 1920 Clocks for Active Video 148 clocks 528 HSYNC Field 1: 22 Vertical Blanking Lines ~ ~ ~ ~ 540 Active Vertical Lines per field ~ ~ Data Enable 2640 clocks 528 192 ~ ~ HSYNC 1123 1124 1125 1 2 3 4 5 6 7 8 19 20 21 560 561 562 VSYNC ~ ~ ~ ~ 540 Active Vertical Lines per field Field 2: 23 Vertical Blanking Lines ~ ~ Data Enable 2640 clocks 1320 528 192 ~ ~ HSYNC 560 561 562 563 564 565 566 567 568 569 570 582 583 584 1123 1124 1125 VSYNC Figure 4-23:H:V:DE Output Timing 1920 x 1080i @ 50 (Format 20) GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 52 of 104 1728 Total Horizontal Clocks per line Data Enable 288 126 24 1440 Clocks for Active Video 138 clocks HSYNC ~ ~ ~ ~ ~ Data Enable ~ 288 Active Vertical Lines per field Field 1: 24 Vertical Blanking Lines 1728 clocks 264 ~~ 24 HSYNC 623 624 625 1 2 3 4 5 6 7 22 23 310 311 312 VSYNC ~ ~ 288 Active Vertical Lines per field Field 2: 25 Vertical Blanking Lines ~ ~ Data Enable 24 1728 clocks 864 264 HSYNC 310 311 312 313 314 315 316 317 318 319 320 335 336 623 624 625 VSYNC Figure 4-24:H:V:DE Output Timing 720 (1440) x 576 @ 50 (Format 21 & 22) 2200 Total Horizontal Clocks per line Data Enable 88 280 1920 Clocks for Active Video 44 148 clocks HSYNC Progressive Frame: 45 Vertical Blanking Lines ~ ~ ~ ~ ~ ~ Data Enable 1080 Active Vertical Lines 2200 clocks ~ HSYNC 1121 1122 1123 1124 1125 1 2 3 4 5 6 7 41 42 ~ ~ 192 88 1121 1122 1123 1124 1125 VSYNC Figure 4-25:H:V:DE Output Timing 1920 x 1080p @ 59.94/60 (Format 16) GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 53 of 104 2640 Total Horizontal Clocks per line Data Enable 720 44 528 1920 Clocks for Active Video 148 clocks HSYNC ~ ~ ~ ~ ~ Data Enable ~ 1080 Active Vertical Lines Progressive Frame: 45 Vertical Blanking Lines 2640 clocks 192 ~ HSYNC 1121 1122 1123 1124 1125 1 2 3 4 5 6 7 41 42 ~ ~ 528 1121 1122 1123 1124 1125 VSYNC Figure 4-26:H:V:DE Output Timing 1920 x 1080p @ 50 (Format 31) 2750 Total Horizontal Clocks per line Data Enable 830 44 638 1920 Clocks for Active Video 148 clocks HSYNC Progressive Frame: 45 Vertical Blanking Lines ~ ~ ~ ~ ~ ~ Data Enable 1080 Active Vertical Lines 2750 clocks 192 ~ HSYNC 1121 1122 1123 1124 1125 1 2 3 4 5 6 7 41 42 ~ ~ 638 1121 1122 1123 1124 1125 VSYNC Figure 4-27:H:V:DE Output Timing 1920 x 1080p @ 23.94/24 (Format 32) GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 54 of 104 2640 Total Horizontal Clocks per line Data Enable 720 44 528 1920 Clocks for Active Video 148 clocks HSYNC Progressive Frame: 45 Vertical Blanking Lines ~ ~ ~ ~ ~ ~ Data Enable 1080 Active Vertical Lines 2640 clocks 192 ~ HSYNC 1121 1122 1123 1124 1125 1 2 3 4 5 6 7 41 42 ~ ~ 528 1121 1122 1123 1124 1125 VSYNC Figure 4-28:H:V:DE Output Timing 1920 x 1080p @ 25 (Format 33) 2200 Total Horizontal Clocks per line Data Enable 280 44 88 1920 Clocks for Active Video 148 clocks HSYNC Progressive Frame: 45 Vertical Blanking Lines ~ ~ ~ 2220 clocks ~ 1 2 3 4 5 6 7 41 42 ~ ~ 192 HSYNC 1121 1122 1123 1124 1125 ~ 88 ~ ~ Data Enable 1080 Active Vertical Lines 1121 1122 1123 1124 1125 VSYNC Figure 4-29:H:V:DE Output Timing 1920 x 1080p @ 29.97/30 (Format 34) 4.13 Automatic Video Standards Detection Using the timing extracted from the received TRS signals, the GS2961A is able to identify the received video standard. In 3G input mode, the GS2961A measures the timing parameters of one of the two identical data streams. The Rate Selection/Indication bits and the VD_STD code may be used in combination to determine the video standard. The total samples per line, active samples per line, total lines per field/frame and active lines per field/frame are all measured. Four registers are provided to allow the system to read the video standard information from the device. These raster structure registers are provided in addition to the GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 55 of 104 VIDEO_FORMAT_352_A_X and VIDEO_FORMAT_352_B_X registers, and are updated once per frame at the end of line 12. The raster structure registers also contain three status bits: STD_LOCK, INT/PROG and M. The STD_LOCK bit is set HIGH whenever the timing signal generator is fully synchronized to the incoming standard, and detects it as one of the supported formats. The INT/PROG bit is set HIGH if the detected video standard is interlaced and LOW if the detected video standard is progressive. M is set HIGH if the clock frequency includes the "1000/1001" factor denoting a 23.98, 29.97 or 59.94Hz frame rate. The video standard code is reported in the VD_STD bits of the host interface register. Table 4-11 describes the 5-bit codes for the recognized video standards. Table 4-11: Supported Video Standard Codes SMPTE Standard Active Video Area RATE_ DET[1] HD/3G RATE_ DET[0] SD/HD Lines per Frame Active Lines per Frame Words per Active Line Words per Line VD_STD [5:0] 425M (3G Level A) 4:2:2 1920x1080/60 (1:1) 1 0 1125 1080 1920 2200 2Bh 1920x1080/50 (1:1) 1 0 1125 1080 1920 2640 2Dh 425M (3G Level B DS1 and DS2) 4:2:2 1920x1080/60 (2:1) 1 0 1125 540 1920 2200 0Ah 1920x1080/50 (2:1) 1 0 1125 540 1920 2640 0Ch 425M (3G) 4:4:4 1920x1080/60 (2:1) or 1920x1080/30 (PsF) 1 0 1125 1080 3840 4400 2Ah 1920x1080/50 (2:1) or 1920x1080/25 (PsF) 1 0 1125 1080 3840 5280 2Ch 1280x720/60 (1:1) 1 0 750 720 2560 3300 20h 1280x720/50 (1:1) 1 0 750 720 2560 3960 24h 1920x1080/30 (1:1) 1 0 1125 1080 3840 4400 2Bh 1920x1080/25 (1:1) 1 0 1125 1080 3840 5280 2Dh 1280x720/25 (1:1) 1 0 750 720 2560 7920 26h 1920x1080/24 (1:1) 1 0 1125 1080 3840 5500 30h 1280x720/24 (1:1) 1 0 750 720 2560 8250 28h 260M (HD) 1920x1035/60 (2:1) 0 0 1125 1035 1920 2200 15h 295M (HD) 1920x1080/50 (2:1) 0 0 1250 1080 1920 2376 14h GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 56 of 104 Table 4-11: Supported Video Standard Codes (Continued) SMPTE Standard Active Video Area RATE_ DET[1] HD/3G RATE_ DET[0] SD/HD Lines per Frame Active Lines per Frame Words per Active Line Words per Line VD_STD [5:0] 274M (HD) 1920x1080/60 (2:1) or 1920x1080/30 (PsF) 0 0 1125 1080 1920 2200 0Ah 1920x1080/50 (2:1) or 1920x1080/25 (PsF) 0 0 1125 1080 1920 2640 0Ch 1920x1080/30 (1:1) 0 0 1125 1080 1920 2200 0Bh 1920x1080/25 (1:1) 0 0 1125 1080 1920 2640 0Dh 1920x1080/24 (1:1) 0 0 1125 1080 1920 2750 10h 1920x1080/24 (PsF) 0 0 1125 1080 1920 2750 11h 1920x1080/25 (1:1) - 0 0 1125 1080 2304 2640 0Eh 1920x1080/25 (PsF) - EM 0 0 1125 1080 2304 2640 0Fh 1920x1080/24 (1:1) - 0 0 1125 1080 2400 2750 12h 1920x1080/24 (PsF) - EM 0 0 1125 1080 2400 2750 13h 1280x720/30 (1:1) 0 0 750 720 1280 3300 02h 1280x720/30 (1:1) - EM 0 0 750 720 2880 3300 03h 1280x720/50 (1:1) 0 0 750 720 1280 1980 04h 1280x720/50 (1:1) - EM 0 0 750 720 1728 1980 05h 1280x720/25 (1:1) 0 0 750 720 1280 3960 06h 1280x720/25 (1:1) - EM 0 0 750 720 3456 3960 07h 1280x720/24 (1:1) 0 0 750 720 1280 4125 08h 1280x720/24 (1:1) - EM 0 0 750 720 3600 4125 09h 1280x720/60 (1:1) 0 0 750 720 1280 1650 00h 1280x720/60 (1:1) - EM 0 0 750 720 1440 1650 01h 1440x487/60 (2:1) x 1 525 244 or 243 1440 1716 16h 1440x507/60 x 1 525 254 or 253 1440 1716 17h 525-line 487 generic x 1 525 - - 1716 19h 525-line 507 generic x 1 525 - - 1716 1Bh 1440x576/50 (2:1) Or dual link progressive) x 1 625 - 1440 1728 18h 625-line generic x 1 625 - - 1728 1Ah 296M (HD) 296M (HD) 125M (SD) ITU-R BT.656 (SD) GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 57 of 104 Table 4-11: Supported Video Standard Codes (Continued) SMPTE Standard Active Video Area RATE_ DET[1] HD/3G RATE_ DET[0] SD/HD Lines per Frame Active Lines per Frame Words per Active Line Words per Line VD_STD [5:0] Unknown HD SD/HD = 0 0 0 - - - - 1Dh Unknown SD SD/HD = 1 x 1 - - - - 1Eh Unknown 3G SD/HD = 0 1 0 - - - - 3Ch 2048x1080/30 (1:1) 0 0 1125 1080 2048 2200 31h 2048x1080/25 (1:1) 0 0 1125 1080 2048 2640 32h 2048x1080/24 (1:1) 0 0 1125 1080 2048 2750 33h 2048x1080/60 (1:1) 1 0 1125 1080 2048 2200 37h 2048x1080/50 (1:1) 1 0 1125 1080 2048 2640 38h 2048x1080/48 (1:1) 1 0 1125 1080 2048 2750 39h 2048x1080/30 (1:1) 1 0 1125 1080 2048 2200 34h 2048x1080/25 (1:1) 1 0 1125 1080 2048 2640 35h 2048x1080/24 (1:1) 1 0 1125 1080 2048 2750 36h Non SMPTE or 2048-2200xX (4:2:2) Level B DS1 and DS2 2048x1080/60 (2:1) 0 (1) 0 1125 540 2048 2200 3Dh 2048x1080/50 (2:1) 0 (1) 0 1125 540 2048 2640 3Eh 2048x1080/48 (2:1) 0 (1) 0 1125 540 2048 2750 3Fh Non SMPTE Unknown 2K x 0 - - 2048 - 3Ah 2K Standards (see 4.13.1 2K Support) 2048-2200xX (4:2:2) 2048-2200X (4:4:4) Notes: 1. The Line Numbers in brackets refer to version zero SMPTE 352M packet locations, if they are different from version 1. 2. The part may provide full or limited functionality with standards that are not included in this table. Please consult a Semtech technical representative. 3. For SD-SDI streams, the device can report an incorrect M value when SMPTE-352M packets are present. NOTE: In certain systems, due to greater ppm offsets in the crystal, the `M' bit may not assert properly. In such cases, bits 3:0 in Register 06Fh can be increased to a maximum value of 4. By default (after power up or after systems reset), the four RASTER_STRUCTURE, VD_STD, STD_LOCK and INT/PROG fields are set to zero. These fields are also cleared when the SMPTE_BYPASS pin is LOW. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 58 of 104 4.13.1 2K Support In order to fully support 2K standards without customer intervention, Semtech provides FPGA code for enhancing the GS2961A's 2K capability. The features of the 2K FPGA enhancement are: * Automatic video standard detection for 2K standards * 1/1.001 rate detection for 2K standards * CEA-861 timing generation for 2K standards * Automatic enabling of audio extraction This enhancement is an interface between the GS2961A and the customer system. The behaviour of the GS2961A with or without the additional 2K enhancement FPGA code is identical from a user-perspective. Level_B PLL /1 /2 0 1 GIb_MUX GIb_Buf GS2961A FPGA Pclk_div2 Pclk Host_GSPI_CS GS2961A_GSPI_SDI Host_GSPI_SCLK GS2961A_GSPI_CS Host_GSPI_SDI GS2961A_GSPI_SCLK Host_GSPI_SDOUT GS2961A_GSPI_SDOUT Host_GSPI_busy STAT3 Level_B STAT4 STAT5 rate_m_o WO_2K clk_27M_ref std_2K_det_o reset dy_out_o[9:0] smpte_bypass_i dc_out_o[9:0] tim_861 fvh_o[2:0] dy_in_i[9:0] dc_in_i[9:0] fvh_i[2:0] Host Interface Control Level_B Vid_Out[19:0] HVF[2:0] Figure 4-30:2K Feature Enhancement GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 59 of 104 4.14 Data Format Detection & Indication In addition to detecting the video standard, the GS2961A detects the data format, i.e. SDTI, SDI, TDM data (SMPTE 346M), etc. This information is represented by bits in the DATA_FORMAT_DSX register accessible through the host interface. Data format detection is only carried out when the LOCKED signal is HIGH. By default (at power up or after system reset), the DATA_FORMAT_DSX register is set to Fh (undefined). This register is also set as undefined when the LOCKED signal is LOW and/or the SMPTE_BYPASS pin is LOW. Table 4-12: Data Format Register Codes YDATA_FORMAT[3:0] or CDATA_FORMAT[3:0] Data Format Remarks 0h ~ 05h SDTI SMPTE 321M, SMPTE 322M, SMPTE 326M 6h SDI - 7h Reserved - 8h TDM SMPTE 346M 9h HD-SDTI - Ah ~ Eh Reserved - Fh Non-SMPTE data format Detected data format is not SMPTE. LOCKED = LOW. NOTE: This Data Format register is invalid in SMPTE_BYPASS mode. The data format is determined using the following criteria: * If TRS ID words are detected but no SDTI header or TDM header is detected, then the data format is SDI * If TRS ID words are detected and the SDTI header is available then the format is SDTI * If TRS ID words are detected and the TDM data header is detected then the format is TDM video * No TRS words are detected, but the PLL is locked, then the data format is unknown NOTE: Two data format sets are provided for HD video rates. This is because the Y and Cr/Cb channels can be used separately to carry SDTI data streams of different data formats. In SD video mode, only the Y data format register contains the data, and the C register is set to Fh (undefined format). GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 60 of 104 4.15 EDH Detection 4.15.1 EDH Packet Detection The GS2961A determines if EDH packets are present in the incoming video data and asserts the EDH_DETECT status according to the SMPTE standard. EDH_DETECT is set HIGH when EDH packets have been detected and remains HIGH until EDH packets are no longer present. It is set LOW at the end of the vertical blanking (falling edge of V) if an EDH packet has not been detected during vertical blanking. EDH_DETECT can be programmed to be output on the multi-function output port pins. The EDH_DETECT bit is also available in the host interface. 4.15.2 EDH Flag Detection The EDH flags for ancillary data, active picture, and full field regions are extracted from the detected EDH packets and placed in the EDH_FLAG_IN register. When the EDH_FLAG_UPDATE_MASK bit in the host interface is set HIGH, the GS2961A updates the Ancillary Data, Full Field, and Active Picture EDH flags according to SMPTE RP165. The updated EDH flags are available in the EDH_FLAG_OUT register. The EDH packet output from the device contains these updated flags. One set of flags is provided for both fields 1 and 2. The field 1 flag data is overwritten by the field 2 flag data. When EDH packets are not detected, the UES flags in the EDH_FLAG_OUT register are set HIGH to signify that the received signal does not support Error Detection and Handling. In addition, the EDH_DETECT bit is set LOW. These flags are set regardless of the setting of the EDH_FLAG_UPDATE_MASK bit. EDH_FLAG_OUT and EDH_FLAG_IN may be read via the host interface at any time during the received frame except on the lines defined in SMPTE RP165, when these flags are updated. The GS2961A indicates the CRC validity for both active picture and full field CRCs. The AP_CRC_V bit in the host interface indicates the active picture CRC validity, and the FF_CRC_V bit indicates the full field CRC validity. When EDH_DETECT = LOW, these bits are cleared. The EDH_FLAG_OUT and EDH_FLAG_IN register values remain set until overwritten by the decoded flags in the next received EDH packet. When an EDH packet is not detected during vertical blanking, the flag registers are cleared at the end of the vertical blanking period. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 61 of 104 4.16 Video Signal Error Detection & Indication The GS2961A includes a number of video signal error detection functions. These are provided to enhance operation of the device when operating in SMPTE mode (SMPTE_BYPASS = HIGH). These features are not available in the other operating modes of the device (i.e. when SMPTE_BYPASS = LOW). Signal errors that can be detected include: 1. TRS errors. 2. HD line based CRC errors. 3. EDH errors. 4. HD line number errors. 5. Video standard errors. The device maintains an ERROR_STAT_X register. Each error condition has a specific flag in the ERROR_STAT_X register, which is set HIGH whenever an error condition is detected. An ERROR_MASK register is also provided, allowing the user to select which error conditions are reported. Each bit of the ERROR_MASK register corresponds to a unique error type. Each bit of each ERROR_MASK register corresponds to a unique error type. By default (at power up or after system reset), all bits of the ERROR_MASK registers are zero, enabling all errors to be reported. Individual error detection may be disabled by setting the corresponding bit HIGH in the mask registers. Error conditions are indicated by a DATA _ERROR signal, which are available for output on the multifunction I/O output pins. This signal is normally HIGH, but is set LOW by the device when an error condition has been detected. This signal is a logical 'NOR' of the appropriate error status flags stored in the ERROR_STAT_X register, which are gated by the bit settings in the ERROR_MASK registers. When an error status bit is HIGH and the corresponding error mask bit is LOW, the corresponding DATA_ERROR signal is set LOW by the device. The ERROR_STAT_X registers, and correspondingly the DATA_ERROR signal, are cleared at the start of the next video field or when read via the host interface, which ever condition occurs first. All bits of the ERROR_STAT_X registers are also cleared under any of the following conditions: 1. LOCKED signal = LOW. 2. SMPTE_BYPASS = LOW. 3. When a change in video standard has been detected. 4. RESET_TRST = LOW Table 4-13 shows the ERROR_STAT_X register and ERROR_MASK_X register. NOTE: Since the error indication registers are cleared once per field, if an external host micro is polling the error registers periodically, an error flag may be missed if it is intermittent, and the polling frequency is less than the field rate. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 62 of 104 Table 4-13: Error Status Register and Error Mask Register Video Error Status Register Video Error Mask Register SAV_ERR (02h, 03h) SAV_ERR_MASK (037h, 038h) EAV_ERR (02h, 03h) EAV_ERR_MASK (037h, 038h) YCRC_ERR (02h, 03h) YCRC_ERR_MASK (037h, 038h) CCRC_ERR (02h, 03h) CCRC_ERR_MASK (037h, 038h) LNUM_ERR (02h, 03h) LNUM_ERR_MASK (037h, 038h) YCS_ERR (02h, 03h) YCS_ERR_MASK (037h, 038h) CCS_ERR (02h, 03h) CCS_ERR_MASK (037h, 038h) AP_CRC_ERR (02h) AP_CRC_ERR_MASK (037h) FF_CRC_ERR (02h) FF_CRC_ERR_MASK (037h) VD_STD_ERR (02h, 03h) VD_STD_ERR_MASK (037h) NOTE: In 3G Level B mode, separate Video Error Mask registers exist for Link A and Link B. The GS2961A distinguishes between Level A and Level B mappings at 3Gb/s. When Level B data is detected, error detection is enabled separately for Data Stream 1 and Data Stream 2 (Link A and Link B, respectively). Therefore, a second set of error status and mask registers is available for Data Stream 2, and is only valid when 3Gb/s Level B data is detected by the device. 4.16.1 TRS Error Detection TRS error flags are generated by the GS2961A under the following two conditions: 1. A phase shift in received TRS timing is observed on a non-switching line. 2. The received TRS Hamming codes are incorrect. Both SAV and EAV TRS words are checked for timing and data integrity errors. For HD mode, only the Y channel TRS codes are checked for errors. For 3G mode Level A signals, only data stream one TRS codes are checked for errors. For 3G Level B signals, the Y channel TRS codes of both Link A and Link B are checked for errors. Both 8-bit and 10-bit TRS code words are checked for errors. The SAV_ERR bit of the ERROR_STAT_X register is set HIGH when an SAV TRS error is detected. The EAV_ERR bit of the ERROR_STAT_X register is set HIGH when an EAV TRS error is detected. 4.16.2 Line Based CRC Error Detection The GS2961A calculates line based CRCs for HD and 3G video signals. CRC calculations are done for each 10-bit channel (Y and C for HD video, DS1 and DS2 for 3G video). GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 63 of 104 These calculated CRC values are compared with the received CRC values. If a mismatch in the calculated and received CRC values is detected for Y channel data (Data Stream 1 for 3G video), the YCRC_ERR bit in the ERROR_STAT_X register is set HIGH. If a mismatch in the calculated and received CRC values is detected for C channel data (Data Stream 2 for 3G video), the CCRC_ERR bit in the ERROR_STAT_X register is set HIGH. Y or C CRC errors are also generated if CRC values are not embedded. Line based CRC errors are only generated when the device is operating in HD and 3G modes. NOTE: By default, 8-bit to 10-bit TRS remapping is enabled. If an 8-bit input is used, the HD CRC check is based on the 10-bit remapped value, not the 8-bit value, so the CRC Error Flag is incorrectly asserted and should be ignored. If 8-bit to 10-bit remapping is enabled, then CRC correction and insertion should be enabled by setting the CRC_INS_MASK bit in the IOPROC_DISABLE register LOW. This ensures that the CRC values are updated. 4.16.3 EDH CRC Error Detection The GS2961A also calculates Full Field (FF) and Active Picture (AP) CRC's 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. Error flags for AP and FF CRC errors are provided and each error flag is a logical OR of field 1 and field 2 error conditions. The AP_CRC_ERR bit in the VIDEO_ERROR_STAT_X register is set HIGH when an Active Picture CRC mismatch has been detected in field 1 or 2. The FF_CRC_ERR bit in the VIDEO_ERROR_STAT_X register is set HIGH when a Full Field CRC mismatch has been detected in field 1 or 2. EDH CRC errors are only indicated when the device is operating in SD mode and when the device has correctly received EDH packets. 4.16.4 HD & 3G Line Number Error Detection If a mismatch in the calculated and received line numbers is detected, the LNUM_ERR bit in the VIDEO_ERROR_STAT_X register is set HIGH. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 64 of 104 4.17 Ancillary Data Detection & Indication The GS2961A detects ancillary data in both the vertical and horizontal ancillary data spaces. Status signal outputs Y/1ANC and C/2ANC are provided to indicate the position of ancillary data in the output data streams. These signals may be selected for output on the multi-function I/O port pins (STAT[5:0]). The GS2961A indicates the presence of all types of ancillary data by detecting the 000h, 3FFh, 3FFh (00h, FFh, FFh for 8-bit video) ancillary data preamble. NOTE: Both 8 and 10-bit ancillary data preambles are detected by the device. By default (at power up or after system reset) the GS2961A indicates all types of ancillary data. Up to 5 types of ancillary data can be specifically programmed for recognition. For HD video signals, ancillary data may be placed in both the Y and Cb/Cr video data streams separately. For SD video signals, the ancillary data is multiplexed and combined into the YCbCr data space. For 3G signals, ancillary data may be placed in either or both of the virtual interface data streams. Both data streams are examined for ancillary data. For a 3G data stream formatted as per Level A mapping: * The ancillary data is placed in Data Stream 1 first, with overflow into Data Stream 2 * SMPTE 352M packets are duplicated in both data streams For a 3G data stream formatted as per Level B mapping: * Each multiplexed data stream forming the 3G signal contains ancillary data embedded according to SMPTE 291M * Each multiplexed data stream forming the 3G signal contains SMPTE 352M packets embedded according to SMPTE 425M When operating in HD mode, the Y/1ANC signal is HIGH whenever ancillary data is detected in the Luma data stream, and C/2ANC is HIGH whenever ancillary data is detected in the Chroma data stream. The signals are asserted HIGH at the start of the ancillary data preamble, and remain HIGH until after the ancillary data checksum. When detecting ancillary data in 3G Level A data, the Y/1ANC status output is HIGH whenever Data Stream 1 ancillary data is detected and the C/2ANC status output is HIGH whenever Data Stream 2 ancillary data is detected. When detecting ancillary data in 3G Level B data, the Y/1ANC status output is HIGH whenever Data Stream 1 ancillary data is detected on either Y or C channels and the C/2ANC status output is HIGH whenever Data Stream 2 ancillary data is detected on either Y or C channels. When operating in SD mode, the Y/1ANC and C/2ANC signals depend on the output data format. For 20-bit demultiplexed data, the Y/1ANC and C/2ANC signals operate independently to indicate the first and last ancillary Data Word position in the Luma and/or Chroma data streams. For 10-bit multiplexed data, the Y/1ANC signal is HIGH whenever ancillary data is detected, and the C/2ANC signal is always LOW. When operating in 3G modes, the Y/1ANC and C/2ANC flags are both zero if the 10-bit multiplexed output format is selected. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 65 of 104 These status signal outputs are synchronous with PCLK and may be used as clock-enables for external logic, or as write-enables for an external FIFO or other memory devices. The operation of the Y/1ANC and C/2ANC signals is shown below in Figure 4-31. NOTE 1: When I/O processing is disabled, the Y/1ANC and C/2ANC flags may toggle, but they are invalid and should be ignored. NOTE 2: In 3G Level B mode, if the ANC_EXT_SEL_DS2_DS1 bit is HIGH and the ANC_DATA_DELETE bit is HIGH, the Y/1ANC and C/2ANC flags are not valid. NOTE 3: For 3G Level B data, the Y/1ANC flag identifies all ANC data on Data Stream 1 (Link A), whether it is embedded in the Y or C component - ANC data is not identified separately for each component. Similarly, the C/2ANC flag identifies all ANC data on Data Stream 2 (Link B), whether it is embedded in the Y or C component. PC LK LU M A D ATA O U T 000 3FF 3FF D ID DBN DC ANC DATA CSUM BLANK BLAN K CHRO M A DATA O UT 000 3FF 3FF D ID DBN DC ANC DATA ANC DATA ANC DATA CSUM Y/1ANC C/2ANC A N C D A T A D E T E C T IO N - H D T V 2 0 B IT O U T P U T M O D E PC LK M U L T IP L E X E D Y 'C b C r 000 000 3FF 3FF 3FF 3FF Y D ID CANC YCSUM CCSUM Y/1ANC C/2ANC A N C D A T A D E T E C T IO N - H D T V 1 0 B IT O U T P U T M O D E PC LK LU M A D ATA O U T CHRO M A DATA O UT BLAN K 3FF D ID DC ANC DATA ANC DATA ANC DATA CSUM BLAN K 000 3FF DBN ANC DATA ANC DATA ANC DATA ANC DATA BLAN K BLAN K Y/1ANC C/2ANC A N C D A T A D E T E C T IO N - S D T V 2 0 B IT O U T P U T M O D E PC LK M U L T IP L E X E D Y 'C b C r 000 3FF 3FF D ID DBN DC ANC DATA ANC DATA CSUM BLANK Y/1ANC A N C D A T A D E T E C T IO N - S D T V 1 0 B IT O U T P U T M O D E Figure 4-31:Y/1ANC and C/2ANC Signal Timing 4.17.1 Programmable Ancillary Data Detection As described above in Section 4.17, the GS2961A detects and indicates all ancillary data types by default. It is possible to program which ancillary data types are to be detected and indicated. Up to 5 different ancillary data types may be programmed for detection by the GS2961A in the ANC_TYPE_DS1 registers for SD, HD and 3G Level A data. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 66 of 104 When so programmed, the GS2961A only indicates the presence of the specified ancillary data types, ignoring all other ancillary data. For each data type to be detected, the user must program the DID and/or SDID of that ancillary data type. In the case where no DID or SDID values are programmed, the GS2961A indicates the presence of all ancillary data. In the case where one or more, DID and/or SDID values have been programmed, then only those matching data types are detected and indicated. The timing of the Y/1ANC and C/2ANC signals in this case is as shown in Figure 4-31. The GS2961A compares the received DID and/or SDID with the programmed values. If a match is found, ancillary data is indicated. For any DID or SDID value set to zero, no comparison or match is made. For example, if the DID is programmed and the SDID is not programmed, the GS2961A only detects a match to the DID value. If both DID and SDID values are non-zero, then the received ancillary data type must match both the DID and SDID before Y/1ANC and/or C/2ANC is set HIGH. NOTE 1: For 3G Level B data, the ANC_TYPE_DS1 registers are valid for Data Stream 1, and a second set of five ANC_TYPE registers (ANC_TYPE_DS2) is provided for detection of specific ancillary data in Data Stream 2. NOTE 2: SMPTE 352M Payload Identifier packets and Error Detection and Handling (EDH) Packets are always detected by the GS2961A, irrespective of the settings of the ANC_TYPE registers. 4.17.2 SMPTE 352M Payload Identifier The GS2961A automatically extracts the SMPTE 352M payload identifier present in the input data stream for SD, HD, and 3G Level A signals. The four word payload identifier packets are written to VIDEO_FORMAT_X_DS1 and VIDEO_FORMAT_X_DS2 bits accessible through the host interface. The device also indicates the version of the payload packet in the VERSION_352M bit of the DATA_FORMAT_DSX register. When the SMPTE 352M packet is formatted as a "version 1" packet, the VERSION_352M bit is set HIGH, when the packet is formatted as a "version 2" packet, this bit is set LOW. The VIDEO_FORMAT_352_A_X and VIDEO_FORMAT_352_B_X registers are only updated if there are no checksum errors in the received SMPTE 352M packets. By default (at power up or after system reset), the VIDEO_FORMAT_X_DS1 and VIDEO_FORMAT_X_DS2 bits are set to 0, indicating an undefined format. NOTE 1: When 3G Level B data is detected by the device, the user needs to extract the SMPTE 352M Payload Identifier packets by using the ANC packet extraction block - they are not detected and extracted automatically. In this case: * The VD_STD_ERR bit is not valid * 352M extraction is only done on one data stream or the other, not both simultaneously (Link A or Link B selected via the host interface) * Previously embedded 352M packets can be deleted on one data stream only (using the ANC_DATA_DELETE bit, see Section 4.18.8), but these packets are replaced with 10-bit Y/C blanking values only GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 67 of 104 * It is necessary to manually extract the SMPTE 352M data by programming the DID, SDID and line number information into the ANC data extraction block NOTE 2: SMPTE 352M packet regeneration is enabled by default for 3G Level B inputs, and should be disabled through the host interface if Level B to Level A conversion is not enabled. 4.17.2.1 SMPTE 352M Payload Identifier Usage The SMPTE 352M Payload Identifier is used to confirm the video format identified by the Automatic Video Standards Detection block (see Section 4.17.4) Table 4-14: SMPTE 352M Packet Data Bit Name VIDEO_FORMAT_4_DS1 Bit Name Description R/W Default 15-8 SMPTE 352M Byte 4 Data is available in this register when Video Payload Identification Packets are detected in the data stream. R 0 7-0 SMPTE 352M Byte 3 R 0 15-8 SMPTE 352M Byte 2 R 0 7-0 SMPTE 352M Byte 1 R 0 Address: 01Ah VIDEO_FORMAT_3_DS1 Address: 01Ah VIDEO_FORMAT_2_DS1 Address: 019h VIDEO_FORMAT_2_DS1 Address: 019h 4.17.2.2 3G SMPTE 352M Packets Following Level B to Level A Conversion After Level B to Level A conversion, modified payload data must be programmed via the host interface into the VIDEO_FORMAT_352_X_X registers and automatically inserted by the GS2961A on the correct SMPTE 352M Line Number. SMPTE 352M Packets are embedded in both data streams. Previously embedded 352M packets may be deleted from one data stream only (using the ANC_DATA_DELETE bit, see Section 4.18.8), but these packets are replaced with 10-bit Y/C blanking values. NOTE: Pre-existing SMPTE 352M Packets that are not deleted are re-mapped to different line numbers during conversion to Level A formatting. These packets should be ignored by the system, since they are on non-standard SMPTE 352M lines. 4.17.3 Ancillary Data Checksum Error The GS2961A calculates checksums for all received ancillary data. These calculated checksums are compared with the received ancillary data checksum words. If a mismatch in the calculated and received checksums is detected, then a checksum error is indicated. When operating in HD mode, the device makes comparisons on both the Y and C channels separately. If an error condition in the Y channel is detected, the YCS_ERR bit GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 68 of 104 in the VIDEO_ERROR_STAT_X register is set HIGH. If an error condition in the C channel is detected, the CCS_ERR bit in the VIDEO_ERROR_STAT_X register is set HIGH. When operating in 3G Level A mode, the device makes comparisons on both the Y (Data Stream 1) and C (Data Stream 2) channels separately. If an error condition in the Y channel is detected, the YCS_ERR bit in the VIDEO_ERROR_STAT_X register is set HIGH. If an error condition in the C channel is detected, the CCS_ERR bit in the VIDEO_ERROR_STAT_X register is set HIGH. When operating in 3G Level B mode, the device makes comparisons on both the Y channel and the C channel of both Link A and Link B. When operating in SD mode, only the YCS_ERR bit is set HIGH when checksum errors are detected. 4.17.3.1 Programmable Ancillary Data Checksum Calculation As described above, the GS2961A calculates and compares checksum values for all ancillary data types by default. It is possible to program which ancillary data types are checked as described in Section 4.17.1. When so programmed, the GS2961A only checks ancillary data checksums for the specified data types, ignoring all other ancillary data. The YCS_ERR and/or CCS_ERR bits in the VIDEO_ERROR_STAT_X register are only set HIGH if an error condition is detected for the programmed ancillary data types. 4.17.4 Video Standard Error If a mismatch between the received SMPTE 352M packets and the calculated video standard occurs, the GS2961A indicates a video standard error by setting the VD_STD_ERR bit of the VIDEO_ERROR_STAT_X register HIGH. The device detects the SMPTE 352M Packet version as defined in the SMPTE 352M standard. If the incoming packet is Version Zero, then no comparison is made with the internally generated payload information and the VD_STD_ERR bit is not set HIGH. NOTE 1: If the received SMPTE 352M packet indicates 25, 30 or 29.97PsF formats, the device only indicates an error when the video format is actually progressive. The device detects 24 and 23.98PsF video standards and perform error checking at these rates. NOTE 2: The VD_STD_ERR bit should be ignored in all 3G modes. NOTE 3: VD_STD_ERR_DS1 is set incorrectly for a 1920x1080/PsF/24 payload ID. To resolve this issue, choose one of the two methods. * Set the VD_STD_ERR_DS1 mask bit high in the ERROR_MASK_1 register to avoid having incorrect assertion of the DATA_ERROR pin. * Monitor the received SMPTE ST0352 packet in the VIDEO_FORMAT_352_A_1 and VIDEO_FORMAT_352_B_1 registers and compare that to the video format identified in the VD_STD_DS1 bits in the DATA_FORMAT_DS1 register. Then, make the determination of whether or not there is a mismatch on their own. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 69 of 104 4.18 Signal Processing In addition to error detection and indication, the GS2961A can also correct errors, inserting corrected code words, checksums and CRC values into the data stream. The following processing can be performed by the GS2961A: 1. TRS error correction and insertion. 2. HD line based CRC correction and insertion. 3. EDH CRC error correction and insertion. 4. HD line number error correction and insertion. 5. Illegal code re-mapping. 6. Ancillary data checksum error correction and insertion. 7. SMPTE 372M (Level B to Level A) Conversion. All of the above features are only available in SMPTE mode (SMPTE_BYPASS = HIGH). To enable these features, the IOPROC_EN/DIS pin must be set HIGH, and the individual feature must be enabled via bits in the IOPROC_DISABLE register. The IOPROC_DISABLE register contains one bit for each processing feature allowing each one to be enabled/disabled individually. By default (at power up or after system reset), all of the IOPROC_DISABLE register bits are LOW, enabling all of the processing features. To disable an individual processing feature, set the corresponding IOPROC_DISABLE bit HIGH in the IOPROC_DISABLE register. Table 4-15: IOPROC_DISABLE Register Bits Processing Feature IOPROC_DISABLE Register Bit TRS error correction and insertion TRS_INS Y and C line based CRC error correction CRC_INS Y and C line number error correction LNUM_INS Ancillary data check sum correction ANC_CHECKSUM_INSERTION EDH CRC error correction EDH_CRC_INS Illegal code re-mapping ILLEGAL_WORD_REMAP H timing signal configuration H_CONFIG Update EDH Flags EDH_FLAG_UPDATE_MASK Ancillary Data Extraction ANC_DATA_EXT Regeneration of 352M packets REGEN_352M GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 70 of 104 4.18.1 TRS Correction & Insertion When TRS Error Correction and Insertion is enabled, the GS2961A generates and overwrites TRS code words as required. TRS Word Generation and Insertion is performed using the timing generated by the Timing Signal Generator, providing an element of noise immunity over using just the received TRS information. This feature is enabled when the IOPROC_EN/DIS pin is HIGH and the TRS_INS_DISABLE bit in the IOPROC_DISABLE register is set LOW. NOTE: Inserted TRS code words are always 10-bit compliant, irrespective of the bit depth of the incoming video stream. 4.18.2 Line Based CRC Correction & Insertion When CRC Error Correction and Insertion is enabled, the GS2961A generates and inserts line based CRC words into both the Y and C channels of the data stream. Line based CRC word generation and insertion only occurs in HD and 3G modes, and is enabled in when the IOPROC_EN/DIS pin is HIGH and the CRC_INS_DSX_MASK bit in the IOPROC_X register is set LOW. 4.18.3 Line Number Error Correction & Insertion When Line Number Error Correction and Insertion is enabled, the GS2961A calculates and inserts line numbers into the output data stream. Re-calculated line numbers are inserted into both the Y and C channels. Line number generation is in accordance with the relevant HD or 3G video standard as determined by the Automatic Standards Detection block. This feature is enabled when the device is operating in HD or 3G modes, the IOPROC_EN/DIS pin is HIGH and the LNUM_INS_DSX_MASK bit in the IOPROC_X register is set LOW. 4.18.4 ANC Data Checksum Error Correction & Insertion When ANC data Checksum Error Correction and Insertion is enabled, the GS2961A generates and inserts ancillary data checksums for all ancillary data words by default. Where user specified ancillary data has been programmed (see Section 4.17.1), only the checksums for the programmed ancillary data are corrected. This feature is enabled when the IOPROC_EN/DIS pin is HIGH and the ANC_CHECKSUM_INSERTION_DSX_MASK bit in the IOPROC_X register is set LOW. 4.18.5 EDH CRC Correction & Insertion When EDH CRC Error Correction and Insertion is enabled, the GS2961A generates and overwrites full field and active picture CRC check-words. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 71 of 104 Additionally, the device sets the active picture and full field CRC 'V' bits HIGH in the EDH packet. The AP_CRC_V and FF_CRC_V register bits only report the received EDH validity flags. EDH FF and AP CRC's are only inserted when the device is operating in SD mode, and if the EDH data packet is detected in the received video data. Although the GS2961A modifies and inserts EDH CRC's and EDH packet checksums, EDH error flags are only updated when the EDH_FLAG_UPDATE_MASK bit is LOW. This feature is enabled in SD mode, when the IOPROC_EN/DIS pin is HIGH and the EDH_CRC_INS_MASK bit in the IOPROC_1 register is set LOW. 4.18.6 Illegal Word Re-mapping All words within the active picture (outside the horizontal and vertical blanking periods), between the values of 3FCh and 3FFh are re-mapped to 3FBh. All words within the active picture area between the values of 000h and 003h are remapped to 004h. This feature is enabled when the IOPROC_EN/DIS pin is HIGH and the ILLEGAL_WORD_REMAP_DSX_MASK bit in the IOPROC_X register is set LOW. 4.18.7 TRS and Ancillary Data Preamble Remapping 8-bit TRS and ancillary data preambles are re-mapped to 10-bit values. 8-bit to 10-bit mapping of TRS headers is only supported if the TRS values are 3FC 000 000. Other values such as 3FD, 3FE, 3FF, 001, 002 and 003 are not supported. This feature is enabled by default, and cannot be disabled via the IOPROC_X register. 4.18.8 Ancillary Data Extraction Ancillary data may be extracted externally from the GS2961A output stream using the Y/1ANC and C/2ANC signals, and external logic. As an alternative, the GS2961A includes a FIFO, which extracts ancillary data using read access via the host interface to ease system implementation. The FIFO stores up to 2048 x 16 bit words of ancillary data in two separate 1024 word memory banks. The device writes the contents of ANC packets into the FIFO, starting with the first Ancillary Data Flag (ADF), followed by up to 1024 words. All Data Identification (DID), Secondary Data Identification (SDID), Data Count (DC), user data, and checksum words are written into the device memory. The device detects ancillary data packet DID's placed anywhere in the video data stream, including the active picture area. Ancillary data from the Y channel or Data Stream One is placed in the Least Significant Word (LSW) of the FIFO, allocated to the lower 8 bits of each FIFO address. Ancillary data from the C channel or Data Stream Two is placed in the Most Significant Word (MSW) (upper 8 bits) of each FIFO address. NOTE: Please refer to the ANC insertion and Extraction Application Note (Doc ID: 53410), for discrete steps and example of Ancillary data extraction. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 72 of 104 In SD mode, ancillary data is placed in the LSW of the FIFO. The MSW is set to zero. If the ANC_TYPE registers are all set to zero, the device extracts all types of ancillary data. If programmable ancillary data extraction is required, then up to five types of ancillary data to be extracted can be programmed in the ANC_TYPE registers (see Section 4.17.1). Additionally, the lines from which the packets are to be extracted can be programmed into the ANC_LINEA[10:0] and ANC_LINEB[10:0] registers, allowing ancillary data from a maximum of two lines per frame to be extracted. If only one line number register is programmed (with the other set to zero), ancillary data packets are extracted from one line per frame only. When both registers are set to zero, the device extracts packets from all lines. To start Ancillary Data Extraction, the ANC_DATA_EXT_MASK bit of the host interface must be set LOW. Ancillary data packet extraction begins in the following frame (see Figure 4-32: Ancillary Data Extraction - Step A). Bank B Bank A Application Layer Read Pointer 0 ANC DATA 800h 0 800h BFFh 1023 BFFh ANC DATA ANC DATA ANC DATA ANC DATA ANC DATA ANC DATA Internal Write Pointer 1023 ANC_DATA_SWITCH=LOW Figure 4-32:Ancillary Data Extraction - Step A Ancillary data is written into Bank A until full. The Y/1ANC and C/2ANC output flags can be used to determine the length of the ancillary data extracted and when to begin reading the extracted data from memory. While the ANC_DATA_EXT_MASK bit is set LOW, the ANC_DATA_SWITCH bit can be set HIGH during or after reading the extracted data. New data is then written into Bank B (up to 1024 x 16-bit words), at the corresponding host interface addresses (see Figure 4-33: Ancillary Data Extraction - Step B). GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 73 of 104 Bank B Bank A 0 ANC DATA 800h Internal Write Pointer 0 800h 1023 BFFh ANC DATA ANC DATA ANC DATA ANC DATA ANC DATA ANC DATA Application Layer Read Pointer ANC DATA ANC DATA BFFh 1023 ANC_DATA_SWITCH = HIGH Figure 4-33:Ancillary Data Extraction - Step B To read the new data, toggle the ANC_DATA_SWITCH bit LOW. The old data in Bank A is cleared to zero and extraction continues in Bank B (see Figure 4-34: Ancillary Data Extraction - Step C). Bank A 0 800h Bank B Application Layer Read Pointer 0 ANC DATA 800h ANC DATA ANC DATA ANC DATA ANC DATA ANC DATA ANC DATA Internal Write Pointer 1023 BFFh 1023 BFFh ANC_DATA_SWITCH = LOW Figure 4-34:Ancillary Data Extraction - Step C GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 74 of 104 If the ANC_DATA_SWITCH bit is not toggled, extracted data is written into Bank B until full. To continue extraction in Bank A, the ANC_DATA_SWITCH bit must be toggled HIGH (see Figure 4-35: Ancillary Data Extraction - Step D). Bank B Bank A Internal Write Pointer 0 0 800h ANC DATA 800h ANC DATA ANC DATA ANC DATA ANC DATA ANC DATA ANC DATA Application Layer Read Pointer ANC DATA ANC DATA 1023 BFFh 1023 BFFh ANC_DATA_SWITCH = HIGH Figure 4-35:Ancillary Data Extraction - Step D Toggling the ANC_DATA_SWITCH bit LOW returns the process to step A (Figure 4-32). NOTE: Toggling the ANC_DATA_SWITCH must occur at a time when no extraction is taking place, i.e. when the both the Y/1ANC and C/2ANC signals are LOW. To turn extraction off, the ANC_DATA_EXT_MASK bit must be set HIGH. In HD mode, the device can detect ancillary data packets in the Luma video data only, Chroma video data only, or both. By default (at power-up or after a system reset), the device extracts ancillary data packets from the luma channel only. In 3G mode Level A, the device can detect ancillary data packets in Luma video (Data Stream One) only, Chroma video (Data Stream Two) only, or both. By default (at power-up or after a system reset), the device extracts ancillary data packets from Data Stream One only. In 3G mode Level B mode, the device can detect ancillary data packets in Luma video only, Chroma video only, or both from either Link A or Link B. Selection of Link A or Link B for ANC data extraction is done via the host interface. By default (at power-up or after a system reset), the device extracts ancillary data packets from Link A Luma only. To extract packets from the Chroma/Data Stream Two channel only, the HD_ANC_C2 bit of the host interface must be set HIGH. To extract packets from both Luma/Data Stream One and Chroma/Data Stream Two video data, the HD_ANC_Y1_C2 bit must be set HIGH (the setting of the HD_ANC_C2 bit is ignored). GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 75 of 104 The default setting of both the HD_ANC_C2 and HD_ANC_Y1_C2 is LOW. The setting of these bits is ignored when the device is configured for SD video standards. Ancillary data packet extraction and deletion is disabled when the IOPROC_EN/DIS pin is set LOW. After extraction, the ancillary data may be deleted from the video stream by setting the ANC_DATA_DEL bit of the host interface HIGH. When set HIGH, all existing ancillary data is removed and replaced with blanking values. If any of the ANC_TYPE registers are programmed with a DID and/or DID and SDID, only the ancillary data packets with the matching IDs are deleted from the video stream. NOTE 1: After the ancillary data determined by the ANC_TYPE_X_APX registers has been deleted, other existing ancillary data may not be contiguous. The device does not concatenate the remaining ancillary data. NOTE 2: Reading extracted ancillary data from the host interface must be performed while there is a valid video signal present at the serial input and the device is locked (LOCKED signal is HIGH). 4.18.9 Level B to Level A Conversion When IOPROC_2 register bit LEVEL_B2A_CONV_DISABLE_MASK is HIGH (default), the GS2961A does not convert 3G LEVEL B streams between Level A and Level B mapping formats. When LEVEL_B2A_CONV_DISABLE_MASK is LOW, the GS2961A converts a 3G 1080p Level B stream to the Level A mapping format, as per SMPTE 425M. The device assumes that Link A and Link B are phase-aligned at the transmitter. The output data are line multiplexed such that the data content from Link A and Link B are assembled in a continuous fashion, at twice the input data rate. Extracted timing reference information is used to trigger a line counter which embeds the correct line number according to SMPTE 425M. The Level B/A conversion acts only on the active picture, ANC data can become corrupt outside of this region. In order to ensure that the embedded ANC data remains valid, we recommend extracting the ANC data with the receiver prior to the Level B/A conversion taking place. NOTE 1: If Level B/A conversion is enabled, previous 352M Payload ID packets are not deleted from the data stream. NOTE 2: When Level B/A conversion is enabled, timing reference information (FVH as well as CEA861 timing) present on the STAT outputs is not phase-aligned with the output video data, and should not be used for line or frame synchronization activities. Being that CEA 861 timing is derived from (FVH) timing reference information, it too should not be used. During Level B to Level A conversion, it is advised that the user generates the H and V timing signals from the embedded TRS words. NOTE 3: If the GS2961A sees a synchronous switch where the difference in phases between two Level B inputs is greater than ~10.7s, the user may observe a missing H pulse on the line following the switch line, when Level B/A conversion is enabled. NOTE 4: Discontinuities in the line of video at the input of the Level B to A converter can cause erroneous mapping to the Level A format. Therefore, when enabling B to A GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 76 of 104 conversion, it is recommended to reset the Level B to A converter with the following sequence: 1. Assert the B to A converter reset by writing '1' to bit 3 of register 05Eh. 2. Monitor H-pulse for a high-to-low transition. 3. De-assert the B to A converter reset by writing '0' to bit 3 of register 05Eh. This must be completed at the beginning of SAV and should be completed in 1920 PCLK periods. 4.19 GSPI - HOST Interface The GSPI, or Gennum Serial Peripheral Interface, is a 4-wire interface provided to allow the system to access additional status and control information through configuration registers in the GS2961A. The GSPI is comprised of a Serial Data Input signal (SDIN), Serial Data Output signal (SDOUT), an active low Chip Select (CS), and a Burst Clock (SCLK). 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. When JTAG/HOST is HIGH, the JTAG interface is enabled. When operating in GSPI mode, the SCLK, SDIN, and CS signals must be provided by the system. The SDOUT pin is a non-clocked loop-through of SDIN and may be connected to the SDIN of another device, allowing multiple devices to be connected to the GSPI chain. See Section 4.19.2 for details. The interface is illustrated in the Figure 4-36 below. Application Host GS2961A SCLK CS1 SDOUT SCLK CS SDIN SDOUT GS2961A SCLK CS2 CS SDIN SDIN SDOUT Figure 4-36:GSPI Application Interface Connection All read or write access to the GS2961A is initiated and terminated by the system host processor. Each access always begins with a Command/Address Word, followed by a data write to, or data read from, the GS2961A. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 77 of 104 4.19.1 Command Word Description The Command Word consists of a 16-bit word transmitted MSB first and contains a read/write bit, an Auto-Increment bit and a 12-bit address. MSB R/W LSB RSV RSV AutoInc A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Figure 4-37:Command Word Format Command Words are clocked into the GS2961A on the rising edge of the Serial Clock SCLK, which operates in a burst fashion. The chip select (CS) signal must be set low a minimum of 1.5ns (t0 in Figure 4-39) before the first clock edge to ensure proper operation. When the Auto-Increment bit is set LOW, each Command Word must be followed by only one Data Word to ensure proper operation. If the Auto-Increment bit is set HIGH, the following Data Word is written into the address specified in the Command Word, and subsequent Data Words are written into incremental addresses from the first Data Word. This facilitates multiple address writes without sending a Command Word for each Data Word. NOTE: The RSV bits in the GSPI command word can be set to zero as placeholder, though these bits are not used. 4.19.2 Data Read or Write Access During a read sequence (Command Word R/W bit set HIGH) serial data is transmitted or received MSB first, synchronous with the rising edge of the serial clock SCLK. The Chip Select (CS) signal must be set low a minimum of 1.5ns (t0 in Figure 4-39) before the first clock edge to ensure proper operation. The first bit (MSB) of the Serial Output (SDOUT) is available (t5 in Figure 4-40) following the last falling SCLK edge of the read Command Word, the remaining bits are clocked out on the negative edges of SCLK. NOTE: When several devices are connected to the GSPI chain, only one CS may be asserted during a read sequence. During a write sequence (Command Word R/W bit set LOW), a wait state of 37.1ns (t4 in Figure 4-39) is required between the Command Word and the following Data Word. This wait state must also be maintained between successive Command Word/Data Word write sequences. When Auto Increment mode is selected (AutoInc = 1), the wait state must be maintained between successive Data Words after the initial Command Word/Data Word sequence. During the write sequence, all Command and following Data Words input at the SDIN pin are output at the SDOUT pin unchanged. When several devices are connected to the GSPI chain, data can be written simultaneously to all the devices which have CS set LOW. MSB D15 LSB D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Figure 4-38:Data Word Format GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 78 of 104 4.19.3 GSPI Timing Write and Read Mode timing for the GSPI interface; t0 t1 t7 t4 SCLK _TCLK t3 t8 t2 CS _TMS SDIN _TDI R/W RSV RSV Auto _Inc A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 SDOUT _TDO R/W RSV RSV Auto _ Inc A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Figure 4-39:Write Mode t5 SCLK _TCLK t6 CS _ TMS SDIN _TDI SDOUT _TDO R /W RSV RSV Auto _Inc A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 R/W RSV RSV Auto _Inc A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Figure 4-40:Read Mode SDIN_TDI to SDOUT_TDO combinational path for daisy chain connection of multiple GS2961A devices. TDELAY SDIN_TDI data_0 SDOUT_TDO data_0 Figure 4-41:GSPI Time Delay Table 4-16: GSPI Time Delay Parameter Symbol Conditions Min Typ Max Units Delay time tDELAY 50% levels; 1.8V operation - - 13.1 ns Delay time tDELAY 50% levels; 3.3V operation - - 9.7 ns GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 79 of 104 Table 4-17: GSPI Timing Parameters (50% levels; 3.3V or 1.8V operation) Parameter Symbol Min Typ Max Units CS low before SCLK rising edge t0 1.5 - - ns SCLK period t1 16.67 - - ns SCLK duty cycle t2 40 50 60 % Input data setup time t3 1.5 - - ns Time between end of Command Word (or data in Auto-Increment mode) and the first SCLK of the following Data Word - write cycle t4 - - ns - - ns Time between end of Command Word (or data in Auto-Increment mode) and the first SCLK of the following Data Word - read cycle. t5 PCLK (MHz) ns unlocked 100 27.0 37.1 74.25 13.5 148.5 6.7 PCLK (MHz) ns unlocked - 27.0 148.4 74.25 53.9 148.5 27 Time between end of Command Word (or data in Auto-Increment mode) and the first SCLK of the following Data Word - read cycle - ANC FIFO Read t5 222.6 - - ns Output hold time (15pF load) t6 1.5 - - ns CS high after last SCLK rising edge t7 - - ns - - ns Input data hold time t8 PCLK (MHz) ns unlocked 445 27.0 37.1 74.25 13.5 148.5 6.7 1.5 This timing must be satisfied across all ambient temperature and power supply operating conditions, as described in the Electrical Characteristics on page 14. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 80 of 104 4.20 Host Interface Register Maps Table 4-18: Configuration and Status Registers Address Register Name 000h IOPROC_1 Bit Name Bit Description R/W Default RSVD 15 Reserved. R 0 TRS_WORD_REMAP_DS1 _DISABLE 14 Disables 8-bit TRS word remapping for 3G Level B Data Stream 1, 3G Level A, HD and SD inputs. R/W 0 RSVD 13 Reserved. R/W 0 EDH_FLAG_UPDATE _MASK 12 Disables updating of EDH error flags. R/W 0 EDH_CRC_INS_MASK 11 Disables EDH_CRC error correction and insertion. R/W 0 H_CONFIG 10 Selects the H blanking indication: R/W 0 0: Active line blanking - the H output is HIGH for all the horizontal blanking period, including the EAV and SAV TRS words. 1: TRS based blanking - the H output is set HIGH for the entire horizontal blanking period as indicated by the H bit in the received TRS signals. This signal is only valid when TIM_861 is set to '0' (via pin or host interface). ANC_DATA_EXT_MASK 9 Disables ancillary data extraction FIFO. R/W 0 RSVD 8 Reserved. R/W 0 TIM_861_PIN_DISABLE 7 Disable TIM_861 pin control when set to '1', and use TIMING_861 bit instead. R/W 0 TIMING_861 6 Selects the output timing reference format: 0 = Digital FVH timing output; 1 = CEA-861 timing output. R/W 0 RSVD 5 Reserved. R/W 0 ILLEGAL_WORD_REMAP _DS1_MASK 4 Disables illegal word remapping for 3G Level B Data Stream 1, 3G Level A, HD and SD inputs. R/W 0 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 81 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name 000h IOPROC_1 001h IOPROC_2 Bit Name Bit Description R/W Default ANC_CHECKSUM _INSERTION_DS1_MASK 3 Disables insertion of ancillary data checksums for 3G Level B Data Stream 1, 3G Level A, HD and SD inputs. R/W 0 CRC_INS_DS1_MASK 2 Disables insertion of HD/3G CRC words for 3G Level B Data Stream 1, 3G Level A, and HD inputs. R/W 0 LNUM_INS_DS1_MASK 1 Disables insertion of line numbers for 3G Level B Data Stream 1, 3G Level A, and HD inputs. R/W 0 TRS_INS_DS1_MASK 0 Disables insertion of TRS words for 3G Level B Data Stream 1, 3G Level A, HD and SD inputs. R/W 0 RSVD 15 Reserved. R/W N/A NONINV 14 With DISB_AUTDET set HIGH, if this bit is asserted (HIGH), forces non-inverted MPEG-2 decoding. If deasserted (LOW), forces inverted MPEG-2 decoding. Applicable in DVB-ASI mode only. R/W 0 DISB_AUTDET 13 Disables auto detection of inverted DVB ASI MPEG-2 data when HIGH. When LOW, NONINV is ignored and the DVB decoder auto detects for inverted MPEG-2 data. Applicable in DVB-ASI mode only. R/W 0 TRS_WORD_REMAP_DS2 _DISABLE 12 Disables 8-bit TRS word remapping in Data Stream 2 (3G Level B only). R/W 0 RSVD 11 Reserved. R/W 0 REGEN_352M_MASK 10 Disables regeneration of the SMPTE 352M packet for 3G Level B data. Note: this bit needs to be enabled via the host interface to disable SMPTE 352M packet generation. It is strongly recommended to set this bit LOW only when Level B to Level A conversion is enabled. R/W 0 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 82 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name 001h IOPROC_2 Bit Name DS_SWAP_3G Bit 9 Description R/W Default Swaps Data Stream 1 (DS1) and Data Stream 2 (DS2) at the output in 3G mode. R/W 0 In 20-bit output mode, DS1 shall be present on DOUT pins [19:10] and DS2 shall be present on DOUT pins [9:0] by default. When DS_SWAP_3G is set to '1', DS2 shall be present on DOUT pins [19:10] and DS1 shall be present on DOUT pins [9:0] In 10-bit (DDR) output mode, DS2 shall precede DS1 by default. When DS_SWAP_3G is set to '1', DS1 shall precede DS2. LEVEL_B2A_CONV _DISABLE_MASK 8 Disable conversion of a 3G Level B input to a 3G Level A format. Only effective if in 3G Level B mode. Default is active HIGH (disabled), so Level B inputs are formatted as Level B outputs. R/W 1 ANC_EXT_SEL_DS2_DS1 7 Selects data stream to extract ANC data from (valid for 3G Level B data). R/W 0 Reserved. R/W 0 RSVD 6-5 ILLEGAL_WORD_REMAP _DS2_MASK 4 Disables illegal word remapping in Data Stream 2 (3G Level B only). R/W 0 ANC_CHECKSUM _INSERTION_DS2_MASK 3 Disables insertion of ancillary data checksums in Data Stream 2 (3G Level B only). R/W 0 CRC_INS_DS2_MASK 2 Disables insertion of CRC words in Data Stream 2 (3G Level B only). R/W 0 LNUM_INS_DS2_MASK 1 Disables insertion of line numbers in Data Stream 2 (3G Level B only). R/W 0 TRS_INS_DS2_MASK 0 Disable insertion of TRS words in Data Stream 2 (3G Level B only). R/W 0 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 83 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name 002h ERROR_STAT_1 Bit Name RSVD Bit 15-11 Description R/W Default Reserved. ROCW 0 VD_STD_ERR_DS1 10 Video Standard Error indication for HD and SD inputs. ROCW 0 FF_CRC_ERR 9 EDH Full Frame CRC error indication. ROCW 0 AP_CRC_ERR 8 EDH Active Picture CRC error indication. ROCW 0 RSVD 7 Reserved. ROCW 0 CCS_ERR_DS1 6 Chroma ancillary data checksum error indication for 3G Level B Data Stream 1, 3G Level A, HD and SD inputs. ROCW 0 YCS_ERR_DS1 5 Luma ancillary data checksum error indication for 3G Level B Data Stream 1, 3G Level A, HD and SD inputs. ROCW 0 CCRC_ERR_DS1 4 Chroma CRC error indication for 3G Level B Data Stream 1, 3G Level A, and HD inputs. ROCW 0 YCRC_ERR_DS1 3 Luma CRC error indication for 3G Level B Data Stream 1, 3G Level A, and HD inputs. ROCW 0 LNUM_ERR_DS1 2 Line number error indication for 3G Level B Data Stream 1, 3G Level A, and HD inputs. ROCW 0 SAV_ERR_DS1 1 SAV error indication for 3G Level B Data Stream 1, 3G Level A, HD and SD inputs. ROCW 0 EAV_ERR_DS1 0 EAV error indication for 3G Level B Data Stream 1, 3G Level A, HD and SD inputs. ROCW 0 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 84 of 104 Table 4-18: Configuration and Status Registers (Continued) Address 003h 004h Register Name Bit Name Bit Description ERROR_STAT_2 RSVD 15-7 EDH_FLAG_IN R/W Default Reserved. ROCW 0 CCS_ERR_DS2 6 Chroma ancillary data checksum error indication for Data Stream 2 (3G Level B only). ROCW 0 YCS_ERR_DS2 5 Luma ancillary data checksum error indication for Data Stream 2 (3G Level B only). ROCW 0 CCRC_ERR_DS2 4 Chroma CRC error indication for Data Stream 2 (3G Level B only). ROCW 0 YCRC_ERR_DS2 3 Luma CRC error indication for Data Stream 2 (3G Level B only). ROCW 0 LNUM_ERR_DS2 2 Line number error indication for Data Stream 2 (3G Level B only). ROCW 0 SAV_ERR_DS2 1 SAV error indication for Data Stream 2 (3G Level B only). ROCW 0 EAV_ERR_DS2 0 EAV error indication for Data Stream 2 (3G Level B only). ROCW 0 EDH_DETECT 15 Embedded EDH packet detected. R 0 ANC_UES_IN 14 Ancillary data - unknown error status flag. R 0 ANC_IDA_IN 13 Ancillary data - internal error detected already flag. R 0 ANC_IDH_IN 12 Ancillary data - internal error detected here flag R 0 ANC_EDA_IN 11 Ancillary data - error detected already flag. R 0 ANC_EDH_IN 10 Ancillary data - error detected here flag. R 0 FF_UES_IN 9 EDH Full Field - unknown error status flag. R 0 FF_IDA_IN 8 EDH Full Field - internal error detected already flag. R 0 FF_IDH_IN 7 EDH Full Field - internal error detected here flag. R 0 FF_EDA_IN 6 EDH Full Field - error detected already flag. R 0 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 85 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name Bit Name Bit 004h EDH_FLAG_IN FF_EDH_IN 5 AP_UES_IN 005h 005h EDH_FLAG_OUT EDH_FLAG_OUT R/W Default EDH Full Field - error detected here flag. R 0 4 EDH Active Picture - unknown error status flag. R 0 AP_IDA_IN 3 EDH Active Picture - internal error detected already flag. R 0 AP_IDH_IN 2 EDH Active Picture - internal error detected here flag. R 0 AP_EDA_IN 1 EDH Active Picture - error detected already flag. R 0 AP_EDH_IN 0 EDH Active Picture - error detected here flag. R 0 RSVD 15 Reserved. R 0 ANC_UES 14 Ancillary data - Unknown Error Status flag. R 1 ANC_IDA 13 Ancillary data - Internal error Detected Already flag. R 0 ANC_IDH 12 Ancillary data - Internal error Detected Here flag. R 0 ANC_EDA 11 Ancillary data - Error Detected Already flag. R 0 ANC_EDH 10 Ancillary data - Error Detected Here flag. R 0 FF_UES 9 EDH Full Field - Unknown Error Status flag. R 1 FF_IDA 8 EDH Full Field - Internal error Detected Already flag. R 0 FF_IDH 7 EDH Full Field - Internal error Detected Here flag. R 0 FF_EDA 6 EDH Full Field - Error Detected Already flag. R 0 FF_EDH 5 EDH Full Field - Error Detected Here flag. R 0 AP_UES 4 EDH Active Picture - Unknown Error Status flag. R 1 AP_IDA 3 EDH Active Picture - Internal error Detected Already flag. R 0 AP_IDH 2 EDH Active Picture - Internal error Detected Here flag. R 0 AP_EDA 1 EDH Active Picture - Error Detected Already flag. R 0 AP_EDH 0 EDH Active Picture - Error Detected Here flag. R 0 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 Description 86 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name Bit Name Bit Description R/W Default 006h DATA_FORMAT_ DS1 FF_CRC_V 15 EDH Full Field CRC Validity bit. R 0 AP_CRC_V 14 EDH Active Picture CRC Validity bit. R 0 VD_STD_DS1 13-8 Detected Video Standard for 3G Level B Data Stream 1, 3G Level A, HD and SD inputs. R 29 CDATA_FORMAT_DS1 7-4 Data format as indicated in Chroma channel for 3G Level B Data Stream 1, HD and SD inputs; R 15 R 15 Data format as indicated in Data Stream 2 for 3G Level A inputs. YDATA_FORMAT_DS1 3-0 Data format as indicated in Luma channel for 3G Level B Data Stream 1, HD and SD inputs; Data format as indicated in Data Stream 1 for 3G Level A inputs. 007h DATA_FORMAT_ DS2 RSVD 15-14 Reserved. R 0 VD_STD_DS2 13-8 Detected Video Standard for Data Stream 2 (3G Level B only). R 29 CDATA_FORMAT_DS2 7-4 Data Format as indicated in Chroma channel for Data Stream 2 (3G Level B only). R 15 YDATA_FORMAT_DS2 3-0 Data Format as indicated in Luma channel for Data Stream 2 (3G Level B only). R 15 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 87 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name 008h IO_CONFIG Bit Name Bit Description RSVD 15 STAT2_CONFIG 14-10 R/W Default Reserved. RW 0 Configure STAT2 output pin: RW 2 00000: H Blanking when TIM_861 = 0; HSYNC when TIM_861 = 1 00001: V Blanking when TIM_861 = 0; VSYNC when TIM_861 = 1 00010: F bit when TIM_861 = 0; Data Enable (DE) when TIM_861 = 1 00011: LOCKED 00100: Y/1ANC: ANC indication (SD), Luma ANC indication (HD), Data Stream 1 ANC data indication (3G) 00101: C/2ANC: Chroma ANC indication (HD) or Data Stream 2 ANC data indication (3G) 00110: Data Error 00111: Video Error 01000: Reserved 01001: EDH Detected 01010: Carrier Detect 01011: RATE_DET0 01100: RATE_DET1 01101 - 11111: Reserved 009h IO_CONFIG2 STAT1_CONFIG 9-5 Configure STAT1 output pin. (Refer to above for decoding) RW 1 STAT0_CONFIG 4-0 Configure STAT0 output pin. (Refer to above for decoding) RW 0 RSVD 15 Reserved. RW 0 STAT5_CONFIG 14-10 Configure STAT5 output pin. (Refer to above for decoding) RW 6 STAT4_CONFIG 9-5 Configure STAT4 output pin. (Refer to above for decoding) RW 4 STAT3_CONFIG 4-0 Configure STAT3 output pin. (Refer to above for decoding) RW 3 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 88 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name 00Ah ANC_CONTROL Bit Name Bit Description R/W Default RSVD 15-4 Reserved. RW 0 ANC_DATA_SWITCH 3 Switches between FIFO memories. RW 0 ANC_DATA_DEL 2 Remove Ancillary Data from output video stream, set to Luma and Chroma blanking values. RW 0 HD_ANC_Y1_C2 1 Extract Ancillary data from Luma and Chroma channels (HD inputs) RW 0 RW 0 Extract Ancillary data from Data Stream 1 and Data Stream 2 (3G Level A inputs) Extract Ancillary data from Luma and Chroma channels of Data Stream 1 (3G Level B inputs, when ANC_EXT_SEL_DS2_DS1 = 0) Extract Ancillary data from Luma and Chroma channels of Data Stream 2 (3G Level B inputs, when ANC_EXT_SEL_DS2_DS1 = 1) HD_ANC_C2 0 Extract Ancillary data only from Chroma channel (HD inputs) Extract Ancillary data only from Data Stream 2 (3G Level A inputs) Extract Ancillary data only from Chroma channel of Data Stream 1 (3G Level B inputs, when ANC_EXT_SEL_DS2_DS1 = 0) Extract Ancillary data only from Chroma channel of Data Stream 2 (3G Level B inputs, when ANC_EXT_SEL_DS2_DS1 = 1) 00Bh 00Ch ANC_LINE_A ANC_LINE_B RSVD 15-11 Reserved. R/W 0 ANC_LINE_A 10-0 Video Line to extract Ancillary data from. R/W 0 RSVD 15-11 Reserved. R/W 0 ANC_LINE_B 10-0 Second video Line to extract Ancillary data from. R/W 0 RSVD 15-0 Reserved. R 0 00Dh 00Eh RSVD 00Fh ANC_TYPE_1_AP 1 ANC_TYPE1_DS1 15-0 Programmable DID/SDID pair #1 to extract from 3G Level B Data Stream 1, 3G Level A, HD and SD input formats ([15:8] = DID, [7:0] = SDID). R/W 0 010h ANC_TYPE_2_AP 1 ANC_TYPE2_DS1 15-0 Programmable DID/SDID pair #2 to extract from 3G Level B Data Stream 1, 3G Level A, HD and SD input formats ([15:8] = DID, [7:0] = SDID). R/W 0 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 89 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name Bit Name Bit Description R/W Default 011h ANC_TYPE_3 _AP1 ANC_TYPE3_DS1 15-0 Programmable DID/SDID pair #3 to extract from 3G Level B Data Stream 1, 3G Level A, HD and SD input formats ([15:8] = DID, [7:0] = SDID). R/W 0 012h ANC_TYPE_4 _AP1 ANC_TYPE4_DS1 15-0 Programmable DID/SDID pair #4 to extract from 3G Level B Data Stream 1, 3G Level A, HD and SD input formats ([15:8] = DID, [7:0] = SDID). R/W 0 013h ANC_TYPE_5 ANC_TYPE5_DS1 15-0 Programmable DID/SDID pair #5 to extract from 3G Level B Data Stream 1, 3G Level A, HD and SD input formats ([15:8] = DID, [7:0] = SDID). R/W 0 _AP1 014h ANC_TYPE_1 _AP2 ANC_TYPE1_DS2 15-0 Programmable DID/SDID pair #1 to extract from 3G Level B Data Stream 2 ([15:8] = DID, [7:0] = SDID). R/W 0 015h ANC_TYPE_2 _AP2 ANC_TYPE2_DS2 15-0 Programmable DID/SDID pair #2 to extract from 3G Level B Data Stream 2 ([15:8] = DID, [7:0] = SDID). R/W 0 016h ANC_TYPE_3 _AP2 ANC_TYPE3_DS2 15-0 Programmable DID/SDID pair #3 to extract from 3G Level B Data Stream 2 ([15:8] = DID, [7:0] = SDID). R/W 0 017h ANC_TYPE_4 _AP2 ANC_TYPE4_DS2 15-0 Programmable DID/SDID pair #4 to extract from 3G Level B Data Stream 2 ([15:8] = DID, [7:0] = SDID). R/W 0 018h ANC_TYPE_5 _AP2 ANC_TYPE5_DS2 15-0 Programmable DID/SDID pair #5 to extract from 3G Level B Data Stream 2 ([15:8] = DID, [7:0] = SDID). R/W 0 019h VIDEO_FORMAT _352_A_1 VIDEO_FORMAT_2_DS1 15-8 SMPTE 352M embedded packet - byte 2. R 0 VIDEO_FORMAT_1_DS1 7-0 SMPTE 352M embedded packet - byte 1: [7]: Version identifier [6:0]: Video Payload Identifier. R 0 VIDEO_FORMAT_4_DS1 15-8 SMPTE 352M embedded packet - byte 4. R 0 VIDEO_FORMAT_3_DS1 7-0 SMPTE 352M embedded packet - byte 3. R 0 VIDEO_FORMAT_2_DS2 15-8 SMPTE 352M embedded packet - byte 2 (3G Data Stream 2 only). R 0 VIDEO_FORMAT_1_DS2 7-0 SMPTE 352M embedded packet - byte 1 (3G Data Stream 2 only): R 0 01Ah 01Bh VIDEO_FORMAT _352_B_1 VIDEO_FORMAT _352_A_2 [7]: Version identifier [6:0]: Video Payload Identifier. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 90 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name Bit Name Bit Description 01Ch VIDEO_FORMAT _352_B_2 VIDEO_FORMAT_4_DS2 15-8 VIDEO_FORMAT_3_DS2 01Dh 01Eh 01Fh 020h 021h 022h VIDEO_FORMAT _352_INS_A VIDEO_FORMAT _352_INS_B RASTER_STRUC_ 1 RASTER_STRUC_ 2 RASTER_STRUC_ 3 RASTER_STRUC_ 4 R/W Default SMPTE 352M embedded packet - byte 4 (3G Data Stream 2 only). R 0 7-0 SMPTE 352M embedded packet - byte 3 (3G Data Stream 2 only). R 0 VIDEO_FORMAT_2_INS 15-8 SMPTE 352M packet - byte 2 to be embedded after Level B to Level A conversion. R/W 0 VIDEO_FORMAT_1_INS 7-0 SMPTE 352M packet - byte 1 to be embedded after Level B to Level A conversion. R/W 0 VIDEO_FORMAT_4_INS 15-8 SMPTE 352M packet - byte 4 to be embedded after Level B to Level A conversion. R/W 0 VIDEO_FORMAT_3_INS 7-0 SMPTE 352M packet - byte 3 to be embedded after Level B to Level A conversion. R/W 0 RSVD 15-14 Reserved. R 0 WORDS_PER_ACTLINE 13-0 Words Per Active Line. R 0 RSVD 15-14 Reserved. R 0 WORDS_PER_LINE 13-0 Total Words Per Line. R 0 RSVD 15-11 Reserved. R 0 LINES_PER_FRAME 10-0 Total Lines Per Frame. R 0 RATE_SEL_READBACK 15-14 Read back detected data rate: R 0 R 0 0 = HD, 1,3=SD, 2=3G M 13 Specifies detected M value 0: 1.000 1: 1.001 Note: In certain systems, due to greater ppm offsets in the crystal, the `M' bit may not assert properly. In such cases, bits 3:0 in Register 06Fh can be increased to a maximum value of 4. STD_LOCK 12 Video standard lock. R 0 INT_PROG 11 Interlaced or progressive. R 0 Active lines per frame. R 0 ACTLINE_PER_FIELD GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 10-0 91 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name 023h FLYWHEEL _STATUS 024h RATE_SEL Bit Name Bit Description R/W Default RSVD 15-5 Reserved. R 0 V_LOCK_DS2 4 Indicates that the timing signal generator is locked to vertical timing (3G Level B Data Stream 2 only). R 0 H_LOCK_DS2 3 Indicates that the timing signal generator is locked to horizontal timing (3G Level B Data Stream 2 only). R 0 RSVD 2 Reserved. R 0 V_LOCK_DS1 1 Indicates that the timing signal generator is locked to vertical timing (3G Level B Data Stream 1, 3G Level A, HD and SD inputs). R 0 H_LOCK_DS1 0 Indicates that the timing signal generator is locked to horizontal timing (3G Level B Data Stream 1, 3G Level A, HD and SD inputs). R 0 Reserved. R 0 Detect data rate automatically (1) or program manually (0). R/W 1 Programmable rate select in manual mode: R/W 0 Reserved. R 0 Indicates standard is not recognized for CEA 861 conversion. R 1 RSVD AUTO/MAN RATE_SEL_TOP 15-3 2 1-0 0 = HD, 1,3=SD, 2=3G 025h TIM_861_ FORMAT RSVD FORMAT_ERR 026h 027h 036h TIM_861_CFG RSVD 15-7 6 FORMAT_ID_861 5-0 CEA-861 format ID of input video stream. Refer to Table 4-9. R 0 RSVD 15-3 Reserved. R 0 VSYNC_INVERT 2 Invert output VSYNC pulse. R/W 0 HSYNC_INVERT 1 Invert output HSYNC pulse. R/W 0 TRS_861 0 Sets the timing reference outputs to DFP timing mode when set to '1'. By default, the timing reference outputs follow CEA-861 timing mode. Only valid when TIM_861 is set to '1'. R/W 0 RSVD - Reserved. R 0 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 92 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name Bit Name Bit Description 037h ERROR_MASK_1 RSVD 15-11 Reserved. ERROR_MASK_1 10-0 Error mask for global error vector (3G Level B Data Stream 1, 3G Level A, HD, SD): R/W Default R 0 R/W 0 R 0 R/W 0 bit[0]: EAV_ERR_DS1 mask bit[1]: SAV_ERR_DS1 mask bit[2]: LNUM_ERR_DS1 mask bit[3]: YCRC_ERR_DS1 mask bit[4]: CCRC_ERR_DS1 mask bit[5]: YCS_ERR_DS1 mask bit[6]: CCS_ERR_DS1 mask bit[7]: Reserved bit[8]: AP_CRC_ERR mask bit[9]: FF_CRC_ERR mask bit[10]: VD_STD_ERR_DS1 mask 038h ERROR_MASK_2 RSVD 15-7 Reserved. ERROR_MASK_2 6-0 Error mask for global error vector (3G Level B Data Stream 2 only): bit[0]: EAV_ERR_DS2 mask bit[1]: SAV_ERR_DS2 mask bit[2]: LNUM_ERR_DS2 mask bit[3]: YCRC_ERR_DS2 mask bit[4]: CCRC_ERR_DS2 mask bit[5]: YCS_ERR_DS2 mask bit[6]: CCS_ERR_DS2 mask 039h -6Bh RSVD RSVD 15-0 Reserved. R 0 06Ch CLK_GEN RSVD 15-6 Reserved. R/W 0 Choses between the in-phase (0) and quadrature (1) clocks for DDR mode. R/W 0 Controls the offset for the delay line. R/W 0 DEL_LINE_CLK_SEL 5 DEL_LINE_OFFSET 4-0 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 93 of 104 Table 4-18: Configuration and Status Registers (Continued) Address Register Name 06Dh IO_DRIVE _STRENGTH Bit Name Bit Description R/W Default RSVD 15-6 Reserved. R/W 0 IO_DS_CTRL_DOUT_MSB 5-4 Drive strength adjustment for DOUT[19:10] outputs and PCLK output: R/W 2 R/W 2 R/W 3 00: 4mA; 01: 8mA; 10: 10mA(1.8V), 12mA(3.3V); 11: 12mA(1.8V), 16mA(3.3V) IO_DS_CTRL_STAT 3-2 Drive strength adjustment for STAT[5:0] outputs: 00: 4mA; 01: 6mA; 10: 8mA(1.8V), 10mA(3.3V); 11: 10mA(1.8V), 12mA(3.3V) IO_DS_CTRL_DOUT_LSB 1-0 Drive strength adjustment for DOUT[9:0] outputs: 00: 4mA; 01: 6mA; 10: 8mA(1.8V), 10mA(3.3V); 11: 10mA(1.8V), 12mA(3.3V) 06Eh - 072h RSVD RSVD - Reserved. R/W 0 073h EQ_BYPASS RSVD 15-10 Reserved. R/W 0 0: non-bypass EQ 1: bypass EQ R/W 0 EQ_BYPASS 9 RSVD 8-0 Reserved. R/W 0 074h -084h RSVD RSVD 15-0 Reserved. R/W 0 085h RSVD RSVD 15-11 Reserved. R/W 0 LOCK_NOISE LOCK_NOISE_IMM_INCR 10 Enables extra noise-immunity on SMPTE detected lock when HIGH by forcing detection of three TRS words with the last two TRS words having the same alignment before locking to SMPTE. Enable this only for AUTO/MAN = HIGH. R/W 0 RSVD 9-0 Reserved. R/W 0 _IMM_INCR RSVD GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 94 of 104 Table 4-19: ANC Extraction FIFO Access Registers Address Register Name Bit Description R/W Default 800h BFFh ANC_PACKET_BANK 15-0 Extracted Ancillary Data 91024 words. Bit 15-8: Most Significant Word (MSW). Bit 7-0: Least Significant Word (LSW). See Section 4.18.8. R 0 Legend: R = Read only ROCW = Read Only, Clear on Write R/W = Read or Write W = Write only 4.21 JTAG Test Operation When the JTAG/HOST pin of the GS2961A is set HIGH and the SMPTE_BYPASS pin is LOW, the host interface port is configured for JTAG test operation. In this mode, pins E7, F8, F7, and E8 become TDO, TCK, TMS, and TDI. In addition, the RESET_TRST pin operates as the test reset pin. Boundary scan testing using the JTAG interface is enabled in this mode. There are two ways in which JTAG can be used: 1. As a stand-alone JTAG interface to be used at in-circuit ATE (Automatic Test Equipment) during PCB assembly. 2. Under control of a host processor for applications such as system power on self tests. 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 4-42. GS2961A Application HOST CS_TMS SCLK_TCK SDIN_TDI SDOUT_TDO JTAG_HOST In-circuit ATE probe Figure 4-42:In-Circuit JTAG GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 95 of 104 Alternatively, if the test capabilities are to be used in the system, the host processor may still control 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 4-43. Application HOST GS2961A CS_TMS SCLK_TCK SDIN_TDI SDOUT_TDO JTAG_HOST Tri-State In-circuit ATE probe Figure 4-43:System JTAG Scan coverage is limited to digital pins only. There is no scan coverage for analog pins VCO, SDO/SDO, RSET, LF, and CP_RES. The JTAG/HOST pin must be held LOW during scan and therefore has no scan coverage. Please contact your Semtech representative to obtain the BSDL model for the GS2961A. 4.22 Device Power-up Because the GS2961A is designed to operate in a multi-voltage environment, any power-up sequence is allowed. The charge pump, phase detector, core logic, serial digital output and I/O buffers can all be powered up in any order. NOTE: Power ramp-up time (10% to 90%) 40s. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 96 of 104 4.23 Device Reset NOTE: At power-up, the device must be reset to operate correctly. In order to initialize all internal operating conditions to their default states, hold the RESET_TRST signal LOW for a minimum of treset = 1ms after all power supplies are stable. There are no requirements for power supply sequencing. When held in reset, all device outputs are driven to a high-impedance state. Nominal Level 95% of Nominal Level Supply Voltage treset treset Reset Reset RESET_TRST Figure 4-44:Reset Pulse 4.24 Standby Mode The STANDBY pin reduces power to a minimum by disabling all circuits except for the register configuration. Upon removal of the signal to the STANDBY pin, the device returns to its previous operating condition within 1 second, without requiring input from the host interface. NOTE: In standby mode or reset, the crystal buffer output remains enabled. This allows users to reset the GS2961A device without resetting other downstream devices that are using the same reference. This also allows users to put the GS2961A device in standby mode and still use the loop-through mode. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 97 of 104 5. Application Reference Design 5.1 High Gain Adaptive Cable Equalizers The GS2961A has an integrated adaptive cable equalizer. In order to extend the cable length that an equalizer will remain operational at, it is necessary for the equalizer to have high gain. A video cable equalizer must provide wide band gain over a range of frequencies in order to accommodate the range of data rates and signal patterns that are present in a SMPTE compliant serial video stream. Small levels of signal or noise present at the input pins of the GS2961A may cause chatter at the output. In order to prevent this from happening, particular attention must be paid to board layout. 5.2 PCB Layout Special attention must be paid to component layout when designing Serial Digital Interfaces for HDTV. An FR-4 dielectric can be used, however, controlled impedance transmission lines are required for PCB traces longer than approximately 1cm. Note the following PCB artwork features used to optimize performance: * PCB trace width for 3Gb/s rate signals is closely matched to SMT component width to minimize reflections due to change in trace impedance. * The PCB ground plane is removed under the GS2961A input components to minimize parasitic capacitance. * High speed traces are curved to minimize impedance changes. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 98 of 104 5.3 Typical Application Circuit Power Decoupling +1.2V 10n +1.2V_A 10n 10n 10n 10n 10n 10n Power Filtering +3.3V A_GND +1.2V_A 0R +3.3V_A 10n 10n +1.2V CD_VDD 0R IO_VDD 10n 10n 10n 10n 10n 1u 1u 10n 10n 1u 1u 10n 10n Place close to GS2961A A_GND A_GND +1.2V_A A_GND IO_VDD +3.3V_A 0R Place close to GS2961A R7 105R 10n 1u C18 33u 1u 1u 10n 0R A_GND STAT2 STAT1 STAT0 B5 A6 A5 22R 22R 22R PCLK A8 22R DOUT 19 DOUT 18 DOUT 17 DOUT 16 DOUT 15 DOUT 14 DOUT 13 DOUT 12 DOUT 11 DOUT 10 B8 A9 A10 B9 B10 C9 C10 C8 E10 E9 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R DOUT 9 DOUT 8 DOUT 7 DOUT 6 DOUT 5 DOUT 4 DOUT 3 DOUT 2 DOUT 1 DOUT 0 F10 F9 H10 H9 J10 J9 K10 K9 J8 K8 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 1u 47n DOUT[19:0] B3 RSV H6 XTAL_OUT J6 XTAL2 K6 XTAL1 G7 G8 H5 D7 H8 H7 G3 D8 K2 C7 J2 SMPTE_BY PASS DVB_ASI TIM_861 SW_EN IOPROC_EN/DIS 20bit/10bit RC_BY P JTAG/HOST STANDBY RESET_TRST SDO_EN/DIS E7 E8 F8 F7 SDOUT_TDO SDIN_TDI SCLK_TCK CS_TMS A_GND CS10-27.000M GS2961AIBE3 CD_DISABLEb RSV RSV J3 K3 RSV RSV J5 K5 RSV 75-ohm Traces AGCN IO_GND IO_GND IO_GND IO_GND 3 4 A_GND 14 13 NC SDI SDO SDI GS2978-CNE3 SDO VEE SD/HD RSET 750R VCC 12 10 A_GND A_GND 11 10n 75R UCBBJE20-1 5n6 9 TAB 1 2 CD_VDD 15 16 49R9 NC 10n A_GND 8 J1 49R9 B7 D9 G9 J7 37R4 D5 E5 F5 G4 G5 H3 75R B4 D4 E4 F4 A_GND VCO_GND PLL_GND PLL_GND PLL_GND 1u K1 75R CD_VDD 75R 1 4u7 75R 17 SDO CORE_GND CORE_GND CORE_GND CORE_GND CORE_GND CORE_GND SDO SDI BUF_GND SDI_GND SDI H2 E2 D1 A_GND A_GND A_GND A_GND A_GND A_GND C1 75R 4u7 NC 1u C2 D2 D3 E3 F3 G2 3 2 SDI Input 6n2 UCBBJE20-1 1 CD SLEW RATE SELECT A_GND CD_VDD CD_DISABLEb 10n A_GND A_GND 2 3 Close to pin 1 & 2 of GS2978 A_GND A_GND SDI Loop-Through Output AGCP 470n RSVD G1 K4 J4 H4 7 F1 470n RSV RSV RSV LOCKED (DEFAULT, PROGRAMMABLE) Y /1ANC (DEFAULT, PROGRAMMABLE) DATA_ERRORb (DEFAULT, PROGRAMMABLE) NC F2 B6 C5 C6 NC SDOUT_TDO SDIN_TDI SCLK_TCK CS_TMS STAT3 STAT4 STAT5 DISABLE SMPTE_BY PASS DVB_ASI TIM_861 SW_EN IOPROC_EN/DIS 20bit/10bit RC_BY P JTAG/HOST STANDBY RESET_TRST SDO_EN/DIS NC Host Interface & Control 16p 5 TP 16p PCLK DOUT[19:0] LF 6 A2 F/DE (DEFAULT, PROGRAMMABLE) V/VSY NC (DEFAULT, PROGRAMMABLE) H/HSY NC (DEFAULT, PROGRAMMABLE) Video Data, Clock & Timing Output A7 D10 G10 K7 IO_VDD IO_VDD IO_VDD IO_VDD H1 D6 E6 F6 G6 E1 B1 A_VDD BUF_VDD VBG IO_VDD +1.2V CORE_VDD CORE_VDD CORE_VDD CORE_VDD LB_CONT A1 +3.3V_A EQ_VDD A3 B2 C3 C4 A4 R19 DNP VCO_VDD +3.3V_A PLL_VDD PLL_VDD PLL_VDD Place close to GS2961A DNP +1.2V_A A_GND Notes: 1. DNP (Do Not Populate). 2. The value of the series resistors on video data, clock, and timing connections should be determined by board signal integrity test. 3. For analog power and ground isolation refer to PCB layout guide. 4. For critital 3G signal layout refer to PCB layout guide. 5. For impedance controlled signal layout refer to PCB layout guide. GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 99 of 104 6. References & Relevant Standards SMPTE 125M Component video signal 4:2:2 - bit parallel interface SMPTE 259M 10-bit 4:2:2 Component and 4fsc Composite Digital Signals - Serial Digital 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 272M Formatting AES/EBU Audio and Auxiliary Data into Digital Video Ancillary Data Space 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.94Hz progressive scan production - digital representation SMPTE 296M 1280 x 720 scanning, analog and digital representation and analog interface SMPTE 299M 24-Bit Digital Audio Format for HDTV Bit-Serial Interface SMPTE 305M Serial Data Transport Interface SMPTE 348M High Data-Rate Serial Data Transport Interface (HD-SDTI) SMPTE 352M Video Payload Identification for Digital Television Interfaces SMPTE 372M Dual Link 292M Interface for 1920 x 1080 Picture Raster SMPTE 424M Television - 3Gb/s Signal/Data Serial Interface SMPTE 425M Television - 3Gb/s Signal/Data Serial Interface - Source Image Format Mapping 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 CEA 861 Video Timing Requirements GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 100 of 104 7. Package & Ordering Information 7.1 Package Dimensions BOTTOM VIEW TOP VIEW 0.10 C 0.25 C A B 0.40~0.60(100X) PIN 1 CORNER 1 2 3 4 5 6 7 8 9 10 PIN 1 CORNER 10 9 8 7 6 5 4 3 2 1 A A B C C 1.00 B E E F G G H H J J K K 1.00 0.700.05 B 0.15 0.25 C F D 9.00 110.10 D 9.00 110.10 A 0.20(4X) Substrate Thickness: Ball Pitch: 0.366 1.00 Ball Diameter: Mold Thickness: 0.70 1.700 REF. SEATING PLANE 0.30~0.50 (0.366) 0.50 C PACKAGE OUTLINE 100L LBGA PACKAGE SIZE: 11 x 11 x 1.71mm *THE BALL DIAMETER, BALL PITCH, STAND-OFF & PACKAGE THICKNESS ARE DIFFERENT FROM JEDEC SPEC M0192 (LOW PROFILE BGA FAMILY) GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 101 of 104 7.2 Packaging Data Table 7-1: Packaging Data Parameter Value Package Type 11mm x 11mm 100-ball LBGA Package Drawing Reference JEDEC M0192 (with exceptions noted in Package Dimensions on page 101). Moisture Sensitivity Level 3 Junction to Case Thermal Resistance, j-c 15.4C/W Junction to Air Thermal Resistance, j-a (at zero airflow) 37.1C/W Junction to Board Thermal Resistance, j-b 26.4C/W Psi, 0.4C/W Pb-free and RoHS Compliant Yes 7.3 Marking Diagram Pin 1 ID GS2961A XXXXE3 YYWW GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 XXXX - Last 4 digits (excluding decimal) of SAP Batch Assembly (FIN) as listed on Packing Slip. E3 - Pb-free & Green indicator YYWW - Date Code 102 of 104 7.4 Solder Reflow Profiles The GS2961A is available in a Pb-free package. It is recommended that the Pb-free package be soldered with Pb-free paste using the reflow profile shown in Figure 7-1. Temperature 60-150 sec. 20-40 sec. 260C 250C 3C/sec max 217C 6C/sec max 200C 150C 25C Time 60-180 sec. max 8 min. max Figure 7-1:Pb-free Solder Reflow Profile 7.5 Ordering Information Part Number Package Pb-free Temperature Range GS2961AIBE3 100-ball BGA Yes -20C to 85C Revision History Version ECR PCN Date 2 158468 - September 2012 Changes throughout the document. 1 154880 - September 2010 Defined bits NONINV (001h-14) and DISB_AUTDET (001h-13) in Table 4-18 Configuration and Status Registers. 0 153769 - May 2010 GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 Changes and/or Modifications New Document. 103 of 104 DOCUMENT IDENTIFICATION CAUTION DATA SHEET ELECTROSTATIC SENSITIVE DEVICES Information relating to this product and the application or design described herein is believed to be reliable, however such information is provided as a guide only and Semtech assumes no liability for any errors in this document, or for the application or design described herein. Semtech reserves the right to make changes to the product or this document at any time without notice. DO NOT OPEN PACKAGES OR HANDLE EXCEPT AT A STATIC-FREE WORKSTATION (c) Semtech 2012 All rights reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent or other industrial or intellectual property rights. Semtech assumes no responsibility or liability whatsoever for any failure or unexpected operation resulting from misuse, neglect improper installation, repair or improper handling or unusual physical or electrical stress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outside the specified range. SEMTECH PRODUCTS ARE NOT DESIGNED, INTENDED, AUTHORIZED OR WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT APPLICATIONS, DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF SEMTECH PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE UNDERTAKEN SOLELY AT THE CUSTOMER'S OWN RISK. Should a customer purchase or use Semtech products for any such unauthorized application, the customer shall indemnify and hold Semtech and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs damages and attorney fees which could arise. Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners. Contact Information Semtech Corporation Gennum Products Division 200 Flynn Road, Camarillo, CA 93012 Phone: (805) 498-2111, Fax: (805) 498-3804 www.semtech.com GS2961A 3Gb/s, HD, SD SDI Integrated Receiver Data Sheet 54385 - 2 September 2012 104 of 104 104 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Semtech: GS2961AIBE3