![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
gennum corporation p.o. box 489, stn. a, burlington, ontario, canada l7r 3y3 tel. +1 (905) 632-2996 fax. +1 (905) 632-5946 e-mail: info@gennum.com www.gennum.com revision date: march 2002 document no. 19922 - 2 data sheet GS9020A features features features features ? fully compatible with smpte 259m drop-in replacement for the gs9020 auto-standard operation to 540mhz embedded edh and data processing core selectable loop through or re-serialized edh-processed serial output noise immune hvf timing signal outputs configurable fifo reset pulse for clearing downstream fifos anc header and trs-id correction for all standards user controlled output blanking itu-r-601 output clipping for active picture area ancillary data indication low system power selectable i2c interface or 8-bit parallel port for access to edh flags and device configuration bits edh flags also available on dedicated pins seamless flag mapping to gs9021 edh coprocessor 80 pin lqfp applications applications applications applications smpte 259m serial digital receiver for composite and component standards including 4:4:4:4 at 540mb/s with edh processing; noise immune digital sync and timing generation; cost effective edh insertion and checking for serial routing and distribution applications. description description description description the GS9020A is specifically designed to deserialize smpte 259m serial digital signals. the inclusion of error detection and handling (edh) ensures the integrity of the data being received from the serial digital interface (sdi). internal 75 ? termination resistors allow interlinx? seamless connection with the gs9035a reclocker or the gs9025a receiver, thus providing a complete high performance, digital video input processor with edh, digital sync signal generation, and other system features. the GS9020A also includes a parallel to serial converter and nrzi scrambler to provide re-serialized, edh compliant data output. the edh core implements edh insertion and extraction according to smpte rp-165. this core also generates noise immune timing signals such as horizontal sync, vertical blanking, field id and ancillary data identification. it also provides many system features such as a fifo reset pulse (which can be programmed to coincide with either eav or sav), trs-id and anc header correction, user controlled output blanking and itu-r-601 output clipping. the GS9020A has an i2c (inter-integrated circuit, i2c is a registered trademark of philips) serial interface bus and an 8-bit parallel port for external access to all error flags and device configuration bits. block diagram block diagram block diagram block diagram ordering information ordering information ordering information ordering information part number package temperature GS9020Acfv 80 pin lqfp tray 0c to 70c GS9020Actv 80 pin lqfp tape 0c to 70c dout[9:0] fifo_reset hvf clip_trs hostif standards indicator pclk out framed data [9:0] sdomode pclkout sdo sdo sdi sdi sci sci reset edh and data processing core aligning control unit 10 10 7 trs_err scrambler dedicated flag port anc_chksm buf 0 1 buf buf serial to parallel converter parallel to serial converter with scrambler descrambler sync detector prescaler 5 4 ? GS9020A GS9020A GS9020A GS9020A serial digital video input processor serial digital video input processor serial digital video input processor serial digital video input processor
19922 - 2 2 GS9020A absolute maximum ratings absolute maximum ratings absolute maximum ratings absolute maximum ratings parameter value supply voltage -0.3v to 6.0v input voltage range (any input) -0.3 to v dd +0.3v operating temperature range 0 c to 70 c storage temperature -55 c to 150 c lead temperature (soldering, 10 sec) 260 c dc electrical charcteristics dc electrical charcteristics dc electrical charcteristics dc electrical charcteristics v dd = 5.0 v, t a = 0 - 70 c unless otherwise shown. parameter symbol conditions min typ max units notes supply voltage v dd 4.75 5.0 5.25 v supply current unloaded dd 270mb/s - 110 - ma 540mb/s - 190 - ma high speed serial data and clock inputs v cm 3.14 3.65 3.95 v v diffin 450 800 1250 mv r pullup -75- ? 1 serial data outputs v cm -2.7- v v diffout - 800 - mv 2 ttl compatible cmos inputs v ilmax --0.8v v ihmin 2.0 - - v in v in = v dd or gnd - - 150 a 3 --1a4 c in -10-pf ttl compatible cmos outputs v olmax at out --0.4v v ohmin at out 2.4 - - v out -8-ma5 -4-ma6 -2-ma7 notes 1. r pullup refers to the internal pullup resistor associated with the serial data and clock inputs (see figure 4). 2. assuming 100 ? differential termination resistor as shown in figure 7. given v diffout = 800mv and a 100 ? termination, i sdo = 8ma. 3. the following inputs have internal pull-up resistors: sdomode. the following inputs have internal pull-down resistors: anc_chksm, flywdis, flag_map, reset , crc_mode, fifoe/s and hostif_mode. to ensure reliable operation these pins should be externally connected to gnd or v cc . 4. all other inputs. 5. the following outputs have 8ma drivers (typical): pclkout 6. the following outputs have 4ma drivers (typical): s[1:0], fl[4:0], anc_data, dout[9:0], v, f[2:0], h, fifo_reset , trs_err, no_edh 7.the following outputs have 2ma drivers (typical): p[7:0], std[3:0], interrupt 19922 - 2 3 GS9020A ac electrical charcteristics ac electrical charcteristics ac electrical charcteristics ac electrical charcteristics v dd = 5.0 v, t a = 0 - 70 c unless otherwise shown. parameter symbol conditions min typ max units notes serial input clock frequency ? sci - - 540 mhz serial data input setup time t ss 600 - - ps 1 serial data input hold time t sh 600 - - ps 1 serial data output duty cycle distortion -5-% serial output jitter 540mb/s at eye crossing - 360 - ps p-p serial data output rise time - 600 - ps parallel clock output jitter 27mhz at 50% voltage level - 700 - ps p-p input timing t 1 20 - - ns 2 t 2 --9ns2 output delay time t od with 25pf loading t/2 - t/2+7 ns 3 output hold time t oh with 25pf loading t/2-3 - - ns 3 output setup time t os with 25pf loading t/2-7 - - ns 3 flag port disable time t fdis with 25pf loading - - t/2+0.5 ns flag port enable time t fen with 25pf loading - - t/2+1 ns i 2 c clock frequency ? scl - - 400 khz host interface setup time t hs 6- -ns4 host interface hold time t hh 6- -ns4 host interface output enable time t hen with 25pf loading - - 21 ns 4 host interface output disable time t hdis with 25pf loading - - 10 ns 4 reset time pulse width t reset 100 - - ns notes 1. the serial clock rising edge should occur at the centre of the data period for optimum performance. (see figure 1) 2. since the GS9020A does not have a parallel clock input, it is not possible to define timing details relative to it. instead t he GS9020A has a parallel clock output and all timing information is relative to pclkout. the flag port pins (fl[4:0], f_r/w , s[1:0]) are the only inputs where the timing details are important. the timing requirements are shown in figure 2. 3. these times are relative to the rising edge of pclkout as shown in figure 3. note that the data transitions at the falling edge of pclkout. t is the parallel clock period in ns. 4. the host interface signals, p[7:0], r/w , a/d and cs are asynchronous to the parallel clock. 19922 - 2 4 GS9020A pin connections pin connections pin connections pin connections pin descriptions pin descriptions pin descriptions pin descriptions number symbol type description 6, 7 sdi, sdi i differential serial data inputs. 10, 11 sci, sci i differential serial clock inputs. 15 hostif_mode i host interface mode select. when high, the host interface is configured for i 2 c mode. when low, the host interface is configured for parallel port mode. 16 fifoe/s i fifo_reset pulse control. when high, the output fifo_reset pulse occurs on the eav word. when low, the output fifo_reset pulse occurs on the sav word. 17 crc_mode i crc_mode enable. when high, crc_mode is enabled. when low, crc_mode is disabled. 18 - 20 p[7:5] i/o in parallel port mode, these are bits 7:5 of the host interface address/data bus. in i 2 c mode, these pins must be set low. 21 scl/p4 i/o in parallel port mode, this is bit 4 of the host interface address/data bus. in i 2 c mode, this is the serial clock input for the i 2 c port. 22 sda/p3 i/o in parallel port mode, this is bit 3 of the host interface address/data bus. in i 2 c mode, this is the serial data pin for the i 2 c port. 23 - 25 a[2:0]/p[2:0] i/o in parallel port mode, these are bits 2:0 of the host interface address/data bus. in i 2 c mode, these are input bits which define the i 2 c slave address for the device. 26 r/w i parallel port read/write control. when high, the parallel port is configured as an output (read mode). when low, the parallel port is configured as an input (write mode). in i 2 c mode, this pin must be set high. vdd gnd gnd vdd vdd sdi sdi sdi vdd sdi vdd sci sci sci vdd sci vdd gnd hostif_mode fifoe/s crc_mode p7 p6 p5 dout9 dout8 dout7 dout6 dout5 dout4 dout3 dout2 dout1 vdd gnd dout0 pclkout fifo_reset no_edh flywdis interrupt f_r/w s0 s1 anc_data trs_err clip_trs anc_chksm blank_en sdomode bypass_edh vblanks/l sgnd sdo sdo svdd vdd gnd flag_map f2 f1 f0 h v scl/p4 sda/p3 a2/p2 a1/p1 a0/p0 r/w a/d cs vdd gnd reset std3 std2 std1 std0 fl4 fl3 fl2 fl1 fl0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 GS9020A top view 19922 - 2 5 GS9020A 27 a/d i parallel port address/data bus control. when high, the parallel port is used for address input. when low, the parallel port is used for data input or output. in i 2 c mode, this pin must be set low. 28 cs i parallel port chip select. when cs is low and r/w is high, the GS9020A drives the address/ data bus. when cs is low and r/w is low, the user should drive the address/data bus. when cs is high, the address/data bus is in a high impedance state (hi - z). in i 2 c mode, this pin must be set high. 31 reset i reset. when low, the internal control circuitry is reset. 32 - 35 std[3:0] o video standards indication as described in section 1.4 36 - 40 fl[4:0] i/o edh flag data port to allow access to the edh flags. 41, 42 s[1:0] i/o control bits which select whether ff, ap, or anc edh flags are active on the edh flag data port (fl[4:0]). in flag_map mode, the s[1:0] pins become outputs (see device description). 43 f_r/w i flag port read/write control. when high, fl[4:0] are configured as outputs allowing edh flags to be read from the device. when low, fl[4:0] are configured as inputs allowing edh flags to be overwritten in the outgoing edh packet. in flag_map mode this pin must be set high. 44 interrupt o interrupt output. this output goes low when edh errors occur. this pin is an open drain output and requires an external pullup resistor. if this output is not used, a pullup resistor is not required. 45 flywdis i flywheel disable. when high, the internal flywheel is disabled. when low, the internal flywheel is enabled. 46 no_edh o no edh present indication. when high, indicates edh packets are not present in the incoming data stream. 47 fifo_reset o fifo reset output. asserted low during the trsid word for composite standards and the eav or sav word for component standards. 48 pclkout o parallel clock output. 52-60,49 dout[9:0] o parallel digital video data outputs. 61 v o vertical sync indication. 62 h o horizontal sync indication. 63 - 65 f[2:0] o field indication. f2 is the msb. 66 flag_map i flag_map mode enable. when high, flag_map mode is enabled. when low, flag_map mode is disabled. 70, 71 sdo/sdo o differential serial data outputs. 73 vblanks/l i vertical blanking interval control. for ntsc signals, when vblanks/l is set low the 19 line blanking interval is selected and when set high the 9 line blanking interval is selected. for pal d2 signals, when vblanks/l is set low the 17 line blanking interval is selected and when set high the 7 line blanking interval is selected. for pal component signals vblanks/l should be set low. 74 bypass_edh i bypass edh control. when high, the device allows the edh packet to pass through unaltered. 75 sdomode i serial data output control. when low, the serial data output is re-serialized processed data. when high, the serial data output is the looped through serial input. after changing sdomode, the GS9020A must be reset for proper operation. 76 blank_en i blanking enable. when low, incoming data words are set to appropriate blanking levels. 77 anc_chksm i ancillary checksum updating enable. when high, ancillary checksum updating is enabled. pin descriptions pin descriptions pin descriptions pin descriptions number symbol type description 19922 - 2 6 GS9020A block diagram - edh and data core processing block diagram - edh and data core processing block diagram - edh and data core processing block diagram - edh and data core processing 78 clip_trs i clip and trs correction control. when high, the trs blanking, itu-r-601 clipping and trs insertion features are enabled. 79 trs_err o trs error indication. when high, indicates a trs error in the data stream such as a missing trs, an improperly placed trs, or an incorrect trs id word. 80 anc_data o ancillary data indication. when high, indicates that an anc packet is coming out of the device. the output is high from the beginning of the first header word to the end of the checksum word of the anc packet. 1, 4, 13 vdd power supply connection for the serial processing circuitry (nominally +5v). 2, 3, 14 gnd ground connection for the serial processing circuitry. 69 svdd power supply connection for the serial data outputs. to save power when not using the sdo/ sdo outputs, set this pin to ground. 72 sgnd ground connection for the serial data outputs. 5, 8 vdd_sdi, sdi power supply connection for the internal 75 ohm pullup resistor (nominally +5v) on the serial data input lines. 9, 12 vdd_sci, sci power supply connection for the internal 75 ohm pullup resistor (nominally +5v) on the serial clock input lines. 29,51,68 vdd power supply connection for the parallel processing circuitry (nominally +5v). 30,50,67 gnd ground for the parallel processing circuitry. pin descriptions pin descriptions pin descriptions pin descriptions number symbol type description dout[9:0] crc_mode hostif_mode 8-bit parallel interface bypass_edh framed data [9:0] vblanks/l flywdis h, v, f edh flag extraction crc comparison/ calculation ancillary checksum calculation/ comparison ancillary checksum correction 10 hvf flywheel errored field counter trs detection dedicated flag port i 2 c interface flags mux flag_map new crc calculation trs compare trs_ error blank_en clip_trs 5 10 10 10 10 error flags & format packet host interface/ flag port itu-r-601 clipping trs blanking trs insertion/ correction i 2 c is a registered trademark of philips 19922 - 2 7 GS9020A detailed description detailed description detailed description detailed description the GS9020A edh coprocessor consists of five major blocks: 1. data input/output block (with automatic standard detect) 2. flywheel block 3. edh block 4. data processing block 5. host interface (hostif) block the following convention is used to differentiate device pins from host interface table bits. logic opr (logic operator) gives the combinational relationship (if one exists), between pins which also have a corresponding host bit. this operator governs the signal the GS9020A receives. the following is the list of possible logic operators and their meaning. 1. data input/output block 1.1 serial video data inputs serial data and clock signals are supplied to the GS9020A chip via the sdi/sdi and sci/sci pins, respectively. eight standards are supported: composite, 4:2:2 component with 13.5mhz y sampling, 4:2:2 16 x 9 wide screen with 18mhz y sampling, and 4:4:4:4 component single link with 13.5mhz y sampling, all in both ntsc and pal formats. see table 1. sdi/sdi and sci/sci are high speed pseudo-ecl (pecl) compatible differential inputs with internal pullup resistors (75 ? nominally) as shown in figure 4. note that each pullup resistor has a dedicated power pin allowing the use of other interfacing topologies. the internal pullup resistors allow the GS9020A to be easily interfaced to the gs9025a as shown in figure 5 and figure 17. an external diode is required to offset the input signals to the input range of the GS9020A. for maximum signal integrity the gs9025a and GS9020A should be placed as close together as possible. the pecl serial input signals are first converted to cmos levels and then deserialized to 10 bit parallel format (based on the trs headers), descrambled, and then passed to the processing core. 1.2 parallel digital video data outputs the output of the device is 10-bit digital video data and is present on the dout[9:0] output pins. 1.3 reserialized data output the GS9020A also provides pecl differential serial data outputs (sdo/sdo ). the serial data outputs can operate in one of two modes as controlled by the sdomode pin. when sdomode is set low, re-serialized processed data is output at the sdo/sdo output pins. in this mode it is recommended that the lock output of the gs9025a or gs9035a connected to the reset input of the GS9020A, and to a pull up resistor. this will effectively reset the GS9020A whenever the signal lock is lost. note that any GS9020A programming through the host interface will be lost after this reset. it will be necessary to reprogram the GS9020A after each reset. when sdomode is set high, the serial input data is supplied directly to the sdo/sdo output pins, bypassing the processing core. after changing sdomode, the GS9020A must be reset for proper operation. pin logic opr hostif xx yy logic opr meaning and xx and yy or xx or yy > xx takes precedence over yy < yy takes precedence over xx pin logic opr host bit sdi, sdi sci, sci pin logic opr host bit dout[9:0] pin logic opr host bit sdo, sdo sdomode 19922 - 2 8 GS9020A the serial data output circuits are shown in figure 6. the serial data outputs are designed to drive 50-75 ? controlled impedance traces and can be easily connected to the gs9028 cable driver as shown in figure 7 and figure 18. note that to output proper pecl signal levels, a resistor must be connected between the two serial data outputs. 1.4 automatic standard detection the device automatically detects the incoming video standard. the detected standard is encoded on the std[3:0] pins and the hostif read table bits as shown in table 1 and table 3. noise immunity is included to ensure that momentary signal corruption does not affect the automatic standards detection function. this built in noise immunity results in delayed detection time during power up and when switching between standards. delays range from as little as eight lines when switching between component standards to as much as four frames when switching between pal and ntsc standards. if this delay is intolerable, the user can manually set the standard through the hostif write table. to set the standard manually, the std_sel bit must be set high and the s bit and std[3:0] pins/hostif bits set accordingly. the default standard upon reset of the chip is ntsc 4:2:2 component (13.5mhz y sampling). the s bit, used for single link data standards only, is encoded in the trsid word and indicates if the data is in rgb or yc r c b format as per smpte rp174. in automatic standard detection mode, the s bit can be read from the hostif read table. in manual mode, the s bit must be set in the hostif write table. 1.5 parallel clock output the pclkout pin provides the output parallel clock. all synchronous i/o are timed relative to pclkout. the following listing shows which i/o's are synchronous and which are not. timing for synchronous outputs is shown in figure 3. timing for synchronous inputs is shown in figure 2. pin logic opr host bit std_sel std[3:0] std[3:0] s ta b l e 1 standard name std[3:0] ntsc 4:2:2 component with 13.5mhz y sampling 0000 ntsc composite 0001 ntsc 4:2:2 16x9 widescreen with 18mhz y sampling 0010 ntsc 4:4:4:4 single link with 13.5mhz y sampling 0011 pal 4:2:2 component with 13.5mhz y sampling 0100 pal composite 0101 pal 4:2:2 16x9 widescreen with 18mhz y sampling 0110 pal 4:4:4:4 single link with 13.5mhz y sampling 0111 pin logic opr host bit pclkout synchronous asynchronous fl[4:0] p[7:5] s[1:0] scl/p4 fifo_reset interrupt dout[9:0] sda/p3 f[2:0] a[2:0]/p[2:0] vr/w ha/d anc_data cs blank_en flag_map f_r/w reset no_edh crc_mode std[3:0] vblanks/l trs_error hostif_mode fifoe/s flywdis bypass_edh sdo_mode anc_chksm clip_trs 19922 - 2 9 GS9020A 2. flywheel block 2.1 fvh flywheel the flywheel ? s primary function is to provide accurate field, vertical, and horizontal output signals in the presence of noisy or error prone input data. flywheel synchronization is based on the trs words in the incoming data stream. the fvh flywheel synchronizes to the incoming data stream in less than two fields once the incoming standard has been detected. once synchronized, the trs words in the incoming data stream and those generated by the flywheel are constantly compared to ensure that the flywheel remains synchronized. noise insensitivity is accomplished by re-synchronizing the flywheel to the data stream only if it is not aligned for long periods of time. for component signals, four mismatches between the eav signal in the incoming and flywheel generated signals over a window of eight lines will trigger the flywheel to begin re-synchronization. for composite signals, re-synchronization is triggered by mismatches in the trs encoded line numbers or field bits for 7 consecutive lines. the flywheel can be disabled by asserting the flywdis control signal high. disabling the flywheel will remove the effective noise immunity. in this mode, fvh values will be decoded directly from the incoming data stream rather than being decoded from the flywheel. note that when the flywheel is disabled, trs_blank and trs_insert will not function correctly if enabled. therefore if the flywheel is disabled then so should trs_blank and trs_insert. flywdis is available as an input pin and as a bit in the hostif write table. the switchflyw control signal is used in applications where the data input to the GS9020A is switched between two synchronous signals. in this case, the two signals may be slightly misaligned and would normally require the flywheel to completely re-synchronize. in this scenario, the re-synchronization time would be undesirable. asserting the switchflyw bit of the hostif write table high allows the flywheel to re-synchronize to the new incoming signal at the end of the switching line. for this functionality to operate properly, the two signals must both be in the active picture portion of the switching line at the time of the switch. 2.2 accurate fvh timing signals the f[2:0] signals indicate the current field of the video data. three f bits are necessary to accommodate the composite pal standard which has 8 fields. the f[2:0] bits are available on dedicated output pins and via the hostif read table. figure 8a and 8b illustrate the position of the f[2:0] transition within a line for component and composite signals, respectively. for component standards only, f0 is used to indicate fields 0 and 1. the lines on which the transitions occur conform to the smpte standards. for component signals, the horizontal (h) signal is high during the horizontal blanking region of the output signal, from eav to sav inclusive. for composite signals, the h signal remains high only for the 3ff, 000, 000, 000, and trsid words. figure 8a and 8b illustrate the h output signal timing for component and composite signals, respectively. the vertical (v) signal timing is dependent on the incoming video standard and the vblanks/l control signal. the vblanks/l signal is available as an input pin and via the hostif write table and should be set to indicate the form of the incoming data stream. this allows the flywheel to correctly structure the v bit for flywheel synchronization, trs insertion, and trs error indication. for component based standards, the transition of the v output signal within a line is shown in figure 8a. the line on which the v output signal transitions from high to low is summarized in the table below. the lines on which the low to high transition occurs conform to the smpte standards. pin logic opr host bit flywdis or flywdis switchflyw pin logic opr host bit f[2:0] f[2:0] v h vblanks/l and vblanks/l standard vblanks/l =1 vblanks/l =0 ntsc 4:2:2 component (13.5mhz y sampling) 9/272 19/282 ntsc 4:2:2 16x9 widescreen (18mhz y sampling) 9/272 19/282 ntsc 4:4:4:4 single link (13.5mhz y sampling) 9/272 19/282 pal 4:2:2 component (13.5mhz y sampling) 22/335 22/335 pal 4:2:2 16x9 widescreen (18mhz y sampling) 22/335 22/335 pal 4:4:4:4 single link (13.5mhz y sampling) 22/335 22/335 19922 - 2 10 GS9020A for composite based standards, the v output signal is asserted high as described in the following table: 2.3 trs errors the flywheel is used to indicate trs errors. these errors are detected by comparing the trs in the incoming data stream with the expected trs based on the internal flywheel. if a mismatch occurs, the trs_err signal is immediately set high and maintained high until a correct trs occurs. the types of trs errors detected are: trs missing trs in wrong location trs-id is different from the one generated by the flywheel the trs_err signal is available as an output pin and via the hostif read table. the trs_err signal should only be considered valid if the flywheel is enabled. 2.4 fifo reset pulse the GS9020A also provides a fifo_reset pulse on the fifo_reset output pin. this pin is always high except when the trsid word is exiting the device as shown in figure 9. for component standards, a fifoe/s input pin is used to determine if the fifo_reset pulse occurs during the eav or sav word of the outgoing data. if fifoe/s is high, the active low pulse of the fifo_reset output pin occurs during the eav word. if fifoe/s is low, the active low output pulse occurs during the sav word. for composite signals the fifoe/s pin has no effect since there is only one trs-id word per line. this feature is useful for synchronizing line store fifos that follow the GS9020A. 3. edh processing block this section describes the GS9020A ? s edh features and functionality. 3.1 error flags all 15 edh error flags can be read from the hostif read table. the incoming error flags represent the edh error flags present in the incoming edh packet. the outgoing error flags represent the edh error flags present in the outgoing edh packet (after modification by the GS9020A). please note that the edh flags can also be accessed using the flag port as described later. the incoming and outgoing error flags, the incoming validity bits (ffv and apv), and the edh_chksm bit can be made "sticky". vblanks/l =1 vblanks/l =0 ntsc composite from line 525/ sample 768 to line 9/ sample 767 inclusive and from line 263/ sample 313 to line 272/ sample 767 inclusive from line 525/ sample 768 to line 19/ sample 767 inclusive and from line 263/ sample 313 to line 282/ sample 767 inclusive vblanks/l =1 vblanks/l =0 pal composite from line 623/ sample 382 to line 5/ sample 947 inclusive and from line 310/ sample 948 to line 317/ sample 947 inclusive from line 623/ sample 382 to line 15/ sample 947 inclusive and from line 310/ sample 948 to line 327/ sample 947 inclusive pin logic opr host bit trs_err trs_err pin logic opr host bit fifoe/s fifo_reset pin logic opr host bit incoming error flags outgoing error flags sticky in sticky out overwrite values overwrite control ro_ctrl reserved words (incoming) reserved words (outgoing) 19922 - 2 11 GS9020A sticky error flags that detect an error for a field remain asserted until a hostif read is performed on those error flags. sticky mode allows the user to perform hostif reads on the error flags to detect if any errors have occurred since the last read, and are particularly useful when a read cannot be performed after every field. when sticky in is asserted high, the incoming flags and validity bits are in sticky mode. when sticky out is asserted high, the outgoing flags and the edh_chksm bit are in sticky mode. note that the interrupt signal is derived from these signals so that it too becomes sticky. sticky in and sticky out are available in the hostif write table. the error flags and the edh_chksm bit are sticky high. that is, once they are set high, they remain high until a read operation. the validity bits are sticky low. that is, once they are set low, they remain low until a read operation. in some applications, the user may wish to insert user defined edh error flags into the outgoing edh packet. the desired outgoing error flags are written into the overwrite values words of the hostif write table and are placed in the outgoing edh packet when the corresponding overwrite control bit is asserted high. see table 2 for the hostif write table. the GS9020A also allows the user to overwrite the seven reserved words of the outgoing edh packet. when ro_ctrl (reserved word overwrite control) is asserted high, the GS9020A overwrites the reserved words in the outgoing edh packet with those specified in the hostif write table. if ro_ctrl is low, the GS9020A does not alter the reserved words. ro_ctrl is a control bit in the hostif write table. the reserved words of the incoming edh packet are also available via the hostif read table. 3.2 crc calculation and updating since the device has the potential of modifying the full-field and active picture data with features like itu-r-601 clipping and trs insertion, the full field and active picture crc values must be calculated for both the incoming and outgoing data streams. the calculated crc values based on the incoming data stream are used for comparison with the embedded crc values. however, the calculated crc values based on the outgoing data stream are the ones inserted into the data stream. as a result, the crc values in the outgoing data stream correctly reflect the contents of the outgoing data stream. the incoming ff and ap crc values for the full field (ff) and active picture (ap) regions can be read from the hostif read table. similarly, the outgoing (calculated) ff and ap crc values for the full field and active picture regions can be read from the hostif read table. 3.3 validity bit the validity (v) bits (as per smpte 165) present in the incoming edh packet are used to indicate whether the crc values are valid or invalid. if the v bit is high, the crc value is considered valid. in this case, the incoming crc value is compared with the calculated crc value to identify errors. if the v bit is low, the incoming crc is invalid and a crc comparison is not performed. if the device receives an edh packet with the v bit set low it behaves as follows: 1. edh = 0 (not asserted for an invalid crc) 2. eda = edain "or" edhin (eda calculated as usual) 3. a new calculated crc value replaces the invalid one in the output edh packet 4. the v bit will be set high in the output edh packet 5. depending on whether one or both or ffv or apv is low, the unknown error status (ues) flag corresponding to either ff or ap or both, is set high in the output data. (no crc check could be performed, so the data may or may not contain errors). the incoming v bits for the full field and active picture regions are available in the hostif read table as ffv and apv, respectively. outgoing full field (ffv) and active picture (apv) validity bits are set high unless explicitly over-written through the hostif write table or the flag port. pin logic opr host bit incoming ff crc outgoing ff crc incoming ap crc outgoing ap crc pin logic opr host bit ffv apv 19922 - 2 12 GS9020A 3.4 ancillary checksum verification for each received anc packet in the incoming data, the device compares the calculated checksum value to the embedded checksum for that anc packet. if the checksum values do not match for any anc packets within a field, an error is reported via the ancillary edh flag in the edh packet. in addition, if the anc_chksm input pin or hostif write table bit is asserted high, the ancillary checksum correction block is enabled and the checksum in the anc packet is replaced with the calculated one. this update is required to prevent the anc data error from being flagged at every downstream edh chip. when implementing applications which use the edh core (ie. bypass_edh set low), anc_chksm will indicate a downstream ff/ap edh error when an illegal/non-allowed (3fc h -3ff h ) anc_chksm input value is detected. as such, these values should not be present in the incoming data and the corresponding ff/ap edh errors should not occur. however, if the user wishes to disable the anc_chksm function, it can be deactivated by setting both the anc_chskm pin and the anc_chksm host interface bit low. if the chip is receiving anc edh flag information through the flag port or the hostif, then the anc edh flag generated by the ancillary checksum verification block will be overwritten. however, the additional ff/ap edh flag will still appear at the next downstream chip if an illegal checksum of 3fc h -3ff h was detected and the anc_chksm function was enabled. if a checksum error is detected in the edh packet itself, an additional separate error flag, edh_chksm is set high in the hostif read table. 3.5 ues error flag updating in receive mode, a ues flag is set high in the outgoing edh packet if the corresponding ues flag was high in the incoming packet or if the corresponding v bit was low. (for example, if the incoming active picture v bit is low, the outgoing active picture ues bit will be high). if there is no edh packet in the incoming data, all three ues flags (anc, ap, ff) are set high. 3.6 anc_data the anc_data signal is set high when an ancillary data packet is exiting the GS9020A. this pin is asserted from the start of the first header word through to the end of the checksum word of the anc packet, inclusive, as shown in figure 10. 3.7 no_edh some input data streams may lack the edh packet. in such cases, the no_edh output pin or hostif read table bit is asserted high. if only a few fields lack the edh packet, the no_edh pin/bit will be asserted only for those fields. in determining if the input data stream contains an edh packet, the GS9020A looks for two things. first the presence of an anc packet with the header 000 3ff 3ff 1f4 and second that the anc header is in the right spot for the video standard detected. the no_edh signal is a logical nand of these two cases. if either one is false, the no_edh flag is set. 3.8 errored field counter the device has a 24 bit errored field counter. the counter increments by one on the occurrence of one or more error flags in an outgoing edh packet. the error flags that can increment the counter are user-selectable through the 16 error sensitivity bits in the hostif write table. the error flag sensitivity bits are active low, so that if a particular sensitivity bit is set low, the counter is sensitive to errors of that type in the outgoing edh packet. the edh_chksm sensitivity bit is active high. there are four modes of counter operation. the mode is set through 2 bits in the hostif write table, denoted clr1 and clr0. pin logic opr host bit anc_chksm or anc_chksm edh_chksm pin logic opr host bit anc_data pin logic opr host bit no_edh no_edh pin logic opr host bit errored field counter clr[1:0] error sensitivity bits 19922 - 2 13 GS9020A in "normal" mode the counter operates as previously discussed, such that the counter increments on detection of any error for which the sensitivity flags are set high. if ? reset counter to zero ? mode is selected, the counter is reset to zero and begins counting again. the mode of operation will immediately return to 00 (normal mode) once the counter resets. in "auto reset" mode, the counter behaves in the normal fashion, except that it resets to zero every time a hostif read of the lowest 8 bits of the error counter (address 17) is performed. this functionality allows the chip to count the number of errors since the last read. the ? hold counter at zero ? mode instantly freezes the counter at zero until it is moved into one of the other modes. 3. 9 interrupt signal an interrupt output pin (interrupt ) is also available on the GS9020A. the interrupt output is asserted low for each field that contains errors in the outgoing edh packet. the sensitivity flags used for the 24 bit errored field counter also apply to the interrupt signal. as a result, the interrupt can be made sensitive to any particular flags. the interrupt signal is stable after an edh packet exits the device and before the subsequent edh packet enters the device as shown in figure 11. if the sticky out control bit is asserted high, the interrupt remains asserted low until a hostif read is performed on the flag that caused the interrupt. the interrupt output is an open drain output and as a result requires an external pull-up resistor. a 10k resistor value is recommended. if this output is not used, a pullup resistor is not required. 3.10 flag port in addition to the hostif tables, the edh error flags can also be read and written via the synchronous flag port. the five flag port pins, fl[4:0], allow access to all 15 error flags. the select pins s[1:0] control which flags are read/written as outlined below. if the flag port is not going to be used, it is best to set f_r/w high, leave fl[4:0] unconnected, and set s[1:0] to any value desired (but not floating). 3.10.1 write mode when the f_r/w pin is low, the flag port is in write mode and the fl[4:0] pins are configured as inputs. after writing to the flag port, the GS9020A inserts the written flags into the next outgoing edh packet. note that external flag overwriting via the flag port takes precedence over hostif overwriting but the flag port writing only affects the next outgoing edh packet. following this, if the flag port is not written to again, flag operation is returned to normal edh functionality (unless it is being overwritten through the hostif). the data present on the fl[4:0] output pins, as controlled by the s[1:0] pins, is summarized below. in addition to overwriting the 15 error flags, the outgoing validity bits for the active picture (apv) and full field (ffv) can be overwritten via the flag port. the in/out bit has no effect on writes to the error flags. in/ out is a control bit used to determine if the flags read from the flag port during flag port read cycles represent incoming or outgoing edh flags. if this bit is set high, all subsequent reads are from the incoming edh packet. if this bit is set low, then all subsequent reads are from the updated outgoing packet. when the in/out bit is written to, the value remains latched until it is re-programmed. the in/ out bit is set low upon reset of the chip. clr1 clr0 mode of operation 00normal 0 1 reset counter to zero 1 0 auto reset 1 1 hold counter at zero pin logic opr host bit interrupt pin logic opr host bit f_r/w s[1:0] fl[4:0] > overwrite values write mode, f_r/ w = 0 s[1:0] fl4 fl3 fl2 fl1 fl0 00 ff ues ff ida ff idh ff eda ff edh 01 ap ues ap ida ap idh ap eda ap edh 10 anc ues anc ida anc idh anc eda anc edh 11 in/out apv ffv 0 0 19922 - 2 14 GS9020A 3.10.2 read mode when the f_r/w pin is high, the flag port is in read mode and the fl[4:0] pins are configured as outputs. the data present on the fl[4:0] output pins, as controlled by the s[1:0] pins, is summarized below. note that the 15 error flags can be read from the incoming or outgoing edh packet (see in/out control bit above). however, the edh_chksm flag available on pin fl4 when s[1:0] = 11 is only valid if in/out is low. also, the apv and ffv bits available on pins fl[3:2] when s[1:0] = 11 are only valid when in/out is high (that is, the validity bits are always read from the incoming edh packet). the s bit is available regardless of the state of the in/out bit. 3.10.3 flag port read/write timing figure 12a shows a flag port write cycle followed by a flag port read cycle and illustrates the read/write timing requirements. note that the signals are not latched in exactly on the rising edge of plckout (as described in note 2 of the ac electrical table), but are shown as being latched in on the rising edge for simplicity only. a write cycle is initiated by changing the f_r/w signal from high to low. the first time the device samples the f_r/w low (at t 0 ) it is instructed to stop driving the fl[4:0] pins. on each subsequent clock cycle (and f_r/w low) the device latches in the data present on s[1:0] and fl[4:0] (at t 1 , t 2 , t 3 and t 4 ). in this example, the s[1:0] pins begin at "00" and are incremented each clock cycle to update all the error flags, validity bits, and the in/out control bit. note that if a write cycle is performed to update, say the ff error flags (s[1:0] = 00), only the ff flags are updated, and the others are unaffected. a delay time, t fdis , is necessary to change the fl[4:0] pins from output mode to input mode as defined in the ac timing table and shown in figure 12b. the external controller can begin to drive the fl[4:0] bus after this delay time. a simple way to allow for this is to wait one clock cycle before starting to drive the fl[4:0] port and thus prevent bus contention (but set the s[1:0] inputs when f_r/w goes low so that flags are not unintentionally affected). at t 5 , the f_r/w pin is sampled high, indicating a read operation. also at this time, the device reads in the information on the s[1:0] pins. upon sampling a read operation, the device will begin driving the flag port after a delay, t fen (see figure 12c), with invalid data. the requested information is output on the fl[4:0] pins on the subsequent clock, t 6 , (plus an output delay time, see ac timing table and figure 3). that is, there is a one clock latency between sampling of the s[1:0] pins and when the corresponding output information is presented on the fl[4:0] pins. in this example, the s[1:0] pins begin at "00" and are incremented each clock cycle to read all the error flags, edh_chksm, validity, and s bits. the flag port is synchronous to the internal parallel clock and hence adequate timing for writing must be provided as indicated in the ac timing information and figure 2. flag port read/write cycles, relative to the data stream, should take place as outlined in section 5.3 (host interface read/write timing). 3.11 crc_mode and flag_map mode a common configuration is to have an input edh chip that checks for errors at the input of a piece of equipment, followed by a processing block that manipulates the data, followed by an output edh chip that updates the crc values in the edh packet before the data exits the equipment. because the processing block changes the data values, the crc values in the edh packet no longer represent the data stream. the output edh chip updates the crc values to correctly reflect the newly modified data. to prevent the output edh chip from indicating erroneous crc errors on each field, the GS9020A has two special modes of operation, crc_mode and flag_map mode. 3.11.1 crc_mode in crc_mode, the crc values in the edh packet are updated by the chip but the error flags are preserved and unaltered, unless they are overwritten via the hostif or the flag port. this mode should be used by the output edh chip to prevent the newly processed data from creating misleading edh errors due to crc mismatches. the device is placed in crc_mode by asserting the crc_mode pin high. read mode, f_r/ w = 1 s[1:0] fl4 fl3 fl2 fl1 fl0 00 ff ues ff ida ff idh ff eda ff edh 01 ap ues ap ida ap idh ap eda ap edh 10 anc ues anc ida anc idh anc eda anc edh 11 edh_ chksum apv ffv s pin logic opr host bit crc_mode flag_map or flag_map 19922 - 2 15 GS9020A crc_mode is applicable when the processing circuitry does not corrupt the edh packet, as illustrated in figure 13a. in this configuration, the input edh chip operates in normal mode while the output edh chip is in crc_mode. in this scenario, the input ic receives the edh packet and does normal edh processing. the output ic updates the edh packet with new crc values but passes the edh flags through unaltered. be- cause of this, erroneous edh flag handling by the second edh chip is not performed. 3.11.2 flag_map mode in flag_map mode, the flag port is used to read edh flags from the GS9020A and write them to another edh chip. to enable flag_map mode, the flag_map mode pin and the f_r/w pin must be asserted high (set f_r/w at least one cycle ahead of flag_map). after a delay of t fen , the fl[4:0] and s[1:0] pins of the flag port become outputs and can be connected to the chip which you wish the GS9020A to write the flag data to. in this mode the GS9020A automatically increments the value of s[1:0] and subsequently displays the appropriate flags on the fl[4:0] port, synchronous to the rising edge of pclkout. this is illustrated in figure 12d. figure 12d displays three properties of the flag port in flag_map mode. first, each data is present on the flag port for two clock cycles to eliminate any setup time violations that might occur due to clock data skew between chips placed far apart. however, the designer must still ensure that the hold time is satisfied. second, the s[1:0] pins never cycle to the value of "11" in flag_map mode since the values contained in the fl[4:0] register when s[1:0] ="11" are not considered edh flags. also, the chip cycles s[1:0] in the sequence "01", "00", "10" since this is the order in which the flags are stored and subsequently decoded from the edh packet. finally the s[1:0] pins only change value after receipt of an edh packet and are thus static between packets. during this inter-packet time, the s[1:0] pins display a value of "01" and the fl[4:0] pins display the anc edh flags from the preceding edh packet. for reliable data output on the flag port, switching the flag_map pin when an edh packet is exiting the device is not advised. also, if the edh core is bypassed by asserting the bypass_edh pin high, the flag port will always display zeros. this is because the incoming flags (which will be decoded and written to the hostif table) will not be updated to reflect the condition of the input data, and as a result no outgoing flags will be generated (the flag port only displays the outgoing edh flags). flag_map mode can be used to write edh flags to any chip, the most common use being applicable when the processing circuitry following the edh chip corrupts the edh packet. in this case, the flag_map mode can be used to route the edh flags from an input edh chip around the processing core and write them to an output edh chip. in this configuration, the input ic is in flag_map mode. it receives the edh packet, does normal edh processing and transfers the new edh flags to the output ic. the output ic, which is not in flag_map mode but is in write mode (flag_map and f_r/w stay low) receives these flags as they are written to it by the edh chip. the output edh chip then updates the edh packet with the new crc values and inserts the preserved edh flags that have been transferred from the input ic. a diagram of this can be found in figure 13b. because the flags are output as soon as they are decoded, the maximum processing latency supported between the two edh chips is the number of clock cycles in the shortest field of the standard minus 15 clock cycles. for example, d1 has one field of 262 x 1716 = 449592 clock cycles, and one field of 263 x 1716 = 451308 clock cycles. thus the maximum latency for d1 is 449592 - 15 = 449577 clock cycles. any additional latency requires that the flags be delayed before they can be piped to the output chip. since writing to the flag port takes precedence over the hostif writing, if any of the flags need to be forced at the output edh chip, external logic in the routing path must be added. alternately, the hostif of the edh chip can be used to perform any additional flag masking. 3.12 bypass_edh processing edh processing can be bypassed by asserting the bypass_edh pin or hostif write table bit high. when bypassed, edh packets pass through the chip unaltered. overwriting information in the edh packet via the hostif write table or the flag port has no effect. data processing in the chip (as described below) can still occur even if bypass_edh is asserted. in this case, valid incoming error flags can be read via the i 2 c or parallel port interface. however, reading outgoing error flags via the host port or the flag port returns values of 0. pin logic opr host bit bypass_edh or bypass_edh 19922 - 2 16 GS9020A 4. data processing block the GS9020A contains advanced data processing features that can simplify system design requirements. these include: trs blanking, itu-r-601 clipping data blanking, trs insertion, and anc header updating it is important to note that these processing functions occur in the GS9020A in the order listed above. when implementing applications which use the edh core (ie. bypass_edh set low), trs blanking, data blanking, and trs insertion will indicate a downstream ff/ap edh error when a 3fc h -3ff h input data value is blanked out or overwritten to a value less than 3fb h . as such, users may wish to disable data blanking, trs blanking and trs insertion by setting the blank_en pin high, the clip_trs pin low, and leaving the corresponding host interface bits at their power-on default values when implementing applications which use the edh core. 4.1 trs blanking when asserted high, trs_blank (hostif write table) will blank out any incorrectly positioned trs words with respect to the flywheel. the blanking values used will be appropriate for the detected video standard as described below in the data blanking section. when trs_insert is enabled and trs_blank is not, there may be 4 trss per line in the outgoing data stream during a standard switch. similarly, if trs_blank is enabled and trs_insert is not, then there may be 0 trs per line during a switch. in most applications, these features should be either both enabled or both disabled to maintain only two trss per line. trs blanking will function incorrectly if the flywheel is disabled. thus if the flywheel is disabled the trs_blank function should be disabled as well. 4.2 itu-r-601 clipping this feature operates on the active picture portion (as defined in rp165) of the data stream only. when the 601_clip bit of the hostif write table is asserted high, the device remaps all reserved data words in the active picture to values compliant with itu-r-601. that is, 000-003 is clipped to 004 and 3fc h -3ff h is clipped to 3fb h . 4.3 data blanking asserting the blank_en pin or the corresponding hostif write table bit low causes the corresponding input data to be forced to blanking levels. this is a dynamic control allowing the user to individually select which data words are to be blanked. trs and edh insertion occurs after data blanking so if all these features are being used, the output data stream continues to have trs words and edh packets present, even if the blank_en is constantly held low. the outgoing edh packet will contain the correct crc values for the blanked fields since the crc values are calculated and inserted just prior to the data exiting the device. the blanking values in hexi-decimal notation for each standard are as follows: note that the device must first detect the incoming standard in order for the proper blanking values to be inserted. 4.4 trs insertion trs words, based on the internal flywheel, can be inserted into the outgoing data stream by asserting high the trs_insert bit of the hostif write table. note that for proper trs insertion, the incoming standard must be detected and the flywheel synchronized. that is, the GS9020A does not provide proper trs insertion for unformatted video data (video without trs words). pin logic opr host bit trs_blank pin logic opr host bit 601_clip pin logic opr host bit blank_en and blank_en ntsc/pal 4:2:2 200 040 200 040 (cb:y:cr:y) ntsc 4 ? sc 0f0 pal 4 ? sc 100 ntsc/pal 4:4:4:4 040 040 040 040 (b:g:r:a) 200 040 200 040 (cb:y:cr:a) 19922 - 2 17 GS9020A in the case where the input signal disappears, trss will continue to be inserted based on the last detected standard. further, if a trs is already in the correct location, it will be overwritten which may have the effect of correcting the trs-id word. trs insertion will function incorrectly if the flywheel is disabled. thus if the flywheel is disabled the trs_insert function should be disabled as well. 4.5 clipping and trs blanking/insertion asserting the clip_trs pin high turns on three features described above: itu-r-601 clipping, trs blanking, and trs insertion these three functions can also be turned on individually through the hostif as described above. the clip_trs pin is logically ored with each of the three bits from the hostif table. as a result, as long as the clip_trs pin is asserted, these functions cannot be turned off via the hostif. 4.6 ancillary header updating of the anc headers can occur to facilitate 8-bit to 10-bit conversion. if the anc_header bit of the hostif write table is set high, all 3fc-3ff data values corresponding to component anc headers are remapped to 3ff in the output data stream. for example, if 8 bit data is input to the device, the anc header of 00, ff, ff will appear as 000, 3fc, 3fc and will be remapped to 000, 3ff, 3ff by the GS9020A. 5.0 host interface tables the host interface tables (hostif) refer to memory locations within the GS9020A which store functional information about the device. there are two tables, a write table and read table. the write table is organized into 15 word locations (each 8 bits wide) as shown in table 2 and is used to set various configuration/flag bits. the read table is organized into 23 word locations (each 8 bits wide) as shown in table 3 and is used to read status information from the device. the hostif tables can be accessed via an i 2 c (inter- integrated circuit) serial interface or an 8-bit parallel interface. the hostif_mode pin selects which interface is used. if the hostif_mode pin is high, the hostif operates in i 2 c mode. if the hostif_mode pin is low, the hostif operates in parallel mode. note that many bits stored in the tables are also available as device pins. bits in the write table that have a default value of 0 are logically ored with the corresponding pin. write table control bits vblanks/l and blank_en , which have a default value of 1, are logically anded with the corresponding pin. however, write table control bit anc_chksm, which has a default value of 1, is logically ored with the corresponding pin. therefore, to use the anc_chksm pin, the anc_chksm control bit must first be set to 0. if the host interface is not going to be used, the best way to set the related pins is as follows: hostif_mode = low cs = high r/w = high a/d = don't care (but not floating) p[7:0] = n/c pin logic opr host bit trs_insert pin logic opr host bit clip_trs or 601_clip trs_blank trs_insert pin logic opr host bit anc_header pin logic opr host bit hostif_mode 19922 - 2 18 GS9020A 5.1 i2c serial interface the i 2 c interface consists of a bi-directional serial data pin (sda) and a serial clock input pin (scl). in addition, 3 input pins, a[2:0] are provided to assign the chip one of eight possible i 2 c addresses (0001a 2 a 1 a 0 ). during an i 2 c write operation, the first byte written to the chip (after the device has been addressed) is interpreted as the starting hostif write table address for the communication. the next byte is interpreted as data to be written to this address. the address then automatically increments so that the following bytes are written to subsequent addresses. when executing a read operation, a write must be performed first to load the starting address. after this, bytes read from the chip will begin at this address and will auto- increment. if the read operation is halted and communication with the chip is later established for another read, the chip will resume reading at the next hostif memory address. in i 2 c mode, p[7:5] and a/d must be set low while r/w and cs must be set high. 5.2 parallel interface the asynchronous parallel interface consists of an 8-bit multiplexed address/data bus (p[7:0]), a chip select pin (cs ), a read/write pin (r/w ), and an address/data pin (a/d ). the following should be noted when interfacing to the parallel port: a) read/write cycles via the parallel interface are completely independent and asynchronous to the parallel clock pclkout. b) signals are "strobed" into/out of the parallel port on the falling edge of the cs signal. setup and hold times, as defined in the ac timing tables, are relative to this edge and must be met (see figure 14a) c) the GS9020A drives the p[7:0] bus when the r/w pin is high and the cs pin is low. at all other times, the p[7:0] port is in a high impedance state. the host interface enable and disable times are shown in figure 14b and are specified in the ac timing information. in this figure, the rising/falling edges of r/w and cs are not aligned to illustrate that the state of the p[7:0] i/os is only a combinatorial function of the r/w and cs pins. a write cycle to the parallel interface is shown in figure 14c. the starting address of the operation is written to the chip by putting the r/w pin low (indicating write) and the a/d pin high (indicating address). at t 0 , the falling edge of cs strobes in the information. following this, the a/d line should be asserted low indicating data. the r/w line remains low indicating a write operation and at t 1 the data is strobed into the device. a read example follows the write cycle. note that the read cycle begins with a write operation to indicate the starting address. at t 2 , r/w is low (indicating write), a/d is high (indicating address) and p[7:0] represent the starting address for the read cycle. after sufficient hold time, the microcontroller releases the p[7:0] bus and the r/w is asserted high to indicate a read operation. at t 3 , the cs is asserted low causing the GS9020A to present the required data on the p[7:0] bus. if two consecutive data read or write operations are performed, the device will automatically increment the address. however, for a completely random-access operation, the address can be specified prior to every data read or write operation. 5.3 host interface read/write timing figure 15 illustrates valid times for reading/writing information from the hostif tables. it represents two fields of video data entering and exiting the GS9020A. the relative position of the edh packet in the data stream is also shown. (note that the edh packet entering the device at t 0 , edh f0, represents the edh information from the previous field, field 0). it is safe to read or write edh information at least two lines after an edh packet exits the chip but before the subsequent edh packet enters the chip. reading during the time interval shown will show values from edh f0. writing during the time interval shown will affect edh f1. note that the above read/write timing should also be observed when reading/writing flag information via the flag port. pin logic opr host bit scl sda a[2:0] pin logic opr host bit p[7:0] a/d r/w cs 19922 - 2 19 GS9020A 6.0 reset setting the reset input pin low re-initializes the internal control circuitry including returning all host interface programming values to their original default values. an internal power-on-reset cell is also present in the device so that device initialization occurs on power-up. figure 16a illustrates the reset circuitry. the internal power-on reset circuit of the GS9020A is sensitive to the rise time of the power supply, hence an external power on reset chip or board level reset line is strongly recommended. when using this technique, the user must ensure that a minimum pulse width of 100ns is present on the reset line. in applications where a board-level reset is not available, a circuit similar to figure 16b can be used to ensure correct reset on power-up. the reset pin will typically take 1.4ms to reach 2.5v on power up, but can take longer for power supplies with slower rise times. a bleed resistor such as the one shown (20k) will assist the capacitor to discharge once power is removed. the user should allow the capacitor to discharge to at least 0.5v before power is reapplied, to permit a full internal reset. the time taken by the reset pin to reach 0.5v on power down, is dependent upon the fall time of the power supply. pin logic opr host bit reset 19922 - 2 20 GS9020A table 2: GS9020A host interface write table write table address 7 6 5 4 3 2 1 0 configuration 1 0 sticky in 0 sticky out 0 clr1 0 clr0 0 switch flyw 0 flywdis 00 20 1 vblanks/l 0 std sel 0 s 0 std3 0 std2 0 std1 0 std0 3 0 601_clip 1 blank_en 0 anc_header 0 bypass_edh 0 flag_map 1 anc_chksm 0 trs_insert 0 trs_blank overwrite val- ues 4 0 ff ues 0 ff ida 1 0 ff eda 0 ff edh 0 anc ues 0 anc ida 1 5 0 ap ues 0 ap ida 1 0 ap eda 0 ap edh 0 and eda 0 anc edh 0 overwrite con- trol 6 0 ff ues 0 ff ida 0 ff idh 0 ff eda 0 ff edh 0 anc ues 0 anc ida 0 anc idh 7 0 ap ues 0 ap ida 0 ap idh 0 ap eda 0 ap edh 0 anc eda 0 anc edh 0 error sensitiv- ity bits 8 0 ff ues 0 ff ida 0 ff idh 0 ff eda 0 ff edh 0 anc ues 0 anc ida 0 anc idh 9 0 ap ues 0 ap ida 0 ap idh 0 ap eda 0 ap edh 0 anc eda 0 anc edh 1 edh_chksm reserved (out- going) 10 0 rw1 b7 0 rw1 b6 0 rw1 b5 0 rw1 b4 0 rw1 b3 0 rw1 b2 0 rw2 b7 0 rw2 b6 11 0 rw2 b5 0 rw2 b4 0 rw2 b3 0 rw2 b2 0 rw3 b7 0 rw3 b6 0 rw3 b5 0 rw3 b4 12 0 rw3 b3 0 rw3 b2 0 rw4 b7 0 rw4 b6 0 rw4 b5 0 rw4 b4 0 rw4 b3 0 rw4 b2 13 0 rw5 b7 0 rw5 b6 0 rw5 b5 0 rw5 b4 0 rw5 b3 0 rw5 b2 0 rw6 b7 0 rw6 b6 14 0 rw6 b5 0 rw6 b4 0 rw6 b3 0 rw6 b2 0 rw7 b7 0 rw7 b6 0 rw7 b5 0 rw7 b4 15 0 rw7 b3 0 rw7 b2 0 ro_ctrl 1 ffv 1 apv 000 note: 1. superscripts denote default settings upon reset. 19922 - 2 21 GS9020A table 3: GS9020A host interface read table read tableaddress76543210 configuration 1 f2 f1 f0 s std3 std2 std1 std0 2 no_edh edh_chksm trs_err ffv apv 0 0 0 incoming error flags 3 ff ues ff ida ff idh ff eda ff edh anc ues anc ida anc idh 4 ap ues ap ida ap idh ap eda ap edh anc eda anc edh 0 outgoing error flags 5 ff ues ff ida ff idh ff eda ff edh anc ues anc ida anc idh 6 ap ues ap ida ap idh ap eda ap edh anc eda anc edh 0 incoming ff crc 7 b15 b14 b13 b12 b11 b10 b9 b8 8b7b6b5b4b3b2b1b0 outgoing ff crc 9 b15 b14 b13 b12 b11 b10 b9 b8 10 b7 b6 b5 b4 b3 b2 b1 b0 incoming ap crc 11 b15 b14 b13 b12 b11 b10 b9 b8 12 b7 b6 b5 b4 b3 b2 b1 b0 outgoing ap crc 13 b15 b14 b13 b12 b11 b10 b9 b8 14 b7 b6 b5 b4 b3 b2 b1 b0 errored field counter 15 b23 b22 b21 b20 b19 b18 b17 b16 16 b15 b14 b13 b12 b11 b10 b9 b8 17 b7 b6 b5 b4 b3 b2 b1 b0 reserved words (incoming) 18 rw1 b7 rw1 b6 rw1 b5 rw1 b4 rw1 b3 rw1 b2 rw2 b7 rw2 b6 19 rw2 b5 rw2 b4 rw2 b3 rw2 b2 rw3 b7 rw3 b6 rw3 b5 rw3 b4 20 rw3 b3 rw3 b2 rw4 b7 rw4 b6 rw4 b5 rw4 b4 rw4 b3 rw4 b2 21 rw5 b7 rw5 b6 rw5 b5 rw5 b4 rw5 b3 rw5 b2 rw6 b7 rw6 b6 22 rw6 b5 rw6 b4 rw6 b3 rw6 b2 rw7 b7 rw7 b6 rw7 b5 rw7 b4 23rw7 b3rw7 b2000000 19922 - 2 22 GS9020A fig. 1 serial data input setup & hold times fig. 3 output delay & hold times (synchronous outputs) fig. 5 interfacing the GS9020A to the gs9025a fig. 2 input setup & hold times (synchronous inputs) fig. 4 serial data & clock input circuit fig. 6 serial data output circuit fig. 7 interfacing the GS9020A to the gs9028 sdi clock serial data t ss t sh pclkout data valid synchronous outputs t od t oh t os sdo v dd sdo sco sco gs9025a GS9020A sdi sdi v dd , sdi v dd , sdi sci sci v dd , sci v dd , sci v dd pclkout valid synchronous inputs t 2 t 1 sdi sdi v dd , sdi r pullup r pullup v dd , sdi sdo sdo v dd v dd sdo sdo sco sco gs9025 gs9028 sdi 2z 0 z 0 v diff out = sdo x 2z 0 sdi + - v diff out sdo v dd gs9025a sdo v dd , sdi sdi sdi v dd , sdi sci sci v dd , sci v dd , sci GS9020A sdomode sdo sdo 19922 - 2 23 GS9020A fig. 8a fvh timing for component video fig. 8b f and h timing for composite video fig. 9a fi fo _reset pulse timing for component signals (fifoe/ s = 1) fig. 9b fi fo _reset pulse timing for component signals (fifoe/ s = 0) 3ff 000 000 eav t oh t os 3ff 000 000 sav dout [9:0] pclkout f [2:0] h v t od t os 3ff 000 000 000 h dout [9:0] pclkout f [2:0] trs-id t oh t od t os t os dout[9:0] fifo_reset 3ff eav id 000 000 3ff sav id 000 000 pclkout dout[9:0] fifo_reset 3ff eav id 000 000 3ff sav id 000 000 pclkout 19922 - 2 24 GS9020A fig. 9c fi fo _reset pulse timing for composite signals (fifoe/ s = 0 or 1) fig. 10a anc_data timing for component signals fig. 10b anc_data timing for composite signals fig. 11 i nterrupt timing dout[9:0] fifo_reset 3ff 000 000 000 trs id pclkout dout[9:0] anc_data 3ff did 000 cs udw udw pclkout 3ff dout[9:0] anc_data did dc 3cf cs udw udw pclkout dbn sdi/sdi dout[9:0] interrupt transition point unknown transition point unknown edh edh e d h e d h 19922 - 2 25 GS9020A fig. 12a flag port read/write timing fig. 12b flag port disable time fig. 12c flag port enable time fig. 12d flag port timing in flag map mode fig. 13a example of crc_mode implementation pclkout write cycle read cycle fl[4:0] s[1:0] xx f_r//w ff ap anc s 11 xx ff ap anc s 11 xx t 0 t 1 t 2 t 3 t 4 t 5 t 6 t 7 t 8 00 01 10 11 00 01 10 11 { { pclkout fl [4:0] f_r/w t fdis pclkout fl [4:0] f_r/w t fen pclkout flagmap f_r/w s[1:0] fl[4:0] xx 0 xx 1 xx 2 xx 0 xx 1 xx 2 ff ap anc 00 01 10 t fen x ff ap 01 00 10 anc double clocking anc 10 flags held at anc between edh packets processing which does not affect the edh packet crc_mode = 0 r/t = 1 (gs9021a) crc_mode = 1 GS9020A or gs9021a gs9021a 19922 - 2 26 GS9020A fig. 13b example of flag_map mode implementation fig. 14a hostif parallel port input setup & hold times fig. 14b hostif parallel port output enable & disable times processing corrupts edh packet fl [4:0] s [1:0] crc_mode = 0 flag map = 1 f_r/w = 1 r/t = 1 (gs9021a) flag map = 0 f_r/w = 0 GS9020A or gs9021a gs9021a 7 a/d r/w cs p [7:0] t hs t hh GS9020A driving p[7:0] r/w cs t hen t hdis 19922 - 2 27 GS9020A fig. 14c hostif parallel port read/write cycles fig. 15 host interface read/write timing fig. 16a reset circuitry fig. 16b acceptable external reset circuit when a master reset is not available write cycle read cycle p[7:0] a/d r/w cs address address data data data in t 0 t 1 t 2 t 3 t 4 { { valid time to read/write edh information to/from gs9020 field 0 field 1 field 2 dout[9:0] e d h f0 e d h f1 t 0 2 lines sdi/sdi edh f0 edh f1 internal power on reset cell internal reset signal t max = 25? t reset reset pin manual reset switch (optional) reset v dd 0v 0v 5v 5v v dd reset ~1.4 ms t t 2k 1uf 20k 19922 - 2 28 GS9020A fig. 17 gs9025a - GS9020A schematic diagram (basic operation schematic) v cc v cc c1 10 c2 100n gnd v dd c28 10 c29 100n r100 11k v cc v cc r99 150 led23 r101 11k q4 v cc c8 10n c10 4.7n smpte 44 43 42 41 40 39 38 37 36 35 34 v cc 75_1 nc.(oem) smpte a/d ssi-cd lock c osc v ee clk_en v cc v ee v ee sdo sdo v ee sco sco v ee a/m ss0 ss1 ss2 ddi ddi v cc 75_2 v cc _eqd v ee _eqd sdi sdi v cc _eqa v ee _eqa cd-adj agc- agc+ v cc vee lf+ lfs lf- v ee1 r vco - r vco+ cbg v cc 12 13 14 15 16 17 18 19 20 21 22 1 2 3 4 5 6 7 8 9 10 11 33 32 31 30 29 28 27 26 25 24 23 z0 = 75 z0 = 75 a/m ss0 ss1 ss2 gs9025a v cc c9 10n v cc c11 10n v cc c17 10n c14 10n c13 10n r20 75 z0 = 75 in2 j3 r19 75 r21 75 r43 39 l7 15nh c19 100pf v cc v cc v cc c21 10n c22 100n r24 2k c24 3p3 r31 1k8 c26 15n r25 365 c20 100n c43 100n c23 100n v dd d1 2 1 c40 10n 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 v dd gnd gnd v dd v ddsdi sdi sdi v ddsdi v ddsci sci sci v ddsci v dd gnd hostif_mode fifoe/s crc_mode p7 p6 p5 c41 10n anc_data trs_err clip_trs anc_chksm blank_en sdomode bypass_edh vblanks/l s gnd sdo sdo s vdd v dd gnd flag_map f2 f1 f0 h v GS9020A 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 v dd d9 d8 d7 d6 d5 d4 d3 d2 d1 v dd gnd d0 pclkout fifo_reset no_edh flywdis interrupt f_r/w s0 s1 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 clk v dd c12 10n video data & clock outputs scl/p4 sda/p3 a2/p2 a1/p1 a0/p0 r/w a/d cs v dd gnd reset nc std2 std1 std0 fl4 fl3 fl2 fl1 fl0 v dd c25 10n 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 v dd v dd anc_data trs_error vblanks/l v dd v dd v dd v cc v dd v dd v dd v dd d2 v dd 1 2 19922 - 2 29 GS9020A fig. 18 gs9025a - GS9020A - gs9028 schematic diagram (advanced operation schematic) v dd flag_map f2 f1 f0 h v v cc v cc c1 10 c2 100n gnd v dd c28 10 c29 100n r100 11k v cc v cc c8 10n c10 4.7n smpte 44 43 42 41 40 39 38 37 36 35 34 v cc 75_1 nc.(oem) smpte a/d ssi-cd lock c osc v ee clk_en v cc v ee v ee sdo sdo v ee sco sco v ee a/m ss0 ss1 ss2 ddi ddi v cc 75_2 v cc _eqd v ee _eqd sdi sdi v cc _eqa v ee _eqa cd-adj agc- agc+ v cc vee lf+ lfs lf- v ee r vco - r vco+ cbg v cc 12 13 14 15 16 17 18 19 20 21 22 1 2 3 4 5 6 7 8 9 10 11 33 32 31 30 29 28 27 26 25 24 23 z0 = 75 z0 = 75 a/m ss0 ss1 ss2 gs9025a v cc c9 10n v cc c11 10n v cc c17 10n c14 10n c13 10n r20 75 z0 = 75 in2 j3 r19 75 r21 75 r43 39 l7 15nh c19 100pf v cc v cc c21 10n c22 100n r24 2k c24 3p3 r31 1k8 c26 15n r25 365 c20 100n c43 100n c23 100n v dd d1 2 1 c40 10n v dd 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 v dd v dd gnd gnd v dd v ddsdi sdi sdi v ddsdi v ddsci sci sci v ddsci v dd gnd hostif_mode fifoe/s crc_mode p7 p6 p5 c41 10n anc_data trs_err clip_trs anc_chksm blank_en sdomode bypass_edh vblanks/l s gnd sdo sdo s vdd v dd gnd flag_map f2 f1 f0 h v GS9020A 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 anc_data trs_error clip_trs anc_chksm blank_en sdomode bypass_edh vblanks/l v dd z0 = 50 c42 100n r4 50 r7 50 v dd c5 100n c3 1 gs9028 v ee sdi sdi v cc d9 d8 d7 d6 d5 d4 d3 d2 d1 v dd gnd d0 pclkout fifo_reset no_edh flywdis interrupt f_r/w s0 s1 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 clk fifo_reset no_edh flywdis interrupt f_r/w s0 s1 v dd c12 10n video data & clock outputs scl/p4 sda/p3 a2/p2 a1/p1 a0/p0 r/w a/d cs v dd gnd reset nc std2 std1 std0 fl4 fl3 fl2 fl1 fl0 scl sda a2 a1 a0 std2 std1 std0 fl4 fl3 fl2 fl1 fl0 flag port i/o i 2 c interface v dd c25 10n user selected options fvh indication 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 rset v ee sdo sdo r6 59 r9 75 l6 8.2nh c7 1 j1 r2 75 r3 75 v dd c101 10n l5 8.2nh r10 75 r8 75 v cc v cc v dd v dd v dd d2 v dd 1 2 v cc r99 150 led23 r101 11k q4 19922 - 2 30 gennum corporation mailing address: p.o. box 489, stn. a, burlington, ontario, canada l7r 3y3 tel. +1 (905) 632-2996 fax. +1 (905) 632-5946 shipping address: 970 fraser drive, burlington, ontario, canada l7l 5p5 gennum japan corporation c-101, miyamae village, 2-10-42 miyamae, suginami-ku tokyo 168-0081, japan tel. +81 (03) 3334-7700 fax. +81 (03) 3247-8839 gennum uk limited 25 long garden walk, farnham, surrey, england gu9 7hx tel. +44 (0)1252 747 000 fax +44 (0)1252 726 523 gennum corporation assumes no responsibility for the use of any circuits described herein and makes no representations that th ey are free from patent infringement. ? copyright september 2001 gennum corporation. all rights reserved. printed in canada. GS9020A package dimensions package dimensions package dimensions package dimensions 80 1 16.00 ?.20 16.00 ?.20 14.00 ?.10 14.00 ?.10 1.60 max 1.40 ?.05 0.65 bsc 0.30 ?.08 1.0 ref 0.08/0.20 radius 0.08 min radius 0.60 ?.15 0.20 min 13? typ 13? typ 7? max 0? min dimensions in millimetres 80 pin lqfp revision notes: updated to data sheet caution electrostatic sensitive devices do not open packages or handle except at a static-fr ee work station docum ent i denti fi cati on data sheet the product is in production. gennum reserves the right to make changes at any time to improve reliability, function or design, in order to provide the best product possible. |
Price & Availability of GS9020A
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |