GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Key Features Description Video Clock Synthesis • • • • • • Generates any video or graphics clock up to 165MHz Pre-programmed for 8 video and 13 graphics clocks Accuracy of free-running clock frequency limited only by crystal reference One differential and two single-ended video/graphics clock outputs Each clock may be individually delayed for skew control Video output clock may be directly connected to Gennum’s serializers for a SMPTE-compliant HD-SDI output Audio Clock Synthesis (GS4911B only) • • • Three audio clock outputs Generates any audio clock up to 512*96kHz Pre-programmed for 7 audio clocks Timing Generation • • • Generates up to 8 timing signals at a time Choose from 9 pre-programmed timing signals: H and V sync and blanking, F Sync, F Digital, AFS (GS4911B only), Display Enable, 10FID, and up to 4 user-defined timing signals Pre-programmed to generate timing for 35 different video formats and 13 different graphic display formats Genlock Capability • • • • • • Clocks may be free-running or genlocked to an input reference with a variable offset step size of 100-200ps (depending on exact clock frequency) Variable timing offset step size of 100-200ps up to one frame Output may be cross-locked to a different input reference Freeze operation on loss of reference Optional crash or drift lock on application of reference Automatic input format detection General Features • • • • • Reduces design complexity and saves board space - 9mm x 9mm package plus crystal reference replaces multiple VCXOs, PLLs and timing generators Pb-free and RoHS Compliant Low power operation typically 300mW 1.8V core and 1.8V or 3.3V I/O power supplies 64-PIN QFN package The GS4911B is a highly flexible, digitally controlled clock synthesis circuit and timing generator with genlock capability. It can be used to generate video and audio clocks and timing signals, and allows multiple devices to be genlocked to an input reference. The GS4910B includes all the features of the GS4911B, but does not offer audio clocks or AFS pulse generation. The GS4911B/GS4910B will recognize input reference signals conforming to 36 different video standards and 16 different graphic formats, and will genlock the output timing information to the incoming reference. The GS4911B/GS4910B supports cross-locking, allowing the output to be genlocked to an incoming reference that is different from the output video standard selected. The user may select to output one of 8 different video sample clock rates or 13 different graphic display clock rates, or may program any clock frequency between 13.5MHz and 165MHz. The chosen clock frequency can be further divided using internal dividers, and is available on two video clock outputs and one LVDS video clock output pair. The video clocks are frequency and phased-locked to the horizontal timing reference, and can be individually delayed with respect to the timing outputs for clock skew control. Eight user-selectable timing outputs are provided that can automatically produce the following timing signals for 35 different video formats and 13 different graphics formats: HSync, Hblanking, VSync, Vblanking, F sync, F digital, AFS (GS4911B only), DE, and 10FID. These timing outputs may be locked to the input reference signal for genlock timing and may be phase adjusted via internal registers. In addition, the GS4911B provides three audio sample clock outputs that can produce audio clocks up to 512fs with fs ranging from 9.7kHz to 96kHz. Audio to video phasing is accomplished by an external 10FID input reference, a 10FID signal specified via internal registers, or a user-programmed audio frame sequence. The GS4911B/GS4910B is Pb-free, and the encapsulation compound does not contain halogenated flame retardant (RoHS Compliant). Applications • Video cameras; Digital audio and/or video recording/play back devices; Digital audio and/or video processing devices; Computer/video displays; DVD/MPEG devices; Digital Set top boxes; Video projectors; High definition video systems; Multi-media PC applications GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 www.gennum.com 1 of 119 LOCK_LOST VID_STD[5:0] GENLOCK ASR_SEL[2:0] X1 X2 user[4:1] 27MHz Input Reference Rate Identification and Control ref_rate REF_LOST Flywheel and Video Timing Generator AFS 10FID DE F digital F sync V blanking V sync TIMING_OUT_8 TIMING_OUT_7 TIMING_OUT_6 Crosspoint TIMING_OUT_4 TIMING_OUT_3 TIMING_OUT_2 H blanking H sync Clock Synthesis and Control TIMING_OUT_5 TIMING_OUT_1 PCLK1 Clock Phase Adjust pclk Video Clock Divide 3x Video Clock Delay Adjust PCLK2 PCLK3 PCLK3 aclk_512 aclk_384 Audio Clock Divide ACLK1 ACLK2 ACLK3 HSYNC VSYNC FSYNC 10FID CS_TMS SDIN_TDI SDOUT_TDO SCLK_TCLK JTAG/HOST Application Programming Interace GS4911B Functional Block Diagram GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 2 of 119 LOCK_LOST VID_STD[5:0] GENLOCK X1 X2 user[4:1] 27MHz Input Reference Rate Identification and Control ref_rate REF_LOST Flywheel and Video Timing Generator 10FID DE F digital F sync V blanking V sync TIMING_OUT_8 TIMING_OUT_7 TIMING_OUT_6 Crosspoint TIMING_OUT_5 TIMING_OUT_4 TIMING_OUT_3 H blanking H sync TIMING_OUT_2 TIMING_OUT_1 Clock Synthesis and Control PCLK1 Clock Phase Adjust pclk Video Clock Divide 3x Video Clock Delay Adjust PCLK2 PCLK3 PCLK3 HSYNC VSYNC FSYNC 10FID CS_TMS SDIN_TDI SDOUT_TDO SCLK_TCLK JTAG/HOST Application Programming Interace GS4910B Functional Block Diagram GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 3 of 119 Revision History Version ECR PCN Date 5 151938 – June 2009 Updated document with new template. 4 144904 – April 2007 Corrected H_Offset value in 3.2.1.1 Genlock Timing Offset. 3 141424 40495 August 2006 Updated terminal width to 0.25+/-0.05 on Package Dimensions and pin 1 ID change to 45° chamfer. 2 139291 38723 April 2006 Corrected description and formulas for loop bandwidth. Converted to Data Sheet. Clarified setting of VID_STD in Extended Audio Mode. Updated power consumption of GS4910B. 1 138866 37792 December 2005 Corrected phrasing regarding user-programmable outputs. Added note on V Blanking output width for VID_STD=4, 6, 8. Corrected ESD protection to 1kV. 0 138004 – November 2005 New document. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 Changes and/or Modifications 4 of 119 Contents Key Features ........................................................................................................................................................1 Applications.........................................................................................................................................................1 Description...........................................................................................................................................................1 Revision History .................................................................................................................................................4 1. Pin Out...............................................................................................................................................................8 1.1 GS4911B Pin Assignment ...............................................................................................................8 1.2 GS4910B Pin Assignment ...............................................................................................................9 1.3 Pin Descriptions ............................................................................................................................. 10 1.4 Pre-Programmed Recognized Video and Graphics Standards ...................................... 20 1.5 Output Timing Signals ................................................................................................................. 26 2. Electrical Characteristics ......................................................................................................................... 30 2.1 Absolute Maximum Ratings ....................................................................................................... 30 2.2 DC Electrical Characteristics ..................................................................................................... 30 2.3 AC Electrical Characteristics ..................................................................................................... 33 3. Detailed Description.................................................................................................................................. 37 3.1 Functional Overview .................................................................................................................... 37 3.2 Modes of Operation ...................................................................................................................... 37 3.2.1 Genlock Mode..................................................................................................................... 38 3.2.2 Free Run Mode ................................................................................................................... 41 3.3 Output Timing Format Selection .............................................................................................. 42 3.4 Input Reference Signals ............................................................................................................... 43 3.4.1 HSYNC, VSYNC, and FSYNC.......................................................................................... 43 3.4.2 10FID ..................................................................................................................................... 44 3.4.3 Automatic Polarity Recognition ................................................................................... 45 3.5 Reference Format Detector ........................................................................................................ 45 3.5.1 Horizontal and Vertical Timing Characteristic Measurements ......................... 45 3.5.2 Input Reference Validity................................................................................................. 46 3.5.3 Behaviour on Loss and Re-acquisition of the Reference Signal......................... 47 3.5.4 Allowable Frequency Drift on the Reference .......................................................... 49 3.6 Genlock ............................................................................................................................................. 50 3.6.1 Automatic Locking Process ............................................................................................ 50 3.6.2 Manual Locking Process.................................................................................................. 54 3.6.3 Adjustable Locking Time................................................................................................. 58 3.6.4 Adjustable Loop Bandwidth .......................................................................................... 58 3.6.5 Locking to Digital Timing from a Deserializer ......................................................... 60 3.7 Clock Synthesis .............................................................................................................................. 61 3.7.1 Video Clock Synthesis...................................................................................................... 61 3.7.2 Audio Clock Synthesis (GS4911B only)...................................................................... 63 3.8 Video Timing Generator .............................................................................................................. 67 3.8.1 10 Field ID Pulse................................................................................................................. 67 3.8.2 Audio Frame Synchronizing Pulse (GS4911B only)............................................... 68 3.8.3 USER_1~4 ............................................................................................................................. 69 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 5 of 119 3.8.4 TIMING_OUT Pins ............................................................................................................. 71 3.9 Custom Clock Generation ........................................................................................................... 72 3.9.1 Programming a Custom Video Clock.......................................................................... 72 3.9.2 Programming a Custom Audio Clock (GS4911B only) .......................................... 73 3.10 Custom Output Timing Signal Generation ......................................................................... 74 3.10.1 Custom Input Reference ............................................................................................... 75 3.11 Extended Audio Mode for HD Demux using the Gennum Audio Core ................... 75 3.12 GSPI Host Interface ..................................................................................................................... 76 3.12.1 Command Word Description ...................................................................................... 77 3.12.2 Data Read and Write Timing ....................................................................................... 78 3.12.3 Configuration and Status Registers........................................................................... 79 3.13 JTAG ............................................................................................................................................... 110 3.14 Device Power-Up ...................................................................................................................... 111 3.14.1 Power Supply Sequencing ......................................................................................... 111 3.15 Device Reset ................................................................................................................................ 111 4. Application Reference Design ............................................................................................................. 112 4.1 GS4911B Typical Application Circuit ................................................................................... 112 4.2 GS4910B Typical Application Circuit ................................................................................... 113 5. References & Relevant Standards ....................................................................................................... 114 6. Package & Ordering Information ........................................................................................................ 115 6.1 Package Dimensions ................................................................................................................... 115 6.2 Solder Reflow Profiles ................................................................................................................ 116 6.3 Recommended PCB Footprint ................................................................................................. 117 6.4 Packaging Data ............................................................................................................................. 117 6.5 Ordering Information ................................................................................................................. 118 List of Figures GS4911B Functional Block Diagram ......................................................................................................... 2 GS4910B Functional Block Diagram ......................................................................................................... 3 Figure 1-1: XTAL1 and XTAL2 Reference Circuits .............................................................................. 20 Figure 2-1: PCLK to TIMING_OUT Signal Output Timing ................................................................. 36 Figure 3-1: HD-SD Calculation .................................................................................................................. 40 Figure 3-2: Output Accuracy and Modes of Operation ..................................................................... 42 Figure 3-3: Example HSYNC, VSYNC, and FSYNC Analog Input Timing from a Sync Separator ................................................................................................................................................ 43 Figure 3-4: Example H Blanking, V Blanking, and F Digital Input Timing from an SDI Deserializer .............................................................................................................................................. 44 Figure 3-5: 10FID Input Timing ................................................................................................................. 45 Figure 3-6: Internal Video Genlock Block ............................................................................................. 54 Figure 3-7: Internal Audio Genlock Block ............................................................................................. 56 Figure 3-8: Default 10FID Output Timing .............................................................................................. 67 Figure 3-9: Optional 10FID Output Timing ........................................................................................... 68 Figure 3-10: AFS Output Timing ............................................................................................................... 69 Figure 3-11: USER Programmable Output Signal ................................................................................ 70 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 6 of 119 Figure 3-12: Custom Timing Parameters ................................................................................................ 74 Figure 3-13: Audio Clock Block Diagram for HD Demux Operation ........................................... 76 Figure 3-14: GSPI Application Interface Connection ........................................................................ 77 Figure 3-15: Command Word Format ..................................................................................................... 77 Figure 3-16: Data Word Format ................................................................................................................ 78 Figure 3-17: GSPI Read Mode Timing ..................................................................................................... 79 Figure 3-18: GSPI Write Mode Timing .................................................................................................... 79 Figure 3-19: In-Circuit JTAG .................................................................................................................... 110 Figure 3-20: System JTAG ......................................................................................................................... 111 Figure 6-1: Maximum Pb-free Solder Reflow Profile (preferred) ................................................ 116 Figure 6-2: Standard Pb Solder Reflow Profile .................................................................................. 116 List of Tables Table 1-1: Pin Descriptions ......................................................................................................................... 10 Table 1-2: Recognized Video and Graphics Standards ..................................................................... 21 Table 1-3: Output Timing Signals ............................................................................................................. 26 Table 2-1: DC Electrical Characteristics ................................................................................................. 30 Table 2-2: AC Electrical Characteristics ................................................................................................. 33 Table 2-3: Suggested External Crystal Specification ......................................................................... 36 Table 3-1: Clock_Phase_Offset[15:0] Encoding Scheme................................................................... 39 Table 3-2: Ambiguous Standard Identification.................................................................................... 47 Table 3-3: Max_Ref_Delta Encoding Scheme....................................................................................... 49 Table 3-4: Cross-reference Genlock Table............................................................................................. 52 Table 3-5: Integer Constant Value............................................................................................................ 57 Table 3-6: Video Clock Phase Adjustment Host Settings.................................................................. 62 Table 3-7: Audio Sample Rate Select....................................................................................................... 63 Table 3-8: Audio Clock Divider ................................................................................................................. 64 Table 3-9: Encoding Scheme for AFS_Reset_Window ...................................................................... 65 Table 3-10: Audio Sampling Frequency to Video Frame Rate Synchronization...................... 66 Table 3-11: Crosspoint Select..................................................................................................................... 71 Table 3-12: GSPI Timing Parameters ....................................................................................................... 78 Table 3-13: Configuration and Status Registers................................................................................... 79 Table 5-1: References & Relevant Standards ...................................................................................... 114 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 7 of 119 1. Pin Out PCLK2 PCLK1 IO_VDD PCLK1&2_GND PCLK1&2_VDD PhS_VDD JTAG/HOST PhS_GND SDIN_TDI SCLK_TCLK SDOUT_TDO CS_TMS IO_VDD RESET GENLOCK NC 1.1 GS4911B Pin Assignment 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 LOCK_LOST REF_LOST 1 2 47 PCLK3 VID_PLL_VDD 3 46 PCLK3 VID_PLL_GND 4 45 LVDS/PCLK3_VDD XTAL_VDD 5 44 X1 6 43 CORE_VDD TIMING_OUT_8 42 TIMING_OUT_7 41 X2 7 XTAL_GND 8 CORE_GND 9 GS4911B 64-pin QFN (Top View) LVDS/PCLK3_GND 40 TIMING_OUT_6 TIMING_OUT_5 ANALOG_VDD NC 10 39 TIMING_OUT_4 11 38 IO_VDD ANALOG_GND 12 37 TIMING_OUT_3 AUD_PLL_GND 13 36 TIMING_OUT_2 AUD_PLL_VDD 14 35 TIMING_OUT_1 10FID HSYNC 34 15 16 33 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 ASR_SEL0 ASR_SEL1 ASR_SEL2 IO_VDD ACLK3 ACLK2 ACLK1 VID_STD5 CORE_VDD VID_STD4 VID_STD3 VID_STD2 VID_STD1 VID_STD0 NC FSYNC IO_VDD VSYNC Ground Pad (bottom of package) GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 8 of 119 LOCK_LOST REF_LOST 1 PCLK2 PCLK1 IO_VDD PCLK1&2_GND PCLK1&2_VDD PhS_VDD JTAG/HOST PhS_GND SDIN_TDI SCLK_TCLK SDOUT_TDO CS_TMS IO_VDD RESET GENLOCK NC 1.2 GS4910B Pin Assignment 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 LVDS/PCLK3_GND 2 47 PCLK3 VID_PLL_VDD 3 46 PCLK3 VID_PLL_GND 4 45 LVDS/PCLK3_VDD XTAL_VDD 5 44 X1 6 43 CORE_VDD TIMING_OUT_8 X2 7 42 TIMING_OUT_7 41 40 TIMING_OUT_6 TIMING_OUT_5 XTAL_GND 8 CORE_GND 9 GS4910B 64-pin QFN (Top View) ANALOG_VDD NC 10 39 TIMING_OUT_4 11 38 IO_VDD ANALOG_GND 12 37 TIMING_OUT_3 ANALOG_GND ANALOG_GND 10FID 13 36 TIMING_OUT_2 14 35 TIMING_OUT_1 HSYNC 34 15 16 33 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 ANALOG_GND ANALOG_GND ANALOG_GND IO_VDD NC NC NC VID_STD5 CORE_VDD VID_STD4 VID_STD3 VID_STD2 VID_STD1 VID_STD0 NC FSYNC IO_VDD VSYNC Ground Pad (bottom of package) GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 9 of 119 1.3 Pin Descriptions Table 1-1: Pin Descriptions Pin Number 1 Name Timing Type Description LOCK_LOST Non Synchronous Output STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. This pin will be HIGH if the output is not genlocked to the input. The GS4911B/GS4910B monitors the output pixel/line counters, as well as the internal lock status from the genlock block and asserts LOCK_LOST HIGH if it is determined that the output is not genlocked to the input. This pin will be LOW if the device successfully genlocks the output clock and timing signals to the input reference. If LOCK_LOST is LOW, the reference timing generator outputs will be phase locked to the detected reference signal, producing an output in accordance with the video standard selected by the VID_STD[5:0] pins. 2 REF_LOST Non Synchronous Output STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. This pin will be HIGH if: • No input reference signal is applied to the device; or • The input reference applied does not meet the minimum/maximum timing requirements described in Section 3.5.2 on page 46. This pin will be LOW otherwise. If the reference signal is removed when the device is in Genlock mode, REF_LOST will go HIGH and the GS4911B/GS4910B will enter Freeze mode (see Section 3.2.1.2 on page 41). 3 VID_PLL_VDD – Power Supply Most positive power supply connection for the video clock synthesis internal block. Connect to +1.8V DC. 4 VID_PLL_GND – Power Supply Ground connection for the video clock synthesis internal block. Connect to GND. 5 XTAL_VDD – Power Supply Most positive power supply connection for the crystal buffer. Connect to either +1.8V DC or +3.3V DC. NOTE: Connect to +3.3V for minimum output PCLK jitter. 6 7 8 X1 X2 XTAL_GND Non Synchronous Input Non Synchronous Output – Power Supply GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 ANALOG SIGNAL INPUT Connect to a 27MHz crystal or a 27MHz external clock source. See Figure 1-1. ANALOG SIGNAL OUTPUT Connect to a 27MHz crystal, or leave this pin open circuit if an external clock source is applied to pin 6. See Figure 1-1. Ground connection for the crystal buffer. Connect to GND. 10 of 119 Table 1-1: Pin Descriptions (Continued) Pin Number 9 Name Timing Type Description CORE_GND – Power Supply Ground connection for core and I/O. Solder to the ground plane of the application board. NOTE: The CORE_GND pin should be soldered to the same main ground plane as the exposed ground pad on the bottom of the device. 10 ANALOG_VDD – Power Supply Most positive power supply connection for the analog input block. Connect to +1.8V DC. NC – – Do not connect. 12 ANALOG_GND – Power Supply Ground connection for the analog input block. Connect to GND. 13 AUD_PLL_GND (GS4911B only) – Power Supply Ground connection for the audio clock synthesis internal block. Connect to GND. ANALOG_GND (GS4910B only) – Power Supply Ground connection for the analog input block. Connect to GND. AUD_PLL_VDD (GS4911B only) – Power Supply Most positive power supply connection for the audio clock synthesis internal block. Connect to +1.8V DC. ANALOG_GND (GS4910B only) – Power Supply Ground connection for the analog input block. Connect to GND. 10FID Non Synchronous Input REFERENCE SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. 11, 20, 63 14 15 The 10FID external reference signal is applied to this pin by the application layer. 10FID defines the field in which the video and audio clock phase relationship is defined according to SMPTE 318-M. It is also used to define a 3:2 video cadence. NOTE: If the input reference format does not include a 10 Field ID signal, this pin should be held LOW. See Section 3.4.2 on page 44. 16 HSYNC Non Synchronous Input REFERENCE SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. The HSYNC external reference signal is applied to this pin by the application layer. When the GS4911B/GS4910B is operating in Genlock mode, the device senses the polarity of the HSYNC input automatically, and references to the leading edge. If the user wishes to select one of the pre-programmed video and/or timing output signals provided by the device, then this signal must adhere to one of the 36 defined video or 16 different graphics display standards supported by the device. In this mode of operation, the HSYNC input provides a horizontal scanning reference signal. The HSYNC signal may have analog timing, such as from a sync separator, or may be digital such as from an SDI deserializer. Section 1.4 on page 20 describes the 36 video formats and 16 graphic formats recognized by the GS4911B/GS4910B. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 11 of 119 Table 1-1: Pin Descriptions (Continued) Pin Number 17 Name Timing Type Description VSYNC Non Synchronous Input REFERENCE SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. The VSYNC external reference signal is applied to this pin by the application layer. When the GS4911B/GS4910B is operating in Genlock mode, the device senses the polarity of the VSYNC input automatically, and references to the leading edge. If the user wishes to select one of the pre-programmed video and/or timing output signals provided by the device, then this signal must adhere to one of the 36 defined video or 16 different graphics display standards supported by the device. In this mode of operation, the VSYNC input provides a vertical scanning reference signal. The VSYNC signal may have analog timing, such as from a sync separator, or may be digital such as from an SDI deserializer. Section 1.4 on page 20 describes the 36 video formats and 16 graphic formats recognized by the GS4911B/GS4910B. 18, 31, 38, 50, 62 IO_VDD – Power Supply Most positive power supply connection for the digital I/O signals. Connect to either +1.8V DC or +3.3V DC. NOTE: All five IO_VDD pins must be powered by the same voltage. 19 FSYNC Non Synchronous Input REFERENCE SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. The FSYNC external reference signal is applied to this pin by the application layer. The first field is defined as the field in which the first broad pulse (also known as serration) is in the first half of a line. The FSYNC signal should be set HIGH during the first field for sync-based references. If the user wishes to select one of the pre-programmed video and/or timing output signals provided by the device, then this signal must adhere to one of the 36 defined video or 16 different graphics display standards supported by the device. In this mode of operation, the FSYNC input provides an odd/even field input reference. The FSYNC signal may have analog timing, such as from a sync separator, or may be digital such as from an SDI deserializer. Section 1.4 on page 20 describes the 36 video formats and 16 graphic formats recognized by the GS4911B/GS4910B. For blanking-based references, the FSYNC signal should be set HIGH during the second field. NOTE: If the input reference format does not include an F sync signal, this pin should be held LOW. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 12 of 119 Table 1-1: Pin Descriptions (Continued) Pin Number 27, 25, 24, 23, 22, 21 Name Timing Type Description VID_STD[5:0] Non Synchronous Input CONTROL SIGNAL INPUTS Signal levels are LVCMOS/LVTTL compatible. Video Standard Select. Used to select the desired video/graphic display format for video clock and timing signal generation. 8 different video and 13 different graphic sample clocks, as well as 35 different video format and 13 different graphic format timing signal outputs may be selected using these pins. For details on the supported video standards and video clock frequency selection, please see Section 1.4 on page 20. 26, 44 28, 29, 30 CORE_VDD – Power Supply Most positive power supply connection for the digital core. Connect to +1.8V DC. ACLK1 – Output CLOCK SIGNAL OUTPUTS Signal levels are LVCMOS/LVTTL compatible. ACLK2 ACLK3 Audio output clock signals. (GS4911B only) ACLK1, ACLK2, and ACLK3 present audio sample rate clock outputs to the application layer. By default, after system reset, the audio clock output pins of the device provide clock signals as follows: ACLK1 = 256fs ACLK2 = 64fs ACLK3 = fs, where fs is the fundamental sampling frequency. The fundamental sampling frequency is selected using ASR_SEL[2:0]. Additional sampling frequencies may be programmed in the host interface. It is also possible to select different division ratios for each of the audio clock outputs by programming designated registers in the host interface. Clock outputs of 512fs, 384fs, 256fs, 192fs, 128fs, 64fs, fs and z bit are selectable on a pin-by-pin basis. NOTE: ACLK1-3 will have a 50% duty cycle, unless fs is selected as 96kHz and the host interface is configured such that one of the three ACLK pins is set to output a clock signal at 192fs or 384fs. If this is the case, then a 512fs clock will have a 33% duty cycle. These signals will be high impedance when ASR_SEL[2:0] = 000b. 32, 33, 34 NC (GS4910B only) – – Do not connect. ASR_SEL[2:0] Non Synchronous Input CONTROL SIGNAL INPUTS Signal levels are LVCMOS/LVTTL compatible. (GS4911B only) Audio Sample Rate Select. Used to select the fundamental sampling frequency, fs, of the audio clock outputs. See Table 3-7. When ASR_SEL[2:0] = 000b, audio clock generation will be disabled and the ACLK1 to ACLK3 pins will be high impedance. In this case, AUD_PLL_VDD (pin 14) may be connected to GND to minimize noise and power consumption. ANALOG_GND (GS4910B only) – GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 Power Supply Ground connection for the analog input block. Connect to GND. 13 of 119 Table 1-1: Pin Descriptions (Continued) Pin Number 35 Name Timing Type Description TIMING_OUT_1 Synchronous with PCLK1 ~ PCLK3 Output TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 26 for signal descriptions. NOTE: Default output is H Sync. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h. 36 TIMING_OUT_2 Synchronous with PCLK1 ~ PCLK3 Output TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 26 for signal descriptions. NOTE: Default output is H blanking. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h. 37 TIMING_OUT_3 Synchronous with PCLK1 ~ PCLK3 Output TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 26 for signal descriptions. NOTE: Default output is V Sync. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 14 of 119 Table 1-1: Pin Descriptions (Continued) Pin Number 39 Name Timing Type Description TIMING_OUT_4 Synchronous with PCLK1 ~ PCLK3 Output TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 26 for signal descriptions. NOTE: Default output is V blanking. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h. 40 TIMING_OUT_5 Synchronous with PCLK1 ~ PCLK3 Output TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 26 for signal descriptions. NOTE: Default output is F Sync. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h. 41 TIMING_OUT_6 Synchronous with PCLK1 ~ PCLK3 Output TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 26 for signal descriptions. NOTE: Default output is F digital. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 15 of 119 Table 1-1: Pin Descriptions (Continued) Pin Number 42 Name Timing Type Description TIMING_OUT_7 Synchronous with PCLK1 ~ PCLK3 Output TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 26 for signal descriptions. NOTE: Default output is 10 Field ID (10FID). The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h. 43 TIMING_OUT_8 Synchronous with PCLK1 ~ PCLK3 Output TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 26 for signal descriptions. NOTE: Default output is Display Enable (DE). The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h. 45 46, 47 LVDS/PCLK3_VDD – Power Supply Most positive power supply connection for PCLK3 output circuitry and LVDS driver. Connect to +1.8V DC. PCLK3, PCLK3 – Output CLOCK SIGNAL OUTPUTS Signal levels are LVDS compatible. Differential video clock output signal. PCLK3/PCLK3 present a differential video sample rate clock output to the application layer. By default, after system reset, this output will operate at the fundamental frequency determined by the setting of the VID_STD[5:0] pins. It is possible to define other non-standard fundamental clock rates using the host interface. It is also possible to select different division ratios for the PCLK3/PCLK3 outputs by programming designated registers in the host interface. A clock output of the fundamental rate, fundamental rate ÷2, or fundamental rate ÷4 may be selected. The PCLK3/PCLK3 outputs will be high impedance when VID_STD[5:0] = 00h. 48 LVDS/PCLK3_GND – GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 Power Supply Ground connection for PCLK3 output circuitry and LVDS driver. Connect to GND. 16 of 119 Table 1-1: Pin Descriptions (Continued) Pin Number 49 Name Timing Type Description PCLK2 – Output CLOCK SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Video clock output signal. PCLK2 presents a video sample rate clock output to the application layer. By default, after system reset, the PCLK2 output pin will operate at the fundamental frequency determined by the setting of the VID_STD[5:0] pins. It is possible to define other non-standard fundamental clock rates using the host interface. It is also possible to select different division ratios for the PCLK2 output by programming designated registers in the host interface. A clock output of the fundamental rate, fundamental rate ÷2, or fundamental rate ÷4 may be selected. By setting designated registers in the host interface, the current drive capability of this pin may be set high or low. By default, the current drive will be low. It must be set high if the clock rate is greater than 100MHz. The PCLK2 output will be held LOW when VID_STD[5:0] = 00h. 51 PCLK1 – Output CLOCK SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Video clock output signal. PCLK1 presents a video sample rate clock output to the application layer. By default, after system reset, the PCLK1 output pin will operate at the fundamental frequency determined by the setting of the VID_STD[5:0] pins. It is possible to define other non-standard fundamental clock rates using the host interface. It is also possible to select different division ratios for the PCLK1 output by programming designated registers in the host interface. A clock output of the fundamental rate, fundamental rate ÷2, or fundamental rate ÷4 may be selected. By setting designated registers in the host interface, the current drive capability of this pin may be set high or low. By default, the current drive will be low. It must be set high if the clock rate is greater than 100MHz. The PCLK1 output will be held LOW when VID_STD[5:0] = 00h. 52 PCLK1&2_GND – Power Supply Ground connection for PCLK1&2 circuitry. Connect to GND. 53 PCLK1&2_VDD – Power Supply Most positive power supply connection for PCLK1&2 circuitry. Connect to +1.8V DC. 54 PhS_VDD – Power Supply Most positive power supply connection for the video clock phase shift internal block. Connect to +1.8V DC. 55 PhS_GND – Power Supply Ground connection for the video clock phase shift internal block. Connect to GND. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 17 of 119 Table 1-1: Pin Descriptions (Continued) Pin Number 56 Name Timing Type Description JTAG/HOST Non Synchronous Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to select JTAG Test Mode or Host Interface Mode. When set HIGH, CS_TMS, SCLK_TCLK, SDOUT_TDO, and SDIN_TDI are configured for JTAG boundary scan testing. When set LOW, CS_TMS, SCLK_TCLK, SDOUT_TDO, and SDIN_TDI are configured as GSPI pins for normal host interface operation. 57 SCLK_TCLK Non Synchronous Input SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Serial Data Clock / Test Clock. All JTAG / Host Interface address and data are shifted into/out of the device synchronously with this clock. Host Mode (JTAG/HOST = LOW): SCLK_TCLK operates as the host interface serial data clock, SCLK. JTAG Test Mode (JTAG/HOST = HIGH): SCLK_TCLK operates as the JTAG test clock, TCLK. 58 SDIN_TDI Synchronous with SCLK_TCLK Input SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Serial Data Input / Test Data Input. Host Mode (JTAG/HOST = LOW): SDIN_TDI operates as the host interface serial input, SDIN, used to write address and configuration information to the internal registers of the device. JTAG Test Mode (JTAG/HOST = HIGH): SDIN_TDI operates as the JTAG test data input, TDI. 59 SDOUT_TDO Synchronous with SCLK_TCLK Output SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Serial Data Output / Test Data Output. Host Mode (JTAG/HOST = LOW): SDOUT_TDO operates as the host interface serial output, SDOUT, used to read status and configuration information from the internal registers of the device. JTAG Test Mode (JTAG/HOST = HIGH): SDOUT_TDO operates as the JTAG test data output, TDO. 60 CS_TMS Synchronous with SCLK_TCLK Input SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Chip Select / Test Mode Select. Host Mode (JTAG/HOST = LOW): CS_TMS operates as the host interface chip select, CS, and is active LOW. JTAG Test Mode (JTAG/HOST = HIGH): CS_TMS operates as the JTAG test mode select, TMS, and is active HIGH. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 18 of 119 Table 1-1: Pin Descriptions (Continued) Pin Number 61 Name Timing Type Description RESET Non Synchronous Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to reset the internal operating conditions to their default settings or to reset the JTAG test sequence. Host Mode (JTAG/HOST = LOW): When asserted LOW, all host registers and functional blocks will be set to their default conditions. All input and output signals will become high impedance, except PCLK1 and PCLK2, which will be set LOW. When set HIGH, normal operation of the device will resume. The user must hold this pin LOW during power-up and for a minimum of 500 uS after the last supply has reached its operating voltage. JTAG Test Mode (JTAG/HOST = HIGH): When asserted LOW, all host registers and functional blocks will be set to their default conditions and the JTAG test sequence will be held in reset. When set HIGH, normal operation of the JTAG test sequence will resume. 64 GENLOCK Non Synchronous Input CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Selects Genlock mode or Free Run mode. When this pin is set LOW and the device has successfully genlocked the output to the input reference, the device will enter Genlock mode. The video clock and timing outputs will be frequency and phase locked to the detected reference signal. When this pin is set HIGH, the video clock and the reference-timing generator will free-run. By default, the GS4911B’s audio clocks will be genlocked to the output video clock regardless of the setting of this pin. NOTE: The user must apply a reference to the input of the device prior to setting GENLOCK = LOW. If the GENLOCK pin is set LOW and no reference signal is present, the generated clock and timing outputs of the device may correspond to the internal default settings of the chip until a reference is applied. – Ground Pad – GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 – Ground pad on bottom of package must be soldered to main ground plane of PCB. 19 of 119 External Crystal Connection 38pF 6 X1 External Clock Source Connection 6 X1 external clock 1M 7 X2 7 X2 24pF NC Notes: 1. Capacitor values listed represent the total capacitance, including discrete capacitance and parasitic board capacitance. 2. X1 serves as an input, which may alternatively accept a 27MHz clock source. To accomodate this, mismatched capacitor values are recommended. Figure 1-1: XTAL1 and XTAL2 Reference Circuits 1.4 Pre-Programmed Recognized Video and Graphics Standards Table 1-2 describes the video and graphics standards automatically recognized by the GS4911B/GS4910B. Any one of the 36 different video formats and 16 different graphic display formats listed below can be applied to the GS4911B/GS4910B and automatically detected by the reference format detector. Moreover, each format, with the exception of VID_STD[5:0] = 2, 52, 53, or 54, is available for output on the timing output pins by setting the VID_STD[5:0] pins. In addition to the pre-programmed video standards listed in Table 1-2, custom output timing signals may be generated by the GS4911B/GS4910B. The custom timing parameters are programmed in the host interface when VID_STD[5:0] is set to 62 (see Section 3.10 on page 74). Setting VID_STD[5:0] to 63 will cause the device to produce an output format with identical timing to the detected input reference. If desired, the external VID_STD[5:0] pins may be ignored by setting bit 1 of the Video_Control register, and the video standard may instead be selected via the VID_STD[5:0] register of the host interface (see Section 3.12.3 on page 79). Although the external VID_STD[5:0] pins will be ignored in this case, they should not be left floating. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 20 of 119 4fsc 525 / 2:1 interlace Composite PAL 625 / 2:1 interlace / 25 601 525 / 2:1 interlace 601 625 / 2:1 interlace 601 – 18MHz 525 / 2:1 interlace 601 – 18 MHz 625 / 2:1 interlace 720x486/59.94/2:1 interlace 720x576/50/2:1 interlace 720x483/59.94/1:1 progressive 720x576/50/1:1 progressive 1280x720/60/1:1 progressive 1280x720/59.94/1:1 progressive 1 2* 3 4‡ 5 6‡ 7 8‡ 9 10 11 12 74.175 74.25 54 1650 1650 1728 1716 3456 54 54 3432 2304 2288 1728 1716 – 54 36 36 27 27 – 910 – – 14.32 PCLKS / Total Line Video PCLK Frequency (MHz) GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 PCLK1&2 =LOW. PCLK3/PCLK3 = High Impedance System Nomenclature 0 VID_STD [5:0] Table 1-2: Recognized Video and Graphics Standards 750 750 625 525 625 525 625 525 625 525 625 525 – Total Lines / Frame 1280 1280 1440 1440 2880 2880 1920 1920 1440 1440 – 768 – PCLKS / Active Line 80 80 127 127 252 252 169 169 127 127 – 67 – H Sync Width (Clocks) tri tri negative negative negative negative negative negative negative negative negative negative – H Sync Polarity 5 5 5 6 2.5 3 2.5 3 2.5 3 2.5 3 – V Sync Width (Lines) negative negative negative negative negative negative negative negative negative negative negative negative – V Sync Polarity 720 720 576 483 576 486 576 486 576 486 576 486 – Active Lines / Frame 21 of 119 SMPTE 296M SMPTE 296M ITU-R BT.1358 / SMPTE 347M SMPTE 293M / SMPTE 347M ITU-R BT.799 / SMPTE 347M SMPTE RP174 / SMPTE 347M ITU-R BT.601-5 SMPTE 267M ITU-R BT.601-5 SMPTE 125M/267M – SMPTE 244M – Scan Format Standard 1280/720/50/1:1 progressive 1280x720/30/1:1 progressive 1280x720/29.97/1:1 progressive 1280x720/25/1:1 progressive 1280x720/24/1:1 progressive 1280x720/23.98/1:1 progressive 1920x1035/60/2:1 interlace 1920x1035/59.94/2:1 interlace 1920x1080/60/1:1 progressive 1920x1080/59.94/1:1 progressive 1920x1080/50/1:1 progressive Reserved 1920x1080/60/2:1 interlace 1920x1080/59.94/2:1 interlace 13 14 15 16 17 18 19 20 21 22 23 24 25 26 74.175 74.25 – 148.5 148.35 148.5 74.175 74.25 74.175 74.25 74.25 74.175 74.25 74.25 Video PCLK Frequency (MHz) GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 System Nomenclature VID_STD [5:0] 2200 2200 – 2640 2200 2200 2200 2200 4125 4125 3960 3300 3300 1980 PCLKS / Total Line 1125 1125 – 1125 1125 1125 1125 1125 750 750 750 750 750 750 Total Lines / Frame Table 1-2: Recognized Video and Graphics Standards (Continued) 1920 1920 – 1920 1920 1920 1920 1920 1280 1280 1280 1280 1280 1280 PCLKS / Active Line 80 80 – 80 80 80 80 80 80 80 80 80 80 80 H Sync Width (Clocks) tri tri – tri tri tri tri tri tri tri tri tri tri tri H Sync Polarity 5 5 – 5 5 5 5 5 5 5 5 5 5 5 V Sync Width (Lines) negative negative – negative negative negative negative negative negative negative negative negative negative negative V Sync Polarity 1080 1080 – 1080 22 of 119 SMPTE 274M SMPTE 274M – SMPTE 274M SMPTE 274M SMPTE 274M 1080 1080 SMPTE 260M SMPTE 260M SMPTE 296M SMPTE 296M SMPTE 296M SMPTE 296M SMPTE 296M SMPTE 296M Scan Format Standard 1035 1035 720 720 720 720 720 720 Active Lines / Frame 1920x1080/50/2:1 interlace Reserved 1920x1080/30/1:1 progressive 1920x1080/30/PsF 1920x1080/29.97/1:1 progressive 1920x1080/29.97/PsF 1920x1080/25/1:1 progressive 1920x1080/25/PsF 1920x1080/24/1:1 progressive 1920x1080/24/PsF 1920x1080/23.98/1:1 progressive 1920x1080/23.98/PsF 640 x 480 VGA @ 60 Hz 640 x 480 VGA @ 75 Hz 640 x 480 VGA @ 85 Hz 800 x 600 SVGA @ 60 Hz 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 40.00 36 31.5 25.2 74.175 74.175 74.25 74.25 74.25 74.25 74.175 74.175 74.25 74.25 – 74.25 Video PCLK Frequency (MHz) GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 System Nomenclature VID_STD [5:0] 1056 832 840 800 2750 2750 2750 2750 2640 2640 2200 2200 2200 2200 – 2640 PCLKS / Total Line 628 509 500 525 1125 1125 1125 1125 1125 1125 1125 1125 1125 1125 – 1125 Total Lines / Frame Table 1-2: Recognized Video and Graphics Standards (Continued) 800 640 640 640 1920 1920 1920 1920 1920 1920 1920 1920 1920 1920 – 1920 PCLKS / Active Line 128 56 64 96 80 80 80 80 80 80 80 80 80 80 – 80 H Sync Width (Clocks) positive negative negative negative tri tri tri tri tri tri tri tri tri tri – tri H Sync Polarity 4 3 3 2 5 5 5 5 5 5 5 5 5 5 – 5 V Sync Width (Lines) positive negative negative negative negative negative negative negative negative negative negative negative negative negative – negative V Sync Polarity 600 480 480 480 1080 1080 1080 1080 1080 1080 1080 1080 1080 1080 – 1080 Active Lines / Frame 23 of 119 VESA VG900602 VESA VDMTPROP VESA VDMT75HZ IBM Standard SMPTE RP 211 SMPTE 274M SMPTE RP 211 SMPTE 274M SMPTE RP 211 SMPTE 274M SMPTE RP 211 SMPTE 274M SMPTE RP 211 SMPTE 274M – SMPTE 274M Scan Format Standard 800 x 600 SVGA @ 85 Hz 1024 x 768 XGA @ 60 Hz 1024 x 768 XGA @ 75 Hz 1024 x 768 XGA @ 85 Hz 1280 x 1024 SXGA @ 60 Hz 1280 x 1024 SXGA @ 75 Hz 1280 x 1024 SXGA @ 85 Hz 1600 x 1200 UXGA @ 60 Hz 1600 x 1200 UXGA @ 75 Hz 1600 x 1200 UXGA @ 85 Hz 2048 x 1536 QXGA @ 60 Hz 44 45 46 47 48 49 50 51† 52* 53* 54* Custom format only (Section 3.10 on page 74) – – – – – – 2160 1728 1688 1688 1376 1312 1344 1048 1056 PCLKS / Total Line – – – – 162 157.5 135.00 108.00 94.5 78.75 65 56.25 49.5 Video PCLK Frequency (MHz) GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 62 Reserved 800 x 600 SVGA @ 75 Hz 43 55 - 61 System Nomenclature VID_STD [5:0] – – 1589 1250 1250 1250 1072 1066 1066 808 800 806 631 625 Total Lines / Frame Table 1-2: Recognized Video and Graphics Standards (Continued) – – – – – 1600 1280 1280 1280 1024 1024 1024 800 800 PCLKS / Active Line – – – – – 192 160 144 112 96 96 136 64 80 H Sync Width (Clocks) – – negative negative negative negative negative negative positive negative positive negative positive positive H Sync Polarity – – 3 3 3 3 3 3 3 3 3 6 3 3 V Sync Width (Lines) – – positive positive positive positive positive positive positive positive positive negative positive positive V Sync Polarity – – 1536 1200 1200 1200 1024 1024 1024 768 768 768 600 600 Active Lines / Frame – – – – – 24 of 119 VESA VDMTPROP VESA VDMTPROP VESA VDMT75HZ VESA VDMTREV VESA VDMTPROP VESA VDMT75HZ VESA VG901101A VESA VDMTPROP VESA VDMT75HZ Scan Format Standard Automatic Output Standard follows Input Standard System Nomenclature PCLKS / Total Line – Video PCLK Frequency (MHz) – – Total Lines / Frame – PCLKS / Active Line – H Sync Width (Clocks) – H Sync Polarity – V Sync Width (Lines) – V Sync Polarity – Active Lines / Frame – Scan Format Standard GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 NOTE: 1080i/60 to VGA/60 is not a valid locking option. 25 of 119 ‡ When VID_STD = 4, 6, or 8, the Vblanking output pulse width is 2 lines too long for field 1 and 1 line too short for field 2 when compared to the digital timing defined in ITU-R BT.656 and ITU-R BT.799. † The LOCK_LOST output signal will be unstable when attempting to genlock to an input reference corresponding to VID_STD[5:0] = 51, although the device does achieve lock. To correct this, the user can program register address 27h = 38d. * VID_STD[5:0] = 2, 52, 53, and 54 are recognized as input references only. To generate clock and timing signals for these standards use the device’s custom format capability. 63 VID_STD [5:0] Table 1-2: Recognized Video and Graphics Standards (Continued) 1.5 Output Timing Signals Table 1-3 describes the output timing signals available to the user via pins TIMING_OUT_1 to TIMING_OUT_8. The user may output any of the signals listed below on each pin by programming the Output_Select registers beginning at address 43h of the host interface. s Table 1-3: Output Timing Signals Signal Name Description Default Output Pin H Sync The H Sync signal has a leading edge at the start of the horizontal sync pulse. Its length is determined by the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). TIMING_OUT_1 The width of the H Sync output pulse is determined by the selected video standard. Table 1-2 lists the H Sync width (in clocks) of each pre-programmed video and graphics standard recognized by the GS4911B/GS4910B. Custom video timing parameters may also be programmed in the host interface to define a unique H Sync width (see Section 3.10 on page 74). In Genlock mode the leading edge of the output H Sync signal is nominally simultaneous with the half amplitude point of the reference HSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 38). By default, after system reset, the polarity of the H Sync signal output will be active LOW. The polarity may be selected as active HIGH by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). H Blanking The H Blanking signal is used to indicate the portion of the video line not containing active video data. TIMING_OUT_2 The H Blanking signal will be LOW (default polarity) for the portion of the video line containing valid video samples. The signal will be LOW at the first valid pixel of the line, and HIGH after the last valid pixel of the line. The H Blanking signal remains HIGH throughout the horizontal blanking period. The width of this signal will be determined by the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). When in Genlock mode, the output H Blanking signal will be phase locked to the reference HSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 38). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 26 of 119 Table 1-3: Output Timing Signals (Continued) Signal Name Description Default Output Pin V Sync The V Sync timing signal has a leading edge at the start of the vertical sync pulse. Its length is determined by the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). TIMING_OUT_3 The leading edge of V Sync is nominally simultaneous with the leading edge of the first broad pulse. When in Genlock mode, the output V Sync signal will be phase locked to the reference VSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 38). By default, after system reset, the polarity of the V Sync signal output will be active LOW. The polarity may be selected as active HIGH by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). V Blanking The V Blanking signal is used to indicate the portion of the video field/frame not containing active video lines. TIMING_OUT_4 The V Blanking signal will be LOW (default polarity) for the portion of the field/frame containing valid video data, and will be HIGH throughout the vertical blanking period. The width of this signal will be determined by the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). When in Genlock mode, the output V Blanking signal will be phase locked to the reference VSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 38). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). NOTE: When VID_STD = 4, 6, or 8, the Vblank output pulse width is 2 lines too long for field 1 and 1 line too short for field 2 when compared to the digital timing defined in ITU-R BT.656 and ITU-R BT.799. F Sync The F Sync signal is used to indicate field 1 and field 2 for interlaced video formats. TIMING_OUT_5 The F Sync signal will be HIGH (default polarity) for the entire period of field 1. It will be LOW for all lines in field 2 and for all lines in progressive scan systems. The width and timing of this signal will be determined by the V Sync parameters of the selected video standard (see Table 1-2), or according to custom V Sync timing parameters programmed in the host interface (see Section 3.10 on page 74). The F Sync signal always changes state on the leading edge of V Sync. When in Genlock mode, the output F Sync signal will be phase locked to the reference FSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 38). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 27 of 119 Table 1-3: Output Timing Signals (Continued) Signal Name Description Default Output Pin F Digital F Digital is used in digital interlaced standards to indicate field 1 and field 2. TIMING_OUT_6 The F Digital changes state at the leading edge of every V Blanking pulse. It will be LOW (default polarity) for the entire period of field 1 and for all lines in progressive scan systems. It will be HIGH for all lines in field 2. The width and timing of this signal will be determined by the timing parameters of the selected video standard (see Table 1-2), or according to custom parameters programmed in the host interface (see Section 3.10 on page 74). When in Genlock mode, the output F Digital signal will be phase locked to the reference FSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 38). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). 10 Field Identification The 10 Field Identification (10FID) signal is used to indicate the 10-field sequence for 29.97Hz, 30Hz, 59.94Hz and 60Hz video standards. It will be LOW for output standards with other frame rates. TIMING_OUT_7 The sequence defines the phase relationship between film frames and video frames, so that cadence may be maintained in mixed format environments. The 10FID signal will be HIGH (default polarity) for one line at the start of the 10-field sequence. It will be LOW for all other lines. The signal’s rising and falling edges will be simultaneous with the leading edge of the H Sync output signal. Alternatively, by setting bit 4 of the Video_Control register (see Section 3.12.3 on page 79), the 10FID output signal may be configured to go HIGH (default polarity) on the leading edge of the H Sync output on line 1 of the first field in the 10 field sequence, and be reset LOW on the leading edge of the H Sync pulse of the first line of the second field in the 10 field sequence. When in Genlock mode, the output 10FID signal will be phase locked to the 10FID reference input. If a 10FID input is not provided to the device, the user must configure the 10FID output using register 1Ah of the host interface (see Section 3.8.1 on page 67). For applications involving audio, this signal may be used in place of the AFS signal if the format selected is appropriate for a 10 field AFS repetition rate, and the desired phase relationship of audio to video clock phasing coincides with the desired film frame cadence. The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). Please see Section 3.8.1 on page 67 for more detail on the 10FID output signal. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 28 of 119 Table 1-3: Output Timing Signals (Continued) Signal Name Description Default Output Pin Display Enable The Display Enable (DE) signal is used to indicate the display enable for graphic display interfaces. TIMING_OUT_8 This signal will be HIGH (default polarity) whenever pixel information is to be displayed on the display device (i.e. whenever both H Blanking and V Blanking are in the active video state) The width and timing of this signal will be determined by the timing parameters of the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). Audio Frame Sync (GS4911B only) The Audio Frame Sync (AFS) signal is HIGH (default polarity) for the duration of the first line of the n’th video frame to indicate that the ACLK dividers are reset at the start of line 1 of that frame. It is defined according to the frame rate of the video format and the selected audio sample rate programmed via the VID_STD[5:0] and ASR_SEL[2:0] pins or the host interface. – For example, if the video format is based on a 59.94Hz frame rate and the audio sample rate clock is 48kHz, then n=5, and the AFS signal will be identical to the 10FID signal. By default, the AFS signal is reset by the 10 Field Identification (10FID) reference input. This feature may be disabled using the Audio_Control register at address 31h of the host interface (see Section 3.12.3 on page 79). The AFS signal may also be reset using register 1Ah of the host interface. With no reference, the frame divide by “n” controlling the AFS signal will free-run at an arbitrary phase. The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3). Please see Section 3.8.2 on page 68 for more detail on the AFS output signal. USER_1~4 The GS4911B/GS4910B offers four user programmable output signals. Each USER signal is controlled by four timing registers and a polarity select bit. The timing registers define the start and stop times in H pixels and V lines and begin at address 57h of the host interface (see Section 3.12.3 on page 79). – Each user signal is individually programmable and the polarity, position, and width of each output may be defined with respect to the H, V, and F output timings of the device. Each output signal may be programmed in both the horizontal and vertical dimensions relative to the leading edges of H and V Sync. If desired, the pulses produced may then be combined with a logical AND, OR, or XOR function to produce a composite signal (for example, a horizontal back porch pulse during active lines only, or the active part of lines 15 through 20 for vertical information retrieval). Each output has selectable polarity. Please see Section 3.8.3 on page 69 for more detail on the USER_1~4 output signals. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 29 of 119 2. Electrical Characteristics 2.1 Absolute Maximum Ratings Parameter Conditions Value/Units Supply Voltage Core and Analog – -0.3V to +2.1V – -0.3V to +3.6V IO_VDD = +3.3V -0.3V to +5.5V IO_VDD = +1.8V -0.3V to +3.6V Operating Temperature – -20°C < TA < 85°C Storage Temperature – -50°C < TSTG < 125°C Soldering Temperature – 260°C ESD protection on all pins – 1 kV (CORE_VDD, VID_PLL_VDD, AUD_PLL_VDD, PhS_VDD, ANALOG_VDD) Supply Voltage I/O (IO_VDD, XTAL_VDD) Input Voltage Range (any input) 2.2 DC Electrical Characteristics Table 2-1: DC Electrical Characteristics VDD = 1.8V, TA = 0°C to 70°C, unless otherwise specified. Parameter Symbol Condition Min Typ Max Units Notes Operating Temperature Range TA – 0 25 70 °C 1 Core power supply voltage CORE_VDD – 1.71 1.8 1.89 V – Digital I/O Buffer Power Supply Voltage IO_VDD 1.8V Operation 1.71 1.8 1.89 V – IO_VDD 3.3V Operation 3.135 3.3 3.465 V – Video PLL Power Supply Voltage VID_PLL_VDD – 1.71 1.8 1.89 V – Audio PLL Power Supply Voltage (GS4911B only) AUD_PLL_VDD – 1.71 1.8 1.89 V – Analog Power Supply Voltage ANALOG_VDD – 1.71 1.8 1.89 V – Crystal Buffer Power Supply Voltage XTAL_VDD 1.8V Operation 1.71 1.8 1.89 V – XTAL_VDD 3.3V Operation 3.135 3.3 3.465 V – PhS_VDD – 1.71 1.8 1.89 V – System Video Clock Phase Shift Supply Voltage GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 30 of 119 Table 2-1: DC Electrical Characteristics (Continued) VDD = 1.8V, TA = 0°C to 70°C, unless otherwise specified. Parameter Symbol Condition System Power PD GS4911B CORE_VDD = Max IO_VDD = Max Min Typ Max Units Notes – – 450 mW – – 300 – mW – – – 400 mW – – 250 – mW – T = 70oC unloaded, max PCLK frequency PD GS4911B CORE_VDD = 1.8V IO_VDD = 3.3V T = 25oC unloaded, PCLK = 74.25MHz PD GS4910B CORE_VDD = Max IO_VDD = Max T = 70oC unloaded, max PCLK frequency PD GS4910B CORE_VDD = 1.8V IO_VDD = 3.3V T = 25oC unloaded, PCLK = 74.25MHz Digital I/O Input Voltage, Logic LOW VIL 1.8V Operation – – 0.35 x VDD V – VIL 3.3V Operation – – 0.8 V – VIH 1.8V Operation 0.65 x IO_VDD – 3.6 V – VIH 3.3V Operation 2.145 – 5.25 V – Output Voltage, Logic LOW VOL current drive = HIGH or LOW as selected – – 0.4 V 2 Output Voltage, Logic HIGH VOH current drive = HIGH or LOW as selected 0.65 x IO_VDD – – V 2 Input Voltage, Logic HIGH Supply Pin Current Requirements VID_PLL_VDD (1.9V) – – – – 28.50 mA – XTAL_VDD (3.6V) – – – – 1.71 mA – AUD_PLL_VDD (1.9V) – – – – 31.45 mA – IO_VDD (3.6V) – – – – 6.80 mA – GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 31 of 119 Table 2-1: DC Electrical Characteristics (Continued) VDD = 1.8V, TA = 0°C to 70°C, unless otherwise specified. Parameter Symbol Condition Min Typ Max Units Notes CORE_VDD (1.9V) – – – – 42.45 mA – LVDS/PCLK3_VDD (1.9V) – – – – 6.32 mA – PCLK1&2_VDD (1.9V) – – – – 22.24 mA – ANALOG_VDD (1.9V) – – – – 3.94 mA – PhS_VDD (1.9V) – – – – 11.54 mA – – IO_VDD = 1.8V current drive = LOW – 5 – mA – – IO_VDD = 3.3V current drive = LOW – 10 – mA – – IO_VDD = 1.8V current drive = HIGH – 7 – mA – – IO_VDD = 3.3V current drive = HIGH – 14 – mA – – IO_VDD = 1.8V current drive = LOW – 5 – mA – – IO_VDD = 3.3V current drive = LOW – 7 – mA – – IO_VDD = 1.8V current drive = HIGH – 7 – mA – – IO_VDD = 3.3V current drive = HIGH – 14 – mA – Output Voltage LVDS, Common Mode VOCM – 1.125 1.25 1.375 V 3 Output Voltage LVDS, Differential VODIFF – – 350 – mV 3 LVDS High-impedance Leakage Current – To 1.8V or GND – – 1.4 uA – Digital Output Currents Timing Output Drive Current Clock Output Drive Current NOTES 1. All DC and AC electrical parameters within specification. 2. Assuming that the current being sourced or sinked is less than the Timing Output Drive Current specified. 3. Into a 100Ω termination connected between PCLK3 and PCLK3. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 32 of 119 2.3 AC Electrical Characteristics Table 2-2: AC Electrical Characteristics VDD = 1.8V, TA = 0°C to 70°C, unless otherwise specified. Parameter Symbol Condition – from when the reference input is first present PCLK Output Frequency – – PCLK Jitter – SD video standards Min Typ Max Units Notes – 2 4 frames – 3.375 – 165 MHz – – 350 – ps 1, 2 – 250 – ps 1, 3 40 – 60 % – System Reference Detection Time Digital I/O XTAL_VDD = 3.3V – HD & Graphics video standards XTAL_VDD = 3.3V PCLK Duty Cycle – – PCLK1 & PCLK2 Rise/Fall Times 15pF load 20% - 80% – IO_VDD = 1.8V current drive = LOW – – 1.7 ns – – IO_VDD = 3.3V current drive = LOW – – 1.5 ns – – IO_VDD = 1.8V current drive = HIGH – – 1.1 ns – – IO_VDD = 3.3V current drive = HIGH – – 0.9 ns – – 100Ω differential load – – 850 ps – -3 – 3 ns 4 PCLK3 Rise/Fall Time 20% - 80% 10pF to ground per pin PCLK Outputs Relative Timing Skew – default PCLK phase delay of zero ACLK Frequency (GS4911B only) – – 0.0097 – 49.152 MHz – ACLK Duty Cycle (GS4911B only) – – 40 – 60 % 5 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 33 of 119 Table 2-2: AC Electrical Characteristics (Continued) VDD = 1.8V, TA = 0°C to 70°C, unless otherwise specified. Parameter Symbol Condition Min Typ Max Units Notes ACLK1-3 Rise/Fall Times 15pF load 20% - 80% (GS4911B only) – IO_VDD = 1.8V current drive = LOW – – 3.0 ns – – IO_VDD = 3.3V current drive = LOW – – 1.5 ns – – IO_VDD = 1.8V current drive = HIGH – – 2.5 ns – – IO_VDD = 3.3V current drive = HIGH – – 1.4 ns – ACLK Outputs Relative Timing Skew (GS4911B only) – – -3 – 3 ns 4 Digital Timing Output Delay Time tOD – – – 4.3 ns 6 Digital Timing Output Hold Time tOH – 1 – – ns 6 Digital Timing Output Rise/Fall Times 15pF load 20% - 80% – IO_VDD = 1.8V current drive = LOW – – 3.0 ns – – IO_VDD = 3.3V current drive = LOW – – 1.5 ns – – IO_VDD = 1.8V current drive = HIGH – – 2.5 ns – – IO_VDD = 3.3V current drive = HIGH – – 1.4 ns – GSPI Input Clock Frequency fGSPI – – – 10.0 MHz 7 GSPI Clock Duty Cycle DCGSPI – 40 – 60 % 7 GSPI Input Setup Time t3 in Figure 3-18 – 1.5 – – ns 7 GSPI GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 34 of 119 Table 2-2: AC Electrical Characteristics (Continued) VDD = 1.8V, TA = 0°C to 70°C, unless otherwise specified. Parameter Symbol Condition GSPI Input Hold Time t8 in Figure 3-18 – Min Typ Max Units Notes 1.5 – – ns 7 NOTES 1. The video output clock may be directly connected to Gennum’s GS1532 or GS1531 serializer for a SMPTE-compliant SDI or HD-SDI output with output jitter below 0.2UI, when the serializer is configured for a loop bandwidth of 100KHz. 2. All SD standards EXCEPT VID_STD[5:0] = 1 (450ps typ.) and VID_STD[5:0] = 5 or 6 (500ps typ.) 3. All HD and Graphics standards EXCEPT VID_STD[5:0] = 22 (300ps typ.) and VID_STD[5:0] = 41-43 (400ps typ.) 4. Timings from any CLK output to any other CLK output. 5. If fs=96kHz and ACLK is configured to output a clock signal at 192fs or 384fs, a 512fs clock will typically have a 33% duty cycle distortion. See Section 3.7.2 on page 63. 6. With PCLK phasing delay set to nominal (zero offset), each increment of the clock phasing adjustment decreases output hold time and delay time by a nominal 700ps. The times tOD and tOH are defined in Figure 2-1. 7. For detailed GSPI timing parameters, please refer to Table 3-12. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 35 of 119 tOH tOD PCLK 50% VOH VOH VOL VOL TIMING_OUT Figure 2-1: PCLK to TIMING_OUT Signal Output Timing Table 2-3: Suggested External Crystal Specification 27.000000 MHz AT Cut Nominal Dissipation = 50 uW Frequency accuracy at 25°C = +/- 10ppm Frequency variation 0-70°C = +/- 10ppm ASR = 50 +/- 20Ω NOTE: The user may select an appropriate crystal accuracy for their application. If the device is operating in Free Run mode, the output clock and timing signals will have the same accuracy as the crystal. However, if operating in Genlock mode, all output signals are based on the input reference, and therefore a less accurate crystal may be sufficient. See Section 3.2 on page 37. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 36 of 119 3. Detailed Description 3.1 Functional Overview The GS4911B/GS4910B is a highly flexible, digitally controlled clock synthesis circuit and timing generator with genlock capability. The device has two main modes of operation: Genlock mode and Free Run mode. In Genlock mode, the video clock and timing outputs, will be frequency and phase locked to the detected reference input signal. In Free Run mode, the occurrence of all frequencies is based on a 27MHz external crystal reference. The GS4911B/GS4910B will recognize input reference signals conforming to 36 different video standards and 16 different graphic formats. It supports cross-locking, allowing the output to be genlocked to an incoming reference that is different from the output video standard selected. When the device is in Genlock mode and the input reference is removed, the GS4911B/GS4910B will enter Freeze mode. In this mode, the output clock and timing signals will maintain their previously genlocked phase and frequency to within +/2ppm. The user may select to output one of 8 different video sample clock rates or 13 different graphic display clock rates, or may program any clock frequency between 13.5MHz and 165MHz. The chosen clock frequency may be further internally divided, and is available on two video clock outputs and one LVDS video clock output pair. The video clocks may also be individually phase delayed with respect to the timing outputs for clock skew control. Eight user-selectable timing outputs are provided that can automatically produce the following timing signals for 35 different video formats and 13 different graphics formats: HSync, Hblanking, VSync, Vblanking, F sync, F digital, AFS (GS4911B only), DE, and 10FID. Alternatively, custom output timing signals may be programmed in the host interface. In addition, the GS4911B provides three audio sample clock outputs that can produce audio clocks up to 512fs with fs ranging from 9.7kHz to 96kHz. Audio to video phasing is accomplished by either an external 10FID input reference, a 10FID signal specified via internal registers, or a user-programmed audio frame sequence. 3.2 Modes of Operation The GS4911B/GS4910B will operate in either Genlock mode or Free Run mode depending on the setting of the GENLOCK pin. These two modes are described in Section 3.2.1 on page 38 and Section 3.2.2 on page 41 respectively. If desired, the external GENLOCK pin may be ignored by setting bit 5 of the Genlock_Control register (address 16h) so that genlock can instead be controlled via the host interface (see Section 3.12.3 on page 79). Although the external GENLOCK pin will be ignored in this case, it should not be left floating. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 37 of 119 3.2.1 Genlock Mode When the application layer sets the GENLOCK pin LOW and the device has successfully genlocked the outputs to the input reference, the GS4911B/GS4910B will enter Genlock mode. In this mode, all clock and timing generator outputs will be frequency and phase locked to the detected input reference signal. The PCLK outputs will be locked to the H reference. When in Genlock mode, the output clock and timing signals are generated using the applied reference signal. The 27MHz crystal reference is necessary for operation; however, neither crystal accuracy nor changes in crystal frequency (due to a shift in operating temperature) will affect the output signals. For example, the output signals will be generated with the same accuracy whether the 27MHz reference crystal has an accuracy of 10ppm or 100ppm. The GS4911B/GS4910B supports cross-locking, allowing the outputs to be genlocked to an incoming reference that is different from the output video standard selected (see Section 3.6 on page 50). NOTE: The user must apply a reference to the input of the device prior to setting GENLOCK = LOW. If the GENLOCK pin is set LOW and no reference signal is present, the generated clock and timing outputs of the device may correspond to the internal default settings of the chip until a reference is applied. 3.2.1.1 Genlock Timing Offset By default, the phase of the clock and timing out signals is genlocked to the input reference signal. These output signals may be phase adjusted with respect to the input reference by programming the host interface (see Section 3.12.3 on page 79). Offsets are separately programmable in terms of clock phase, horizontal phase, and vertical phase (i.e. fractions of a pixel, pixels, and lines). Genlock timing offsets can be used to co-time the output of a piece of equipment containing the GS4911B/GS4910B with the outputs of other equipment at different locations. The signal leaving the piece of equipment containing the GS4911B/GS4910B may pass through processing equipment with significant fixed delays before arriving at the switcher. These delays may include video line delays or even field delays. To compensate for these delays, genlock timing offsets allow the user to back-time the output of the equipment relative to the input reference. Using the host interface, the following registers may be programmed once the device is stably locked: • Clock_Phase_Offset (1Dh) - with a range of zero to one clock pulse in increments of between 1/64 and 1/512 of a clock period (depending on the PCLK frequency). The increments will be between 100ps and 200ps. All clock and timing output signals will be delayed by the clock phase offset programmed in this register. • H_Offset (1Bh) - the difference between the reference HSYNC signal and the output H Sync and/or H Blanking signal in clock pulses, with a control range of zero to +1 line. All timing output signals will be delayed by the horizontal offset programmed in this register. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 38 of 119 • V_Offset (1Ch) - the difference between the reference VSYNC signal and the output V Sync and/or V Blanking in lines, with a control range of zero to +1 frame. All line-based timing output signals will be delayed by the vertical offset programmed in this register. The encoding scheme for the Clock_Phase_Offset register (1Dh) is shown in Table 3-1. The offset programmed will be in the positive direction. Note that the step size will depend on the frequency of the output video clock. NOTE: If VID_STD[5:0] = 63 and the reference format is changed, care must be taken to ensure that the Clock_Phase_Offset register is correctly programmed for the new output format before the reference is applied. Table 3-1: Clock_Phase_Offset[15:0] Encoding Scheme VID_STD[5:0] Setting Output Video Clock Frequency 1 fPCLK < 20MHz Step Size (Fraction of a PCLK) Maximum Number of Steps 1-------512 511 Bits Required to Set the Number of Steps b8b7b6b5b4b3b2b1b Clock_Phase_Offset [15:0] Settings b8000001b8b7b6b5b4b3b2b1b0 0 3-6, 39-42 20MHz < fPCLK < 40MHz 1-------256 255 b7b6b5b4b3b2b1b0 b7000010b7b6b5b40b3b2b1b0 7-20, 25-38, 43-46 40MHz < fPCLK < 80MHz 1-------128 127 b6b5b4b3b2b1b0 b6000100b6b5b400b3b2b1b0 21-23, 47-51 fPCLK > 80MHz 1----64 63 b5b4b3b2b1b0 b5001000b5b4000b3b2b1b0 Note: Program Clock_Phase_Offset = 0000 0000 0000 0000b to achieve a zero clock phase offset. The value programmed in the H_Offset register (1Bh) must not exceed the maximum number of clock periods per line of the outgoing video standard. Similarly, the value programmed in the V_Offset register (1Ch) must not exceed the maximum number of lines per frame of the outgoing standard. Both horizontal and vertical offsets will be in the positive direction. Negative offsets (advances) are achieved by programming a value in the appropriate register equal to the maximum allowable offset minus the desired advance. NOTES: 1. The device will delay all output timing signals by 2 PCLKs relative to the input HSYNC reference. This will occur even when the H_Offset register is not programmed. The user may compensate for this delay by subtracting 2 PCLK cycles from the desired horizontal offset before loading the value into the host interface. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 39 of 119 2. For both sync and blanking-based input references, the device will advance all line-based output timing signals by 1 line relative to the input VSYNC reference for all output standards except VID_STD[5:0] = 4, 6, and 8. This will occur even when the V_Offset register is not programmed. The user may compensate for this advance by adding 1 line to the desired vertical offset before loading this value into the register. 3. When locking the “f/1.001” HD output standards to the 525-line SD input reference standards, or vice versa, the device will delay all line-based output timing signals by ΔVSync lines relative to the input VSYNC reference. This will occur even when the V_Offset register is not programmed. The user may compensate for this delay by subtracting ΔVSync lines from the desired vertical offset before loading this value into the register. The value ΔVSync is given by the equation: ΔVSync = HSYNC_IN_Period + ΔVSYNC _HSYNC – ( 2 × HSYNC_OUT_Period ) where: HSYNC_IN_Period = the period of the H reference pulse ΔVSYNC_HSYNC = the time difference between the leading edges of the applied V and H reference pulses Hsync_OUT_Period = the period of the generated H Sync output See Figure 3-1. H_Feedback_Divide represents the numerator of the ratio of the output clock frequency to the frequency of the H reference pulse. It is calculated as described in Section 3.6.2.1 on page 54. HSYNC_IN_Period HSYNC VSYNC D VSYNC_HSYNC HSync_OUT_Period H Sync V Sync D VSync Figure 3-1: HD-SD Calculation GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 40 of 119 4. For sync-based input references, the device will advance all line-based output timing signals by 1 line if the value programmed in the H_Offset register is greater than 20. The user may compensate for this advance by adding 1 line to the desired vertical offset before loading this value into the register. In addition, the internal V_lock and F_lock signals reported in bits 3 and 4 of register 16h will be LOW when H_Offset = 20 only, although the device will remained genlocked. The user may choose to mask these lock signals such that the device will continue to report genlock under this condition. 5. For blanking-based input references, the device will advance all line-based output timing signals by 1 line if the value programmed in the H_Offset register is greater than the number of output video clock cycles from the start of H Sync to the end of active video (Hsync_to_EAV) + 20. The value of Hsync_to_EAV is reported in register 51h and changes according to the output VID_STD selected. The user may compensate for this advance by adding 1 line to the desired vertical offset before loading this value into the register. In addition, the internal V_lock and F_lock signals reported in bits 3 and 4 of register 16h will be LOW when H_Offset = Hsync_to_EAV + 20 only, although the device will remained genlocked. The user may choose to mask these lock signals such that the device will continue to report genlock under this condition. 6. The offsets that occur as described in notes 1-5 are independent of one another and must be accounted for as such. 3.2.1.2 Freeze Mode When the device is in Genlock mode and the input reference is removed, the GS4911B/GS4910B will enter Freeze mode. The behaviour of the device during loss and re-acquisition of an input reference signal is described in Section 3.5.3 on page 47. In Freeze mode, the frequency of the output clock and timing signals will be maintained to within +/- 2ppm. This assumes a loop bandwidth of 10Hz. Also, if the frequency of the 27MHz reference crystal shifts while in Freeze mode, the frequency of the output clock and timing signals will shift as well. 3.2.2 Free Run Mode The GS4911B/GS4910B will enter Free Run mode when the GENLOCK pin is set HIGH by the application layer. In this mode, the occurrence of all frequencies is based on the external 27MHz reference input. Therefore, the frequency of the output clock and timing signals will have the same accuracy as the crystal reference. If operating in Free Run mode, using a more accurate crystal (e.g. 10ppm) ensures more accurate clock and timing signals are generated. NOTE: In Free Run mode, the audio clocks of the GS4911B will remain genlocked to the video clock. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 41 of 119 Figure 3-2 summarizes the differences in output accuracy in each mode of operation. Assuming a crystal reference of +/-100ppm, in Free Run mode the frequency of the output clock and timing signals will be as accurate as the crystal. In Genlock mode the frequency will be as accurate as the input reference regardless of the crystal accuracy. In Freeze mode, the frequency of the output clock and timing signals will be maintained to within +/- 2ppm. Assumption: Reference XTAL is 27MHz+/-100ppm + t t +100ppm + t +2ppm -2ppm 74.25 MHz - t -100ppm - t Free Run Genlock Freeze No Input Reference Reference Applied Reference Lost Time NOTES: 1. t represents the temperature variability of the crystal 2. Diagram not to scale. Figure 3-2: Output Accuracy and Modes of Operation 3.3 Output Timing Format Selection At device power-up (described in Section 3.14 on page 111), the application layer should immediately set the external VID_STD[5:0] and ASR_SEL[2:0] pins. The VID_STD[5:0] pins are used to select a pre-programmed output video format, or to indicate that custom timing parameters will be programmed in the host interface. The ASR_SEL[2:0] pins are only available on the GS4911B, and are used to select the fundamental audio frequency or to turn off audio clock generation. The output timing formats selectable by the user via the VID_STD[5:0] pins are listed in Section 1.4 on page 20. Table 3-7 in Section 3.7.2 on page 63 lists the audio sample rates available via the ASR_SEL[2:0] pins. If the user sets VID_STD[5:0] =1-51 on power-up, the device will first check the status of the GENLOCK pin. If GENLOCK is set LOW and a valid reference has been applied to the inputs, the device will output the selected video standard while attempting to genlock. However, if a reference signal has not been applied and GENLOCK=LOW, the initial clock and timing outputs may be determined by the internal default settings of the chip. If GENLOCK is set HIGH, the device will immediately enter Free Run mode and will correctly output the selected video standard. If the user sets VID_STD[5:0] = 62 on power-up, the device will be configured to generate custom output timing signals. The initial output timing signals will be equal to the internal default timing of the chip until the user programs registers 4Eh to 55h of the host interface (see Section 3.10 on page 74). Additionally, the output video clock will run at a GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 42 of 119 frequency determined by the internal default settings of the chip until the user modifies it via registers 20h to 23h (see Section 3.9.1 on page 72). If the user sets VID_STD[5:0] = 63 on power-up, the device will wait until a valid reference has been applied, at which time it will output the same video format as the input reference and enter Genlock mode if GENLOCK = LOW. When operating in Free Run or Genlock mode, the GS4911B/GS4910B will continuously monitor the settings of the VID_STD[5:0] and ASR_SEL[2:0] pins. If the user wishes to change the format of the output clocks and timing signals, these pins may be reconfigured at any time, although it is recommended that the device be reset when changing output video standards. 3.4 Input Reference Signals The HSYNC, VSYNC, FSYNC, and 10FID reference signals are applied to the GS4911B/GS4910B via the designated input pins. To operate in Genlock mode, the input reference signals must be valid and must conform to a recognized video or graphics standard (see Section 3.5 on page 45). Alternatively, if VID_STD[5:0] = 62, the signal applied to the HSYNC input must be stable and have a period of less than 2.4ms. In Free Run mode, no input reference is required. Section 3.4.1 on page 43 describes the HSYNC, VSYNC and FSYNC input timing. The 10FID input signal is discussed in Section 3.4.2 on page 44. 3.4.1 HSYNC, VSYNC, and FSYNC Timing for Video Formats The HSYNC, VSYNC, and FSYNC input reference signals may have analog timing, such as from Gennum’s GS4981/82 sync separators (Figure 3-3), or may have digital timing, such as from Gennum’s GS1559/60A/61 deserializers (Figure 3-4). Section 1.4 on page 20 lists the 36 pre-programmed video timing formats recognized by the GS4911B/GS4910B. If the input reference format does not include an F sync signal, the FSYNC pin should be held LOW. HSYNC VSYNC FSYNC Figure 3-3: Example HSYNC, VSYNC, and FSYNC Analog Input Timing from a Sync Separator GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 43 of 119 PCLK LUMA DATA OUT 3FF 000 000 XYZ (eav) 3FF 000 000 XYZ (sav) CHROMA DATA OUT 3FF 000 000 XYZ (eav) 3FF 000 000 XYZ (sav) H V F H:V:F TIMING - HD 20-BIT OUTPUT MODE H Signal Timing Typical H Timing Alternative H Timing Figure 3-4: Example H Blanking, V Blanking, and F Digital Input Timing from an SDI Deserializer Timing for Graphics Formats The GS4911B/GS4910B is pre-programmed to recognize the timing for 16 different graphics formats presented to the input reference pins. These graphic formats are described in Section 1.4 on page 20. The supported graphics standards are all progressive, and do not use the FSYNC signal. Therefore, FSYNC should be held LOW by the application layer. The VESA formats supported have a 0.5% frequency tolerance. VSYNC transitions are typically co-timed with the leading edge of HSYNC. The duration and polarity of these signals for each format is listed in Table 1-2. NOTE: The user must ensure that the input HSYNC polarity for VID_STD [5:0] = 47 and 49 – 54 be active LOW. 3.4.2 10FID The 10FID input is a reset pin, which can be used to reset the divider for the 10FID output signal. In the GS4911B, the 10FID input pin will also reset the divider for the AFS output signal. This default setting may be modified using the Audio_Control register of the host interface (see Section 3.12.3 on page 79). The GS4911B will reset the phase of the audio clocks to the leading edge of the H Sync output on line 1 of every output frame in which the 10FID input is HIGH. This enables the user to reset the phase of the dividers when generating custom signals via the host interface (see Section 3.7.2.1 on page 65). If the input reference format does not include a 10 Field ID signal, the external 10FID input pin should be held LOW. The timing of the 10FID input signal is shown in Figure 3-5. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 44 of 119 Total Line 10FID Input Line 1, Frame 1 every 'n' frames Horizontal Sync Input Line 1 every n frames where: n = 5 @ 29.97 fps, 30 fps n = 10 @ 59.94 fps, 60 fps Figure 3-5: 10FID Input Timing 3.4.3 Automatic Polarity Recognition To accommodate any standards that employ the polarity of the H and V sync signals to indicate the format of the display, the GS4911B/GS4910B will recognize H and V sync polarity and automatically synchronize to the leading edge. The polarities of the HSYNC and VSYNC signals are reported in bits 3 and 4 of the Video_Status register. Additionally, bit 2 of this register reports the detection of either analog or digital input timing. See Section 3.12.3 on page 79 for detailed register descriptions. 3.5 Reference Format Detector The reference format detector checks the validity and analyzes the format of the input reference signal. It is designed to accurately differentiate between 59.94 and 60Hz frame rates. 3.5.1 Horizontal and Vertical Timing Characteristic Measurements When a reference signal is applied to the designated input pins, the GS4911B/GS4910B will analyse the signal and report the following in registers 0Ah to 0Eh of the host interface: • the number of 27MHz clock pulses between leading edges of the H input reference signal (H_Period register) • the number of 27MHz clock pulses in 16 horizontal periods (H_16_Period register) • the number of H reference pulses between leading edges of the V input reference signal (V_Lines register) • the number of H reference pulses in two vertical periods (V_2_Lines register) • the number of H reference pulses in one F period (F_Lines register) These parameters may be read via the host interface and are used by the device to determine reference signal validity. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 45 of 119 3.5.2 Input Reference Validity Before the device attempts to operate in Genlock mode, the input signals applied to HSYNC and VSYNC must be valid and must conform to one of the 36 recognized video standards or 16 recognized graphics standards described in Section 1.4 on page 20. Alternatively, if VID_STD[5:0] = 62, the device may be manually programmed to genlock to a reference that is neither valid nor recognized (see Section 3.10.1 on page 75). For an input reference signal to be considered valid, the periodicity of HSYNC must be between 9us and 70us, and the periodicity of VSYNC must be between 8ms and 50ms. The FSYNC signal is not essential for validity. For output video standards other than VID_STD[5:0] = 62, the REF_LOST pin will be set LOW once the input reference signal is considered valid. If the input signal is valid, the device then compares the timing parameters of the input reference signal to each of the 36 video and 16 graphics standards listed in Table 1-2, and determines if the input reference is one of the recognized standards. If it is, the VID_STD[5:0] value for the format is written to the Input_Standard register at address 0Fh of the host interface. If the input signal is invalid, or if the reference format is unrecognized, 00h is programmed in this register. Once a reference signal is valid and recognized by the device, VSYNC and FSYNC will no longer be monitored. Loss of signal on these pins will not affect the operation of the device. If VID_STD[5:0] is not set to 62 and the REF_LOST pin is HIGH, or if the input signal is valid, but unrecognized as one of the 36 video or 16 graphics formats, the GENLOCK pin should not be set LOW. If VID_STD[5:0] = 62, the REF_LOST output will reflect the presence of a stable signal with a period of less than 2.4ms on the HSYNC input pin. This allows the user to program the device to lock to a single input reference only The REF_LOST output pin may also be read via bit 0 of the Genlock_Status register (see Section 3.12.3 on page 79). 3.5.2.1 Ambiguous Standard Selection There are some standards with identical H, V, and F timing parameters, such that the GS4911B/GS4910B’s reference format detector cannot distinguish between them. Table 3-2 groups standards with shared H, V, and F periods. Using the Amb_Std_Sel register at address 10h of the host interface, the user may select their choice of standard to be identified with a particular set of measurements. For example, to have 1716 clocks of 27MHz per line with 525 lines per frame identified as 4fsc 525, program Amb_Std_Sel[10:0] = XXX10XXXXXX, where ‘X’ signifies ‘don’t care’. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 46 of 119 Table 3-2: Ambiguous Standard Identification Number 1 2 3 4 5 6 Standard H (27MHz Clocks) 16_H (27MHz Clocks) V (lines) F (lines) Amb_Std_Sel[10:0] 1920x1080/60/2:1 interlace 800 12800 562.5 1125 XXXXXXXXX00 1920x1080/30/PsF 800 12800 562.5 1125 XXXXXXXXX01 1920x1035/60/2:1 interlace 800 12800 562.5 1125 XXXXXXXXX10 1920x1080/59.94/2:1 interlace 800.8 12813 562.5 1125 XXXXXXX00XX 1920x1080/29.97/PsF 800.8 12813 562.5 1125 XXXXXXX01XX 1920x1035/59.94/2:1 interlace 800.8 12813 562.5 1125 XXXXXXX10XX 1920x1080/50/2:1 interlace 960 15360 562.4 1125 XXXXX00XXXX 1920x1080/25/PsF 960 15360 562.4 1125 XXXXX01XXXX 601 525 / 2:1 interlace 1716 27456 262.5 525 XXX00XXXXXX 720x486/59.94/2:1 interlace 1716 27456 262.5 525 XXX01XXXXXX 4fsc 525 / 2:1 interlace 1716 27456 262.5 525 XXX10XXXXXX 601 - 18MHz 525/2:1 interlace 1716 27456 262.5 525 XXX11XXXXXX 601 625 / 2:1 interlace 1728 27648 312.5 625 X00XXXXXXXX 720x576/50/2:1 interlace 1728 27648 312.5 625 X01XXXXXXXX Composite PAL 625/2:1/25 1728 27648 312.5 625 X10XXXXXXXX 601 - 18MHz 625/2:1 interlace 1728 27648 312.5 625 X11XXXXXXXX 857.14 13714 525 525 0XXXXXXXXXX 858 13728 525 525 1XXXXXXXXXX 640 x 480 VGA @ 60Hz 720x483/59.94/1:1 progressive NOTE: ‘X’ signifies ‘don’t care.’ The X bit will be ignored when determining which standard to select in each of the 6 groups above. 3.5.3 Behaviour on Loss and Re-acquisition of the Reference Signal By default, the GS4911B/GS4910B will ignore one missing H pulse on the HSYNC pin and will continue to operate in Genlock mode (although the LOCK_LOST pin will temporarily be set HIGH). This behaviour is controlled by the Run_Window bits of register address 24h. If there are two consecutive missing H pulses on the HSYNC input pin, the REF_LOST and LOCK_LOST pins will both go HIGH and the device will enter Freeze mode. An internal flywheel ensures the selected output clock and timing signals maintain their previous phase and frequency and continue to operate without glitches. The VSYNC and FSYNC signals are not monitored in Genlock mode; loss of signal on these pins will not affect the operation of the device. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 47 of 119 NOTE 1: If the input reference is removed and re-applied, all line-based timing outputs will be inaccurate for up to one frame for all output standards. NOTE 2: When locking the “f/1.001” HD output standards to the SD input reference standards 3, 5, 7, or 9, or vice versa, there may be a random phase difference between the input VSYNC and output V Sync signals occurring each time the input reference is removed and re-applied. This will affect all line-based timing outputs. For cases where the user must manually video genlock the device, the problem will occur whenever the value programmed for H_Reference_Divide (registers 2B-2Ah) is greater than 1. The user may reset the line-based counters after the reference is re-applied without disrupting the pixel or audio clocks by toggling bit 15 of register address 83h in the host interface. This will cause the input VSYNC and line-based timing output signals to take on their default timing relationship, as described in Note 3 of Section 3.2.1.1 on page 38. Re-acquisition of the Same Reference Upon re-application of the reference signal, the device checks whether the reference has drifted more than +/- 2us from its expected location by comparing the current relative position of the H pulses with the previous position, over a 16-line interval. If the reference returns with the H pulses in the expected location +/- 2us, the PLL will drift lock and the clock generator will continue to operate without a glitch. The REF_LOST and LOCK_LOST pins will be set back LOW. If the reference returns with the H pulses outside the +/- 2us window, the device will crash lock the output timing to the new input phase. The principles of crash lock and drift lock are described in Section 3.6.3 on page 58. NOTE: To resume proper genlock operation upon re-application of the reference signal, the user must implement the following register manipulation every time the reference is removed and re-applied: 1. Read the value contained in register address 24h 2. Clear the Run_Window bits [2:0] of register 24h 3. Re-write the value read in step 1 to register address 24h. This procedure will force the device to lock to the reference as described above, but will maintain the flywheeling capability of the GS4911B/GS4910B should a single missing H pulse occur in the genlocked state. To avoid the above procedure, the user may choose to clear the Run_Window bits [2:0] of register address 24h upon power-up or reset. However, this will disable the flywheeling feature of the device that allows it to maintain genlock through one missing input H pulse. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 48 of 119 Acquisition of a New Reference When a new reference is applied, the device continues to operate in Freeze mode while the reference format detector checks for validity as described in Section 3.5.2 on page 46. Once validity is detected, the REF_LOST pin is set LOW. Assuming GENLOCK is LOW, the device will then attempt to genlock the selected output clock and timing signals to the new input reference. If the output can be automatically genlocked to the new input reference, LOCK_LOST will go LOW and the device will re-enter Genlock mode. Otherwise, the LOCK_LOST pin will remain HIGH and the device will enter Free Run mode. If VID_STD[5:0] = 63 when the new reference is applied, the device will send the detected timing parameters to the clock synthesis and timing generator blocks. The new output format will start being generated during the first reference V period after the reference format has been reliably established. The LOCK_LOST pin will go LOW and the device will re-enter Genlock mode. 3.5.4 Allowable Frequency Drift on the Reference By default, the frequency of the reference H pulse on HSYNC may drift from its expected value by approximately +/- 0.2% before the internal video PLL loses lock. This tolerance may be adjusted using the Max_Ref_Delta register at address 1Eh of the host interface. The encoding scheme is shown in Table 3-3. The default value of the register is Bh. NOTE: Regardless of the setting of this register, the device will always differentiate between 59.94Hz and 60Hz reference standards. Table 3-3: Max_Ref_Delta Encoding Scheme Register Setting Maximum Allowable Frequency Drift Register Setting Maximum Allowable Frequency Drift 0h +/- 2 -20 8h +/- 2 -12 1h +/- 2 -19 9h +/- 2 -11 2h +/- 2 -18 Ah +/- 2 -10 3h +/- 2 -17 Bh +/- 2 -9 4h +/- 2 -16 Ch +/- 2 -8 5h +/- 2 -15 Dh +/- 2 -7 6h +/- 2 -14 Eh +/- 2 -6 7h +/- 2 -13 Fh +/- 2 -5 The maximum allowable frequency drift is measured as a fraction of the frequency of the reference H pulse. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 49 of 119 3.6 Genlock When both the REF_LOST output and the GENLOCK input are LOW, the device will attempt to genlock the output clock and timing signals to the input reference. NOTE: The user must apply a reference to the input of the device prior to setting GENLOCK = LOW. If the GENLOCK pin is set LOW and no reference signal is present, the generated clock and timing outputs of the device may correspond to the internal default settings of the chip until a reference is applied. The device will first attempt to automatically genlock the output to the input reference. This automatic locking process is described in Section 3.6.1 on page 50. If the output format selected is such that it is not commonly genlocked to the input reference, the GS4911B/GS4910B will not automatically lock. In this case, the user may program designated registers to manually allow locking to occur. The manual locking process is described in Section 3.6.2 on page 54. The user may disable one or more of the recognized input standards from being used to genlock the output by setting the Reference_Standard_Disable register located at address 11h - 14h of the host interface. If a reference is applied that is disabled in the Reference_Standard_Disable register, both the automatic and manual locking process will fail when the application layer sets GENLOCK = LOW. NOTE: If the device is already genlocked to an input reference and the applied standard is subsequently disabled in the Reference_Standard_Disable register, the device will remain locked. 3.6.1 Automatic Locking Process The behaviour of the device when attempting to automatically genlock will depend on the status and format of the input reference with respect to the selected output format. VID_STD[5:0] = 1 to 51: Once reference validity is established and the reference format is recognized, the device uses an internal cross-reference genlock look-up table to determine whether the input can be used to genlock the output. A simplified version of this look-up table is shown in Table 3-4. The table represents a matrix with the VID_STD[5:0] number representation of each possible reference format along the top axis, and the VID_STD[5:0] representation of each possible output timing format along the vertical axis. A shaded box indicates that the output format can be automatically genlocked to the input reference. If the device determines that the output can be automatically genlocked to the input reference, it will lock the output format to the reference, adjust the output timing signals based on the genlock timing offset registers (Section 3.2.1.1 on page 38), and then set the LOCK_LOST pin LOW. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 50 of 119 If the device cannot automatically genlock the output to the applied reference, the LOCK_LOST pin will be set HIGH and the device will operate in Free Run mode. In this case, the user may program designated registers to manually allow locking to occur (Section 3.6.2 on page 54). Individual H, V, and F-locked signals can be read from the Genlock_Status register of the host interface. Additionally, designated bits in the Genlock_Control register may be configured to permit the genlock block to ignore invalid timing on the HSYNC, VSYNC, or FSYNC pin when determining the locked status of the device. These registers are described in Section 3.12.3 on page 79. NOTE: When attempting to lock some output graphics standards to an input reference, the device will automatically modify the output frame rate from the VESA standard to permit cross-locking to occur. The exact change will depend on the output standard selected and the input reference detected. Standards affected by this behaviour are denoted by an 'a' or a 'b' suffix in Table 3-4. VID_STD[5:0] = 62: Setting VID_STD[5:0]=62 allows custom timing signals to be programmed in the host register (see Section 3.10 on page 74). It has the additional feature of disabling the validity check of the input reference signal. The device will automatically attempt to genlock the custom output to the input using the same process that is used when VID_STD[5:0] = 1 to 51. The user must manually program the internal genlock block if a custom H-based timing output signal is programmed or if a custom reference pulse is applied to HSYNC. VID_STD[5:0] = 63: When VID_STD[5:0]=63, the device will send the detected input reference timing parameters to the clock synthesis and timing generator blocks. The device will produce an output format with identical timing to the input reference. It will then lock the output format to the reference, adjust the output timing parameters based on the genlock timing offset registers (Section 3.2.1.1 on page 38), and set the LOCK_LOST pin LOW. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 51 of 119 2 3 4 5 6 7 8 9 52 of 119 Input Reference Format 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 1 Table 3-4: Cross-reference Genlock Table 2 3 4 5 6 7 8 9 A shaded box indicates that the selected output format can be automatically genlocked to the input reference. NOTES: Suffix a numbers are modified from the VESA standard to have exact 60Hz, 75Hz, or 85Hz frame rates. Suffix b numbers are modified from the VESA standard to have 60/1.001Hz, 75/1.001Hz, or 85/1.001Hz frame rates. Continued on next page... 53 of 119 Input Reference Format 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 39a 42a 45a 46a 49a 50a 39b 40b 42b 43b 45b 46b 49b 50b 51b 47 48 49 50 51 1 Table 3-4: Cross-reference Genlock Table (Continued) 3.6.2 Manual Locking Process Using the host interface, the GS4911B/GS4910B may be manually programmed to genlock certain video formats and audio clocks that are not automatically genlocked by the device. The following sections discuss when the user should manually program the internal video and/or audio genlock block, and how these blocks are programmed. 3.6.2.1 Programming the Internal Video Genlock Block and Output Line/Frame Reset Registers The user will be required to manually program the internal video genlock block and output line/frame reset registers during any of the following situations: 1. The pre-programmed output format and input reference cannot be automatically genlocked according to the cross-reference genlock table (Table 3-4 in Section 3.6.1 on page 50). 2. A custom video clock is programmed in the host interface (Section 3.9.1 on page 72). 3. VID_STD[5:0] = 62 and a custom H-based timing output signal is programmed (see Section 3.10 on page 74). 4. VID_STD[5:0] = 62 and a custom reference pulse is applied to HSYNC (see Section 3.10.1 on page 75). Video Genlock Block Host Registers A simplified version of the GS4911B/GS4910B’s internal video genlock block is shown in Figure 3-6. 27MHz Internal Video Genlock Block HSYNC H_Reference_Divide (fHref ( (host address 2Ah - 2Bh) Phase Comparator Clock Synthesizer Output Video Clock (fout ( H_Feedback_Divide (host address 28h - 29h) Figure 3-6: Internal Video Genlock Block To genlock the output clock and video timing signals to the input format, the user must first lock the frequency of the output video clock (fout) to the frequency of the reference pulse on HSYNC (fHref). This is accomplished by programming the set of integers (H_Feedback_Divide, H_Reference_Divide) in the equation: where: fout = output video clock frequency fHref = reference H pulse frequency on HSYNC H_Feedback_Divide = numerator of the divide ratio (host register 28h-29h) H_Reference_Divide = denominator of the divide ratio (host register 2Ah-2Bh) GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 54 of 119 f out H_Feedback_Divide -------------------------------------------------- = -----------H_Reference_Divide f Href Before programming H_Feedback_Divide and H_Reference_Divide, the numerator and denominator must be reduced to their lowest factors. For example, to manually genlock an output format with a 74.25MHz video clock to a reference with a 27MHz video clock and 1716 clocks per line, the following calculations are necessary: 27 f Href = ------------ MHz 1716 H_Feedback_Divide 1716 127413 ∴-------------------------------------------------- = 74.25MHz --------------------------- = 74.25 × ------------ = ------------------ = 4719 -----------H_Reference_Divide 27 27 27 1 ------------ MHz 1716 Therefore, program H_Feedback_Divide = 4719 and H_Reference_Divide = 1. Output Line/Frame Reset Host Registers In addition to programming H_Feedback_Divide and H_Reference_Divide, the user must also define the ratio of the output frame rate to the reference frame rate. The denominator of this ratio is programmed in the Output_FV_Reset register at address 18h of the host interface. Before Output_FV_Reset is programmed, the numerator and denominator must be reduced to their lowest factors. Two examples are demonstrated below: Example 1: the reference has a frame rate of 30Hz and the output frame rate is 50Hz: Output Frame Rate- = 50 ------ = 5----------------------------------------------30 3 Input Frame Rate Therefore, program Output_FV_Reset = 3. The numerator does not have to be programmed. Example 2: the reference has a frame rate of 29.97Hz and the output frame rate is 50Hz: 50 - 1001 Output Frame Rate- = -------------------------------------------------------= -----------29.97 600 Input Frame Rate Therefore, program Output_FV_Reset = 600. The numerator does not have to be programmed. Additionally, the Frame_Divider_Reset register (address19h) must be configured to initialize the counter reset programmed in register 18h. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 55 of 119 Alternatively, depending on the information available, the user may program the Output_H_Reset register (address 17h) instead of programming registers 18h and 19h. Output_H_Reset defines the denominator of the ratio of the output line frequency to the input line frequency. Before Output_H_Reset is programmed, the numerator and denominator must be reduced to their lowest factors. For example, to genlock the output standard 720p/59.94 at 74.25/1.001MHz to the input standard 525i/29.97 at 27MHz: Input Video Clock Frequency 27000000 Input Line Frequency = ---------------------------------------------------------------------- = -----------------------Video Clocks per Input H 1716 Output Video Clock Frequency- = 74250000 ------------------------ × 1000 -----------Ouput Line Frequency = ------------------------------------------------------------------------------1650 1001 Video Clocks per Output H Output Line Frequency × 1000 × 1716- = 20 ∴-------------------------------------------------------- = 74250000 ---------------------------------------------------------------Input Line Frequency 27000000 × 1001 × 1650 7 Therefore, program Output_H_Reset = 7. The numerator does not have to be programmed. NOTE: Either register 17h OR registers 18h and 19h should be programmed. Programming all three registers will trigger two counter resets. Programming OUTPUT_FV_RESET is preferred in all cases except where a custom reference pulse is used in VID_STD[5:0] = 62 (see Section 3.10.1 on page 75). In this case, OUTPUT_H_RESET must be used. 3.6.2.2 Programming the Internal Audio Genlock Block (GS4911B only) By default, the audio clocks are always genlocked to the output video clock. However, if a custom video or audio clock is programmed in the host interface (see Section 3.9 on page 72), the user must manually program the internal audio genlock block. A simplified version of the GS4911B’s internal audio genlock block is shown in Figure 3-7. 27MHz Internal Audio Genlock Block Output Video Clock (fout( A_Reference_Divide (host address 3Dh - 3Eh) Phase Comparator Clock Synthesizer Integer Multiple of the Fundamental Audio Sampling Clock (n*fs ( A_Feedback_Divide (host address 3Bh - 3Ch) Figure 3-7: Internal Audio Genlock Block To genlock the audio clock to the video clock, the user must lock the fundamental sampling frequency (fs) to the frequency of the output video clock (fout). This is GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 56 of 119 accomplished by programming the set of integers (A_Feedback_Divide, A_Reference_Divide) in the equation: fs A _Feedback_Divide------------------------------------------------= n × ---------f out A_Reference_Divide where: fs = the fundamental audio sampling frequency fout = output video clock frequency A_Feedback_Divide = numerator of the divide ratio (host register 3Bh-3Ch) A_Reference_Divide = denominator of the divide ratio (host register 3Dh-3Eh) n = an integer constant The integer constant, n, will depend on the fundamental audio sampling frequency. It will be one of the three values as defined in Table 3-5. Table 3-5: Integer Constant Value ASR_SEL[2:0]=100b Enable_384fs = 0 Value of constant (n) NO X 3072 YES YES 1024 YES NO 1536 NOTES: 1. Enable_384fs corresponds to bit 5 of address 31h of the host interface. It is LOW by default. 2. ‘X’ signifies ‘don’t care.’ This bit will be ignored when determining n. Before programming A_Feedback_Divide and A_Reference_Divide, the numerator and denominator must be reduced to their lowest factors. For example, to manually genlock a custom audio clock with a fundamental sampling frequency of 42kHz to a 27MHz video clock, the following calculations are necessary: n = 1024 A _Feedback_Divide 42000 43008 ∴-------------------------------------------------- = 1024 × ------------------------ = --------------- = 1792 -----------A_Reference_Divide 27000000 27000 1125 Therefore, program A_Feedback_Divide = 1792 and A_Reference_Divide = 1125. Note that n=1024 when programming a custom audio clock (see Section 3.9.2 on page 73). GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 57 of 119 3.6.3 Adjustable Locking Time The GS4911B/GS4910B offers two different locking mechanisms to allow the user to control the PLL lock time and the integrity of the output signal during the locking process. The locking process is said to take place after the application of the input reference and before the LOCK_LOST signal is set LOW. By default, the internal PLL will crash lock. This locking process will ensure a minimum PLL locking time; however, crash lock will cause the phase of the output clock and timing signals to jump during the locking process. The crash behaviour of the video PLL is controlled by the Crash_Time bits of register address 24h. Alternatively, the user may set bit 1 of register 16h HIGH to force the PLL to drift lock. Drift lock will increase the locking time of the PLL, but will maintain the signal integrity of the output clock and timing pulses during the locking process. As discussed in Section 3.5.3 on page 47, the device will normally drift lock when the reference is removed and subsequently re-applied during Genlock mode. 3.6.4 Adjustable Loop Bandwidth The default loop bandwidth of the GS4911B/GS4910B's internal video PLL is 10Hz when the output video standard is the same as the input reference format. For other cross-locking combinations, the default loop bandwidth may be smaller than 1Hz or as large as 30Hz. The user may adjust the loop bandwidth of both the video and audio PLLs to a value that depends on the input, output, and audio standards selected, as well as on the amplitude of the jitter present on the applied HSYNC signal. Increasing the loop bandwidth will result in a shorter PLL lock time, but will allow more frequency components of jitter to be passed to the outputs. Decreasing the loop bandwidth will decrease the output jitter, but will result in a longer PLL lock time. 3.6.4.1 Loop Bandwidth of the Video PLL The capacitive component of the filter controlling the video loop bandwidth is determined by the Video_Cap_Genlock register and the resistive component is determined by the Video_Res_Genlock register. These two registers are located at addresses 26h and 27h, respectively, of the host interface. To determine the setting of Video_Res_Genlock and Video_Cap_Genlock, the following equations must be solved: Video_Res_Genlock = 47 + log 2 ( 6 × BW × JITTERIN × H_Feedback_Divide ) Video_Cap_Genlock ≤ Video_Res_Genlock – 21 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 58 of 119 where: BW = the desired video PLL loop bandwidth JITTERIN = Jitter present on applied HSYNC reference signal, in seconds H_Feedback_Divide = the numerator of the video PLL divide ratio H_Feedback_Divide represents the numerator of the ratio of the output clock frequency to the frequency of the H reference pulse. It is calculated as described in Section 3.6.2.1 on page 54. NOTE: The bandwidth calculation represented by the above equation is only approximate. As the programmed value of Video_Res_Genlock becomes larger, the approximation becomes more accurate. For example, the following steps are necessary to program a loop bandwidth of 25Hz given the following conditions: input HSYNC jitter = 3 ns, VID_STD[5:0] = 3 and input reference format = NTSC. 1. Calculate H_Feedback_Divide (as defined in Section 3.6.2.1 on page 54): H_Feedback_Divide f pclkout -------------------------------------------------- × -------------------H_Reference_Divide f Hrefin f pclkout = 27MHz H_Feedback_Divide 1716 ∴-------------------------------------------------- = 27 × ------------ = 1716 -----------H_Reference_Divide 27 1 27 f Hrefin = ------------ MHz 1716 Therefore, H_Feedback_Divide = 1716. 2. Calculate the value for Video_Res_Genlock: Video_Res_Genlock = –9 47 + log 2 ( 6 × 25 × ( 3 × 10 ) × 1716 ) = 37 3. Calculate the value for Video_Cap_Genlock: Video_Cap_Genlock = 37 – 21 = 16 Therefore, program Video_Res_Genlock = 37 and Video_Cap_Genlock = 16. NOTE: The value programmed in the Video_Res_Genlock register must be between 32 and 42. The value programmed in the Video_Cap_Genlock register must be greater than 10. These limits define the exact range of loop bandwidth adjustment available. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 59 of 119 3.6.4.2 Loop Bandwidth of the Audio PLL (GS4911B only) The capacitive component of the filter controlling the audio loop bandwidth is determined by the Audio_Cap_Genlock register and the resistive component is determined by the Audio_Res_Genlock register. These two registers are located at addresses 39h and 3Ah, respectively, of the host interface. To determine the setting of Audio_Res_Genlock and Audio_Cap_Genlock, the following equations must be solved: Audio_Res_Genlock = 47 + log 2 ( 6 × BW × JITTERIN × A _Feedback_Divide ) Audio_Cap_Genlock ≤ Audio_Res_Genlock – 21 where: BW = the desired audio PLL loop bandwidth JITTERIN = Jitter present on output PCLK, in seconds. A_Feedback_Divide = the numerator of the audio PLL divide ratio A_Feedback_Divide is calculated in the same way as demonstrated in Section 3.6.2.2 on page 56. NOTE: The bandwidth calculation represented by the above equation is only approximate. As the programmed value of Audio_Res_Genlock becomes larger, the approximation becomes more accurate. NOTE2: The value programmed in the Audio_Res_Genlock register must be between 32 and 42. The value programmed in the Audio_Cap_Genlock register must be greater than 10. These limits define the exact range of loop bandwidth adjustment available. 3.6.5 Locking to Digital Timing from a Deserializer As described in Section 3.4.1 on page 43, the GS4911B/GS4910B may be genlocked to either an analog reference, such as a Black & Burst signal, or to an SDI input via the digital H, V, and F blanking signals normally produced by a deserializer. When locking to an SDI input, the user should consider the possibility of a switch of the SDI signal upstream from the system. If the GS4911B/GS4910B is locked to the digital H, V, and F blanking signals produced by a deserializer, and the SDI input to the deserializer is switched such that the phase of the H input changes abruptly, the REF_LOST output will remain LOW and the GS4911B/GS4910B will not crash lock to the new H phase. Instead, the clock and timing outputs will very slowly drift towards the new phase. During this period of drift, the LOCK_LOST output will be LOW, even though the device is not genlocked. The user should clear the Run_Window bits [2:0] of register address 24h to force the device to crash lock should such a switch occur. This will cause the GS4911B/GS4910B to crash lock whenever it sees a disturbance of the input H signal. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 60 of 119 NOTE: Any action that causes an abrupt phase change of the H input to the GS4911B/GS4910B such that REF_LOST is not triggered will cause the device to respond in the manner described above. In addition to the slow drifting behaviour outlined above, there may also be a random phase difference between the input VSYNC and output V Sync signals occurring each time a switch in the SDI stream causes an abrupt phase change of the H input to the GS4911B/GS4910B. This will only occur when attempting to lock the “f/1.001” HD output standards to the 525-line SD input references standards, or vice versa. For cases where the user must manually video genlock the device, the problem will occur whenever the value programmed for H_Reference_Divide (registers 2B-2Ah) is greater than 1. All line-based timing outputs are affected. The only way to ensure a constant phase difference between the input VSYNC signal and the line-based timing outputs is to reset the line-based counters after such a switch occurs. This is achieved by toggling bit 15 of register address 83h in the host interface. The device will then delay all line-based output timing signals by ΔVsync lines relative to the input VSYNC reference, as described in NOTE 3 of Section 3.2.1.1 on page 38. 3.7 Clock Synthesis The clock synthesis circuit generates the video/graphics clocks based on the VID_STD[5:0] pins and host register settings. In the GS4911B, the clock synthesis circuit also generates the audio clock signals based on the ASR_SEL[2:0] pins and host register settings. The generated video and audio clocks may be further divided and are presented to the application layer via pins PCLK1-PCLK3 and ACLK1-ACLK3 respectively. 3.7.1 Video Clock Synthesis The programmable video clock generator is referenced to an internal crystal oscillator and is responsible for generating the PCLK output signals. The crystal oscillator requires an external 27MHz crystal connected to pins X1 and X2, or can be driven at LVTTL levels from an external 27MHz source connected to X1. These two configurations are shown in Figure 1-1. A range of 8 different video sample clock rates and 13 different graphic display clock rates may be selected using the VID_STD[5:0] pins of the device. Section 1.4 on page 20 lists the video and graphic formats available using the VID_STD[5:0] pins. Once the device is powered up and an initial output format is selected using VID_STD[5:0], the video clock rate may also be modified via the host interface (see Section 3.9 on page 72). If desired, the external VID_STD[5:0] pins may be ignored by setting bit 1 of the Video_Control register, and the video standard may instead be selected via the VID_STD[5:0] register of the host interface (see Section 3.12.3 on page 79). Although the external VID_STD[5:0] pins will be ignored, they should not be left floating. NOTE: If VID_STD[5:0] is set to 62 on power-up, the video clock will run at a frequency based on the internal default settings of the chip until the user programs registers 20h to GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 61 of 119 23h. Please see Section 3.9 on page 72 for a detailed explanation of custom clock generation. Once the video clock has been generated, it will be presented to the application layer via the PCLK1 to PCLK3 pins. By default, each of the 3 video clock outputs will produce the generated fundamental clock frequency. However, it is possible to select other rates for each PCLK output by programming the PCLK_Phase/Divide registers beginning at address 2Ch of the host interface (see Section 3.12.3 on page 79). Each PCLK output may be individually programmed to provide one of the following: • PCLK fundamental frequency • Fundamental frequency /2 • Fundamental frequency /4 When all six VID_STD[5:0] pins are set LOW, the video clocks will be disabled. PCLK1 and PCLK2 will go LOW and PCLK3/PCLK3 will be high impedance. NOTE: If the PCLK divider bits of registers 2Ch - 2Eh are set to enable a divide by 2 or divide by 4, the resultant divided clock will align with the falling edge of the output H Sync timing signal either on its rising or falling edge. The PCLK1 to PCLK3 outputs may also be individually delayed with respect to the eight TIMING_OUT signals to allow for skew control downstream from the GS4911B/GS4910B. Using the PCLK_Phase/Divide registers, the phase of each clock may be delayed up to a nominal 10.3ns in 16 steps of approximately 700ps each (Table 3-6). This delay is available in addition to the genlock timing offset phase adjustment described in Section 3.2.1 on page 38. Table 3-6: Video Clock Phase Adjustment Host Settings PCLKn_Phase[3:0] Setting 0 h 1h 2h 3h 4h 5h 6h 7h 8h 9h Ah Bh Ch Dh Eh Fh Phase Increment (ns) 0 0.7 1.4 2.1 2.8 3.5 4.2 4.9 5.6 6.3 7.0 7.7 8.4 9.1 9.8 10.3 NOTES: 1. The phase increments listed above are nominal values. 2. The phase of PCLK is delayed relative to the TIMING_OUT pins. Additionally, the current drive capability of PCLK1 and PCLK2 may be set high or low using the PCLK_Phase/Divide registers. By default the current drive will be low. It must be set high if the clock rate is greater than 100MHz. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 62 of 119 3.7.2 Audio Clock Synthesis (GS4911B only) The programmable audio clock generator is referenced to the internal PCLK signal and is responsible for generating the ACLK output signals. Three audio clock output pins, ACLK1 to ACLK3, are available to the application layer. The fundamental sampling frequency, fs, is selected using the ASR_SEL[2:0] pins as shown in Table 3-7. Once selected, the audio clock rate may be customized via the host interface (see Section 3.9 on page 72). If desired, the external ASR_SEL[2:0] pins may be ignored by setting bit 2 of the Audio_Control register and the sampling frequency may instead be programmed in the ASR_SEL[2:0] register of the host interface (see Section 3.12.3 on page 79). Although the external ASR_SEL[2:0] pins will be ignored, they should not be left floating. Table 3-7: Audio Sample Rate Select ASR_SEL[2:0] Sampling Frequency (kHz) 000 Audio Clock Generation Disabled 001 32 010 44.1 011 48 100 96 101 Slow 32* 110 Slow 44.1* 111 Slow 48* *Slow 32, 44.1, and 48 are available only when the video standard selected is 23.98, 29.97, or 59.94 frame rate based. They refer to 32kHz, 44.1kHz, or 48kHz multiplied by 1000/1001 to maintain the 1, 2, or 3 frame sequence normally associated with 24, 30, and 60 fps video. When all three ASR_SEL[2:0] pins are set LOW, the audio clock outputs will be high impedance. In this case, the application layer may continue to power the AUD_PLL_VDD pin; however, to minimize noise and power consumption, AUD_PLL_VDD may be grounded. By default, after system reset, ACLK1 to ACLK3 will output clock signals at 256fs, 64fs, and fs respectively. Different division ratios for each output pin may be selected by programming the ACLK_fs_Multiple registers beginning at address 3Fh of the host interface (see Section 3.12.3 on page 79). The encoding of this register is shown in Table 3-8. Clock outputs of 512fs, 348fs, 256fs, 192fs, 128fs, 64fs, fs, and z bit are selectable on a pin by pin basis. The z bit will go HIGH for one fs period every 192 fs periods. Its phase is not defined by any timing event in the GS4911B, and so is arbitrary. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 63 of 119 Table 3-8: Audio Clock Divider ACLKn_fs_Multiple[3:0] Audio Clock Frequency 000 fs 001 64fs 010 128fs 011 192fs* 100 256fs 101 384fs* 110 512fs** 111 z-bit *This setting is only available when the enable_384fs bit of the Audio_Control register is HIGH. **512fs clock will have a 33% duty cycle when the enable_384fs bit is HIGH and fs = 96kHz. The fs signal on ACLK1-3 has an accurate 50% duty cycle, and can be used for left/right definition, with the following exception: if fs = 96kHz and the user configures the host interface such that one of the three ACLK pins is set to output a clock signal at 192fs or 384fs, the 512fs clock will have a 33% duty cycle. All audio clocks are initially reset on the rising edge of the AFS pulse, ensuring that video to audio clock synchronization is correct. During normal operation, the audio clock edge is allowed to drift slightly with respect to the AFS pulse. By default, the audio clock will be reset directly by the AFS pulse if it drifts more than approximately +/-0.1us from the rising edge of the AFS pulse. However, after device reset, or after the application of a new input reference, the ACLK outputs may sometimes be offset from the AFS pulse by up to several microseconds. The offset will remain until the device is reset or the reference removed and re-applied. The user may avoid this offset by minimizing the width of the AFS_Reset_Window using bits 9-7 of register 31h for the duration of the audio PLL locking process. Once the audio PLL is locked, bit 1 of register 1Fh will be set HIGH, and the AFS_Reset_Window may be set as desired. See Table 3-9. NOTE: To maintain correct audio clock frequencies for some VESA standards, the window tolerance shown in Table 3-9 may have to be increased from its default setting. In this case, set the AFS_Reset_Window register to 1XX. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 64 of 119 Table 3-9: Encoding Scheme for AFS_Reset_Window Window Tolerance (us) AFS_Reset_Window (address 31h) fs = 32kHz fs = 44.1kHz fs = 48 kHz fs = 96 kHz (enable_384fs = 1) fs = 96 kHz (enable_384fs = 0) 000 0.044 0.033 0.030 0.030 0.044 001 0.084 0.062 0.057 0.057 0.084 010 (default) 0.166 0.121 0.112 0.112 0.166 011 0.329 0.239 0.220 0.220 0.329 1XX 0.654 0.475 0.437 0.437 0.654 NOTE: ‘X’ signifies ‘don’t care.’ The bit setting will be ignored. 3.7.2.1 Audio to Video Clock Phasing The important aspect of the audio to video phase relates to the way in which the AFS pulse is used to reset the audio clock dividers so as to line up the leading edge of the audio clocks with the leading edge of the H Sync pulse on line 1 of the first field in the audio frame sequence. The AFS pulse is further discussed in Section 3.8.2 on page 68. 625i 50 Format For the 48kHz sampling rate, the audio to video phase relationship for 625/50i reference signals is provided by the device in accordance with the EBU recommended practice R83-1996. The start of an audio frame (fs clock) will align with the 50% point of the H sync input of line 1 of each video frame (+/- the allowable drift specified in Table 3-9). 525i 59.94 Format For 525/59.94 NTSC reference signals, the device will observe the 5-frame phase-relationship inherent with this video standard, aligning the audio clocks with the 50% point of the H sync input of line 1 on every fifth frame (+/- the allowable drift specified in Table 3-9). The number of audio sample clocks during a video frame is shown in Table 3-10 for 32, 44.1, and 48kHz audio sampling frequencies. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 65 of 119 Table 3-10: Audio Sampling Frequency to Video Frame Rate Synchronization Audio Samples per Video Frame Audio Sample Rate (kHz) 24fps 25fps 29.97fps 30fps 50fps 59.94fps 60fps 32 4000/3 1280 16016/15 3200/3 640 8008/15 1600/3 44.1 3675/2 1764 147147/100 1470 882 147147/200 735 48 2000 1920 8008/5 1600 960 4004/5 800 * fps = frames per second. The external 10FID input pin may be used to resynchronize other audio clock frequencies, according to Table 3-10, by applying an active signal during the reference HSYNC of line 1 of the appropriate video frame. Please see Section 3.4.2 on page 44 for more details on the 10FID input pin. In the case where 10FID is not present as a reference signal, the GS4911B will automatically generate an AFS pulse appropriate to the format selected, and use it to create an audio frame sequence. Host Interface Control of AFS and 10FID Alternatively, the user may program the device via the host interface to re-time the audio frame sequence and 10 field-ID. Using register 1Ah, a pulse may be generated to reset the AFS and/or 10FID dividers at the start of an output video frame (see Section 3.12.3 on page 79). If using the host interface to reset the AFS pulse, the device may be configured to ignore the input 10FID reference pin. To disable the signal on the external 10FID pin from resetting the AFS output pulse, set bit 0 of the Audio_Control register HIGH. If using the host interface to reset the 10FID pulse, the external 10FID pin must be grounded. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 66 of 119 3.8 Video Timing Generator The internal PCLK signal generated by the clock synthesis circuit is used to produce horizontal, vertical, and frame based timing output signals. The signals generated and available to the application layer via the TIMING_OUT pins are: H Sync, H Blanking, V Sync, V Blanking, F Sync, F Digital, DE, 10FID, AFS (GS4911B only), and USER_1~4. These signals are defined in Section 1.5 on page 26. Additional information pertaining to the 10FID, AFS, and USER_1~4 signals can be found in the sub-sections below. When the GS4911B/GS4910B is operating in Genlock mode, the H, V, and F based output timing signals are synchronized to the H, V, and F reference signals applied to the inputs by the application layer. The video timing outputs may be offset from the input reference by programming the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 38). All TIMING_OUT signals have selectable polarity. The default polarities for each signal are given in the descriptions in Section 1.5 on page 26. 3.8.1 10 Field ID Pulse As described in Table 1-3, the 10 field ID (10FID) output signal is used in the identification of film to video cadence. It is only generated for 29.97, 30, 59.94, and 60fps formats. The 10FID pulse is generated on every 5th frame for 29.97 and 30fps formats, and every 10th frame on 59.94 and 60fps formats. By default, the 10FID signal is set HIGH on the leading edge of the H Sync output for the duration of line 1 of field 1 at the start of the 10 field sequence. This is shown in Figure 3-8. Alternatively, by setting bit 4 of the Video_Control register at address 4Ch of the host interface, the 10FID output signal may be configured to go HIGH (default polarity) on the leading edge of the H Sync pulse of line 1 of the first field in the 10 field sequence, and be reset LOW on the leading edge of the H Sync pulse of line 1 of the second field in the 10 field sequence. This is shown in Figure 3-9. Total Line 10FID Output Line 1, Frame 1 every 'n' frames Horizontal Sync Output Line 1 every n frames where: n = 5 @ 29.97 fps, 30 fps n = 10 @ 59.94 fps, 60 fps Figure 3-8: Default 10FID Output Timing GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 67 of 119 Total Field 10FID Output Horizontal Sync Output Line 1 every n frames where: n = 5 @ 29.97 fps, 30 fps n = 10 @ 59.94 fps, 60 fps Figure 3-9: Optional 10FID Output Timing The phasing of the divide by n frame counter may be reset by an external pulse on the 10FID input pin, or via register 1Ah of the host interface (see Section 3.12.3 on page 79). NOTE: If a 10FID input signal is not provided to the device, the 10FID output signal will be invalid until the user initiates a reset via the host interface. The user should also reset the 10FID signal via the host if at any time the H input reference signal is removed and then re-applied. 3.8.2 Audio Frame Synchronizing Pulse (GS4911B only) As described in Table 1-3, the audio frame synchronizing (AFS) pulse identifies the frame, within an n frame sequence, in which the audio sample rate clock is aligned with the H Sync of line 1. It is generated for all video formats. The leading edge of the AFS output pulse is co-timed with the H Sync corresponding to line 1 of every nth frame in the sequence, and therefore identifies the exact time at which the audio sample rate clock and video PCLK have synchronous leading edges. The number of frames in the sequence, n, is determined by the video frame rate and the audio clock frequency. These are selected using the VID_STD[5:0] and ASR_SEL[2:0] pins or via the host interface. By default, the AFS pulse is 1 line long, as shown in Figure 3-10. Alternatively, by setting bit 1 of the Audio_Control register, the AFS output signal may be configured to go HIGH on the leading edge of the H Sync pulse of line 1 of the first field in the ‘n’ frame sequence, and be reset LOW on the leading edge of the H Sync pulse of line 1 of the second field in the sequence. The AFS timing in this configuration is similar to the 10FID optional timing shown in Figure 3-9. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 68 of 119 Total Line AFS_OUT Horizontal Sync Output Line 1 every n frames where: n = 1 @ 25fps: fs = 32kHz n = 1 @ 25fps, 30fps & 60fps: fs = 44.1kHz n = 1 @ 25fps, 30fps & 60fps; fs = 48kHz n = 2 @ 24fps; fs = 44.1kHz, 48kHz n = 3 @ 24fps, 30fps & 60fps: fs = 32kHz n = 5 @ 29.97fps & 59.94fps; fs = 48kHz n = 15 @ 29.97fps & 59.94fps; fs = 32kHz n = 100 @ 29.97fps; fs = 44.1kHz n = 200 @ 59.94fps; fs = 44.1kHz Figure 3-10: AFS Output Timing The phasing of the divide by n counter can be controlled by the 10FID input or via designated registers in the host interface. By default, the 10FID input pin controls the AFS phase (in addition to controlling the 10FID phase); however, this feature may be disabled by setting bit 0 of the Audio_Control register (see Section 3.12.3 on page 79). In addition, the AFS signal may be reset via register 1Ah. 3.8.3 USER_1~4 As described in Table 1-3, the GS4911B/GS4910B offers 4 user programmable output signals which are available independent of the selected output video format. Each user signal is individually programmable and the polarity, position, and width of each output may be defined with respect to the digital output timing of the device. Each output signal may be programmed in both the horizontal and vertical dimensions relative to the leading edges of H blanking and V blanking. If desired, the pulses produced may then be combined with a logical AND, OR, or XOR function to produce a composite signal (for example, a horizontal back porch pulse during active lines only, or the active part of lines 15 through 20 for vertical information retrieval). By default, the AND, OR, and XOR functions are disabled. Therefore, when a USER signal is selected using the Output_Select registers of the host interface, the signal will go LOW (default polarity) at the H_Start pixel and return HIGH after the H_Stop pixel. Setting the AND bit HIGH, for example, will cause the USER signal to be active only when USER_H is active and USER_V is active (i.e. the pixel is between both H_Start and H_Stop and V_Start and V_Stop). See Figure 3-11. NOTE: The effective horizontal range of the four user-defined timing signals is [H_Start + 1, H_Stop], except when H_Start = 1, in which case the range is [H_Start, H_Stop]. This prevents the user from specifying an output USER signal that begins on pixel 2 of a line. In the case of interlaced output formats, the programmed vertical start and stop lines refer to the start and stop lines of the generated USER signal on field 1. The start and stop lines of the USER signal on the even fields will be V_Start - 1 and V_Stop - 1, respectively. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 69 of 119 For example, if VID_STD[5:0] = 3, field 1 will have 263 lines and field 2 will have 262 lines. A user-defined vertical pulse programmed to start on line 12 and stop on line 17 will start on frame lines 12 and 274, and stop on frame lines 17 and 279. V_Start V_Start V_Stop V_Stop V_Start V_Start V_Stop V_Stop AND=0, OR=1 H_Stop H_Start AND=1 H_Stop H_Start AND=0, OR=0, XOR=0 (default) H_Stop H_Start H_Stop H_Start The designated registers for programming each user signal are located in the host interface beginning at address 57h. See Section 3.12.3 on page 79. AND=0, OR=0, XOR=1 Shading indicates when USER_x signal is active Figure 3-11: USER Programmable Output Signal GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 70 of 119 3.8.4 TIMING_OUT Pins The horizontal, vertical, and frame based timing output signals for the selected video format are available to the application layer via the TIMING_OUT_1 to TIMING_OUT_8 pins. Programmable Crosspoint Switch Each TIMING_OUT pin outputs a default signal as shown in Table 1-3. Alternatively, a crosspoint switch may be programmed via the eight Output_Select registers of the host interface, allowing the user to select which output signal is directed to each TIMING_OUT pin (see Section 3.12.3 on page 79). Any signal may be sent to more than one pin if desired. Table 3-11 outlines the encoding scheme of the eight Output_Select registers, which begin at address 43h of the host interface. Table 3-11: Crosspoint Select Output_Select_n Bit Settings Output Signal 0000 High Impedance 0001 H Sync 0010 H Blanking 0011 V Sync 0100 V Blanking 0101 F Sync 0110 F Digital 0111 10FID 1000 DE 1001 Reserved 1010 AFS* 1011 USER_1 1100 USER_2 1101 USER_3 1110 USER_4 1111 Reserved *AFS is only available on the GS4911B. The bit setting 1010b will be ignored by the GS4910B. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 71 of 119 3.8.4.1 Selectable Current Drive and Polarity The current-drive of each timing output pin is also selectable via the Output_Select registers. The current drive of each TIMING_OUT pin is low by default. However, it may be set high to accommodate certain applications. Additionally, the Polarity register of the host interface may be programmed to select the polarity of each timing output signal. 3.9 Custom Clock Generation In addition to the device’s pre-programmed clock frequencies, the user may generate a custom audio or video clock by programming designated registers in the host interface. Custom video clock generation is supported by both the GS4910B and GS4911B and is described in Section 3.9.1 on page 72. Custom audio clock generation is only supported by the GS4911B and is described in Section 3.9.2 on page 73. 3.9.1 Programming a Custom Video Clock The fundamental frequency of the video clock is defined by the output video format initially set by VID_STD[5:0]. At any time, this fundamental frequency may be modified to create a custom output video format. The user may generate a video clock with any frequency between 13.5MHz and 165MHz. By programming the PCLK_Divide registers, the output PCLK may be as low as 13.5/4 = 3.375MHz. Generating a custom video clock will change the period of the video timing signals presented to the TIMING_OUT pins; however, the pixels per line, lines per frame, and other pixel and line-based timing signals will remain unchanged. To redefine the pixel and line based timing parameters, registers 4Eh to 55h must be reprogrammed as described in Section 3.10 on page 74. The frequency of the custom video clock is determined using a ratio based on the 27MHz reference. Therefore, to program a custom clock, the user must calculate and program the set of integers (Nv, Dv) in the equation: f out Nv ------- = ---------Dv f in where: fout = desired output video clock frequency fin = 27MHz crystal reference Nv = numerator of the ratio (host register 20h-21h) Dv = denominator of the ratio (host register 22h-23h) GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 72 of 119 Before programming Nv and Dv, the numerator and denominator must be reduced to their lowest factors. Two examples are given below: Example 1: Programming an output video clock of 74.25MHz: f out ---------- = 74.25MHz --------------------------f in 27MHz Nv ∴------- = 7425 ------------ = 11 -----Dv 2700 4 Therefore, program Nv = 11 and Dv = 4. Example 2: Programming an output video clock of 74.175824MHz (74.25/1.001): 74.25 ------------- MHz f out 1.001 ---------- = --------------------------f in 27MHz Nv × 1000- = 250 ∴------- = 7425 ------------------------------------Dv 2700 × 1001 91 Therefore, program Nv = 250 and Dv = 91. NOTE: The Nv and Dv values programmed in registers 20h-21h and 22h-23h are not held until the custom video clock update bit (6) of register 16h is toggled. 3.9.2 Programming a Custom Audio Clock (GS4911B only) The GS4911B’s audio clocks are derived from the fundamental audio sampling frequency initially set by ASR_SEL[2:0]. At any time this fundamental sampling frequency may be modified to create a custom output audio clock. The user may generate any audio sampling frequency between 6.6kHz and 96kHz, and therefore create a custom audio clock as high as 512*96kHz. When generating a custom audio sampling frequency, ASR_SEL[2:0] must be set to 100b and bit 5 of register 31h (enable_384fs) must be kept LOW. The fundamental sampling frequency is determined using a ratio based on the 27MHz reference. Therefore, to program a custom audio clock, the user must calculate and program the set of integers (Na, Da) in the equation: fs Na ------- = 1024 × ------f in Da where: fs = desired fundamental audio sampling frequency fin = 27MHz crystal reference Na = numerator of the ratio (host register 33h-34h) Da = denominator of the ratio (host register 35h-36h) Before programming Na and Da, the numerator and denominator must be reduced to their lowest factors. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 73 of 119 For example, to program a fundamental audio sampling frequency of 42kHz: Na 42000 ------- = 1024 × ------------------------ = 43008 --------------- = 1792 -----------27000000 Da 27000 1125 Therefore, program Na = 1792 and Da = 1125 and toggle the custom audio clock update bit (6) of register 31h. Using registers 3Fh to 41h, the custom audio sampling frequency generated may then be multiplied by a factor of 64, 128, 256, or 512 before being presented to the ACLK pins. NOTE: The AFS reset described in Section 3.7.2 on page 63 will always remain active. 3.10 Custom Output Timing Signal Generation In addition to the devices’s pre-programmed output timing signals, the user may also build their own custom timing signals. This is achieved by setting VID_STD[5:0] = 62 and programming designated host registers. When programming custom output timing signals, the user must define the pixel, line, and field/frame timing parameters using registers 4Eh to 55h of the host interface (see Figure 3-12). For all custom formats, the VSync output will start on line 1 of the video field. The user may delay the VSync pulse to any line using the V_Offset register (see Section 3.2.1.1). When the user sets VID_STD[5:0] = 62, registers 4Eh to 55h will become read/write configurable and the device will initially continue to output timing signals based on the video format previously selected. Once the user has programmed all eight custom timing registers, generation of the new timing signals will begin. The frequency of the video clock will remain as previously selected unless otherwise modified as described in Section 3.9.1 on page 72. NOTE: If VID_STD[5:0] = 62 on power-up, the initial output timing signals will be set to the internal default timing of the chip until the user programs 4Eh to 55h. Clocks_Per_Line (4Eh) H Sync Clocks_Per_Hsync (4Fh) Hsync_To_EAV (51h) H Blanking Hsync_To_SAV (50h) Lines_Per_Field (52h) V Sync Lines_Per_Vsync (53h) Vsync_To_Last_Active_Line (55h) V Blanking Vsync_To_First_Active_Line (54h) Figure 3-12: Custom Timing Parameters GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 74 of 119 3.10.1 Custom Input Reference As explained in Section 3.5.2 on page 46, when VID_STD[5:0] = 62, the device will only verify that a stable signal with a period of less than 2.4ms is present on the HSYNC input pin before attempting to genlock. Therefore, in addition to programming custom output timing signals, the user may genlock the output timing signals to a custom reference pulse applied to HSYNC. In this case the user is required to manually program the video genlock block (see Section 3.6.2.1 on page 54). 3.11 Extended Audio Mode for HD Demux using the Gennum Audio Core The GS4911B/GS4910B has been designed to interface with Gennum's FPGA Audio Core in order to provide a 24.576MHz clock (512 * 48kHz) locked to the audio clock contained in the embedded audio data packets of an HD-SDI stream. It is the responsibility of the user to divide this clock by 4 to obtain the 6.144MHz required by the core. In HD Demux mode, the FPGA Audio Core will extract an audio clock from the embedded audio data packets and present a 24kHz clock to the GS4911B/GS4910B via the aclkdiv2a (for Group A) and aclkdiv2b (for Group B) outputs. The embedded clock must be 48kHz. The 24kHz reference signals for each audio group must be applied to the HSYNC input pin of a GS4911B/GS4910B, while a divided version of this signal must be applied to the VSYNC input pin. The divided signal must meet the requirements for VSYNC validity given in Section 3.5.2 on page 46. It is recommended that the VSYNC signal be generated by dividing the 24kHz reference applied to HSYNC by 512 to give 46.875Hz. To enable the extended audio mode, the user must do the following: 1. Set VID_STD[5:0] = 04h. 2. Set the F_Lock_Mask and V_Lock_Mask bits [4:3] of register address 16h to 1. 3. Set the Ext_Audio_Mode register address 81h to 20C1h. 4. Toggle the Update_Custom_V_Clock bit [6] of register address 16h. In this mode, the GS4911B/GS4910B will produce a 24.576MHz clock on its PCLK output pins that is locked to the 24kHz extracted audio clock reference applied to HSYNC. It will not lock to any other reference frequency. The user may then divide this frequency by 4 using the programmable dividers in the GS4911B/GS4910B. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 75 of 119 FPGA Serial Video Input Video Data GS1559 Deserializer PCLK vin[19:0] aclk64a wclka pclk aout1_2 aout3_4 /512 /512 GS49xxB PCLK1 aclk128a HD AUDIO DEMUX CORE aclk64b wclkb aout5_6 GS49xxB PCLK1 aclk128b aout7_8 aclkdiv2b aclkdiv2a Figure 3-13: Audio Clock Block Diagram for HD Demux Operation 3.12 GSPI Host Interface The GSPI, or Gennum Serial Peripheral Interface, is a 4-wire interface provided to allow the host to enable additional features of the GS4911B/GS4910B and/or to provide additional status information through configuration registers in the device. The GSPI comprises a serial data input signal, SDIN, a serial data output signal, SDOUT, an active low chip select, CS, and a burst clock, SCLK. The burst clock must have a duty cycle between 40% and 60%. 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 operating in GSPI mode, the SCLK, SDIN, and CS signals are provided by the application interface. The SDOUT pin is a non-clocked loop-through of SDIN and may be connected to the SDIN pin of another device, allowing multiple devices to be connected to the GSPI chain. The interface is illustrated in Figure 3-14. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 76 of 119 Application Host GS4911B/GS4910B SCLK SCLK CS1 CS SDOUT SDIN SDOUT GS4911B/GS4910B SCLK CS2 CS SDIN SDOUT SDIN Figure 3-14: GSPI Application Interface Connection All read or write access to the GS4911B/GS4910B is initiated and terminated by the host processor. Each access always begins with a 16-bit command word on SDIN indicating the address of the register of interest. This is followed by a 16-bit data word on SDIN in write mode, or a 16-bit data word on SDOUT in read mode. 3.12.1 Command Word Description The command word consists of 16 bits transmitted MSB first and includes a read/write bit, an Auto-Increment bit and a 12-bit address. Figure 3-15 shows the command word format and bit configurations. Command words are clocked into the GS4911B/GS4910B on the rising edge of the serial clock, SCLK, which operates in a burst fashion. 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 will be written into the address specified in the command word, and subsequent data words will be written into incremental addresses. This facilitates multiple address writes without sending a command word for each data word. Auto-Increment may be used for both read and write access. MSB R/W RSV LSB RSV AutoInc A11 A10 RSV = Reserved. Must be set to zero. A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 R/W: Read command when R/W = 1 Write command when R/W = 0 Figure 3-15: Command Word Format GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 77 of 119 MSB D15 LSB D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Figure 3-16: Data Word Format 3.12.2 Data Read and Write Timing Read and write mode timing for the GSPI interface is shown in Figure 3-17 and Figure 3-18 respectively. The timing parameters are defined in Table 3-12. When several devices are connected to the GSPI chain, only one CS should be asserted during a read sequence. During the write sequence, all command and following data words input at the SDIN pin are output at the SDOUT pin as is. Where several devices are connected to the GSPI chain, data can be written simultaneously to all the devices that have CS set LOW. Table 3-12: GSPI Timing Parameters Parameter Definition Specification t0 The minimum duration of time chip select, CS, must be LOW before the first SCLK rising edge. 1.5 ns t1 The minimum SCLK period. 100 ns t2 Duty cycle tolerated by SCLK. 40% to 60% t3 Minimum input setup time. 1.5 ns t4 The minimum duration of time between the last SCLK command word (or data word if the Auto-Increment bit is HIGH) and the first SCLK of the data word (write cycle). 37.1 ns t5 The minimum duration of time between the last SCLK command word (or data word if the Auto-Increment bit is HIGH) and the first SCLK of the data word (read cycle). 148.4 ns t6 Minimum output hold time (15pF load). 1.5 ns t7 The minimum duration of time between the last SCLK of the GSPI transaction and when CS can be set HIGH. 37.1 ns t8 Minimum input hold time. 1.5 ns GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 78 of 119 t5 SCLK t6 CS SDIN R/W RSV RSV AutoInc A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 SDOUT R/W RSV RSV AutoInc 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 D1 D2 D0 Figure 3-17: GSPI Read Mode Timing t0 t7 t4 t1 SCLK t3 CS t2 t8 SDIN R/W RSV RSV AutoInc 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 R/W RSV RSV AutoInc 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 3-18: GSPI Write Mode Timing 3.12.3 Configuration and Status Registers Table 3-13 summarizes the GS4911B/GS4910B's internal status and configuration registers. All registers are available to the host via the GSPI and are all individually addressable. Table 3-13: Configuration and Status Registers Register Name Address Bit Description R/W Default RSVD 00h - 09h – Reserved. – – H_Period 0Ah 15-0 Contains the number of 27MHz pulses in the input H Sync period. This register is set by the Reference Format Detector block using the H Sync signal present on the external HSYNC input pin. R N/A NOTE: If the reference is removed this register will remain unchanged until a new reference with a different HSYNC period is applied. Reference: Section 3.5.1 on page 45 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 79 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default H_16_Period 0Bh 15-0 Contains the number of 27MHz pulses in 16 H Sync periods. This register is set by the Reference Format Detector block using the H Sync signal present on the external HSYNC input pin. It is useful for 1/1.001 data detection. R N/A R N/A R N/A R N/A NOTE: If the reference is removed this register will remain unchanged until a new reference with a different HSYNC period is applied. Reference: Section 3.5.1 on page 45 V_Lines 0Ch 15-0 Contains the number of H Sync periods in the input V Sync interval. This register is set by the Reference Format Detector block using the signals present on the external HSYNC and VSYNC input pins. NOTE: If the reference is removed this register will remain unchanged until a new reference with a different VSYNC period is applied. Reference: Section 3.5.1 on page 45 V_2_Lines 0Dh 15-0 Contains the number of H Sync periods in 2 V Sync intervals. This register is set by the Reference Format Detector block using the signals present on the external HSYNC and VSYNC input pins. NOTE: If the reference is removed this register will remain unchanged until a new reference with a different VSYNC period is applied. Reference: Section 3.5.1 on page 45 F_Lines 0Eh 15-0 Contains the number of H Sync periods in the input F Sync interval. This register is set by the Reference Format Detector block using the signals present on the external HSYNC and FSYNC input pins. NOTE: If the reference is removed this register will remain unchanged until a new reference is applied. If the new reference does not include an FSYNC pulse, this register will be set to zero. Reference: Section 3.5.1 on page 45 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 80 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default H_16_Period 0Bh 15-0 Contains the number of 27MHz pulses in 16 H Sync periods. This register is set by the Reference Format Detector block using the H Sync signal present on the external HSYNC input pin. It is useful for 1/1.001 data detection. R N/A R N/A R N/A R N/A NOTE: If the reference is removed this register will remain unchanged until a new reference with a different HSYNC period is applied. Reference: Section 3.5.1 on page 45 V_Lines 0Ch 15-0 Contains the number of H Sync periods in the input V Sync interval. This register is set by the Reference Format Detector block using the signals present on the external HSYNC and VSYNC input pins. NOTE: If the reference is removed this register will remain unchanged until a new reference with a different VSYNC period is applied. Reference: Section 3.5.1 on page 45 V_2_Lines 0Dh 15-0 Contains the number of H Sync periods in 2 V Sync intervals. This register is set by the Reference Format Detector block using the signals present on the external HSYNC and VSYNC input pins. NOTE: If the reference is removed this register will remain unchanged until a new reference with a different VSYNC period is applied. Reference: Section 3.5.1 on page 45 F_Lines 0Eh 15-0 Contains the number of H Sync periods in the input F Sync interval. This register is set by the Reference Format Detector block using the signals present on the external HSYNC and FSYNC input pins. NOTE: If the reference is removed this register will remain unchanged until a new reference is applied. If the new reference does not include an FSYNC pulse, this register will be set to zero. Reference: Section 3.5.1 on page 45 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 81 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Input_Standard 0Fh 15-13 Reserved. Set these bits to zero when writing to 0Fh. – – 0Fh 12 Force_Input - Set this bit HIGH to force the GS4911B/GS4910B to recognize the applied input reference format as the standard programmed in bits 11-6 of this register. R/W 0 R/W 0 R/W N/A Reference: Section 3.2.1.2 on page 41 0Fh 11-6 Forced_Standard - When bit 12 is set HIGH, the GS4911B/GS4910B will use the value programmed in these bits, rather than the value in bits 5-0, to determine the input reference format. The 6-bit value programmed here should always correspond to the VID_STD[5:0] value of the applied reference. These bits should only be programmed as part of the Freeze mode procedure described in Section 3.2.1.2 on page 41. 0Fh 5-0 Detected_Standard - Contains the video standard applied to the input reference pins once it has been detected. These bits are set by the Reference Format Detector block and correspond to the VID_STD[5:0] value of the standard as listed in Table 1-2. The Detected_Standard bits will be set to zero if no input reference signal is applied or if the input reference signal is not an automatically recognized video format. Otherwise the value will be between 1 and 54. Reference: Section 3.5.2 on page 46 Amb_Std_Sel 10h 15-11 Reserved. Set these bits to zero when writing to 10h. – – 10h 10-0 The user may set this register to distinguish between different formats that look identical to the internal Reference Format Detector block. See Table 3-2. R/W 0 R/W 0 Reference: Section 3.5.2.1 on page 46 Reference_Standard_Disable 14h-11h 63-0 The Reference_Standard_Disable registers may be used to disable one or more of the recognized input standards from being used to genlock the output. This is done by setting the bit HIGH that corresponds to the VID_STD[5:0] value of the video standard in Table 1-2. For example, if bit 5 is set HIGH, then the output clock and timing signals will not genlock to an input reference with timing corresponding to VID_STD[5:0] = 5 in Table 1-2. Address 11h = bits 15-0 Address 12h = bits 31-16 Address 13h = bits 47-32 Address 14h = bits 63-48 Reference: Section 3.6 on page 50 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 82 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Genlock_Status 15h 15-6 Reserved. – – 15h 5 Reference_Lock - this bit will be HIGH when the output is successfully genlocked to the input (i.e. when bits 4-1 of this register are HIGH and are not masked by bits 4-2 of register 16h). R N/A R N/A R N/A R N/A R N/A R N/A The LOCK_LOST output pin is an inverted copy of this bit. Reference: Section 3.6.1 on page 50 15h 4 F_Lock - this bit will be HIGH when the output F is successfully genlocked to the FSYNC input. NOTE: If the input reference does not include an FSYNC input, this bit will have the same setting as V_Lock (bit 3). Reference: Section 3.6.1 on page 50 15h 3 V_Lock - this bit will be HIGH when the output V is successfully genlocked to the VSYNC input. Reference: Section 3.6.1 on page 50 15h 2 H_Lock - this bit will be HIGH when the output H is successfully genlocked to the HSYNC input. Reference: Section 3.6.1 on page 50 15h 1 Clock_Lock - this bit will be HIGH when the video clock is locked to the internal V_pll AND the audio clock is locked to the internal A_pll (i.e. bits 0 and 1 of register 1Fh are HIGH). Reference: Section 3.6.1 on page 50 15h 0 Reference_Present - this bit will be HIGH when a valid input reference signal has been applied to the device. The REF_LOST output pin is an inverted copy of this bit. Reference: Section 3.5.2 on page 46 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 83 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Genlock_Control 16h 15-7 Reserved. Set these bits to zero when writing to 16h. – – 16h 6 Update_Custom_V_Clock - this bit is used to update the custom video clock parameters programmed in registers 20h to 23h of the host interface. All non-zero parameters in these registers will be updated via a LOW to HIGH transition on this bit. R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 This bit is also used to enable the Extended Audio Mode of the device. 16h 5 Genlock_From_Host - set this bit HIGH to enable video genlock control via the Host Interface instead of the external GENLOCK pin (see bit 0 of this register). Reference: Section 3.2 on page 37 16h 4 F_Lock_Mask - if this bit is set HIGH, the GS4911B/GS4910B will ignore the status of F_Lock (bit 4 of register 15h) when determining the status of Reference_Lock (bit 5 of register 15h). Reference: Section 3.6.1 on page 50 16h 3 V_Lock_Mask - if this bit is set HIGH, the GS4911B/GS4910B will ignore the status of V_Lock (bit 3 of register 15h) when determining the status of Reference_Lock (bit 5 of register 15h). Reference: Section 3.6.1 on page 50 16h 2 H_Lock_Mask - if this bit is set HIGH, the GS4911B/GS4910B will ignore the status of H_Lock (bit 2 of register 15h) when determining the status of Reference_Lock (bit 5 of register 15h). Reference: Section 3.6.1 on page 50 16h 1 Drift_Crash - when this bit is set HIGH, the generated video clock will drift lock to a new input reference rather than crash lock. Reference: Section 3.6.3 on page 58 16h 0 GENLOCK - this bit may be used instead of the external pin to Genlock the output video format to the input reference. This bit will be ignored if bit 5 of this register is LOW. Reference: Section 3.2 on page 37 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 84 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Output_H_Reset 17h 15-0 When the output is genlocked to the input, the input reference is used to reset the line-based counter controlling the generated timing output signals. R/W – R/W – Programming this register to a non-zero value will over-ride the internal pixel-based counter. The counter reset will occur every Output_H_Reset lines instead of on a frame basis. This register is programmed when manually programming the internal video genlock block. The default value of this register will vary depending on the output video standard selected. Reference: Section 3.6.2 on page 54 Output_FV_Reset 18h 15-0 When the output is genlocked to the input, the input reference is used to reset the frame-based counter controlling the generated timing output signals. Programming this register to a non-zero value will over-ride the internal frame-based counter. The counter reset will occur every Output_FV_Reset input frames. This register is programmed when manually programming the internal video genlock block. NOTE: Once this register is programmed, it must be updated using register 19h. The default value of this register will vary depending on the output video standard selected. Reference: Section 3.6.2 on page 54 Frame_Divider_Reset 19h 15-2 Reserved. Set these bits to zero when writing to 19h. – – 19h 1 Ref_F_Sync - when Ref_F_Mode (bit 0 of 19h) is set HIGH, this bit is used to initialize the frame-based counter reset programmed in 18h. R/W 0 R/W 0 The reset pulse is generated if this bit is pulsed (LOW to HIGH to LOW) during the output frame immediately prior to the frame the reset is to occur. This register is programmed when manually programming the internal video genlock block. Reference: Section 3.6.2 on page 54 19h 0 Ref_F_Mode - set this bit HIGH to initialize the frame-based reset via the host interface (using bit 1 above). Reference: Section 3.6.2 on page 54 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 85 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default 10FID_AFS_Reset 1Ah 15-4 Reserved. Set these bits to zero when writing to 1Ah. – – 1Ah 3 AFS_Reset (GS4911B only) - set this bit HIGH to use Reset_Sync (bit 0 of register 1Ah) to reset the output AFS pulse. R/W 0 R/W 0 NOTE: This bit will remain LOW in the GS4910B. Set this bit LOW when writing to address 1Ah of the GS4910B. Reference: Section 3.7.2.1 on page 65 1Ah 2 10FID_Reset - set this bit HIGH to use Reset_Sync (bit 0 of register 1Ah) to reset the output 10FID pulse. NOTE: If a 10FID input signal is not provided to the device, the user must generate a reset using this bit to initiate the 10FID timing output. In this case, the 10FID input pin must be grounded. Reference: Section 3.7.2.1 on page 65 1Ah 1 Reserved. Set this bit to zero when writing to 1Ah. – – 1Ah 0 Reset_Sync - resets the pulses described in bits 2, and 3 above. R/W 0 R/W 0 The reset pulse is generated if this bit is pulsed (LOW to HIGH to LOW) during the output frame immediately prior to the frame the reset is to occur. This reset will operate independently of any other resets, for example from the reference input. H_Offset 1Bh 15-0 The output H signal may be delayed with respect to the input reference by the number of pixels programmed in this register. (See Section 3.2.1.1 on page 38). The value programmed in this register should not exceed the maximum number of clock periods per line of the outgoing standard. Horizontal advances may be achieved by programming a value equal to the maximum allowable offset minus the desired advance. NOTE: This register is internally read by the device once per field. At that time any new value programmed is sent to the internal offset circuitry. Reference: Section 3.2.1.1 on page 38 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 86 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default V_Offset 1Ch 15-0 The output V signal may be delayed with respect to the input reference by the number of lines programmed in this register. (See Section 3.2.1.1 on page 38). R/W 0 R/W 0 R/W 000Bh The value programmed in this register should not exceed the maximum number of lines per frame of the outgoing standard. Vertical advances may be achieved by programming a value equal to the maximum allowable offset minus the desired advance. NOTE: This register is internally read by the device once per field. At that time any new value programmed is sent to the internal offset circuitry. Reference: Section 3.2.1.1 on page 38 Clock_Phase_Offset 1Dh 15-0 Phase_Offset - The output clock and data phase may be offset with respect to the input reference by the number of increments programmed in this register. The increment step size depends on the video clock frequency. The encoding scheme for this register is shown in Table 3-1. NOTE: This register must be cleared to achieve a clock phase offset of zero. Reference: Section 3.2.1.1 on page 38 Max_Ref_Delta 1Eh 15-0 The value programmed in this register controls the allowed deviance from the expected frequency on the reference HSYNC before the internal video PLL loses lock. The encoding scheme is shown in Table 3-3. Reference: Section 3.5.4 on page 49 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 87 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Video_Status 1Fh 15-5 Reserved. – – 1Fh 4 Ref_H_Polarity - status register to indicate the detected H Sync polarity ('1' for positive, '0' for negative). R N/A R N/A R N/A R N/A R N/A R/W – This bit will be zero when no reference signal is present. Reference: Section 3.4.3 on page 45 1Fh 3 Ref_V_Polarity - status register to indicate the detected V Sync polarity ('1' for positive, '0' for negative). This bit will be zero when no reference signal is present and for digital blanking input references. Reference: Section 3.4.3 on page 45 1Fh 2 Ref_Blank_Timing - status register to indicate the input detection of H blanking vs. H sync timing (‘1’ for blanking, '0' for sync timing). This bit will be zero when no reference signal is present. Reference: Section 3.4.3 on page 45 1Fh 1 A_pll_Lock (GS4911B only)- this bit will be HIGH when the generated audio clock is locked to the video clock reference. NOTE: This bit will remain high in the GS4910B. Reference: bit 1 of register 15h. 1Fh 0 V_pll_Lock - this bit will be HIGH when the generated video clock is locked to the H Sync input reference. Reference: bit 1 of register 15h. Nv 21h-20h 31-0 A non-zero number programmed in this register defines the numerator for the ratio of the video clock to the 27MHz reference. This register can be used for creating custom video clock frequencies. NOTE: Once this register is programmed, it must be updated using bit 6 of register 16h. The default value of this register will vary depending on the output video standard selected. Address 20h = bits 15-0 Address 21h = bits 31-16 Reference: Section 3.9.1 on page 72 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 88 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Dv 23h-22h 31-0 A non-zero number programmed in this register defines the denominator for the ratio of the video clock to the 27MHz reference. R/W – R/W – R/W – R/W – – – This register can be used for creating custom video clock frequencies. NOTE: Once this register is programmed, it must be updated using bit 6 of register 16h. The default value of this register will vary depending on the output video standard selected. Address 22h = bits 15-0 Address 23h = bits 31-16 Reference: Section 3.9.1 on page 72 Constcf_Genlock 24h 15-8 Crash_Time - controls the crash lock period of video PLL locking process. This time contributes to the total PLL Lock Time given in the AC Characteristics Table. The time of the crash process in H reference periods is determined by [Crash_Time x 4] + 1. The default value of these bits will vary depending on the output video standard selected. Reference: Section 3.6.3 on page 58 24h 7-3 Lock_Lost_Threshold - controls the threshold of the lock indication circuit. A larger value programmed in this register can increase the stability of the LOCK_LOST output signal when the input H reference signal is subject to large amounts of low frequency jitter. A larger value in this register will also increase the lock indication time, although not the actual lock time of the device. The default value of these bits will vary depending on the output video standard selected. 24h 2-0 Run_Window - controls the output frequency error in the case of a missing or mis-timed H reference transition. The default value of this register allows the device to maintain genlock through one missing input H pulse. This feature can be disabled by programming Run_Window = 000b. In this case, the device will immediately react to any disturbance of the input H signal. The default value of these bits will vary depending on the output video standard selected. Reference: Section 3.5.3 on page 47 RSVD 25h – GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 Reserved. 89 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Video_Cap_Genlock 26h 15-6 Reserved. Set these bits to zero when writing to 26h. – – 26h 5-0 Control signal to adjust loop bandwidth of video genlock block. R/W – The value programmed in this register must be between 10 and Video_Res_Genlock - 21. The default value of this register will vary depending on the output video standard selected. Reference: Section 3.6.4 on page 58 Video_Res_Genlock 27h 15-6 Reserved. Set these bits to zero when writing to 27h. – – 27h 5-0 Control signal to adjust loop bandwidth of video genlock block. R/W – R/W – R/W – The value programmed in this register must be between 32 and 42. The default value of this register will vary depending on the output video standard selected. Reference: Section 3.6.4 on page 58 H_Feedback_Divide 29h-28h 31-0 In the internal video genlock block, this register defines the numerator of the divide ratio. This register may be programmed to manually genlock the output to the input reference. The default value of this register will vary depending on the output video standard selected. Address 28h = bits 15-0 Address 29h = bits 31-16 Reference: Section 3.6.2.1 on page 54 H_Reference_Divide 2Bh-2Ah 31-0 In the internal video genlock block, this register defines the denominator of the divide ratio. This register may be programmed to manually genlock the output to the input reference. The default value of this register will vary depending on the output video standard selected. Address 2Ah = bits 15-0 Address 2Bh = bits 31-16 Reference: Section 3.6.2.1 on page 54 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 90 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default PCLK1_Phase/Divide 2Ch 15-7 Reserved. Set these bits to zero when writing to 2Ch. – – 2Ch 6 Current_P1 - selects the current drive capability of the PCLK1 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 0 R/W 0 R/W 0 NOTE: The current drive should be set high if PCLK1 is greater than 100MHz. Reference: Section 3.7.1 on page 61 2Ch 5-2 PCLK1_Phase - adjusts the output phase of the PCLK1 clock with respect to the timing output pins. Phase is delayed in 700ps (nominal) increments as shown in Table 3-6. Reference: Section 3.7.1 on page 61 2Ch 1 Divide_By_4 - set this bit HIGH to divide the output PCLK1 by four. NOTE: Setting this bit and bit 0 simultaneously HIGH will hold the PCLK1 pin LOW. Reference: Section 3.7.1 on page 61 2Ch 0 Divide_By_2 - set this bit HIGH to divide the output PCLK1 by two. NOTE: Setting this bit and bit 1 simultaneously HIGH will hold the PCLK1 pin LOW. Reference: Section 3.7.1 on page 61 PCLK2_Phase/Divide 2Dh 15-7 Reserved. Set these bits to zero when writing to 2Dh. – – 2Dh 6 Current_P2 - selects the current drive capability of the PCLK2 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 0 R/W 0 R/W 0 NOTE: The current drive should be set high if PCLK2 is greater than 100MHz. Reference: Section 3.7.1 on page 61 2Dh 5-2 PCLK2_Phase - adjusts the output phase of the PCLK2 clock with respect to the timing output pins. Phase is delayed in 700ps (nominal) increments as shown in Table 3-6. Reference: Section 3.7.1 on page 61 2Dh 1 Divide_By_4 - set this bit HIGH to divide the output PCLK2 by four. NOTE: Setting this bit and bit 0 simultaneously HIGH will hold the PCLK2 pin LOW. Reference: Section 3.7.1 on page 61 2Dh 0 Divide_By_2 - set this bit HIGH to divide the output PCLK2 by two. NOTE: Setting this bit and bit 1 simultaneously HIGH will hold the PCLK2 pin LOW. Reference: Section 3.7.1 on page 61 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 91 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default PCLK3_Phase/Divide 2Eh 15-6 Reserved. Set these bits to zero when writing to 2Eh. – – 2Eh 5-2 PCLK3_Phase - adjusts the output phase of the PCLK3/PCLK3 clock with respect to the timing output pins. Phase is delayed in 700ps (nominal) increments as shown in Table 3-6. R/W 0 R/W 0 R/W 0 Reference: Section 3.7.1 on page 61 2Eh 1 Divide_By_4 - set this bit HIGH to divide the output PCLK3/PCLK3 by four. Setting this bit and bit 0 simultaneously HIGH will give the full rate video clock on the PCLK3 / PCLK3 pins. Reference: Section 3.7.1 on page 61 2Eh 0 Divide_By_2 - set this bit HIGH to divide the output PCLK3/PCLK3 by two. Setting this bit and bit 1 simultaneously HIGH will give the full rate video clock on the PCLK3 / PCLK3 pins. Reference: Section 3.7.1 on page 61 PCLK3_Tristate 2Fh 15-2 Reserved. Set these bits to zero when writing to 2Fh. – – 2Fh 1-0 Set these bits to 11b to tristate the PCLK3 / PCLK3 pins. R/W 00b – – Reference: Section 3.7.1 on page 61 RSVD 2Fh - 30h – GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 Reserved. 92 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Audio_Control (GS4911B only) 31h 15-10 Reserved. Set these bits to zero when writing to 31h. – – 31h 9-7 AFS_Reset_Window - These bits may be used to adjust the value by which the audio clock counters are allowed to drift from the output AFS pulse. R/W 010b The encoding scheme for this register is shown in Table 3-9. NOTE: The default setting of this register will provide a reset window that is sufficient for most standards. To maintain correct audio clock frequencies for some VESA standards, the reset window may have to be increased from its default setting. In this case, set the value of this register to 1XX. See Table 3-9. Reference: Section 3.7.2 on page 63 31h 6 Update_Custom_A_Clock - this bit is used to update the custom audio clock parameters programmed in registers 33h to 36h of the host interface. All non-zero parameters in these registers will be updated via a LOW to HIGH transition on this bit. R/W 0 31h 5 Enable_384fs - set this bit HIGH to enable the 384fs and 192fs audio clock outputs. This must be set in addition to registers 3Fh to 41h. R/W 0 NOTE: If this bit is HIGH, then a 512fs audio clock will have a 33% duty cycle when fs = 96kHz. Reference: Section 3.7.2 on page 63 31h 4-3 Reserved. Set these bits to zero when writing to 31h. – – 31h 2 Host_ASR_SEL - set this bit HIGH to select the audio sample rate using register 32h instead of the external ASR_SEL[2:0] pins. R/W 0 R/W 0 R/W 0 The external ASR_SEL[2:0] pins will be ignored, but should not be left floating. Reference: Section 3.7.2 on page 63 31h 1 AFS_F_Pulse - set this bit to 1 to stretch the AFS pulse duration from 1 line to 1 field. Reference: Section 3.8.2 on page 68 31h 0 AFS_Reset_Disable - set this bit HIGH to disable the 10FID input reference pin from resetting the output AFS pulse. If this bit is set HIGH, the output AFS pulse will free-run or may be reset using register 1Ah. The external 10FID pin should not be left floating. Reference: Section 3.8.2 on page 68 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 93 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default ASR_SEL[2:0] (GS4911B only) 32h 15-3 Reserved. Set these bits to zero when writing to 32h. – – 32h 2-0 Replaces the external ASR_SEL[2:0] pins when Host_ASR_Select (bit 2 of address 31h) is HIGH. R/W 011b R/W – R/W – The default setting of this register corresponds to an audio sample rate of 48kHz. Reference: Section 3.7.2 on page 63 Na (GS4911B only) 34h-33h 31-0 A non-zero number programmed in this register defines the numerator for the ratio of the audio clock to the 27MHz reference. NOTE: Once this register is programmed, it must be updated using bit 6 of register 31h. The default value of this register will vary depending on the output audio rate selected. Address 33h = bits 15-0 Address 34h = bits 31-16 Reference: Section 3.9.2 on page 73. Da (GS4911B only) 36h-35h 31-0 A non-zero number programmed in this register defines the denominator for the ratio of the audio clock to the 27MHz reference. NOTE: Once this register is programmed, it must be updated using bit 6 of register 31h. The default value of this register will vary depending on the output audio rate selected. Address 35h = bits 15-0 Address 36h = bits 31-16 Reference: Section 3.9.2 on page 73. RSVD 37h - 38h – Reserved. – – Audio_Cap_Genlock (GS4911B only) 39h 15-6 Reserved. Set these bits to zero when writing to 39h. – – 39h 5-0 Control signal to adjust loop bandwidth of audio genlock block. R/W – The value programmed in this register must be between 10 and Audio_Res_Genlock - 21. The default value of this register will depend on the fundamental sampling frequency selected. Reference: Section 3.6.4 on page 58 Audio_Res_Genlock (GS4911B only) 3Ah 15-6 Reserved. Set these bits to zero when writing to 3Ah. – – 3Ah 5-0 Control signal to adjust loop bandwidth of audio genlock block. R/W – The value programmed in this register must be between 32 and 42. The default value of this register will depend on the fundamental sampling frequency selected. Reference: Section 3.6.4 on page 58 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 94 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default A_Feedback_Divide (GS4911B only) 3Ch-3Bh 31-0 In the internal audio genlock block, this register defines the numerator of the divide ratio. R/W – R/W – This register may be programmed to manually genlock the audio clock to the video clock. The default value of this register will vary depending on the output video standard selected. Address 3Bh = bits 15-0 Address 3Ch = bits 31-16 Reference: Section 3.6.2.2 on page 56 A_Reference_Divide (GS4911B only) 3Eh-3Dh 31-0 In the internal audio genlock block, this register defines the denominator of the divide ratio. This register may be programmed to manually genlock the audio clock to the video clock. The default value of this register will vary depending on the output video standard selected. Address 3Dh = bits 15-0 Address 3Eh = bits 31-16 Reference: Section 3.6.2.2 on page 56 ACLK1_fs_Multiple (GS4911B only) 3Fh 15-3 Reserved. Set these bits to zero when writing to 3Fh. – – 3Fh 2-0 The user may set this register to select the desired frequency of the audio clock on ACLK1 (a multiple of the fundamental sampling rate, fs). The audio clock frequency may be set as: 512fs, 384fs, 256fs, 192fs, 128fs, 64fs, fs, or z-bit. See Table 3-8 for more details. R/W 0 NOTE: To output a frequency of 348fs or 192fs, bit 5 of register 31h must also be set HIGH. Reference: Section 3.7.2 on page 63 ACLK2_fs_Multiple (GS4911B only) 40h 15-3 Reserved. Set these bits to zero when writing to 40h. – – 40h 2-0 The user may set this register to select the desired frequency of the audio clock on ACLK2 (a multiple of the fundamental sampling rate, fs). The audio clock frequency may be set as: 512fs, 384fs, 256fs, 192fs, 128fs, 64fs, fs, or z-bit. See Table 3-8 for more details. R/W 0 NOTE: To output a frequency of 348fs or 192fs, bit 5 of register 31h must also be set HIGH. Reference: Section 3.7.2 on page 63 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 95 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default ACLK3_fs_Multiple (GS4911B only) 41h 15-3 Reserved. Set these bits to zero when writing to 41h. – – 41h 2-0 The user may set this register to select the desired frequency of the audio clock on ACLK3 (a multiple of the fundamental sampling rate, fs). The audio clock frequency may be set as: 512fs, 384fs, 256fs, 192fs, 128fs, 64fs, fs, or z-bit. See Table 3-8 for more details. R/W 0 NOTE: To output a frequency of 348fs or 192fs, bit 5 of register 31h must also be set HIGH. Reference: Section 3.7.2 on page 63 RSVD 42h – Reserved. – – Output_Select_1 43h 15-5 Reserved. Set these bits to zero when writing to 43h. – – 43h 4 Current_1 - selects the current drive capability of the TIMING_OUT_1 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 0001b Reference: Section 3.8.4 on page 71 43h 3-0 This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_1 pin. See Table 3-11 for more details. Note: The default setting of this register is 0001b, which corresponds to H Sync. Reference: Section 3.8.4 on page 71 Output_Select_2 44h 15-5 Reserved. Set these bits to zero when writing to 44h. – – 44h 4 Current_2 - selects the current drive capability of the TIMING_OUT_2 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 0010b Reference: Section 3.8.4 on page 71 44h 3-0 This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_2 pin. See Table 3-11 for more details. Note: The default setting of this register is 0010b, which corresponds to H Blanking. Reference: Section 3.8.4 on page 71 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 96 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Output_Select_3 45h 15-5 Reserved. Set these bits to zero when writing to 45h. – – 45h 4 Current_3 - selects the current drive capability of the TIMING_OUT_3 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 0011b Reference: Section 3.8.4 on page 71 45h 3-0 This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_3 pin. See Table 3-11 for more details. Note: The default setting of this register is 0011b, which corresponds to V Sync. Reference: Section 3.8.4 on page 71 Output_Select_4 46h 15-5 Reserved. Set these bits to zero when writing to 46h. – – 46h 4 Current_4 - selects the current drive capability of the TIMING_OUT_4 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 0100b Reference: Section 3.8.4 on page 71 46h 3-0 This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_4 pin. See Table 3-11 for more details. Note: The default setting of this register is 0100b, which corresponds to V Blanking. Reference: Section 3.8.4 on page 71 Output_Select_5 47h 15-5 Reserved. Set these bits to zero when writing to 47h. – – 47h 4 Current_5 - selects the current drive capability of the TIMING_OUT_5 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 0101b Reference: Section 3.8.4 on page 71 47h 3-0 This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_5 pin. See Table 3-11 for more details. Note: The default setting of this register is 0101b, which corresponds to F Sync. Reference: Section 3.8.4 on page 71 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 97 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Output_Select_6 48h 15-5 Reserved. Set these bits to zero when writing to 48h. – – 48h 4 Current_6 - selects the current drive capability of the TIMING_OUT_6 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 0110b Reference: Section 3.8.4 on page 71 48h 3-0 This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_6 pin. See Table 3-11 for more details. Note: The default setting of this register is 0110b, which corresponds to F Digital. Reference: Section 3.8.4 on page 71 Output_Select_7 49h 15-5 Reserved. Set these bits to zero when writing to 49h. – – 49h 4 Current_7 - selects the current drive capability of the TIMING_OUT_7 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 0111b Reference: Section 3.8.4 on page 71 49h 3-0 This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_7 pin. See Table 3-11 for more details. Note: The default setting of this register is 0111b, which corresponds to 10FID. Reference: Section 3.8.4 on page 71 Output_Select_8 4Ah 15-5 Reserved. Set these bits to zero when writing to 4Ah. – – 4Ah 4 Current_8 - selects the current drive capability of the TIMING_OUT_8 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. R/W 0 R/W 1000b – – Reference: Section 3.8.4 on page 71 4Ah 3-0 This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_8 pin. See Table 3-11 for more details. Note: The default setting of this register is 1000b, which corresponds to Display Enable (DE). Reference: Section 3.8.4 on page 71 RSVD 4Bh – GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 Reserved. 98 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Video_Control 4Ch 15-5 Reserved. Set these bits to zero when writing to 4Ch. – – 4Ch 4 10FID_F_pulse - set this bit HIGH to stretch the 10FID pulse duration from 1 line to 1 field. R/W 0 Reference: Section 3.8.1 on page 67 4Ch 3-2 Reserved. Set these bits to zero when writing to 4Ch. – – 4Ch 1 Host_VID_STD - set this bit HIGH to select the output video standard using register 4Dh instead of the external VID_STD[5:0] pins. R/W 0 The external VID_STD[5:0] pins will be ignored, but should not be left floating. Reference: Section 1.4 on page 20 VID_STD[5:0] 4Ch 0 Reserved. Set this bit to zero when writing to 4Ch. – – 4Dh 15-6 Reserved. Set these bits to zero when writing to 4Dh. – – 4Dh 5-0 Replaces the external VID_STD[5:0] pins when VID_From_Host (bit 1 of address 4Ch) is HIGH. R/W 00h R/W – R/W – R/W – R/W – Reference: Section 1.4 on page 20 Clocks_Per_Line 4Eh 15-0 Contains the number of output video clock cycles per line for the selected output timing format. If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74 Clocks_Per_Hsync 4Fh 15-0 Contains the number of output video clock cycles in the active H Sync interval for the selected output timing format. If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74 Hsync_To_SAV 50h 15-0 Contains the number of output video clock cycles from the start of H Sync to the start of active video for the selected output timing format. If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74 Hsync_To_EAV 51h 15-0 Contains the number of output video clock cycles from the start of H Sync to the end of active video for the selected output timing format. If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 99 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Lines_Per_Field 52h 15-0 Contains the number of lines per field for the selected output timing format. R/W – R/W – R/W – This register is 15.1 encoded (i.e. bit 0 represents 0.5 when set HIGH and 0 when set LOW). If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. NOTE: When bit 0 of this register is programmed HIGH, the device assumes an interlaced output. Otherwise it assumes a progressive output. For example, programming ‘262.5’d will result in an interlaced output standard with 525 lines per frame. Programming ‘525’d will result in a progressive output with 525 lines per frame. Reference: Section 3.10 on page 74 Lines_Per_Vsync 53h 15-0 Contains the number of lines per active V Sync interval for the selected output timing format. This register is 15.1 encoded (i.e. bit 0 represents '0.5' when set HIGH and '0' when set LOW). If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74 Vsync_To_First_Active_Line 54h 15-0 Contains the number of lines from the start of V Sync to the start of active video for the selected output timing format. This register is 15.1 encoded (i.e. bit 0 represents '0.5' when set HIGH and '0' when set LOW). If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. NOTE1: The value programmed in this register will be increased by 1 by the device such that V Blanking signal generated will be one line longer than programmed. NOTE2: For the pre-programmed output video standards 3, 5, and 7, the value contained in this register is incorrectly reported as 17 lines, although the actual timing produced is correct at 16 lines. Reference: Section 3.10 on page 74 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 100 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Vsync_To_Last_Active_Line 55h 15-0 Contains the number of lines from the start of V Sync to the end of active video for the selected output timing format. R/W – This register is 15.1 encoded (i.e. bit 0 represents '0.5' when set HIGH and '0' when set LOW). If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. NOTE: The user cannot specify a custom vertical blanking signal to end in the middle of a line. If this occurs, the device will automatically adjust the timing of the signal to fall at the beginning of the next line. Reference: Section 3.10 on page 74 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 101 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Polarity 56h 15-10 Reserved. Set these bits to zero when writing to 56h. – – 56h 9 AFS (GS4911B only)- set this bit HIGH to invert the polarity of the AFS timing output signal. R/W 0 R/W 0 R/W 0 By default, the AFS signal is HIGH for the duration of the first line of the n’th video frame to indicate that the ACLK dividers have been reset at the start of line 1 of that frame. NOTE: The GS4910B does not generate an AFS pulse and will ignore the setting of this bit. Reference: Table 1-3 56h 8 10FID - set this bit HIGH to invert the polarity of the 10FID timing output signal. By default, the 10FID signal will go HIGH for one line at the start of the 10-field sequence. Reference: Table 1-3 56h 7 DE - set this bit HIGH to invert the polarity of the DE timing output signal. By default, the DE signal will be HIGH whenever pixel information is to be displayed on the display device Reference: Table 1-3 56h 6 Reserved. Set this bit to zero when writing to 56h. – – 56h 5 F_Digital - set this bit HIGH to invert the polarity of the F Digital timing output signal. R/W 0 R/W 0 R/W 0 By default, the F Digital signal will be LOW for the entire period of field 1. Reference: Table 1-3 56h 4 F_Sync - set this bit HIGH to invert the polarity of the F Sync timing output signal. By default, the F Sync signal will be HIGH for the entire period of field 1. Reference: Table 1-3 56h 3 V_Blanking - set this bit HIGH to invert the polarity of the V Blanking timing output signal. By default, the V Blanking signal will be LOW for the portion of the field/frame containing valid video data. Reference: Table 1-3 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 102 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default 56h 2 V_Sync - set this bit HIGH to invert the polarity of the V Sync timing output signal. R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 By default, the V Sync signal is active LOW. Reference: Table 1-3 56h 1 H_Blanking - set this bit HIGH to invert the polarity of the H Blanking timing output signal. By default, the H Blanking signal will be LOW for the portion of the video line containing valid video samples. Reference: Table 1-3 56h 0 H_Sync - set this bit HIGH to invert the polarity of the H Sync timing output signal. By default, the H Sync signal is active LOW. Reference: Table 1-3 H_Start_1 57h 15-0 The value programmed in this register indicates the pixel start point for the leading edge of the user-programmed H Sync signal USER1_H. NOTE: The value programmed in this register must be less than the value programmed in H_Stop_1. Reference: Section 3.8.3 on page 69 H_Stop_1 58h 15-0 The value programmed in this register indicates the pixel end point for the trailing edge of the user-programmed H Sync signal USER1_H. NOTE: The value programmed in this register must not exceed the maximum number of clock periods per line of the outgoing standard. Reference: Section 3.8.3 on page 69 V_Start_1 59h 15 Reserved. Set this bit to zero when writing to 59h. – – 59h 14-0 The value programmed in this register indicates the start line number of the leading edge of the user-programmed V Sync signal USER1_V. For interlaced output standards, this value corresponds to the odd field number. R/W 0 NOTE: The value programmed in this register must be less than the value programmed in V_Stop_1. Reference: Section 3.8.3 on page 69 V_Stop_1 5Ah 15 Reserved. Set this bit to zero when writing to 5Ah. – – 5Ah 14-0 The value programmed in this register indicates the end line number of the trailing edge of the user-programmed V Sync signal USER1_V. For interlaced output standards, this value corresponds to the odd field number. R/W 0 NOTE: The value programmed in this register must not exceed the maximum number of lines per field of the outgoing standard. Reference: Section 3.8.3 on page 69 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 103 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Operator_Polarity_1 5Bh 15-4 Reserved. Set these bits to zero when writing to 5Bh. – – 5Bh 3 Polarity_1 - Use this bit to invert the polarity of the final USER1 signal. R/W 1 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 By default, the polarity of the user programmed signals is active LOW. The polarity may be switched to active HIGH by setting this bit LOW. Reference: Section 3.8.3 on page 69 5Bh 2 AND_1 - logical operator: USER1_H AND USER1_V Set this bit HIGH to output a signal that is only active when both USER1_H and USER1_V are active. When this bit is HIGH, bit 1 and bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69 5Bh 1 OR_1 - logical operator: USER1_H OR USER1_V Set this bit HIGH to output a signal that is active whenever USER1_H or USER1_V are active. When this bit is HIGH bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69 5Bh 0 XOR_1 - logical operator: USER1_H XOR USER1_V Set this bit HIGH to output a signal with the following attributes: Signal becomes active when either USER1_H or USER1_V is active. Signal is inactive when USER1_H and USER1_V are both active or both inactive. Reference: Section 3.8.3 on page 69 H_Start_2 5Ch 15-0 The value programmed in this register indicates the pixel start point for the leading edge of the user-programmed H Sync signal USER2_H. NOTE: The value programmed in this register must be less than the value programmed in H_Stop_2 Reference: Section 3.8.3 on page 69 H_Stop_2 5Dh 15-0 The value programmed in this register indicates the pixel end point for the trailing edge of the user-programmed H Sync signal USER2_H. NOTE: The value programmed in this register must not exceed the maximum number of clock periods per line of the outgoing standard. Reference: Section 3.8.3 on page 69 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 104 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default V_Start_2 5Eh 15 Reserved. Set this bit to zero when writing to 5Eh. – – 5Eh 14-0 The value programmed in this register indicates the start line number of the leading edge of the user-programmed V Sync signal USER2_V. For interlaced output standards, this value corresponds to the odd field line number. R/W 0 NOTE: The value programmed in this register must be less than the value programmed in V_Stop_2. Reference: Section 3.8.3 on page 69 V_Stop_2 5Fh 15 Reserved. Set this bit to zero when writing to 5Fh. – – 5Fh 14-0 The value programmed in this register indicates the end line number of the trailing edge of the user-programmed V Sync signal USER2_V. For interlaced output standards, this value corresponds to the odd field line number. R/W 0 NOTE: The value programmed in this register must not exceed the maximum number of lines per field of the outgoing standard. Reference: Section 3.8.3 on page 69 Operator_Polarity_2 60h 15-4 Reserved. Set these bits to zero when writing to 60h. – – 60h 3 Polarity_2 - Use this bit to invert the polarity of the final USER2 signal. R/W 1 R/W 0 R/W 0 R/W 0 By default, the polarity of the user programmed signals is active LOW. The polarity may be switched to active HIGH by setting this bit LOW. Reference: Section 3.8.3 on page 69 60h 2 AND_2 - logical operator: USER2_H AND USER2_V Set this bit HIGH to output a signal that is only active when both USER2_H and USER2_V are active. When this bit is HIGH, bit 1 and bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69 60h 1 OR_2 - logical operator: USER2_H OR USER2_V Set this bit HIGH to output a signal that is active whenever USER2_H or USER2_V are active. When this bit is HIGH bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69 60h 0 XOR_2 - logical operator: USER2_H XOR USER2_V Set this bit HIGH to output a signal with the following attributes: Signal becomes active when either USER2_H or USER2_V is active. Signal is inactive when USER2_H and USER2_V are both active or both inactive. Reference: Section 3.8.3 on page 69 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 105 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default H_Start_3 61h 15-0 The value programmed in this register indicates the pixel start point for the leading edge of the user-programmed H Sync signal USER3_H. R/W 0 R/W 0 NOTE: The value programmed in this register must be less than the value programmed in H_Stop_3. Reference: Section 3.8.3 on page 69 H_Stop_3 62h 15-0 The value programmed in this register indicates the pixel end point for the trailing edge of the user-programmed H Sync signal USER3_H. NOTE: The value programmed in this register must not exceed the maximum number of clock periods per line of the outgoing standard. Reference: Section 3.8.3 on page 69 V_Start_3 63h 15 Reserved. Set this bit to zero when writing to 63h. – – 63h 14-0 The value programmed in this register indicates the start line number of the leading edge of the user-programmed V Sync signal USER3_V. For interlaced output standards, this value corresponds to the odd field line number. R/W 0 NOTE: The value programmed in this register must be less than the value programmed in V_Stop_3. Reference: Section 3.8.3 on page 69 V_Stop_3 64h 15 Reserved. Set this bit to zero when writing to 64h. – – 64h 14-0 The value programmed in this register indicates the end line number of the trailing edge of the user-programmed V Sync signal USER3_V. For interlaced output standards, this value corresponds to the odd field line number. R/W 0 NOTE: The value programmed in this register must not exceed the maximum number of lines per field of the outgoing standard. Reference: Section 3.8.3 on page 69 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 106 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Operator_Polarity_3 65h 15-4 Reserved. Set these bits to zero when writing to 65h. – – 65h 3 Polarity_3 - Use this bit to invert the polarity of the final USER3 signal. R/W 1 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 By default, the polarity of the user programmed signals is active LOW. The polarity may be switched to active HIGH by setting this bit LOW. Reference: Section 3.8.3 on page 69 65h 2 AND_3 - logical operator: USER3_H AND USER3_V Set this bit HIGH to output a signal that is only active when both USER3_H and USER3_V are active. When this bit is HIGH, bit 1 and bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69 65h 1 OR_3 - logical operator: USER3_H OR USER3_V Set this bit HIGH to output a signal that is active whenever USER3_H or USER3_V are active. When this bit is HIGH bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69 65h 0 XOR_3 - logical operator: USER3_H XOR USER3_V Set this bit HIGH to output a signal with the following attributes: Signal becomes active when either USER3_H or USER3_V is active. Signal is inactive when USER3_H and USER3_V are both active or both inactive. Reference: Section 3.8.3 on page 69 H_Start_4 66h 15-0 The value programmed in this register indicates the pixel start point for the leading edge of the user-programmed H Sync signal USER4_H. NOTE: The value programmed in this register must be less than the value programmed in H_Stop_4. Reference: Section 3.8.3 H_Stop_4 67h 15-0 The value programmed in this register indicates the pixel end point for the trailing edge of the user-programmed H Sync signal USER4_H. NOTE: The value programmed in this register must not exceed the maximum number of clock periods per line of the outgoing standard. Reference: Section 3.8.3 on page 69 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 107 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default V_Start_4 68h 15 Reserved. Set this bit to zero when writing to 68h. – – 68h 14-0 The value programmed in this register indicates the start line number of the leading edge of the user-programmed V Sync signal USER4_V. For interlaced output standards, this value corresponds to the odd field line number. R/W 0 NOTE: The value programmed in this register must be less than the value programmed in V_Stop_4. Reference: Section 3.8.3 on page 69 V_Stop_4 69h 15 Reserved. Set this bit to zero when writing to 69h. – – 69h 14-0 The value programmed in this register indicates the end line number of the trailing edge of the user-programmed V Sync signal USER4_V. For interlaced output standards, this value corresponds to the odd field line number. R/W 0 NOTE: The value programmed in this register must not exceed the maximum number of lines per field of the outgoing standard. Reference: Section 3.8.3 on page 69 Operator_Polarity_4 6Ah 15-4 Reserved. Set these bits to zero when writing to 6Ah. – – 6Ah 3 Polarity_4 - Use this bit to invert the polarity of the final USER4 signal. R/W 1 R/W 0 R/W 0 R/W 0 By default, the polarity of the user programmed signals is active LOW. The polarity may be switched to active HIGH by setting this bit LOW. Reference: Section 3.8.3 on page 69 6Ah 2 AND_4 - logical operator: USER4_H AND USER4_V Set this bit HIGH to output a signal that is only active when both USER4_H and USER4_V are active. When this bit is HIGH, bit 1 and bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69 6Ah 1 OR_4 - logical operator: USER4_H OR USER4_V Set this bit HIGH to output a signal that is active whenever USER4_H or USER4_V are active. When this bit is HIGH bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69 6Ah 0 XOR_4 - logical operator: USER4_H XOR USER4_V Set this bit HIGH to output a signal with the following attributes: Signal becomes active when either USER4_H or USER4_V is active. Signal is inactive when USER4_H and USER4_V are both active or both inactive. Reference: Section 3.8.3 on page 69 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 108 of 119 Table 3-13: Configuration and Status Registers (Continued) Register Name Address Bit Description R/W Default Ext_Audio_Mode 81h 15-0 Set this register to 20C1h to enable the Extended Audio Mode of the device. R/W 0 R/W 0 – – To fully enable this mode, VID_STD[5:0] must be set to 4d, and the F_Lock_Mask and V_Lock_Mask bits [4:3] of register address 16h must be set to 1. NOTE: Once this register is programmed, it must be updated using bit 6 of register 16h. Reference: Section 3.11 on page 75 Ln_Count_Reset 83h 15 Toggle this bit to reset the line-based counters in the device. This is only required when locking the “f/1.001” HD output standards to the 525-line SD input reference standards, or vice-versa, AND: 1. The reference has been removed and subsequently re-applied. In this case, the user should wait until the reference has been re-detected by the device, which may take up to 4 frames. See Section 3.5.3 on page 47. OR 2. The device is locked to blanking signals from a deserializer, and the SDI input to the deserializer has been switched upstream from the system. See Section 3.6.5 on page 60. 83h 14-0 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 Reserved. Set these bits to zero when writing to 83h. 109 of 119 3.13 JTAG When the JTAG/HOST input pin of the GS4911B/GS4910B is set HIGH, the host interface port will be configured for JTAG test operation. In this mode, pins 57 through 60 become TCLK, TDI, TDO, and TMS. In addition, the RESET pin will operate as the test reset pin. Boundary scan testing using the JTAG interface will be enabled in this mode. There are two methods in which JTAG can be used on the GS4911B/GS4910B: 1. As a stand-alone JTAG interface to be used at in-circuit ATE (Automatic Test Equipment) during PCB assembly; or 2. Under control of the host 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 high-impedance buffers used in conjunction with the JTAG/HOST input signal. This is shown in Figure 3-19. Application HOST GS4911B/GS4910B CS_TMS SCLK_TCLK SDIN_TDI SDOUT_TDO JTAG/HOST In-circuit ATE probe Figure 3-19: In-Circuit JTAG Alternatively, if the test capabilities are to be used in the system, the host 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 3-20. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 110 of 119 Application HOST GS4911B/GS4910B CS_TMS SCLK_TCLK SDIN_TDI SDOUT_TDO JTAG/HOST Tri-State In-circuit ATE probe Figure 3-20: System JTAG NOTE: When running boundary scan testing, the TIMING_OUT_n pins should be set to high-impedance by setting VID_STDn to 000h. 3.14 Device Power-Up 3.14.1 Power Supply Sequencing The GS4911B/GS4910B has a recommended power supply sequence. To ensure correct power-up, the ANALOG_VDD and CORE_VDD power pins should be powered before IO_VDD. Device pins may be driven prior to power-up without causing damage. 3.15 Device Reset In order to initialize operating conditions to their default states, the application layer must hold the RESET signal LOW during power up and for a minimum of 500us after the last supply has reached its operating voltage. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 111 of 119 4. Application Reference Design 4.1 GS4911B Typical Application Circuit JTAG/HOSTb SCLK SDIN SDOUT CSb VDD_IO VDD_IO 10n 10n 1V8_VPLL 1V8_PCLK 10n 10n 22R GND_VPLL RESETb PCLK1 22R PCLK2 GENLOCKb Controlled impedance 100-ohms differential PCLK3 PCLK3b GENLOCK NC IO_VDD RESET CS_TMS SDOUT_TDO SDIN_TDI SCLK_TCLK JTAG/HOST PHS_GND PHS_VDD PCLK1&2_VDD PCLK1&2_GND PCLK1 IO_VDD PCLK2 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 LOCK_LOST REF_LOST 1V8_VPLL 10n 1V8_PCLK VDD_IO 1V8_CORE 10n 38pF GND_VPLL 1M 10n 24pF 0R GND_XTAL 1V8_APLL GND_XTAL 10n LOCK_LOST REF_LOST VID_PLL_VDD VID_PLL_GND XTAL_VDD X1 X2 XTAL_GND CORE_GND ANALOG_VDD NC ANALOG_GND AUD_PLL_GND AUD_PLL_VDD 10FID HSYNC GS4911B GND_APLL The 10FID input must be grounded if it will not be used 65 LVDS/PCLK3_GND PCLK3 PCLK3 LVDS/PCLK3_VDD CORE_VDD TIMING_OUT8 TIMING_OUT7 TIMING_OUT6 TIMING_OUT5 TIMING_OUT4 IO_VDD TIMING_OUT3 TIMING_OUT2 TIMING_OUT1 ASR_SEL0 ASR_SEL1 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 10n 22R 22R 22R 22R 22R 22R 22R 22R 10n TIMING8 TIMING7 TIMING6 TIMING5 TIMING4 TIMING3 TIMING2 TIMING1 VSYNC IO_VDD FSYNC NC VID_STD0 VID_STD1 VID_STD2 VID_STD3 VID_STD4 CORE_VDD VID_STD5 ACLK1 ACLK2 ACLK3 IO_VDD ASR_SEL2 VDD_XTAL 27MHz 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 GND_PAD 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 10FID HSYNC VSYNC FSYNC 22R 22R 22R VDD_IO 1V8_CORE 10n ACLK1 ACLK2 ACLK3 10n NOTE: The GS4911A inputs are 5V tolerant for 3V3 I/O operation only (IO_VDD=3V3) 10n VID_STD0 VID_STD1 VID_STD2 VID_STD3 VID_STD4 VID_STD5 ASR_SEL0 ASR_SEL1 ASR_SEL2 NOTE: For a solution with the lowest output jitter, the GS1531 or GS1532 serializers are recommended for use with the GS4911B/GS4910B. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 112 of 119 4.2 GS4910B Typical Application Circuit JTAG/HOSTb SCLK SDIN SDOUT CSb VDD_IO VDD_IO 10n 10n 1V8_PCLK 1V8_VPLL 10n 10n GND_VPLL 22R RESETb PCLK1 22R PCLK2 GENLOCKb Controlled impedance 100-ohms differential PCLK3 PCLK3b GENLOCK NC IO_VDD RESET CS_TMS SDOUT_TDO SDIN_TDI SCLK_TCLK JTAG/HOST PHS_GND PHS_VDD PCLK1&2_VDD PCLK1&2_GND PCLK1 IO_VDD PCLK2 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 LOCK_LOST REF_LOST 1V8_VPLL 10n 1V8_PCLK VDD_IO 1V8_CORE 10n 38pF GND_VPLL 1M 10n 24pF 1V8_A 0R GND_XTAL GND_XTAL 10n LOCK_LOST REF_LOST VID_PLL_VDD VID_PLL_GND XTAL_VDD X1 X2 XTAL_GND CORE_GND ANALOG_VDD NC ANALOG_GND ANALOG_GND ANALOG_GND 10FID HSYNC GND_A The 10FID input must be grounded if it will not be used 65 GND_PAD LVDS/PCLK3_GND PCLK3 PCLK3 LVDS/PCLK3_VDD CORE_VDD TIMING_OUT8 TIMING_OUT7 TIMING_OUT6 TIMING_OUT5 TIMING_OUT4 IO_VDD TIMING_OUT3 TIMING_OUT2 TIMING_OUT1 ANALOG_GND ANALOG_GND GS4910B VSYNC IO_VDD FSYNC NC VID_STD0 VID_STD1 VID_STD2 VID_STD3 VID_STD4 CORE_VDD VID_STD5 NC NC NC IO_VDD ANALOG_GND VDD_XTAL 27MHz 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 10n 22R 22R 22R 22R 22R 22R 22R 22R 10n TIMING8 TIMING7 TIMING6 TIMING5 TIMING4 TIMING3 TIMING2 TIMING1 GND_A 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 10FID HSYNC VSYNC FSYNC VDD_IO GND_A 1V8_CORE NOTE: The GS4910A inputs are 5V tolerant for 3V3 I/O operation only (IO_VDD=3V3) 10n 10n 10n VID_STD0 VID_STD1 VID_STD2 VID_STD3 VID_STD4 VID_STD5 NOTE: For a solution with the lowest output jitter, the GS1531 or GS1532 serializers are recommended for use with the GS4911B/GS4910B. GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 113 of 119 5. References & Relevant Standards Table 5-1: References & Relevant Standards AES11-1997 Synchronization of Digital Audio Equipment in Studio Operations SMPTE 125M-1995 Component Video Signal 4:2:2 – Bit-Parallel Digital Interface SMPTE 170M-1999 Composite Analog Video Signal – NTSC for Studio Applications SMPTE 244M-1995 System M/NTSC Composite Video Signals – Bit-Parallel Digital Interface SMPTE 260M-1999 1125/60 High-Definition Production System – Digital Representation and Bit-Parallel Interface SMPTE 267M-1995 Bit-Parallel Digital Interface – Component Video Signal 4:2:2 16x9 Aspect Ratio SMPTE 274M-1998 1920 x 1080 Scanning and Analog and Parallel Digital Interfaces for Multiple Picture Rates SMPTE 293M-1996 720 x 483 Active Line at 59.94-Hz Progressive Scan Production – Digital Representation SMPTE 296M-1997 1280 x 720 Scanning, Analog and Digital Representation an Analog Interface SMPTE 318M-1999 Synchronization of 59.94- or 50-Hz Related Video and Audio Systems in Analog and Digital Areas – Reference Signals SMPTE 347M-2001 540 Mb/s Serial Digital Interface – Source Image Format Mapping SMPTE RP 164-1996 Location of Vertical Interval Time Code SMPTE RP 168-1993 Definition of Vertical Interval Switching Point for Synchronous Video Switching SMPTE RP 211-2000 Implementation of 24P, 25P and 30P Segmented Frames for 1920 x 1080 Production Format ITU-R BT.601-5 Studio Encoding Parameters of Digital Television for Standard 4:3 and Wide-screen 16:9 Aspect Ratios ITU-R BT.709-4 Parameter Values for the HDTV Standards for Production and International Program Exchange ITU-R BT.799.3 Interface for Digital Component Video Signals in 525-line and 625-line Television Systems Operating at the 4:4:4 Level of Recommendation ITU-R BT.601 (PART A) ITU-R BT.1358 Studio Parameters of 625 and 525 Line Progressive Scan Television Systems VESA Monitor Timing Specifications VESA and industry Standards and Guidelines for Computer Display Monitor Timing – Version 1.0, Revision 0.8 (Adoption Date: September 17, 1998) GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 114 of 119 6. Package & Ordering Information A 9.00 B 4.50 0.40+/-0.05 6.1 Package Dimensions 7.10+/-0.15 3.55 45° 45 9.00 PIN 1 AREA 7.10+/-0.15 4.50 ° 3.55 CENTRE TAB 2X 2X 0.15 C 0.10 C 0.20 REF 0.15 C 0.25+/-0.05 0.50 C 64X C A B 0.10 C 0.05 64X 0.90 +/- 0.10 +0.03 0.02-0.02 0.08 C SEATING PLANE GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 ALL DIMENSIONS IN MM 115 of 119 6.2 Solder Reflow Profiles The device is manufactured with Matte-Sn terminations and is compatible with both standard eutectic and Pb-free solder reflow profiles. MSL qualification was performed using the maximum Pb-free reflow profile shown in Figure 6-1. The recommended standard Pb reflow profile is shown in Figure 6-2. Temperature 60-150 sec. 20-40 sec. 260°C 250°C 3°C/sec max 217°C 6°C/sec max 200°C 150°C 25°C Time 60-180 sec. max 8 min. max Figure 6-1: Maximum Pb-free Solder Reflow Profile (preferred) 60-150 sec. Temperature 10-20 sec. 230°C 220°C 3°C/sec max 183°C 6°C/sec max 150°C 100°C 25°C Time 120 sec. max 6 min. max Figure 6-2: Standard Pb Solder Reflow Profile GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 116 of 119 6.3 Recommended PCB Footprint 0.25 0.50 0.55 CENTER PAD 8.70 7.10 NOTE: All dimensions are in millimeters. 7.10 8.70 The center pad of the PCB footprint should be connected to the ground plane by a minimum of 36 vias. NOTE: Suggested dimensions only. Final dimensions should conform to customer design rules and process optimizations. 6.4 Packaging Data Parameter Value Package Type 9mm x 9mm 64-pin QFN Moisture Sensitivity Level 3 Junction to Case Thermal Resistance, θj-c 9.3°C/W Junction to Air Thermal Resistance, θj-a (at zero airflow) 24.6°C/W Psi, ψ 0.2°C/W Pb-free and RoHS Compliant Yes GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 117 of 119 6.5 Ordering Information Part Video Clocks Graphics Clocks Audio Clocks Full Programmability Max PCLK Rate GS4911B √ √ √ √ 165MHz GS4910B √ √ – √ 165MHz Part Number Package Temperature Range GS4911BCNE3 Pb-free 64-pin QFN 0°C to 70°C GS4910BCNE3 Pb-free 64-pin QFN 0°C to 70°C GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 118 of 119 DOCUMENT IDENTIFICATION CAUTION DATA SHEET ELECTROSTATIC SENSITIVE DEVICES The product is in production. Gennum reserves the right to make changes to the product at any time without notice to improve reliability, function or design, in order to provide the best product possible. DO NOT OPEN PACKAGES OR HANDLE EXCEPT AT A STATIC-FREE WORKSTATION GENNUM CORPORATE HEADQUARTERS Phone: +1 (905) 632-2996 Fax: +1 (905) 632-2055 4281 Harvester Road, Burlington, Ontario L7L 5M4 Canada E-mail: [email protected] www.gennum.com OTTAWA SNOWBUSH IP - A DIVISION OF GENNUM GERMANY 232 Herzberg Road, Suite 101 Kanata, Ontario K2K 2A1 Canada 439 University Ave. Suite 1700 Toronto, Ontario M5G 1Y8 Canada Hainbuchenstraße 2 80935 Muenchen (Munich), Germany Phone: +1 (613) 270-0458 Phone: +1 (416) 925-5643 Fax: +49-89-35804653 E-mail: [email protected] Fax: +1 (613) 270-0429 Fax: +1 (416) 925-0581 CALGARY E-mail: [email protected] 3553 - 31st St. N.W., Suite 210 Calgary, Alberta T2L 2K7 Canada Web Site: http://www.snowbush.com Phone: +1 (403) 284-2672 UNITED KINGDOM MEXICO 288-A Paseo de Maravillas Jesus Ma., Aguascalientes Mexico 20900 Phone: +49-89-35831696 NORTH AMERICA WESTERN REGION Bayshore Plaza 2107 N 1st Street, Suite #300 San Jose, CA 95131 United States Phone: +1 (408) 392-9454 Phone: +1 (416) 848-0328 Fax: +1 (408) 392-9427 JAPAN KK E-mail: [email protected] NORTH AMERICA EASTERN REGION Fax: +44 1279 714171 Shinjuku Green Tower Building 27F 6-14-1, Nishi Shinjuku Shinjuku-ku, Tokyo, 160-0023 Japan INDIA Phone: +81 (03) 3349-5501 Phone: +1 (905) 632-2996 #208(A), Nirmala Plaza, Airport Road, Forest Park Square Bhubaneswar 751009 India Fax: +81 (03) 3349-5505 Fax: +1 (905) 632-2055 E-mail: [email protected] E-mail: [email protected] Phone: +91 (674) 653-4815 TAIWAN Fax: +91 (674) 259-5733 6F-4, No.51, Sec.2, Keelung Rd. Sinyi District, Taipei City 11502 Taiwan R.O.C. North Building, Walden Court Parsonage Lane, Bishop’s Stortford Hertfordshire, CM23 5DB United Kingdom Phone: +44 1279 714170 Web Site: http://www.gennum.co.jp 4281 Harvester Road Burlington, Ontario L7L 5M4 Canada KOREA 8F Jinnex Lakeview Bldg. 65-2, Bangidong, Songpagu Seoul, Korea 138-828 Phone: +82-2-414-2991 Phone: (886) 2-8732-8879 Fax: +82-2-414-2998 Fax: (886) 2-8732-8870 E-mail: [email protected] E-mail: [email protected] Gennum Corporation assumes no liability for any errors or omissions in this document, or for the use of the circuits or devices described herein. The sale of the circuit or device described herein does not imply any patent license, and Gennum makes no representation that the circuit or device is free from patent infringement. All other trademarks mentioned are the properties of their respective owners. GENNUM and the Gennum logo are registered trademarks of Gennum Corporation. © Copyright 2005 Gennum Corporation. All rights reserved. www.gennum.com GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK Data Sheet 36655 - 5 June 2009 119 of 119 119