0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
VP5313

VP5313

  • 厂商:

    ZARLINK

  • 封装:

  • 描述:

    VP5313 - NTSC/PAL Digital Video Encoder - Zarlink Semiconductor Inc

  • 数据手册
  • 价格&库存
VP5313 数据手册
Obsolescence Notice This product is obsolete. This information is available for your convenience only. For more information on Zarlink’s obsolete products and replacement product lists, please visit http://products.zarlink.com/obsolete_products/ VP5313/VP5513 NTSC/PAL Digital Video Encoder Supersedes DS4509 1.9 September 1997 edition DS4509 - 2.2 October 1998 The VP5313/VP5513 converts digital Y Cr Cb data into analog PAL or NTSC composite video, and also provides simultaneous RGB outputs. These additional converters can optionally provide separate luma and chroma outputs plus a further composite video channel. All outputs are capable of driving doubly terminated 75Ω loads with standard video levels. All D/A converters are to 9 bit accuracy, and are provided with 27MHz oversampled data. The latter simplifies the requirement for external analog anti-aliasing filters, and reduces the sinx/x distortion inherent in D/A converters. Separate digital scaling is applied to the chroma data path in order to make the most efficient use of the 9 bit dynamic range. The device accepts data inputs complying with CCIR recommendation 656. In this format 4:2:2 video is multiplexed onto an 8 bit bus using a 27MHz clock. Active video markers are embedded into the data stream and extracted by the VP5313/VP5513. Optionally the user can supply separate horizontal and vertical syncs, and colour can be genlocked to an external subcarrier if necessary. In an alternative operating mode the VP5313/VP5513 can be configured as the source of sync for the rest of the system. In this master mode the horizontal and vertical sync pins become outputs, and any control codes in the CCIR656 bit stream are ignored. The VP5313/VP5513 supports the insertion of teletext data through a serial interface. An internal filter shapes the data edges. 33 23 34 22 44 12 1 11 GP44 Fig.1 Pin connections (top view) PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 FUNCTION VDD PD5 PD6 PD7 CLAMP COMPSYNC PALID SCSYNC REFSQ GND VDD FC2 FC1 FC0 HSYNC VSYNC TTXREQ SA TTXDATA VDD GND RESET PIN 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 FUNCTION SCL SDA DACCOMP RED/C GREEN/Y AVDD AGND AVDD BLUE/CVBS2 CVBS1 VREF RREF AGND AGND AVDD PD0 PD1 PD2 PD3 PD4 GND PXCK FEATURES s s s s s s s s s s s Converts Y, Cr, Cb data to analog RGB and composite or S-video and composite video Supports CCIR recommendations 601 and 656 All digital video encoding Selectable master/slave mode for sync signals Switchable chrominance bandwidth CCIR 624 PAL SMPTE or 170M NTSC compatible outputs GENLOCK mode I2C bus serial microprocessor interface Only VP5313 supports Macrovision anti-taping Rev. 7.01 Line 21 Closed Caption encoding Teletext insertion, fully line programmable APPLICATIONS s s s s s s Digital Cable TV Digital Satellite TV Multi-media Video games Digital VCRs Karaoke ORDERING INFORMATION VP5313A/CG/GP1N VP5513A/CG/GP1N VP5313/VP5513 RECOMMENDED OPERATING CONDITIONS Parameter Power supply voltage Power supply current (including analog outputs)1 Power supply current (including analog outputs)2 Input clock frequency SCL clock frequency Analog video output load DAC gain resistor Ambient operating temperature 1. 2. All four DACs driving 37R5 loads All four DACs driving 75R loads Symbol Min. Typ. 5.00 Max. Units V mA mA MHz kHz Ω Ω °C VDD, AVDD 4.75 IDD IDD PXCK -50ppm fSCL 0 5.25 230 190 27.00 +50ppm 500 37.5 730 70 ELECTRICAL CHARACTERISTICS Test conditions (unless otherwise stated): As specified in Recommended Operating Conditions DC CHARACTERISTICS Parameter Digital Inputs TTL compatible (except SDA, SCL) Input high voltage Input low voltage Digital Inputs SDA, SCL Input high voltage Input low voltage Input high current Input low current Digital Outputs CMOS compatible Output high voltage Output low voltage Digital Output SDA Output low voltage VIN = VDD VIN = VSS IOH = -1mA IOL = +4mA IOL = +6mA VIN VIL VIH VIL IIH IIL VOH VOL VOL 3.7 0.4 0.6 2.0 0.8 0.7VDD 0.3VDD 10 -10 V V V V µA µA V V V Conditions Symbol Min. Typ. Max. Units DC CHARACTERISTICS DACs Parameter Accuracy (each DAC) Integral linearity error Diffential linearity error DAC matching error Monotonicity LSB size Internal reference voltage Internal reference voltage output impedance Reference Current (VREF/RREF) RREF = 730Ω Maximum output Peak Glitch Energy (see fig.3) Symbol INL DNL guaranteed Min. Typ. Max. ±1.5 ±1 ±5 Units LSB LSB % µA V Ω mA mA pV-s VREF ZR IREF 0.95 66.83 1.00 8k 1.3899 34.15 50 1.05 ABSOLUTE MAXIMUM RATINGS Supply voltage VDD, AVDD Voltage on any non power pin Ambient operating temperature Storage temperature -0·3 to 7·0V -0·3 to VDD+0·3V 0 to 70°C -55°C to 150°C Note: Stresses exceeding these listed under Absolute Maximum Ratings may induce failure. Exposure to Absolute Maximum Ratings for extended periods may reduce reliability. Functionality at or above these conditions is not implied. 2 VP5313/VP5513 ESD COMPLIANCE Pins All pins All pins Test Human body model Machine model Test Levels 2kV on 100pF through 1k5Ω 200V on 200pF through 0Ω & 500nH Notes Meets Mil-Std-883 Class 2 DC CHARACTERISTICS DACs Parameter RGB outputs: Peak level Black level CVBS1, 2 Y and C outputs - NTSC (pedestal enabled) Maximum output, relative to sync bottom White level relative to black level Black level relative to blank level Blank level relative to sync level Colour burst peak - peak DC offset (bottom of sync) CVBS1, 2, Y and C outputs - PAL White level relative to black level Black level relative to sync level Colour burst peak - peak DC offset (bottom of sync) All figures are for: RREF = 730Ω; if RL = 75Ω then RREF = 1460Ω Symbol Min. Typ. 19.98 1.337 Max. Units mA mA 33.75 17.63 1.40 7.61 7.61 0.40 mA mA mA mA mA mA 18.70 8.01 8.01 0.00 mA mA mA mA VIDEO CHARACTERISTICS (NTSC, PAL COMPOSITE VIDEO) Parameter Luminance bandwidth Chrominance bandwidth (Extended B/w mode) Chrominance bandwidth (Reduced B/w mode) Burst frequency (NTSC) Burst frequency (PAL-B, D,G,H,I) Burst frequency (PAL-N Argentina) Burst cycles (NTSC and PAL-N) Burst cycles ( PAL-B, D, G, H,I) Burst envelope rise / fall time (NTSC ) Burst envelope rise / fall time (PAL-B, D, G, H, I, N) Analog video sync rise / fall time (NTSC) Analog video sync rise / fall time (PAL-B, D, G, H,I) Analog video blank rise / fall time (NTSC ) Analog video blank rise / fall time (PAL-B, D, G, H,I) Differential gain Differential phase Signal to noise ratio (unmodulated ramp) Chroma AM signal to noise ratio (100% red field) Chroma PM signal to noise ratio (100% red field) Hue accuracy Colour saturation accuracy Residual sub carrier Luminance / chrominance delay Symbol Min. Typ. 5.5 1.3 650 3.57954545 4.43361875 3.58205625 9 10 300 300 145 245 145 245 1 1 -61 -56 -58 2.5 2.5 10 Max. Units MHz MHz kHz MHz MHz MHz Fsc cycles Fsc cycles ns ns ns ns ns ns % pk-pk ° pk-pk dB dB dB % % dB ns -60 5 3 VP5313/VP5513 PIN DESCRIPTIONS Pin Name PD0-7 PXCK SA SCL SDA FC0-2 REFSQ SCSYNC PALID COMPSYNC CLAMP Pin No. 2-4, 38-42 44 18 23 24 12-14 9 8 7 6 5 Description 8 Bit Pixel Data inputs clocked by PXCK. PD0 is the least significant bit. These pins are internally pulled low. 27MHz Pixel Clock input. The VP5313/VP5513 internally divides PXCK by two to provide the pixel clock. Slave address select. Standard I2C bus serial clock input. Standard I2C bus serial data input/output. Field Counter output in master sync mode. Reference square wave input used only during Genlock mode. Subcarrier sync input, (synchronises phase quadrant in 4xfsc genlock mode), see fig 6. PAL IDENT input, controls swinging colour burst phase in PAL genlock mode. Composite sync pulse output. This is an active low output signal. The CLAMP output signal is synchronised to COMPSYNC output and indicates the position of the BURST pulse, (lines 10-263 and 273-525 for NTSC; lines 6-310 and 319-623 for PALB,D,G,I,N(Argentina)). Teletext Data Request output, requests next line of teletext data. Teletext Data input. Horizontal Sync, output in master mode, input in slave mode Vertical Sync, output in master mode, input in slave mode Master reset. This is an asynchronous, active low, input signal and must be asserted for a minimum 200ns in order to reset the VP5313/VP5513. Voltage reference output. This output is nominally 1·0V and should be decoupled with a 100nF capacitor to GND. DAC full scale current control. A resistor connected between this pin and GND sets the magnitude of the video output current. An internal loop amplifier controls a reference current flowing through this resistor so that the voltage across it is equal to the Vref voltage. This reference current has a weighting equal to 20.8 LSB’s. DAC compensation. A 100nF ceramic capacitor must be connected to AVDD. Composite video output. These are high impedance current source outputs. A DC path to GND must exist from each of these pins. Blue or composite DAC output. Output type as CVBS1. Green or luminance DAC output. Output type as CVBS1. Red or chrominance DAC output. Output type as CVBS1. Positive supply input. All VDD pins must be connected. Analog positive supply input. All AVDD pins must be connected. Negative supply input. All GND pins must be connected. Analog negative supply input. All AGND pins must be connected. TTXREQ TTXDATA HSYNC VSYNC RESET VREF RREF 17 19 15 16 22 33 34 DACCOMP CVBS1 BLUE/CVBS2 GREEN/Y RED/C VDD AVDD GND AGND 25 32 31 27 26 1, 11, 20 37,28,30 10,21,43 36,29,35 4 VP5313/VP5513 SDA SCL SA RESETB TTXDATA TTXREQ TELETEXT CONTROL I2C INTERFACE SET-UP REGISTERS ANTI-TAPING CONTROL CLOSED CAPTION TELETEXT SHAPING FILTER YCrCb YCrCb to RGB MUX 9 BIT DAC 9 BIT DAC G/Y B/CVBS2 YCrCb 8 PD7-0 INPUT DEMUX YUV INTERPOLATING FILTERS Y UV + SYNC INSERT + R/C 9 BIT DAC CVBS1 9 BIT DAC PXCK HSYNC VSYNC FC0-2 COMPSYNC CLAMP VIDEO TIMING GENERATOR 3 REFSQ SCSYNC PALID DIGITAL PHASE COMP MODULATOR DAC REF COLOUR SUBCARRIER GENERATOR RREF VREF DACCOMP Figure 2 Functional block diagram V W H Peak Glitch Area = H x W/2 T(ps) The glitch energy is calculated by measuring the area under the voltage time curve for any LSB step, typically specified in picoVolt-seconds (pV-s) Figure 3 Glitch Energy (see Peak Glitch Energy in table on page 2) 5 VP5313/VP5513 REGISTERS MAP See Register Details for further explanations. ADDRESS REGISTER NAME hex BAR PART ID2 PART ID1 PART ID0 REV ID MODE GCR VOCR RSTCTL SC_ADJ FREQ2 FREQ1 FREQ0 SCHPHM SCHPHL HSOFFL HSOFFM SLAVE1 SLAVE2 TSTPAT Not used Reserved Not used TTXLO2 TTXLO1 TTXLO0 TTXLE2 TTXLE1 TTXLE0 TTXDD TTXCTL Not used CCREG1 CCREG2 CCREG3 CCREG4 CC_CTL Not used IICEXCTL IICEXW/R Not used Reserved 7 6 5 4 3 2 1 0 R/W W R R R R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W DEFAULT hex 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13-1F 20-33 34-3F 40 41 42 43 44 45 46 47 48-4F 50 51 52 53 54 55-5F 60 61 62-FD FE-FF RA4 RA7 RA6 RA5 ID14 ID17 ID16 ID15 ID0C ID0F ID0E ID0D ID04 ID07 ID06 ID05 REV4 REV7 REV6 REV5 DACCFG FSC4SEL GENDITH GENLKEN NOLOCK DITHEN CHRMCLIP CHRBW SYNCDIS SC7 FR17 FR0F FR07 SCH7 HSOFF7 NCORSTD HCNT7 SC6 FR16 FR0E FR06 SCH6 HSOFF6 VBITDIS HCNT6 SC5 FR15 FR0D FR05 SCH5 HSOFF5 VSMODE HCNT5 SC4 FR14 FR0C FR04 SCH4 HSOFF4 F_SWAP HCNT4 - RA3 RA2 ID13 ID12 ID0B ID0A ID03 ID02 REV3 REV2 VFS1 VFS0 PALIDEN YCDELAY BURDIS LUMDIS SC3 FR13 FR0B FR03 SCH3 HSOFF3 SL_HS1 HCNT3 SC2 FR12 FR0A FR02 SCH2 HSOFF2 SL_HS0 HCNT2 - RA0 RA1 ID10 ID11 ID08 ID09 ID00 ID01 REV0 REV1 SYNCM0 SYNCM1 CLMPDIS CVBSCLMP PEDEN CHRDIS TSURST SC0 SC1 FR10 FR11 FR08 FR09 FR00 FR01 SCH8 SCH0 SCH1 HSOFF0 HSOFF1 HSOFF8 HSOFF9 HCNT8 HCNT9 HCNT0 HCNT1 RAMPEN TTXPAT 00 53 13 01 00 00 20 00 9C A8 26 2B 00 00 7E 00 00 00 00 L14 L22 L327 L335 TTXDD7 L13 L21 L326 L334 TTXDD6 L12 L20 L325 L333 TTXDD5 L11 L19 L324 L332 TTXDD4 L10 L18 L323 L331 TTXDD3 L9 L17 L322 L330 TTXDD2 L8 L16 L319 L321 L329 TTXDD1 L6 L7 L15 L318 L320 L328 TTXDD0 TTXEN F1W1D3 F1W2D3 F2W1D3 F2W2D3 F1EN CTL0 W/RD0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W W R/W 00 00 00 00 00 00 01 00 XX XX XX XX 00 FF - CTL7 W/RD7 F1W1D6 F1W2D6 F2W1D6 F2W2D6 CTL6 W/RD6 F1W1D5 F1W2D5 F2W1D5 F2W2D5 CTL5 W/RD5 F1W1D4 F1W2D4 F2W1D4 F2W2D4 CTL4 W/RD4 F1W1D3 F1W2D3 F2W1D3 F2W2D3 F2ST CTL3 W/RD3 F1W1D2 F1W2D2 F2W1D2 F2W2D2 F1ST CTL2 W/RD2 F1W1D1 F1W2D1 F2W1D1 F2W2D1 F2EN CTL1 W/RD1 Table.1 Register map 6 VP5313/VP5513 REGISTER DETAILS BAR RA7-0 PART ID 2-0 ID17-00 REV ID REV7-0 MODE DACCFG 0 1 VFS1 0 0 1 1 Base register Register address Part number Chip part ID number Revision number Chip revision ID number Mode Control R,G,B & CVBS analog outputs Y,C, CVBS1 & CVBS2 analog outputs VFS0 0 1 0 1 Video Standard PAL-B,D,G,H,I,N(Arg.) NTSC Reserved Reserved Sync mode Slave, Rec. 656 Slave H & V I/P Master H & V O/P Reserved YCDELAY 0 1 CLAMPDIS 0 1 Add delay to luma channel Luma to Chroma delay, 0ns Luma to Chroma delay, 37ns CLAMP O/P select CLAMP O/P enabled CLAMP O/P disabled CVBSCLAMP Composite clamp enable 0 1 CVBS Clamp disabled Clamps CVBS output, to prevent out of range DAC codes. Video Output Control Luma dither enable Normal operation Luma dither enabled Chroma clipping select No chroma clipping Enable clipping of chroma data when luma is clipped Chroma bandwidth select ±650kHz ±1·3MHz Sync disable (in CVBS signal) Normal operation Sync disabled (COMPSYNC O/P is not affected) BURDIS 0 GENLKEN 0 1 NOLOCK 0 1 Genlock enable control Internal subcarrier generation When high, enable Genlock to REFSQ Genlock status bit (read only) Genlocked Cannot lock to REFSQ. This bit is cleared by reading and set again if lock cannot be attained. PAL Ident select Normal operation, internal PAL switch is used. Enables PALID input, a phase control an for PALID signal, (0 = +135°, 1 = -135°) PEDEN 0 1 Pedestal (set-up) select Valid for NTSC Pedestal disabled 7·5 IRE pedestal on lines 23-262 and 286-525 CHRDIS 0 1 PALIDEN 0 1 Chroma input disable - force monochrome Normal operation Chroma disabled LUMDIS 0 1 Luma input disable - force black level Normal operation Luma disabled 1 Chroma burst disable Normal operation Chroma burst disabled VOCR DITHEREN 0 1 CHRMCLIP 0 1 SYNCM1 SYNCM0 0 0 0 1 1 0 1 1 GCR FSC4SEL 0 1 Global Control Input subcarrier frequency select REFSQ I/P = Fsubcarrier SCSYNC I/P ignored REFSQ I/P = 4 x Fsubcarrier When SCSYNC I/P is asserted the REFSQ I/P divide by 4 is reset Genlock dither addition control No dither added Dither added CHRBW 0 1 SYNCDIS 0 1 GENDITH 0 1 7 VP5313/VP5513 RSTCTL TSURST 0 1 SC_ADJ SC7-0 FREQ2-0 FR17-00 Reset Data Control Soft reset control Normal operation Chip soft reset Sub Carrier Adjust Sub carrier frequency seed value. Sub carrier frequency 24 bit Sub carrier frequency programmed via I2C bus. FREQ3 is the MSB. Sub carrier phase offset 9 bit Sub carrier phase relative to the 50% point of the leading edge of the horizontal part of composite sync. SCHPHM bit 0 is the MSB. Horizontal Sync Output Offset This is a 10 bit number which allows the user to offset the start of digital data input with reference to the pulse HS. H & V Slave Mode Control NCO line reset disable NCO is always reset at end of 4(8) field sequence in NTSC(PAL) regardless of the value of this control bit NCO is reset every line in NTSC mode NCO line reset is disabled Ignore REC656 V-bit select REC656 V-bit will be decoded and the line blanked accordingly REC656 V-bit will be ignored Select type of Vsync input Standard Vsync I/P Field even/odd Vsync I/P F2ST F_SWAP 0 1 SL_HS(1:0) 00 01 10 11 TSLAVE2 Invert field detect decision Standard relationship applies Inverted relationship applies F1EN Internal Hsync delay control No internal delay 1 x 27MHz cycle delay 2 x 27MHz cycle delay 3 x 27MHz cycle delay HCNT(9:0) - Internal H counter is reset to this value on falling edge of Hsync input. F2EN 0 1 Closed Caption field one (line 284) Disabled Enabled 0 1 Closed Caption field one (line 21) Disabled Enabled 0 1 Field one (line 284) status bit New data has been loaded to CCREG3-4 Data has been encoded CCREG4 F2W2D6-0 CCCTL F1ST 0 1 Closed Caption register 4 Field two (line 284), second data byte Closed Caption control register Field one (line 21) status bit New data has been loaded to CCREG1-2 Data has been encoded CCREG1 F1W1D6-0 CCREG2 F1W2D6-0 CCREG3 F2W2D6-0 Closed Caption register 1 Field one (line 21), first data byte Closed Caption register 2 Field one (line 21), second data byte Closed Caption register 3 Field two (line 284), first data byte TSTPAT TTX_PAT 0 1 RAMPEN 0 1 TTXLO2-0 L6-22 TTXLE2-0 L318-335 TTXDD7-0 TTXCTL TTXEN 0 1 SLAVE1-2 NCORSTD Test Pattern Register Teletext test pattern enable Normal operation Teletext test pattern enabled Modulated test ramp enable Normal operation Modulated test ramp enabled Teletext Odd Line Enable 1 = Teletext Enabled on that line number Teletext Even Line Enable 1 = Teletext Enabled on that line number Teletext Request Pulse Position Teletext Control Teletext enable Teletext disabled Teletext enabled SCHPHM-L SCH8-0 HSOFFL-M HSOFF9-0 0 1 VBITDIS 0 1 VSMODE 0 1 8 VP5313/VP5513 IICEXCTL CTL7-0 I2C Extension Control Each bit controls port direction 0 = output 1 = input I2C Extension Control I2C bus read and write data from I2C extension port The V bit within REC656 defines the video blanking when in TRS slave mode. By setting VBITDIS in the SLAVE1 register this blanking can be overidden. When in MASTER mode the V bit is ignored; hence, if any lines are required to be blank, they must have no video signal input on them. Interpolator The luminance and chrominance data is separately passed through interpolating filters to produce output sampling rates double that of the incoming pixel rate. This reduces the sinx/x distortion that is inherent in the digital to analog converters (DACs), and also simplifies the analog reconstruction filter requirements. Digital to Analog Converters The VP5313/VP5513 contains four 9 bit digital to analog converters which produce the analog video signals. The DACs use a current steering architecture in which bit currents are routed to one of two outputs; thus the DAC has true and complimentary outputs, however, only the true outputs are available on the pins. The use of identical current sources and current steering their outputs means that monoticity is guaranteed. An on-chip voltage reference of 1·00V (typ.) provides the necessary biasing; if required, this can be overridden by an external reference. The full-scale output currents of the DACs is set by an external 730Ω resistor between the RREF and AGND pins. An on-chip loop amplifier stabilises the full-scale output current against temperature and power supply variations. By digitally summing the luma and chroma outputs a composite output is generated. The analog outputs of the VP5313/VP5513 are capable of directly driving doubly terminated 75Ω co-axial cable. If it is required only to drive a single 75Ω load then the DACGAIN resistor is simply doubled. Luminance, Chrominance and Composite Video Outputs The Luminance video output drives a 37.5Ω load at 1·0V, sync tip to peak white. It contains only the luminance content of the image plus the composite sync pulses. In the NTSC mode, a set-up level offset is added during the active video portion of the raster. The Chrominance video output drives a 37.5Ω load at levels proportional in amplitude to the luma output (40 IRE pkpk burst). Burst is injected with the appropriate timing relative to the luma signal. Output sinx/x compensation filters are required on all video outputs, as shown in the typical application diagram, see fig. 11 & 12. RGB Video Outputs The RGB video outputs drive a 37.5Ω load at 0.7V blank to peak. Output sinx/x compensation filters are required on all video outputs, as shown in the typical application diagram, see fig. 11 & 12. Video Timing - Slave sync mode The VP5313/VP5513 has an internal timing generator which produces video timing signals appropriate to the mode of operation. TRS slave mode means that the video encoder synchronises itself to the TRS (Timing Reference Signal) codes that are embedded into the Rec. 656 data pattern. In the IICEXR/W RD7-0 I2C BUS CONTROL INTERFACE I2C bus address A6 0 A5 0 A4 0 A3 1 A2 1 A1 0 A0 SA R/ W X The serial microprocessor interface is via the bi-directional port consisting of a data (SDA) and a clock (SCL) line. It is compatible to the Philips I2C bus standard (Jan. 1992 publication number 9398 393 40011). The interface is a slave transmitter - receiver with a sub-address capability. All communication is controlled by the microprocessor. The SCL line is input only. The most significant bit (MSB) is sent first. Data must be stable during SCL high periods. A bus free state is indicated by both SDA and SCL lines being high. START of transmission is indicated by SDA being pulled low while SCL is high. The end of transmission, referred to as a STOP, is indicated by SDA going from low to high while SCL is high. The STOP state can be omitted if a repeated START is sent after the acknowledge bit. The reading device acknowledges each byte by pulling the SDA line low on the ninth clock pulse, after which the SDA line is released to allow the transmitting device access to the bus. The device address can be partially programmed by the setting of the pin SA. This allows the device to respond to one of two addresses, providing for system flexibility. The I2C bus address is seven bits long with the last bit indicating read/write for subsequent bytes. The first data byte sent after the device address, is the subaddress - BAR (base address register). The next byte will be written to the register addressed by BAR and subsequent bytes to the succeeding registers. The BAR maintains its data after a STOP signal. NTSC/PAL Video Standards Both NTSC (4-field, 525 lines) and PAL (8-field, 625 lines) video standards are supported by the VP5313/VP5513. All raster synchronisation, colour sub-carrier and burst characteristics are adapted to the standard selected. The VP5313/ VP5513 generates outputs which follow the requirements of SMPTE 170M and CCIR 624 for PAL signals. The device supports the following standards: PAL B, D, G, H, I, N (Argentina) (default state) and NTSC. Video Blanking The VP5313/VP5513 automatically performs standard composite video blanking. Lines 1-9, 264-272 inclusive, as well as the last half of line 263 are blanked in NTSC mode. In PAL mode, lines 1-5, 311-318, 624-625 inclusive, as well as the last half of line 623 are blanked. 9 VP5313/VP5513 default (power up) the TRS slave mode is selected. All internal timing signals are derived from the input clock, (PXCK) this must be derived from a crystal controlled oscillator. Input pixel data is latched on the rising edge of the PXCK clock. The video timing generator produces the internal blanking and burst gate pulses, together with the composite sync output signal. H&V slave mode is enabled by setting the SYNCM1-0 bits in the MODE register to 01. In this mode the position of the video syncs is derived from the HS and VS inputs. These HS and VS pins are automatically configured as inputs. Video Timing - Master sync mode When SYNCM1-0 of the MODE register are 10, the VP5313/VP5513 operates in a MASTER sync mode, all REC656 timing reference codes are ignored with VS, HS and FC0-2 outputs providing synchronisation signals to an external (MPEG) device. The PXCK signal is, however, still used to generate all internal clocks. In master mode the direction setting of bits 4 - 0 of the IICEXCTL register are ignored. VS is the start of the field sync datum in the middle of the equalisation pulses. HS is the line sync which is used by the preceding MPEG2 decoder to define when to output digital video data to the VP5313/VP5513. The position of the falling edge of HS relative to the first data Cb0, can be programmed in HSOFFM-L registers, see figure 5. Genlock using REFSQ input The VP5313/VP5513 can be Genlocked to another video source by setting GENLKEN high (in GCR register) and feeding a phase coherent sub carrier frequency signal into REFSQ. Under normal circumstances, REFSQ will be the same frequency as the sub carrier; however if FSC4SEL is set high (in GCR register), a 4 x sub carrier frequency signal may be input to REFSQ. In this case, the Genlock circuit can be reset to the required phase of REFSQ, by supplying a pulse to SCSYNC. The frequency of SCSYNC can be at the sub carrier frequency, once per line or once per field could be adequate, depending on the application. When GENLKEN is set high, the direction setting of bit 5 of the IICEXCTL register is ignored. PALID input When using PAL and Genlock mode; the VP5313/VP5513 requires a PAL phase identification signal, to define the correct phase on every line. This is supplied to PALID input, High = -135° and low = +135°. The signal is asynchronous, and should by changed before the sub carrier burst signal. PALID input is enabled by setting PALIDEN high (in GCR register). When PALIDEN is set high, the direction setting of bit 7 of the IICEXCTL register is ignored. Line 21 coding Two bytes of data are coded on the line 21 of each field, see figure 8. In the NTSC Closed Caption service, the default state is to code on line 21 of field one only. An additional service can also be provided using line 21 (284) of the second field. The data is coded as NRZ with odd parity, after a clock run-in and framing code. The clock run-in frequency = 0.5034965MHz which is related to the nominal line period, D = H / 32. D = 63.55555556 / 32µs Two data bytes per field are loaded via I2C bus registers CCREG1-4. Each field can be independently enabled by programming the enable bits in the control register (CC_CTL). The data is cleared to zero in the Closed Caption shift registers after it has been encoded by the VP5313/VP5513. Two status bit are provided (in CC_CTL), which are set high when data is written to the registers and set low when the data has been encoded on the Luma signal. The data is cleared to zero in the Closed Caption shift registers after it has been encoded by the VP5313/VP5513. The next data bytes must be written to the registers when the status bit goes high, otherwise the Closed Caption data output will contain Null characters. If a transmission slot is missed (ie. no data received) the encoder will send Null characters. Null characters are invisible to a closed caption reciever. The MSB (bit 7) is the parity bit and is automatically added by the encoder. Teletext The Teletext function within the VP5313/VP5513 coordinates the insertion of teletext serial data into the luminance data stream and subsequently the composite video data stream. The serial data is filtered prior to insertion to minimise the high frequency components and to reduce the jitter inherent in the digital data stream. The lines in which teletext data are inserted are individually programmable for both even and odd fields. The insertion of teletext data will only be enabled if the format of the composite video is configured to be PAL-B,G,H,I,N and the teletext enable bit TTXEN is asserted. For test purposes, the teletext function incorporates control logic to generate a serial clock cracker pattern in place of the normal teletext data. This test pattern is enabled when the TTX_PAT bit is asserted. There is no row coding used so it will not display on a TV. The VP5313/VP5513 teletext interface comprises of a teletext request output, TTX_REQ, and a serial data input, TTX_DATA. To ensure that the composite video timing requirements are satisfied, the serial data must be received at a specific point in time during lines containing teletext data. The teletext request output, TTX_REQ, will be asserted to indicate when data must be applied to TTX_DATA, which must be generated synchronous to the rising edges of PXCK. The TTX_REQ may be advanced in multiples of PXCK, to compensate for the latency within the source device, by writing to the TTXDD register. The serial teletext data which is applied to the TTX_DATA input must obey the sequence defined below. The teletext bit rate is defined to be 6.9375 MHz, which equates to 444 times the PAL line frequency (15.625 kHz). It is clear that for a 27 MHz system clock, a constant bit period cannot be achieved. 10 VP5313/VP5513 The horizontal line duration for PAL equates to 1728 CLK27M cycles and within each line there are 444 data bit periods. The duration of 37 data bits (the smallest number possible for an integer number of CLK27M cycles) therefore equates to 144 CLK27M cycles. To ensure that the average bit rate is 6.9375 MHz, 33 in every 37 data bits will have a duration of 4 CLK27M cycles and 4 in every 37 data bits will have a duration of 3 CLK27M cycles. Of the first 37 data bits in each line, bits 10, 19, 28 and 37 will have a duration of 3 CLK27M cycles. The sequence will be repeated for all subsequent 37 bit groups. Master Reset The VP5313/VP5513 must be initialised with RESET. This is an asynchronous, active low signal and must be active for a minimum of 200ns in order to reset the VP5313/VP5513. The device resets to line 64, start of horizontal sync (i.e. line blanking active). There is no on-chip power on reset circuitry. CVBS/Y textbit #: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 TTX_DATA 4 TTXDD 3 4 4 3 4 TTX_REQ Figure 4 Teletext timing diagram NCO Adjustment Standard NTSC PAL-B, G, H, I (d) PAL-N (Argentina) Lines/ Field field freq. HZ 59.94 525 50 625 625 50 SC_ADJ Number of Horizontal Subcarrier fSC/fH register pixels/line freq. kHz. freq. kHz. hex at 27MHz fH fSC 15.734266 3.57954545 1716 (455/2) xx 15.625000 4.43361875 (1135/4+1/625) 1728 9C 15.625000 3.58205625 (917/4+1/625) 1728 57 FREQ2-0 registers hex 87 C1 F1 A8 26 2B 87 DA 51 Table.2 Line, field and subcarrier standards and register settings (d) = default xx = don’t care. The calculation of the FREQ register value is according to the following formula:FREQ = 226 x fSC/PXCK hex, where PXCK = 27.00MHz NTSC value is rounded UP from the decimal number. PAL-B, D, G, H, I and N (Argentina) are rounded DOWN. The SC_ADJ value is derived from the adjustment needed to be added after 8 fields to ensure accuracy of the Subcarrier frequency. Note the SC_ADJ value of 9C required for PAL-B, D, G, H, I. PXCK Input (27MHz) HS Nck=2 Nck=0 Cb0 Y0 Cr0 Y1 t SU; PD t HD; PD Cb1 Y2 Cr1 Y3 Pixel Data Input (PD[7,0]) Figure 5 REC 656 interface with HS output timing 11 VP5313/VP5513 2:1 mux REFSQ 0 Divide by 4 Synchronous Counter RESET 1 fSC Input to Genlocking Block Q SC_SYNC REFSQ FSC4_SEL (register bit) 1/ f SC_SYNC t PWH; SC_SYNC tSU; SC_SYNC SC_SYNC t HD; SC_SYNC Q Figure 6 REFSQ and SC_SYNC input timing Pixel Data Input (PD[7,0\) Sample Number 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 Y719 $FF $00 $00 $XY ANCILLARY DATA... EAV SEQUENCE t PWL; PXCK PXCK Input (27MHz) t PWH; PXCK t SU; PD t HD; PD t DUR; PAL_ID t SU; PAL_ID t HD; PAL_ID PAL_ID Stable Input (PAL_ID) Figure 7 PAL_ID input timing 12 VP5313/VP5513 TIMING INFORMATION Parameters Master clock frequency (PXCK input) PXCK pulse width, HIGH PXCK pulse width, LOW PXCK rise time PXCK fall time PD7-0 set up time PD7-0 hold time SCSYNC set up time SCSYNC hold time PALID set up time PALID hold time PALID duration Output delay PXCK to COMPSYNC PXCK to CLAMP Note: Timing reference points are at the 50% level. Digital CLOAD
VP5313 价格&库存

很抱歉,暂时无法提供与“VP5313”相匹配的价格&库存,您可以联系我们找货

免费人工找货