NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
CH7011A CH7011 AN-38 CCIR-656 AN-41 FSCI31 FSCI23 FSCI15 FSCI30 FSCI22 FSCI14 - Datasheet Archive
Chrontel CHRONTEL CHRONTEL CHRONTEL Chrontel CH7011 TV Output Device 1. FEATURES 2. GENERAL DESCRIPTION · TV output
CH7011A CH7011A Chrontel CHRONTEL CHRONTEL CHRONTEL Chrontel CH7011 CH7011 TV Output Device 1. FEATURES 2. GENERAL DESCRIPTION · TV output supporting graphics resolutions up to 1024x768 pixels · MacrovisionTM 7.1.L1 copy protection support · Programmable digital interface supports RGB and YCrCb · True scale rendering engine supports underscan in all TV output resolutions · Enhanced text sharpness and adaptive flicker removal with up to 7 lines of filtering · Support for all NTSC and PAL formats · Provides CVBS, S-Video and SCART (RGB) outputs · TV Programmable power management · 10-bit video DAC outputs · Fully programmable through serial port · Complete Windows and DOS driver support · Low voltage interface support to graphics device · Offered in a 64-pin LQFP package The CH7011 CH7011 is a display controller device which accepts a digital graphics input signal, and encodes and transmits data to a TV output (analog composite, svideo or RGB). The device accepts data over one 12-bit wide variable voltage data port which supports five different data formats including RGB and YCrCb. LINE MEMORY RGB-YUV CONVERTER DIGITAL D[11:0] PIXEL DATA INPUT INTERFACE The TV-Out processor will perform non-interlace to interlace conversion with scaling and flicker filters, and encode the data into any of the NTSC or PAL video standards. The scaling and flicker filter is adaptive and programmable to enable superior text display. Eight graphics resolutions are supported up to 1024 by 768 with full vertical and horizontal underscan capability in all modes. A high accuracy low jitter phase locked loop is integrated to create outstanding video quality. Support is provided for MacrovisionTM and RGB bypass mode which enables driving a VGA CRT with the input data. YUV-RGB CONVERTER CVBS (DAC3) TRUE SCALE SCALING & DEFLICKERING ENGINE NTSC/PAL ENCODER & FILTERS Four 10-bit DAC's Y/G (DAC1) C/R (DAC2) CVBS/B (DAC0) ISET SYSTEM CLOCK GPIO[1:0] SERIAL PORT REGISTER & CONTROL BLOCK SPC SPD TIMING & SYNC GENERATOR PLL RESET* XCLK/XCLK* H V XI/FIN XO CSYNC P-OUT BCO Figure 1: Functional Block Diagram 201-0000-037 Rev 2.05, 6/6/2002 1 CHRONTEL CH7011A CH7011A 3. PIN DESCRIPTIONS D[9] D[10] D[11] DVDD XCLK* D[6] D[7] D[8] D[3] D[4] D[5] XCLK 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 DGND D[0] D[1] D[2] 3.1 Package Diagram DVDD NC VREF H V DGND GPIO[1] GPIO[0] NC AS DGND DVDD RESET* SPD SPC 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 Chrontel CH7011 CH7011 C / H SYNC BCO P-OUT DVDDV AVDD XO XI / FIN AGND GND CVBS / B C/R Y/G CVBS ISET GND VDD NC NC NC NC NC NC NC NC NC NC NC NC AGND AVDD NC NC 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 AGND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Figure 2: 64-Pin LQFP 2 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A 3.2 Pin Description Table 1. Pin Description 64-Pin LQFP # Pins Type Symbol Description 3 1 In VREF Reference Voltage Input The VREF pin inputs a reference voltage of DVDDV / 2. The signal is derived externally through a resistor divider and decoupling capacitor, and will be used as a reference level for data, sync and clock inputs. 4 1 In/Out H Horizontal Sync Input / Output When the SYO bit is low, this pin accepts a horizontal sync input for use with the input data. The amplitude will be 0 to DVDDV, and the VREF signal is used as the threshold level. When the SYO bit is high, the device will output a horizontal sync pulse, 64 pixels wide. The output is driven from the DVDD. This output is only for use with the TV-Out function. 5 1 In/Out V Vertical Sync Input / Output When the SYO bit is low, this pin accepts a vertical sync input for use with the input data. The amplitude will be 0 to DVDDV, and the VREF signal is used as the threshold level. When the SYO bit is high, the device will output a vertical sync pulse one line wide. The output is driven from the DVDD supply. This output is only for use with the TV-Out function. 7 2 In/Out GPIO[1] General Purpose Input - Output[1] (Open drain or weak pull-up (programmable) This pin provides a general purpose I/O controlled via the serial port bus. 8 2 In/Out GPIO[0] General Purpose Input - Output[0] (Open drain or weak pull-up (programmable) This pin provides a general purpose I/O controlled via the serial port bus. This allows an external switch to be used to select NTSC or PAL at power-up. 10 1 In AS Address Select (Internal pull-up) This pin determines the serial port address of the device (1,1,1,0,1,AS*,AS). 13 1 In RESET* Reset * Input (Internal pull-up) When this pin is low, the device is held in the power-on reset condition. When this pin is high, reset is controlled through the serial port register. 14 1 In/Out SPD Serial Data Input / Output This pin functions as the serial data pin of the serial port interface, and uses the DVDD supply. 15 1 In SPC Serial Clock Input This pin functions as the clock pin of the serial port interface, and uses the DVDD supply. 35 1 In ISET Current Set Resistor Input This pin sets the DAC current. A 140 ohm resistor should be connected between this pin and GND (DAC ground) using short and wide traces. 201-0000-037 Rev 2.05, 6/6/2002 3 CHRONTEL CH7011A CH7011A Table 1. Pin Description 64-Pin LQFP # Pins Type Symbol Description 36 1 Out CVBS Composite Video This pin outputs a composite video signal capable of driving a 75 ohm doubly terminated load. 37 1 Out Y/G Luma / Green Output This pin outputs a selectable video signal. The output is designed to drive a 75 ohm doubly terminated load. The output can be selected to be s-video luminance or green. 38 1 Out C/R Chroma / Red Output This pin outputs a selectable video signal. The output is designed to drive a 75 ohm doubly terminated load. The output can be selected to be s-video chrominance or red. 39 1 Out CVBS/B Composite Video / Blue Output This pin outputs a selectable video signal. The output is designed to drive a 75 ohm doubly terminated load. The output can be selected to be composite video or blue. 42 1 In XI / FIN Crystal Input / External Reference Input A parallel resonance 14.31818MHz crystal (+ 20 ppm) should be attached between this pin and XO. However, an external clock can drive the XI/FIN input. 43 1 In XO Crystal Output A parallel resonance 14.31818MHz crystal (+ 20 ppm) should be attached between this pin and XI / FIN. However, if an external CMOS clock is attached to XI/FIN, XO should be left open. 46 1 Out P-OUT Pixel Clock Output When the CH7011 CH7011 is operating as a VGA to TV encoder in master clock mode, this pin provides a pixel clock signal to the VGA controller which is used as a reference frequency. The output is selectable between 1X or 2X of the pixel clock frequency. The output driver is driven from the DVDDV supply. This output has a programmable tri-state. The capacitive loading on this pin should be kept to a minimum. 47 1 Out BCO Buffered Clock Output This output pin provides a buffered clock output, driven by the DVDD supply. The output clock can be selected using the BCO register. 48 1 Out C/H SYNC Composite / Horizontal Sync Output This pin can be selected to output a TV composite sync, TV horizontal sync, or a buffered version of the VGA horizontal sync. The output is driven from the DVDD supply. 50 55, 58 63 4 12 In D[11] - D[0] Data[11] through Data[0] Inputs These pins accept the 12 data inputs from a digital video port of a graphics controller. The levels are 0 to DVDDV, and the VREF signal is used as the threshold level. 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Table 1. Pin Description 64-Pin LQFP # Pins Type Symbol Description 57, 56 2 In XCLK, External Clock Inputs These inputs form a differential clock signal input to the CH7011 CH7011 for use with the H, V, DE and D[11:0] data. If differential clocks are not available, the XCLK* input should be connected to VREF. XCLK* The output clocks from this pad cell are able to have their polarities reversed under the control of the MCP bit. 2, 9, 19, 21, NC 11 No Connect Digital Supply Voltage (3.3V) Digital Ground I/O Supply Voltage (3.3V to 1.1V) 23, 24, 25, 27, 28, 30, 31 1, 12, 49 3 Power DVDD 6, 11, 64 3 Power DGND 45 1 Power DVDDV 23, 29 20, 26, 32 18, 44 2 3 2 Power Power Power NC NC AVDD 16, 17, 41 3 Power AGND 33 1 Power VDD 34, 40 2 Power GND 201-0000-037 Rev 2.05, 6/6/2002 No Connect No Connect PLL Supply Voltage PLL Ground DAC Supply Voltage DAC Ground (3.3V) (3.3V) 5 CHRONTEL CH7011A CH7011A 4. MODES OF OPERATION The CH7011 CH7011 is capable of being operated as a VGA to TV encoder. Descriptions of the encoder operating modes, with a block diagram of the data flow within the device is shown below. 4.1 TV Output In TV Output mode, multiplexed input data, sync and clock signals are input to the CH7011 CH7011 from the graphics controller's digital output port. A P-OUT clock can be output as a frequency reference to the graphics controller, which is recommended to ensure accurate frequency generation. Horizontal and vertical sync signals are normally sent to the CH7011 CH7011 from the graphics controller, but can be output to the graphics controller as an option. Data will be 2X multiplexed, and the XCLK clock signal can be 1X or 2X times the pixel rate. The input data will be encoded into the selected video standard, and output from the video DAC's. The modes supported for TV output are shown in the table below, and a block diagram of the CH7011 CH7011 is shown on the following page. Table 2. TV Output Modes Graphics Resolution 512x384 512x384 720x400 720x400 640x400 640x400 640x480 640x480 720x4801 720x4802 720x5761 720x5762 800x600 800x600 1024x768 1024x768 Active Aspect Pixel Aspect Ratio 4:3 4:3 4:3 4:3 8:5 8:5 4:3 4:3 4:3 4:3 4:3 4:3 4:3 4:3 4:3 4:3 Ratio 1:1 1:1 1.35:1.00 1.35:1.00 1:1 1:1 1:1 1:1 9:8 9:8 15:12 15:12 1:1 1:1 1:1 1:1 TV Output Stan- Scaling Ratios dard PAL NTSC PAL NTSC PAL NTSC PAL NTSC NTSC NTSC PAL PAL PAL NTSC PAL NTSC 5/4, 1/1 5/4, 1/1 5/4, 1/1 5/4, 1/1 5/4, 1/1 5/4, 1/1, 7/8 5/4, 1/1, 5/6 1/1, 7/8, 5/6 1/1 1/1, 7/8, 5/6 1/1 1/1, 5/6, 5/7 1/1, 5/6, 5/7 3/4, 7/10, 5/8 5/7, 5/8, 5/9 5/8, 5/9, 1/2 1 These DVD modes operate with interlaced input, scan conversion and flicker filter are bypassed. 2 These DVD modes operate with non-interlaced input, scan conversion is not bypassed. In order to minimize the hazard of ESD, a set of protection diodes MUST BE used for each DAC connecting to TV (Refer to AN-38 AN-38 for details). 6 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL TV-PLL ISET Timing 2 XCLK,XCLK* H,V VREF C/H SYNC 2 XI/FIN,XO P-OUT BCO D[11:0] CH7011A CH7011A 12 2 Clock Driver Data Latch, Demux H,V Latch 24 Scaling Scan Conv Flicker Filt TV Encode CVBS (DAC3) Y/G (DAC 1) C/R (DAC 2) CVBS/B (DAC0) Four 10-bit DAC's 24 24 2 Serial Port Control 3 GPIO[1:0] AS SPC SPD RESET* Figure 3: TV Output Modes 201-0000-037 Rev 2.05, 6/6/2002 7 CHRONTEL CH7011A CH7011A 5. INPUT INTERFACE Two distinct methods of transferring data to the CH7011 CH7011 are described. They are: · Multiplexed data, clock input at 1X pixel rate · Multiplexed data, clock input at 2X pixel rate For the multiplexed data, clock at 1X pixel rate the data applied to the CH7011 CH7011 is latched with both edges of the clock (also referred to as dual-edge transfer mode). For the multiplexed data, clock at 2X pixel rate the data applied to the CH7011 CH7011 is latched with one edge of the clock. The polarity of the pixel clock can be reversed under serial port control. 5.1 Input Clock and Data Timing Diagram The figure below shows the timing diagram for input data and clocks. The first XCLK/XCLK* waveform represents the input clock for the multiplexed data, clock at 2X pixel rate method. The second XCLK/XCLK* waveform represents the input clock for the multiplexed data, clock at 1X pixel rate method. XCLK XCLK XCLK XCLK D[11:0 DE H 64 P-OUT V 1 VGA Line Figure 4: Interface Timing Regarding the CH7011 CH7011 timing specifications, please see 17 - 19 for details. 8 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A 5.2 Input Clock and Data Formats The 12 data inputs support 5 different multiplexed data formats, each of which can be used with a 1X clock latching data on both clock edges, or a 2X clock latching data with a single edge. The data received by the CH7011 CH7011 can be used to drive the VGA to TV encoder or directly drive the DAC's. The multiplexed input data formats are (IDF[2:0]): IDF 0 1 2 3 4 Description 12-bit multiplexed RGB input (24-bit color), (multiplex scheme 1) 12-bit multiplexed RGB2 input (24-bit color), (multiplex scheme 2) 8-bit multiplexed RGB input (16-bit color, 565) 8-bit multiplexed RGB input (15-bit color, 555) 8-bit multiplexed YCrCb input (24-bit color), (Y, Cr and Cb are multiplexed) For multiplexed input data formats, either both transitions of the XCLK/XCLK* clock pair, or each rising or falling edge of the clock pair (depending upon MCP bit, rising refers to a rising edge on the XCLK signal, a falling edge on the XCLK* signal) will latch data from the graphics chip. The multiplexed input data formats are shown in the figures below. The Pixel Data bus represents a 12-bit or 8-bit multiplexed data stream, which contains either RGB or YCrCb formatted data. The input data rate is 2X the pixel rate, and each pair of Pn values (eg; P0a and P0b) will contain a complete pixel encoded as shown in the tables below. It is assumed that the first clock cycle following the leading edge of the incoming horizontal sync signal contains the first word (Pxa) of a pixel, if an active pixel was present immediately following the horizontal sync. This does not mean that active data should immediately follow the horizontal sync, however. When the input is a YCrCb data stream the color-difference data will be transmitted at half the data rate of the luminance data, with the sequence being set as Cb, Y, Cr, Y, where Cb0,Y0,Cr0 refers to co-sited luminance and color-difference samples and the following Y1 byte refers to the next luminance sample, per CCIR-656 CCIR-656 standards (the clock frequency is dependent upon the current mode, and is not 27MHz as specified in CCIR-656 CCIR-656). All non-active pixels should be 0 in RGB formats, and 16 for Y and 128 for CrCb in YCrCb formats. 201-0000-037 Rev 2.05, 6/6/2002 9 CHRONTEL CH7011A CH7011A HS XCLK (2X) SAV XCLK (1X) D[11:0] P0a P0b P1a P1b P2a P2b The following data is latched for IDF = 0 P[23:16] P0b[11:4] P1b[11:4] P2b[11:4] P0b[3:0], P0a[11:8] P1b[3:0], P1a[11:8] P2b[3:0], P2a[11:8] P0a[7:0] P1a[7:0] P2a[7:0] P0b[11:7], P0b[3:1] P1b[11:7], P1b[3:1] P2b[11:7] P2b[3:1] (Green Data) P0b[6:4], P0a[11:9], P0b[0], P0a[3] P1b[6:4], P1a[11:9], P1b[0], P1a[3] P[7:0] P0a[8:4], P0a[2:0] P1a[8:4], P1a[2:0] (Red Data) P[15:8] (Green Data) P[7:0] (Blue Data) The following data is latched for IDF = 1 P[23:16] (Red Data) P[15:8] (Blue Data) P2a[8:4] P2a[2:0] Figure 5: Multiplexed Input Data Formats (IDF = 0, 1) 10 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A HS XCLK (2X) SAV XCLK (1X) D[11:0] P0a P0b P1a P1b P2a P2b The following data is latched for IDF = 2 P[23:19] P0b[11:7] (Red Data) P[15:10] P0b[6:4], P0a[11:9] (Green Data) P[7:3] P1b[11:7] P2b[11:7] P1b[6:4], P1a[11:9] P2b[6:4], P2a[11:9] P0a[8:4] P1a[8:4] P2a[8:4] P0b[10:6] (Blue Data) P1b[10:6] P2b[10:6] P1b[5:4], P1a[11:9] P2b[5:4], P2a[11:9] The following data is latched for IDF = 3 P[23:19] (Red Data) P[15:11] P0b[5:4], P0a[11:9] (Green Data) P[7:3] P0a[8:4] P1a[8:4] P2a[8:4] P0b[7:0] P1b[7:0] P2b[7:0] P0a[7:0] P1a[7:0] P2a[7:0] GND GND (Blue Data) The following data is latched for IDF = 4 CRA (internal signal) P[23:16] (Y Data) P[15:8] (CrCb Data) P[7:0] GND (ignored) Figure 6: Multiplexed Input Data Formats (IDF = 2, 3, 4) 201-0000-037 Rev 2.05, 6/6/2002 11 CHRONTEL CH7011A CH7011A Table 3. Multiplexed Input Data Formats (IDF = 0, 1) IDF = Format = Pixel # Bus Data 0 D[11] D[10] D[9] D[8] D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] P0a G0[3] G0[2] G0[1] G0[0] B0[7] B0[6] B0[5] B0[4] B0[3] B0[2] B0[1] B0[0] 1 12-bit RGB (12-12) P0b P1a R0[7] G1[3] R0[6] G1[2] R0[5] G1[1] R0[4] G1[0] R0[3] B1[7] R0[2] B1[6] R0[1] B1[5] R0[0] B1[4] G0[7] B1[3] G0[6] B1[2] G0[5] B1[1] G0[4] B1[0] P1b R1[7] R1[6] R1[5] R1[4] R1[3] R1[2] R1[1] R1[0] G1[7] G1[6] G1[5] G1[4] P0a G0[4] G0[3] G0[2] B0[7] B0[6] B0[5] B0[4] B0[3] G0[0] B0[2] B0[1] B0[0] 12-bit RGB (12-12) P0b P1a R0[7] G1[4] R0[6] G1[3] R0[5] G1[2] R0[4] B1[7] R0[3] B1[6] G0[7] B1[5] G0[6] B1[4] G0[5] B1[3] R0[2] G1[0] R0[1] B1[2] R0[0] B1[1] G0[1] B1[0] P1b R1[7] R1[6] R1[5] R1[4] R1[3] G1[7] G1[6] G1[5] R1[2] R1[1] R1[0] G1[1] Table 4. Multiplexed Input Data Formats (IDF = 2, 3) IDF = Format = Pixel # Bus Data 2 D[11] D[10] D[9] D[8] D[7] D[6] D[5] D[4] P0a G0[4] G0[3] G0[2] B0[7] B0[6] B0[5] B0[4] B0[3] 3 RGB 5-6-5 P0b P1a R0[7] G1[4] R0[6] G1[3] R0[5] G1[2] R0[4] B1[7] R0[3] B1[6] G0[7] B1[5] G0[6] B1[4] G0[5] B1[3] P1b R1[7] R1[6] R1[5] R1[4] R1[3] G1[7] G1[6] G1[5] P0a G0[5] G0[4] G0[3] B0[7] B0[6] B0[5] B0[4] B0[3] RGB 5-5-5 P0b P1a X G1[5] R0[7] G1[4] R0[6] G1[3] R0[5] B1[7] R0[4] B1[6] R0[3] B1[5] G0[7] B1[4] G0[6] B1[3] P1b X R1[7] R1[6] R1[5] R1[4] R1[3] G1[7] G1[6] P2b Y2[7] Y2[6] Y2[5] Y2[4] Y2[3] Y2[2] Y2[1] Y2[0] P3b Y3[7] Y3[6] Y3[5] Y3[4] Y3[3] Y3[2] Y3[1] Y3[0] Table 5. Multiplexed Input Data Formats (IDF = 4) IDF = Format = Pixel # Bus Data 4 D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] P0a Cb0[7] Cb0[6] Cb0[5] Cb0[4] Cb0[3] Cb0[2] Cb0[1] Cb0[0] P0b Y0[7] Y0[6] Y0[5] Y0[4] Y0[3] Y0[2] Y0[1] Y0[0] P1a Cr0[7] Cr0[6] Cr0[5] Cr0[4] Cr0[3] Cr0[2] Cr0[1] Cr0[0] YCrCb 8-bit P1b P2a Y1[7] Cb2[7] Y1[6] Cb2[6] Y1[5] Cb2[5] Y1[4] Cb2[4] Y1[3] Cb2[3] Y1[2] Cb2[2] Y1[1] Cb2[1] Y1[0] Cb2[0] P3a Cr2[7] Cr2[6] Cr2[5] Cr2[4] Cr2[3] Cr2[2] Cr2[1] Cr2[0] When IDF = 4 (YCrCb mode), the data inputs can also be used to transmit sync information to the device. In this mode, the embedded sync will follow the VIP2 convention, and the first byte of the `video timing reference code' will be assumed to occur when a Cb sample would occur, if the video stream was continuous. This is shown below: 12 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Table 6. Embedded Sync IDF = 4 Format = Pixel # Bus Data Dx[7] Dx[6] Dx[5] Dx[4] Dx[3] Dx[2] Dx[1] Dx[0] P0a FF FF FF FF FF FF FF FF P0b 00 00 00 00 00 00 00 00 YCrCb 8-bit P1b P2a S[7] Cb2[7] S[6] Cb2[6] S[5] Cb2[5] S[4] Cb2[4] S[3] Cb2[3] S[2] Cb2[2] S[1] Cb2[1] S[0] Cb2[0] P1a 00 00 00 00 00 00 00 00 P2b Y2[7] Y2[6] Y2[5] Y2[4] Y2[3] Y2[2] Y2[1] Y2[0] P3a Cr2[7] Cr2[6] Cr2[5] Cr2[4] Cr2[3] Cr2[2] Cr2[1] Cr2[0] P3b Y3[7] Y3[6] Y3[5] Y3[4] Y3[3] Y3[2] Y3[1] Y3[0] In this mode, the S[7.0] byte contains the following data: S[6] = F = 1 during field 2, 0 during field 1 S[5] = V = 1 during field blanking, 0 elsewhere S[4] = H = 1 during EAV (synchronization reference at the end of active video) 0 during SAV (synchronization reference at the start of active video) Bits S[7] and S[3.0] are ignored. 5.3 NTSC and PAL Operation Composite and S-Video outputs are supported in either NTSC or PAL format. The general parameters used to characterize these outputs are listed in Table 7 and shown in Figure 7. (See Figures 10 through 15 for illustrations of composite and S-Video output waveforms). Table 7. NTSC/PAL Composite Output Timing Parameters (in mS) Symbol Level (mV) Description Duration (uS) NTSC PAL NTSC PAL 287 300 1.49 - 1.51 1.48 - 1.51 0 0 4.69 - 4.72 4.69 - 4.71 A Front Porch B Horizontal Sync C Breezeway 287 300 0.59 - 0.61 0.88 - 0.92 D Color Burst 287 300 2.50 - 2.53 2.24 - 2.26 E Back Porch 287 300 1.55 - 1.61 2.62 - 2.71 F Black 340 300 0.00 - 7.50 0.00 - 8.67 G Active Video 340 300 37.66 - 52.67 34.68 - 52.01 H Black 340 300 0.00 - 7.50 0.00 - 8.67 1. Durations vary slightly in different modes due to the different clock frequencies used. 2. Active video and black (F, G, H) times vary greatly due to different scaling ratios used in different modes. 3. Black times (F and H) vary with position controls. 201-0000-037 Rev 2.05, 6/6/2002 13 CHRONTEL A B CH7011A CH7011A C D E F G H Figure 7: NTSC / PAL Composite Output 14 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A STAR S RT TA T OF O F VSY C V NC SYN A ALOG N G StartAN of ALO fieldFIELD 1 1 LD 1 FIE 523 520 520 524 521 521 525 522 522 1 523 523 2 524 524 3 525 525 1 1 4 Pre-equalizing pulse interval 2 2 5 36 3 7 4 4 9 6 6 58 5 10 7 7 12 9 9 11 8 8 Post-equalizing pulse interval Vertical sync pulse interval Reference Line AN A ALO phase NALO G vertical sub-carrierG interval FIELD 1 FIE LD 2 t1+V color field 2 261 258 258 262 259 259 263 260 260 264 261 261 265 262 262 267 264 264 266 263 263 268 265 265 270 267 267 269 266 266 271 268 268 272 269 269 273 270 270 274 271 271 275 272 272 S TAR T O F V N SY C Start of field 2 Reference A ALO N G sub-carrier phase FIE LD 1 t2+V color field 2 523 520 524 521 525 522 2 524 523 1 Start of field 3 4 1 525 3 6 3 5 2 7 4 8 5 10 7 9 6 12 9 11 8 Reference G A ALO N sub-carrier phase FIE LD 2 t3+V color field 3 261 258 262 259 263 260 264 261 262 265 266 263 267 264 268 265 269 266 270 267 271 268 272 269 273 270 274 271 275 272 Start of field 4 Reference sub-carrier phase color field 4 Figure 8: Interlaced NTSC Video Timing 201-0000-037 Rev 2.05, 6/6/2002 15 CHRONTEL CH7011A CH7011A STA T TAR R O F V N SY C 620 620 621 621 622 622 623 623 624 625 A ALO N G FIE LD 1 1 2 3 4 5 6 7 7 8 8 9 9 10 10 A ALO N G FIE LD 2 308 308 309 309 310 310 311 312 313 314 315 316 317 318 319 319 320 320 321 321 322 322 323 323 A ALO N G FIE LD 3 620 620 621 621 622 622 623 623 624 625 1 2 3 4 5 6 7 7 8 8 9 9 10 10 A ALO N G FIE LD 4 308 308 B RST BU T URS B NK G BLA KING LAN IN INTERVALS 309 309 310 310 311 312 313 314 315 316 317 318 319 319 320 320 321 321 322 322 323 323 4 B RST P ASE = R EFE E E PH SE = 135° R R NC 3 A E ELATIVE TO U TIV BU S PH E = R UR T HAS EFE E E PH S = 135° RELA E TO U R NC A P W ITC O P N NT PAL SW H = 0, +V C M O E AL S ITCH = 0, +V C M O E O P N2NT B RST P ASE = R EFE E E PH SE + 90° = 225° R LATIV TO U R NC ELA E BU S PH E = R UR T HAS EFE E E PH S + 90° = 225° RE TIVE TO U R NC 1 A E A P W ITC O P N N PAL SW H = 1, - V C M O E T AL S ITCH = 1, - V C M O E T O P N N Figure 9: Interlaced PAL Video Timing 16 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A White Yellow 26.66 24.66 1.000 0.925 Cyan Green 21.37 19.37 0.801 0.726 Magenta Red 16.22 14.22 0.608 0.533 Blue Black Blank 11.08 9.08 7.65 0.415 0.340 0.287 Sync 0.00 Color bars: Black Blue Red Magenta V Green Cyan Yellow mA White Color/Level 0.000 Figure 10: NTSC Y (Luminance) Output Waveform (DACG = 0) 26.75 24.62 1.003 0.923 Cyan Green 21.11 18.98 0.792 0.712 Magenta Red 15.62 13.49 0.586 0.506 Blue 10.14 0.380 Blank/ Black 8.00 0.300 Sync 0.00 Black White Yellow Color bars: Blue Red Magenta V Green Cyan Yellow mA White Color/Level 0.000 Figure 11: PAL Y (Luminance) Video Output Waveform (DACG = 1) 201-0000-037 Rev 2.05, 6/6/2002 17 CHRONTEL CH7011A CH7011A Black Blue 22.44 Red 0.968 0.938 Yellow/Blue Magenta 25.80 25.01 Green Cyan/Red Green/Magenta Cyan V Yellow mA White Color bars: Color/Level 0.842 Peak Burst 18.08 0.678 Blank 14.29 0.536 Peak Burst 10.51 0.394 Yellow/Blue 6.15 0.230 3.57 2.79 0.134 0.105 Green/Magenta Cyan/Red 3.579545 MHz Color Burst (9 cycles) Figure 12: NTSC C (Chrominance) Video Output Waveform (DACG = 0) 19.21 0.720 Blank 15.24 0.572 Peak Burst 11.28 0.423 Yellow/Blue 6.56 0.246 Green/Magenta Cyan/Red 3.81 2.97 Black 0.897 Peak Burst Blue 23.93 Red 1.032 1.000 Yellow/Blue Magenta 27.51 26.68 Green Cyan/Red Green/Magenta Cyan V Yellow mA White Color bars: Color/Level 0.143 0.111 4.433619 MHz Color Burst (10 cycles) Figure 13: PAL C (Chrominance) Video Output Waveform (DACG = 1) 18 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Black Blue 11.44 Red 1.000 Peak Burst Magenta 26.66 Green 1.233 White Cyan V Yellow mA 32.88 White Color/Level Peak Chrome 0.429 Black 9.08 0.340 Blank 7.65 Color bars: 0.287 Peak Burst 4.45 0.145 3.579545 MHz Color Burst (9 cycles) Sync 0.00 0.000 Figure 14: Composite NTSC Video Output Waveform (DACG = 0) 8.00 0.300 Peak Burst 4.04 Black 0.449 Blank/Black Blue 11.97 Red 1.003 Peak Burst Magenta 26.75 Green 1.249 White Color bars: Cyan V White mA Yellow Color/Level Peak Chrome 33.31 0.151 Sync 0.00 0.000 4.433619 MHz Color Burst (10 cycles) Figure 15: Composite PAL Video Output Waveform (DACG = 1) 201-0000-037 Rev 2.05, 6/6/2002 19 CHRONTEL CH7011A CH7011A 6. Register Control The CH7011 CH7011 is controlled via a serial port. The serial port uses only the SPC clock to latch data into registers, and does not use any internally generated clocks so that the device can be written to in all power down modes. The device retains all register states. The CH7011 CH7011 contains a total of 37 registers for user control. A listing of non-Macrovision control bits are listed below with a brief description of each. 6.1 Non-Macrovision Control Registers Map The non-Macrovision controls are listed below, divided into three sections: general controls, input / output controls and VGA to TV controls. A register map and register description follows. · General Controls ResetIB ResetDB PD[5:0] VID[7:0] DID[7:0] TSTP[1:0] Software serial port reset Software datapath reset Power down controls (TVD, DACPD[3:0], Full, Partial) Version ID register Device ID register Enable/select test pattern generation (color bar, ramp) · Input/Output Controls XCM XCMD[7:0] MCP PCM POUTP POUTE HPIE, HPIE2 HPIR IDF[2:0] IBS DES SYO VSP HSP TERM[5:0] BCOEN BCO[2:0] BCOP GPIOL[1:0] GOENB[1:0] SYNCO[1:0] DACG[1:0] DACBP XOSC[2:0] 20 XCLK 1X, 2X select Delay adjust between XCLK and D[11:0] XCLK polarity control P-Out 1X, 2X select P-Out clock polarity P-Out enable Hot plug detect interrupt enable Hot plug detect interrupt reset Input data format Input buffer select Decode embedded sync (TV-Out data only) H/V sync direction control (for TV-Out modes only) V sync polarity control (sync polarity to TMDSTM links is not changed) H sync polarity control (sync polarity to TMDSTM links is not changed) Termination detect/check (TMDSTM Link, DACT3, DACT2, DACT1, DACT0, SENSE) Enable BCO Output Select output signal for BCO pin BCO polarity Read or write level for GPIO pins Direction control for GPIO pins Enables/selects sync output for Scart and bypass modes DAC gain control DAC bypass Crystal oscillator adjustments 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A · TV-Out Controls IR[2:0] Input data resolution (when used for TV-Out) VOS[1:0] TV-Out video standard SR[2:0] TV-Out scaling ratio CFF[1:0] Chroma flicker filter setting YFFT[1:0] Luma text enhancement flicker filter setting YFFNT[1:0] Luma flicker filter setting (Non-text) CVBWB CVBS DAC receives black&white (S-Video luminance) signal CBW Chroma video bandwidth YSV[1:0] S-Video luma bandwidth YCV[1:0] Composite video luma bandwidth TE[2:0] Text enhancement (sharpness) CFRB Chroma sub-carrier free run (bar) control M/S* TV-Out PLL reference input control SAV [8:0] Horizontal start of active video (delay from leading edge of H2 sync to active video) BLCK[7:0] TV-Out Black level control HP[8:0] TV-Out horizontal position control VP[8:0] TV-Out vertical position control VOF TV-Out video format (s-video & composite, RGB) CE[2:0] TV-Out contrast enhancement PLLTVM[8:0] TV-Out PLL M divider PLLTVN[9:0] TV-Out PLL N divider FSCI[32:0] Sub-carrier generation increment value (when ACIV=0) CIVEN Calculated sub-carrier enable (was called ACIV) CIVC[1:0] Calculated sub-carrier control (hysteresis, CIV[25:0] Calculated sub-carrier increment value read out CIVPN Select PAL-N when in a CIV mode MEM[2:0] Memory sense amp reference adjust VBID Vertical blanking interval defeat PLLCPI TV-Out PLL charge pump current control PLLCAP TV-Out capacitor control 201-0000-037 Rev 2.05, 6/6/2002 21 CHRONTEL CH7011A CH7011A 6.2 Registers Read/Write Regarding the CH7011 CH7011 registers read/write operation, please see applications note AN-41 AN-41 for details. 6.3 Non-Macrovision Control Registers Description Table 8. Serial Port Register Map w/o Macrovision Register 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10h 11h 12h 13h 1Ch 1Dh 1Eh 1Fh 20h 21h 22h 48h 49h 4Ah 4Bh Bit 7 IR2 VBID Bit 6 IR1 VOF0 CFRB Bit 5 IR0 CFF1 CVBWB SAV8 SAV5 HP5 VP5 BL5 Bit 4 VOS1 CFF0 CBW HP8 SAV4 HP4 VP4 BL4 Bit 3 VOS0 YFFT1 YSV1 VP8 SAV3 HP3 VP3 BL3 SAV7 HP7 VP7 BL7 SAV6 HP6 VP6 BL6 MEM2 M7 N7 FSCI31 FSCI31 FSCI23 FSCI23 FSCI15 FSCI15 FSCI7 MEM1 M6 N6 FSCI30 FSCI30 FSCI22 FSCI22 FSCI14 FSCI14 FSCI6 MEM0 M5 N5 FSCI29 FSCI29 FSCI21 FSCI21 FSCI13 FSCI13 FSCI5 CIV25 CIV25 CIV21 CIV21 CIV13 CIV13 CIV5 N9 M4 N4 FSCI28 FSCI28 FSCI20 FSCI20 FSCI12 FSCI12 FSCI4 CIV24 CIV24 CIV20 CIV20 CIV12 CIV12 CIV4 GPIOL0 VSP DACT3 SYNCO1 BCOEN ResetIB DACPD3 VID4 DID4 N8 M3 N3 FSCI27 FSCI27 FSCI19 FSCI19 FSCI11 FSCI11 FSCI3 CIVC1 CIV19 CIV19 CIV11 CIV11 CIV3 M/S* XCMD3 Reserved HSP DACT2 SYNCO0 BCOP ResetDB DACPD2 VID3 DID3 CIV23 CIV23 CIV15 CIV15 CIV7 CIV22 CIV22 CIV14 CIV14 CIV6 GOENB1 IBS Reserved XOSC1 SHF2 GOENB0 DES XOSC2 XOSC0 SHF1 GPIOL1 SYO Reserved Reserved VID7 DID7 Reserved VID6 DID6 TV VID5 DID5 SHF0 Bit 2 SR2 YFFT0 YSV0 TE2 SAV2 HP2 VP2 BL2 CE2 M8 M2 N2 FSCI26 FSCI26 FSCI18 FSCI18 FSCI10 FSCI10 FSCI2 CIVC0 CIV18 CIV18 CIV10 CIV10 CIV2 MCP XCMD2 Reserved IDF2 DACT1 DACG1 BCO2 RSA DACPD1 VID2 DID2 Bit 1 SR1 YFFNT1 YCV1 TE1 SAV1 HP1 VP1 BL1 CE1 PLLCPI M1 N1 FSCI25 FSCI25 FSCI17 FSCI17 FSCI9 FSCI1 PALN CIV17 CIV17 CIV9 CIV1 PCM XCMD1 POUTE IDF1 DACT0 DACG0 BCO1 TSTP1 DACPD0 VID1 DID1 Bit 0 SR0 YFFNT0 YCV0 TE0 SAV0 HP0 VP0 BL0 CE0 PLLCAP M0 N0 FSCI24 FSCI24 FSCI16 FSCI16 FSCI8 FSCI0 CIVEN CIV16 CIV16 CIV8 CIV0 XCM XCMD0 POUTP IDF0 SENSE DACBP BCO0 TSTP0 FPD VID0 DID0 All register bits not defined in the register map are reserved bits. Table 8 shows the CH7011 CH7011 non-Macrovision register map. The details are described as follows: 22 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Display Mode Register BIT: SYMBOL: TYPE: DEFAULT: Symbol: Address: Bits: 7 IR2 R/W 0 6 IR1 R/W 1 5 IR0 R/W 1 4 VOS1 R/W 0 3 VOS0 R/W 1 2 SR2 R/W 0 DM 00h 8 1 SR1 R/W 1 0 SR0 R/W 0 Register DM provides programmable control of the CH7011 CH7011 VGA to TV display mode, including input resolution (IR[2:0]), video output standard (VOS[1:0]), and scaling ratio (SR[2:0]). The mode of operation is determined according to Table 9 below. For entries in which the output standard is shown as PAL, PAL-B,D,G,H,I,N,NC can be supported through proper selection of the chroma sub-carrier. For entries in which the output standard is shown as NTSC, NTSCM,J and PAL-M can be supported through proper selection of VOS[1:0] and chroma sub-carrier. Table 9. Display Mode Mode IR[2:0] VOS SR[2:0] 000 000 000 000 001 001 001 001 010 010 010 010 010 011 011 011 011 011 011 100 100 100 101 101 101 110 110 110 110 110 110 111 111 111 111 111 111 101 100 00 00 01 01 00 00 01 01 00 00 01 01 01 00 00 00 01 01 01 01 01 01 00 00 00 00 00 00 01 01 01 00 00 00 01 01 01 00 01 000 001 000 001 000 001 000 001 000 001 000 001 010 000 001 011 001 010 011 001 010 011 001 011 100 001 011 100 110 111 101 100 101 110 101 110 111 000 000 201-0000-037 Rev 2.05, 6/6/2002 Total Pixels/Line Output Stan- x Total dard (Active Video) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 Input Data Format [1:0] Lines/Frame [TV Standard] 512x384 512x384 512x384 512x384 720x400 720x400 720x400 720x400 640x400 640x400 640x400 640x400 640x400 640x480 640x480 640x480 640x480 640x480 640x480 720x480 720x480 720x480 720x576 720x576 720x576 800x600 800x600 800x600 800x600 800x600 800x600 1024x768 1024x768 1024x768 1024x768 1024x768 1024x768 720x576 720x480 840x500 840x625 800x420 784x525 1125x500 1152x625 945x420 936x525 1000x500 1008x625 840x420 832x525 840x600 840x500 840x625 840x750 784x525 784x600 800x630 882x525 882x600 900x630 882x625 900x750 900x875 944x625 960x750 960x875 1040x700 1064x750 1040x840 1400x875 PAL PAL NTSC NTSC PAL PAL NTSC NTSC PAL PAL NTSC NTSC NTSC PAL PAL PAL NTSC NTSC NTSC NTSC NTSC NTSC PAL PAL PAL PAL PAL PAL NTSC NTSC NTSC PAL PAL PAL NTSC NTSC NTSC PAL NTSC 1400x1000 1400x1125 1160x840 1160x945 1168x1050 864x625 858x525 Scaling 5/4 1/1 5/4 1/1 5/4 1/1 5/4 1/1 5/4 1/1 5/4 1/1 7/8 5/4 1/1 5/6 1/1 7/8 5/6 1/1 7/8 5/6 1/1 5/6 5/7 1/1 5/6 5/7 3/4 7/10 5/8 5/7 5/8 5/9 5/8 5/9 1/2 1/1 1/1 Percent Pixel Clock Overscan (MHz) -17 -33 0 -20 -13 -30 +4 -16 -13 -30 +4 -17 -27 +4 -17 -30 0 -13 -18 0 -13 -18 0 -18 -30 +4 -14 -27 -6 -14 -22 -4 -16 -25 0 -10 -20 0 0 21.000000 26.250000 20.139860 24.671329 28.125000 36.000000 23.790210 29.454545 25.000000 31.500000 21.146854 26.181819 30.209791 21.000000 26.250000 31.500000 24.671329 28.195805 30.209790 27.755245 31.720280 33.986015 27.562500 33.750000 39.375000 29.500000 36.000000 42.000000 43.636364 47.832169 52.363637 61.250000 70.000000 78.750000 58.405595 65.706295 73.510491 13.500000 13.500000 23 CHRONTEL CH7011A CH7011A Table 10. Video Output Standard Selection VOS[1:0] Output Format 00 PAL 01 NTSC 10 PAL-M Flicker Filter Register 11 NTSC-J 6 VOF R/W 0 5 CFF1 R/W 1 4 CFF0 R/W 0 3 YFFT1 R/W 0 01h Bits: 7 FF Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 1 YFFT0 YFFNT1 R/W R/W 1 1 0 YFFNT0 R/W 1 Bits 1-0 of register FF control the filter used in the scaling and flicker reduction block applied to the non-text portion of the luminance signal as shown in Table 11 below. Bits 3-2 of register FF control the filter used in the scaling and flicker reduction block applied to the text portion of the luminance signal as shown in Table 11 below. Bits 5-4 of register FF control the filter used in the scaling and flicker reduction block applied to the chrominance signal as shown in Table 12 below. A setting of `11' applies a dot crawl reduction filter which can reduce the `hanging dots' effect of an NTSC composite video signal when displayed on a TV with a comb filter. Table 11. Luma Flicker Filter Control Scaling Ratio 5/4 1/1, 7/8, 5/6, 3/4, 5/7, 7/10 5/8 5/9 1/2 YFFT and YFFNT Flicker Filter Settings (lines) 00 01 10 11 2 3 3 3 2 3 4 5 2 3 4 6 3 4 5 6 3 5 5 7 Table 12. Chroma Flicker Filter Control Scaling Ratio 5/4 1/1, 7/8, 5/6, 3/4, 5/7, 7/10 5/8 5/9 1/2 CFF Flicker Filter Settings (lines) 00 01 10 11 2 3 3 3 2 3 4 5 2 3 4 5 3 4 5 6 3 5 5 7 Bit 6 of register FF controls the video output format. A value of `0' generates composite and S-Video outputs. A value of `1' generates RGB outputs. Video Bandwidth Register 24 6 5 CFRB CVBWB R/W R/W 0 1 4 CBW R/W 1 3 YSV1 R/W 1 02h Bits: 7 VBID R/W 1 VBW Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 YSV0 R/W 1 1 YCV1 R/W 1 0 YCV0 R/W 0 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Bits 1-0 of register VBW control the filter used to limit the bandwidth of the luma signal in the CVBS output signal. A table of 3dB bandwidth values is given below. Bits 3-2 of register VBW control the filter used to limit the bandwidth of the luma signal in the S-Video output signal. A table of 3dB bandwidth values is given below. Bit 4 of register VBW control the filter used to limit the bandwidth of the chroma signal in the CVBS and S-Video output signals. A table of 3dB bandwidth values is given in Table 13 below. Bit 5 of register VBW controls the signal output on the CVBS pin. When this bit is low, the S-Video luminance signal is output at both the S-Video luminance pin and the CVBS pin. This enables the output of a black and white image on the composite output, thereby eliminating the degrading effects of the color signal (such as dot crawl and false colors), which is useful for viewing text with high accuracy. This also allows the output of either S-Video or CVBS using just two DAC's. This is useful in situations where connector space is at a premium. Table 13. Video Bandwidth Mode 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 CBW 0 0.620 0.775 0.529 0.648 0.831 1.060 0.703 0.870 0.738 0.930 0.624 0.773 0.892 0.620 0.775 0.930 0.648 0.740 0.793 0.729 0.833 0.892 0.724 0.886 1.030 0.774 0.945 1.100 0.859 0.942 1.030 0.804 0.919 1.030 0.767 0.862 0.965 0.709 0.466 YSV[1:0] and YCV[1:0] 1 0.856 1.070 0.730 0.894 1.150 1.470 0.970 1.200 1.020 1.280 0.862 1.070 1.230 0.856 1.070 1.280 0.894 1.020 1.100 1.010 1.150 1.230 0.999 1.220 1.430 1.070 1.310 1.520 1.190 1.300 1.420 1.110 1.270 1.430 1.060 1.190 1.330 0.979 0.643 201-0000-037 Rev 2.05, 6/6/2002 00 2.300 2.880 1.960 2.410 3.080 3.950 2.610 3.230 2.740 3.460 2.320 2.870 3.310 2.300 2.880 3.460 2.410 2.750 2.950 2.710 3.090 3.310 2.690 3.290 3.840 2.880 3.510 4.100 3.190 3.500 3.830 2.990 3.410 3.840 2.850 3.200 3.580 2.630 1.730 01 2.690 3.360 2.290 2.810 3.600 4.610 3.040 3.770 3.200 4.030 2.710 3.350 3.870 2.690 3.360 4.030 2.810 3.210 3.440 3.160 3.610 3.870 3.140 3.840 4.480 3.360 4.100 4.780 3.720 4.080 4.470 3.480 3.980 4.480 3.320 3.740 4.180 3.070 2.020 10 3.540 4.430 3.020 3.700 4.750 6.080 4.010 4.970 4.220 5.320 3.570 4.420 5.100 3.540 4.430 5.320 3.700 4.230 4.530 4.160 4.760 5.100 4.130 5.060 5.910 4.430 5.400 6.300 4.910 5.380 5.890 4.590 5.250 5.910 4.380 4.930 5.510 4.050 2.660 11 5.880 7.350 5.010 6.140 7.870 10.100 6.660 8.240 7.000 8.820 5.920 7.330 8.450 5.880 7.350 8.820 6.140 7.010 7.510 6.900 7.890 8.450 6.860 8.400 9.790 7.340 8.960 10.400 8.140 8.920 9.770 7.620 8.710 9.790 7.260 8.170 9.140 6.720 4.410 25 CHRONTEL CH7011A CH7011A Bit 6 of register CVBWB controls whether the chroma sub-carrier free-runs, or is locked to the video signal. A `1' causes the sub-carrier to lock to the TV vertical rate, and should be used when the CIVEN bit (register 10h) is set to `0'. A `0' causes the sub-carrier to free-run, and should be used when the CIVEN bit is set to `1'. Bit 7 of register CVBWB controls the vertical blanking interval defeat function. A `1' in this register location forces the flicker filter to minimum filtering during the vertical blanking interval. A `0' in this location causes the flicker filter to remain at the same setting inside and outside of the vertical blanking interval. Text Enhancement Register 6 5 SAV8 R/W 0 4 HP8 R/W 0 3 VP8 R/W 0 03h Bits: 7 TE Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 6 2 TE2 R/W 1 1 TE1 R/W 0 0 TE0 R/W 1 Bits 2-0 of register TE control the text enhancement circuitry within the CH7011 CH7011. A value of `000' minimizes the enhancement feature, while a value of `111' maximizes the enhancement. Bits 5-3 of register TE contain the MSB values for the start of active video, horizontal position and vertical position controls. They are described in detail in the SAV, HP and VP register descriptions. Start of Active Video Register 6 SAV6 R/W 1 5 SAV5 R/W 0 4 SAV4 R/W 1 3 SAV3 R/W 0 04h Bits: 7 SAV7 R/W 0 SAV Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 SAV2 R/W 0 1 SAV1 R/W 0 0 SAV0 R/W 0 Register SAV controls the delay, in pixel increments, from leading edge of horizontal sync to start of active video. The entire bit field SAV[8:0] is comprised of this register SAV[7:0], plus the MSB value contained in the Text Enhancement register, bit SAV8. This is decoded as a whole number of pixels, which can be set anywhere between 0 and 511 pixels. Therefore, in any 2X clock mode the number of 2X clocks from the leading edge of sync to the first active data must be a multiple of two clocks. Horizontal Position Register 6 HP6 R/W 1 5 HP5 R/W 0 4 HP4 R/W 1 3 HP3 R/W 0 05h Bits: 7 HP7 R/W 0 HP Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 HP2 R/W 0 1 HP1 R/W 0 0 HP0 R/W 0 Register HP is used to shift the displayed TV image in a horizontal direction (left or right) to achieve a horizontally centered image on screen. The entire bit field, HP[8:0], is comprised of this register HP[7:0] plus the MSB value contained in the Text Enhancement register, bit HP8. Increasing values move the displayed image position right, and decreasing values move the image position left. 26 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Vertical Position Register 6 VP6 R/W 0 5 VP5 R/W 0 4 VP4 R/W 0 3 VP3 R/W 0 06h Bits: 7 VP7 R/W 0 VP Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 VP2 R/W 0 1 VP1 R/W 0 0 VP0 R/W 0 Register VP is used to shift the displayed TV image in a vertical direction ( up or down) to achieve a vertically centered image on screen. The entire bit field, VP[8:0], is comprised of this register HP[7:0] plus the MSB value contained in the Text Enhancement register, bit VP8. The value represents the TV line number (relative to the VGA vertical sync) used to initiate the generation and insertion of the TV vertical interval (i.e. the first sequence of equalizing pulses). Increasing values delay the output of the TV vertical sync, causing the image position to move up on the TV screen. Decreasing values, therefore, move the image position DOWN. Each increment moves the image position by one TV lines (approximately 2 input lines). The maximum value that should be programmed into the VP[8:0] value is the number of TV lines per field minus one half (262 or 312). When panning the image up, the number should be increased until (TVLPF-1/2) is reached, the next step should be to reset the register to zero. When panning the image down the screen, decrement the VP[8:0] value until the value zero is reached. The next step should set the register to TVLPF-1/2, and then decrement for further changes. Black Level Register 6 BL6 R/W 0 5 BL5 R/W 0 4 BL4 R/W 0 3 BL3 R/W 0 07h Bits: 7 BL7 R/W 1 BL Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 BL2 R/W 0 1 BL1 R/W 1 0 BL0 R/W 1 Register BL controls the black level. The luminance data is added to this black level, which must be set between 51 and 208. When the input data format is zero through three the default values are 131 for NTSC and PAL-M, 110 for PAL and 102 for NTSC-J. When the input data format is four the default values are 112 for NTSC and PAL-M, 94 for PAL and 88 for NTSC-J. Contrast Enhancement Register 6 5 4 3 08h Bits: 7 CE Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 3 2 CE2 R/W 0 1 CE1 R/W 1 0 CE0 R/W 1 Bits 2-0 of register CE control contrast enhancement feature of the CH7011 CH7011, according to the figure below. A setting of `0' results in reduced contrast, a setting of `1' leaves the image contrast unchanged, and values beyond `1' result in increased contrast. 201-0000-037 Rev 2.05, 6/6/2002 27 CHRONTEL CH7011A CH7011A 512 444 376 Yout n 308 240 256 172 104 36 32 32 36 104 172 240 308 376 444 512 Yin n Figure 16: Contrast Enhancement diagram TV PLL Control Register 6 MEM1 R/W 0 5 IBI R/W 0 4 N9 R/W 0 3 N8 R/W 0 09h Bits: 7 MEM2 R/W 1 TPC Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 5 2 M8 R/W 0 1 PLLCPI R/W 0 0 PLLCAP R/W 0 Bit 0 of register TPC controls the TV PLL loop filter capacitor. A recommended listing of PLLCAP setting versus mode is listed in Table 14 below. Table 14. PLLCAP setting vs Display Mode Mode PLLCAP Mode PLLCAP Value 0 1 2 3 4 5 6 7 8 9 10 28 Value 1 1 0 0 1 1 0 1 0 1 0 20 21 22 23 24 25 26 27 28 29 30 0 0 1 1 1 0 1 1 1 0 1 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Table 14. PLLCAP setting vs Display Mode 11 12 13 14 15 16 17 18 19 1 0 1 1 1 0 0 0 0 31 32 33 34 35 36 37 38 1 1 1 0 0 0 1 1 Bit 1 of register TPC should be left at the default value. Bits 4-2 of register TPC contain the MSB values for the TV PLL divider ratio's. These controls are described in detail in the PLLM and PLLN register descriptions. Bit 5 of register TPC controls the input latch bias current. Bits 7-6 of register TPC control the memory sense amp reference level. The default value is recommended. TV PLL M Value Register 6 M6 R/W 0 5 M5 R/W 1 4 M4 R/W 1 3 M3 R/W 1 0Ah Bits: 7 M7 R/W 0 PLLM Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 M2 R/W 1 1 M1 R/W 1 0 M0 R/W 1 Register PLLM controls the division factor applied to the 14.31818MHz frequency reference clock before it is input to the TV PLL phase detector when the CH7011 CH7011 is operating in master clock mode. The entire bit field, M[8:0], is comprised of this register M[7:0] plus the MSB value contained in the TV PLL Control register, bit M8. In slave clock mode, an external pixel clock is used instead of the 14.31818MHz frequency reference, and the division factor is determined by the XCM value in register 1Dh. A table of values versus display mode is given following the PLLN register description. TV PLL N Value Register 6 N6 R/W 1 5 N5 R/W 1 4 N4 R/W 1 3 N3 R/W 1 0Bh Bits: 7 N7 R/W 0 PLLN Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 N2 R/W 1 1 N1 R/W 1 0 N0 R/W 0 Register PLLN controls the division factor applied to the VCO output before being applied to the PLL phase detector, when the CH7011 CH7011 is operating in master clock mode. The entire bit field, N[9:0], is comprised of this register N[7:0] plus the MSB values contained in the TV PLL Control register, bits N9 and N8. In slave clock mode, the value of `N' is internally set to 1. The pixel clock generated in master clock modes is calculated according to the equation Fpixel = Fref * [(N+2) / (M+2)]. When using a 14.31818MHz frequency reference, the required M and N values for each mode are shown in Table 15 below: 201-0000-037 Rev 2.05, 6/6/2002 29 CHRONTEL CH7011A CH7011A Table 15. TV PLL M and N values vs Display Mode Mode VGA Resolution, TV Standard, Scaling Ratio 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 512x384, PAL, 5:4 512x384, PAL, 1:1 512x384, NTSC, 5:4 512x384, NTSC, 1:1 720x400, PAL, 5:4 720x400, PAL, 1:1 720x400, NTSC, 5:4 720x400, NTSC, 1:1 640x400, PAL, 5:4 640x400, PAL, 1:1 640x400, NTSC, 5:4 640x400, NTSC, 1:1 640x400, NTSC, 7:8 640x480, PAL, 5:4 640x480, PAL, 1:1 640x480, PAL, 5:6 640x480, NTSC, 1:1 640x480, NTSC, 7:8 640x480, NTSC, 5:6 720x480, NTSC, 1:1 N 10- M Mode TV Standard, 9-bits Scaling Ratio bits 20 9 126 110 53 86 106 70 108 9 94 62 190 20 9 9 110 126 190 124 13 4 89 63 26 33 63 33 61 3 63 33 89 13 4 3 63 63 89 63 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 N M 10- VGA Resolution, 9-bits bits 720x480, NTSC, 7:8 720x480, NTSC, 5:6 720x480, PAL, 1:1 720x480, PAL, 5:6 720x480, PAL, 5:7 800x600, PAL, 1:1 800x600, PAL, 5:6 800x600, PAL, 5:7 800x600, NTSC, 3:4 800x600, NTSC, 7:10 800x600, NTSC, 5/8 1024x768, PAL, 5:7 1024x768, PAL, 5:8 1024x768, PAL, 5:9 1024x768, NTSC, 5:8 1024x768, NTSC, 5:9 1024x768, NTSC, 1:2 720x576, PAL, 1:1 720x480, NTSC, 1:1 Sub-carrier Value Register 142 214 75 31 9 647 86 42 62 302 126 75 42 20 565 333 917 31 31 63 89 38 12 2 313 33 13 19 89 33 16 7 2 137 71 177 33 33 Symbol: FSCI Address: 0Ch 0Fh Bits: BIT: SYMBOL: TYPE: DEFAULT: 7 FSCI# R/W 6 FSCI# R/W 5 FSCI# R/W 4 FSCI# R/W 3 FSCI# R/W 2 FSCI# R/W 8 each 1 FSCI# R/W 0 FSCI# R/W Registers FSCI contain a 32-bit value which is used as an increment value for the ROM address generation circuitry when CIVEN=0. The bit locations are specified as follows: Register 0Ch 0Dh 0Eh 0Fh Contents FSCI[31:24] FSCI[23:16] FSCI[15:8] FSCI[7:0] When the CH7011 CH7011 is used in the master clock mode, the tables below should be used to set the FSCI registers. When using these values, the CIVEN bit in register 10h should be set to `0', and the CFRB bit in register 02h should be set to `1'. 30 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Table 16. FSCI Values (525-Line TV-Out Modes) Mode NTSC NTSC PAL-M 2 3 6 7 10 11 12 16 17 18 19 20 21 28 29 30 34 35 36 38 "Normal Dot Crawl" 763,363,328 623,153,737 574,429,782 463,962,517 646,233,505 521,957,831 452,363,454 623,153,737 545,259,520 508,908,885 553,914,433 484,675,129 452,363,454 469,762,048 428,554,851 391,468,373 526,457,468 467,962,193 418,281,276 569,408,543 "No Dot Crawl" 763,366,524 623,156,346 574,432,187 463,964,459 646,236,211 521,960,019 452,365,347 623,156,346 545,261,803 508,911,016 553,916,752 484,677,158 452,365,347 469,764,015 428,556,645 391,470,012 526,459,671 467,964,152 418,283,027 569,410,927 "Normal Dot Crawl" 762,524,467 622,468,953 573,798,541 463,452,668 645,523,358 521,384,251 451,866,351 622,468,953 544,660,334 508,349,645 553,305,736 484,142,519 451,866,351 469,245,826 428,083,911 391,038,188 525,878,943 467,447,949 417,821,626 568,782,819 Table 17. FSCI Values (625-Line TV-Out Modes) Mode PAL PAL-N 0 1 4 5 8 9 13 14 15 22 23 24 25 26 27 31 32 33 37 "Normal Dot Crawl" 806,021,060 644,816,848 601,829,058 470,178,951 677,057,690 537,347,373 806,021,060 644,816,848 537,347,373 690,875,194 564,214,742 483,612,636 645,499,916 528,951,320 453,386,846 621,787,675 544,064,215 483,612,636 705,268,427 "Normal Dot Crawl" 651,209,077 520,967,262 486,236,111 379,871,962 547,015,625 434,139,385 651,209,077 520,967,262 434,139,385 558,179,209 455,846,354 390,725,446 521,519,134 427,355,957 366,305,106 502,361,288 439,566,127 390,725,446 569,807,942 CIV Control Register 201-0000-037 Rev 2.05, 6/6/2002 6 5 CIV25 CIV25 R/W 0 4 CIV24 CIV24 R/W 0 3 CIVC1 R/W 0 10h Bits: 7 CIVC Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 6 2 CIVC0 R/W 0 1 PALN R/W 0 0 CIVEN R/W 1 31 CHRONTEL CH7011A CH7011A Bit 0 of register CIVC controls whether the FSCI value is used to set the sub-carrier frequency, or the automatically calculated (CIV) value. When the CIVEN value is 1, the number calculated and present at the CIV registers will automatically be used as the increment value for sub-carrier generation. Whenever this bit is set to 1, the CFRB bit should be set to 0. It is recommended to use the FSCI registers, and not the CIVEN mode for Macrovision applications Bit 1 of register CIVC forces the CIV algorithm to generate the PAL-N (Argentina) sub-carrier frequency when it is set to `1'. When this bit is set to `0', the VOS[1:0] value is used by the CIV algorithm to determine which subcarrier frequency to generate. Bits 3-2 of register CIVC control the hysteresis circuit which is used to calculate the CIV value. The default value should be used. Bits 5-4 of register CIVC contain the MSB values for the calculated increment value (CIV) readout. This is described in detail in the CIV register description. Calculated Increment Value Register Symbol: CIV Address: 11h 13h Bits: BIT: SYMBOL: TYPE: DEFAULT: 7 CIV# R/W 0 6 CIV# R/W 0 5 CIV# R/W 0 4 CIV# R/W 0 3 CIV# R/W 0 2 CIV# R/W 0 8 each 1 CIV# R/W 0 0 CIV# R/W 0 Registers CIV contain the value that was calculated by the CH7011 CH7011 as the sub-carrier increment value. The entire bit field, CIV[25:0], is comprised of these three registers plus the MSB values contained in the CIV Control register, bits CIV25 CIV25 and CIV24 CIV24. This value is used when the CIVEN bit is set to `1'. The bit locations are specified below. Register Contents 10hCIV[25:24] 11hCIV[23:16] 12hCIV[15:8] 13hCIV[7:0] Clock Mode Register 6 5 4 3 M/S* R/W 0 1Ch Bits: 7 CM Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 4 2 MCP R/W 0 1 PCM R/W 0 0 XCM R/W 0 Bit 0 of register CM signifies the XCLK frequency. A value of `0' is used when the XCLK is at the pixel frequency (duel edge clocking mode) and a value of `1' is used when the XCLK is twice the pixel frequency (single edge clocking mode). 32 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Bit 1 of register CM controls the P-Out clock frequency. A value of `0' generates a clock output at the pixel frequency, while a value of `1' generates a clock at twice the pixel frequency. Bit 2 of register CM controls the phase of the XCLK clock input to the CH7011 CH7011. A value of `1' inverts the XCLK signal at the input of the device. This control is used to select which edge of the XCLK signal to use for latching input data. Bit 3 of register CM controls whether the device operates in master or slave clock mode. In master mode (M/S* = `1'), the 14.31818MHz clock is used as a frequency reference in the TV PLL, and the M and N values are used to determine the TV PLL's operating frequency. In slave mode (M/S* = `0') the XCLK input is used as a reference to the TV PLL. The M and N TV PLL divider values are forced to one. Input Clock Register 6 5 R/W 1 R/W 0 R/W 0 1Dh Bits: 7 IC Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 4 3 2 1 XCMD3 XCMD2 XCMD1 R/W R/W R/W R/W 0 1 0 0 0 XCMD0 R/W 0 Bits 3-0 of register IC controls the delay applied to the XCLK signal before latching input data. GPIO Control Register GPIO Address: 1Eh Bits: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 7 6 5 4 3 2 GOENB1 GOENB0 GPIOL1 GPIOL0 Reserved Reserved R/W R/W R/W R/W R/W R/W 1 1 0 0 0 0 1 POUTE R/W 0 0 POUTP R/W 0 Bit 0 of register GPIO controls the polarity of the P-Out signal. A value of `0' does not invert the clock at the output pad. Bit 1 of register GPIO enables the P-Out signal. A value of `1' drives the P-Out clock signal out of the P-Out pin. A value of `0' disables the P-Out signal. Bits 5-4 of register GPIO control the GPIO pins. When the corresponding GOENB bits are low, these register values are driven out of the corresponding GPIO pins. When the corresponding GOENB bits are high, these register values can be read to determine the level forced into the corresponding GPIO pins. Bits 7-6 of register GPIO control the direction of the GPIO pins. A value of `1' sets the corresponding GPIO pin to an input, and a value of `0' sets the corresponding pin to an output. 201-0000-037 Rev 2.05, 6/6/2002 33 CHRONTEL CH7011A CH7011A Input Data Format Register 6 DES R/W 0 5 SYO R/W 0 4 VSP R/W 0 3 HSP R/W 0 1Fh Bits: 7 IBS R/W 0 IDF Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 IDF2 R/W 0 1 IDF1 R/W 0 0 IDF0 R/W 0 Bits 2-0 of register IDF select the input data format. See the Input interface on page 9 for a listing of available formats. Bit 3 of register IDF controls the horizontal sync polarity. A value of `0' defines the horizontal sync to be active low, and a value of `1' defines the horizontal sync to be active high. Bit 4 of register IDF controls the vertical sync polarity. A value of `0' defines the vertical sync to be active low, and a value of `1' defines the vertical sync to be active high. Bit 5 of register IDF controls the sync direction. A value of `0' defines sync to be input to the CH7011 CH7011, and a value of `1' defines sync to be output from the CH7011 CH7011. The CH7011 CH7011 can only output sync signals when operating as a VGA to TV encoder. Bit 6 of register IDF signifies when the CH7011 CH7011 is to decode embedded sync signals present in the input data stream instead of using the H and V pins. This feature is only available for input data format four. A value of `0' selects the H and V pins to be used as the sync inputs, and a value of `1' selects the embedded sync signal. Bit 7 of register IDF selects the input buffer used for the data, sync and clock input pins. Connection Detect Register 6 5 XOSC2 Reserved R/W R 0 0 4 DACT3 R X 3 DACT2 R X 20h Bits: 7 Reserved R/W 0 CD Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 6 2 DACT1 R X 1 DACT0 R X 0 SENSE R/W 0 The Connection Detect Register provides a means to sense the connection of a TV to the four DAC outputs. The status bits, DACT[3:0] correspond to the termination of the four DAC outputs. However, the values contained in these STATUS BITS ARE NOT VALID until a sensing procedure is performed. Use of this register requires a sequence of events to enable the sensing of outputs, then reading out the applicable status bits. The detection sequence works as follows: 1) Set the power management register to enable all DAC's. 2) Set the SENSE bit to a 1. This forces a constant output from the DAC's. Note that during SENSE = 1, these 4 analog outputs are at steady state and no TV synchronization pulses are asserted. 3) Reset the SENSE bit to 0. This triggers a comparison between the voltage present on these analog outputs and the reference value. During this step, each of the four status bits corresponding to individual DAC outputs will be set if they are CONNECTED. 4) Read the status bits. The status bits, DACT[3:0] now contain valid information which can be read to determine which outputs are connected to a TV. Again, a "1" indicates a valid connection, a "0" indicates an unconnected output. Bit 6 of register CD contains the MSB value for the crystal oscillator adjustment. 34 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A DAC Control Register 6 XOSC0 R/W 0 5 4 3 SYNCO1 SYNCO0 R/W R/W 0 0 21h Bits: 7 XOSC1 R/W 0 DC Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 6 2 DACG1 R/W 0 1 DACG0 R/W 0 0 DACBP R/W 0 Bit 0 of register DC selects the DAC bypass mode. A value of `1' outputs the incoming data directly at the DAC[2:0] outputs. Bits 2-1 of register DC control the DAC gain. DACG0 should be set low for NTSC and PAL-M video standards, and high for PAL and NTSC-J video standards. DACG1 should be low when the input data format is RGB (IDF = 0-3), and high when the input data format is YCrCb (IDF = 4). Bits 4-3 of register DC select the signal to be output from the C/H Sync pin according to Table 18 below. Table 18. Composite / Horizontal Sync Output SYNCO[1:0] 00 01 10 11 C/H Sync Output No Output VGA Horizontal Sync TV Composite Sync TV Horizontal Sync Bits 7-6 of register DC controls the crystal oscillator. The default value is recommended. Buffered Clock Output Register 6 SHF1 R/W 0 5 SHF0 R/W 0 4 BCOEN R/W 0 3 BCOP R/W 0 22h Bits: 7 SHF2 R/W 0 BCO Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 BCO2 R/W 0 1 BCO1 R/W 0 0 BCO0 R/W 0 Bits 2-0 of register BCO select the signal output at the BCO pin, according to Table 19 below: Table 19. BCO Output Signal BCO[2:0] 000 001 010 011 Buffered Clock Output The 14MHz crystal (for test use only) VCO divided by K3 Field ID BCO[2:0] 100 101 110 111 Buffered Clock Output (for test use only) (for test use only) VGA Vertical Sync TV Vertical Sync Bit 3 of register BCO selects the polarity of the BCO output. A value of `1' does not invert the signal at the output pad. Bit 4 of register BCO enables the BCO output. When BCOEN is high, the BCO pin will output the selected signal. When BCOEN is low, the BCO pin will be held in tri-state mode. Bits 7-5 of register BCO select the K3 divider, according to Table 20 below. 201-0000-037 Rev 2.05, 6/6/2002 35 CHRONTEL CH7011A CH7011A Table 20. K3 Selection SHF[2:0] 000 001 010 011 100 101 110 111 K3 2.5 3.0 3.5 4.0 4.5 5.0 6.0 7.0 Test Pattern Register 6 5 4 3 ResetIB ResetDB R/W R/W 1 1 48h Bits: 7 TSTP Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 5 2 RSA R/W 0 1 TSTP1 R/W 0 0 TSTP0 R/W 0 Bits 1-0 of register TSTP control the test pattern generation block. The pattern generated is determined by Table 21 below. Table 21. Test Pattern Control TSTP[1:0] 00 01 1X Test Pattern No test pattern Input data is used Color Bars Horizontal Luminance Ramp Bit 2 of register TSTP is a test control, and should be left at the default value. Bit 3 of register TSTP controls the datapath reset signal. A value of `0' holds the datapath in a reset condition, while a value of `1', places the datapath in normal mode. The datapath is also reset at power on by an internally generated power on reset signal. Bit 4 of register TSTP controls the serial port reset signal. A value of `0' holds the serial port registers in a reset condition, while a value of `1', places the serial port registers in normal mode. The serial port registers are also reset at power on by an internally generated power on reset signal. Power Management Register 49h Bits: 7 6 Reserved Reserved R/W R/W 0 0 PM Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 5 4 3 2 1 TV DACPD3 DACPD2 DACPD1 DACPD0 R/W R/W R/W R/W R/W 0 0 0 0 0 0 FPD R/W 1 Register PM controls which circuitry within the CH7011 CH7011 is operating, according to Table 22 below. 36 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Table 22. Power Management TV 1 1 DACPD[3:0] 1001 0111or FPD 0 0 Operating State Composite Off, S-video on Composite On/S-video off 1110 1 0 X Functional Description Composite DACs are off S-Video DACs are off Either pin 39 CVBS/B or pin 36 0000 XXXX XXXX 0 0 1 Normal (On) VGA to TV Encoder Off Full Power Down CVBS can be used for composite out Both composite and s-video are on TV off All circuitry is powered down except serial port Version ID Register 6 VID6 R 0 5 VID5 R 0 4 VID4 R 0 3 VID3 R 0 4Ah Bits: 7 VID7 R 1 VID Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 VID2 R 0 1 VID1 R 1 0 VID0 R 1 Register VID is a read only register containing the version ID number of the CH7011 CH7011. Device ID Register 6 DID6 R 0 5 DID5 R 0 4 DID4 R 1 3 DID3 R 0 4Bh Bits: 7 DID7 R 0 DID Address: BIT: SYMBOL: TYPE: DEFAULT: Symbol: 8 2 DID2 R 1 1 DID1 R 1 0 DID0 R 1 Register DID is a read only register containing the device ID number of the CH7011 CH7011. 201-0000-037 Rev 2.05, 6/6/2002 37 CHRONTEL CH7011A CH7011A 7. ELECTRICAL SPECIFICATIONS Table 23. Absolute Maximum Ratings Symbol Description DVDD, AVDD, VDD relative to GND Input voltage of all digital pins 1 Min Typ Max Units - 0.5 5.0 V GND - 0.5 VDD + 0.5 V Indefinite Sec TSC Analog output short circuit duration TAMB Ambient operating temperature - 55 85 °C TSTOR Storage temperature - 65 150 °C TJ Junction temperature 150 °C Vapor phase soldering (one minute) 220 °C TVPS Notes: 1. Stresses greater than those listed under absolute maximum ratings may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions above those indicated under the normal operating condition of this specification is not recommended. Exposure to absolute maximum rating conditions for extended periods my affect reliability. 2. The device is fabricated using high-performance CMOS technology. It should be handled as an ESD sensitive device. Voltage on any signal pin that exceeds the power supply voltages by more than ± 0.5V can induce destructive latch. Table 24. Recommended Operating Conditions Symbol Min Typ Max Units DAC power supply voltage 3.1 3.3 3.6 V AVDD Analog supply voltage 3.1 3.3 3.6 V DVDD Digital supply voltage 3.1 3.3 3.6 V Digital supply voltage (P-OUT pin) 1.1 1.8 3.6 VDD DVDDV RL Description Output load to DAC outputs V 37.5 Table 25. Electrical Characteristics (Operating Conditions: TA = 0oC - 70oC, VDD, AVDD, DVDD = 3.3V ± 5%) Symbol Description Video D/A resolution Full scale output current Min Typ Max Units 10 10 10 Bits 33.89 mA 10 Video level error % IVDD 4 DAC's Enabled 130 145 mA IVDD 3 DAC's Enabled 100 110 mA IAVDD 5 7 mA IDVDD 85 150 mA DVDDV (1.8V) current (15pF load) 38 4 mA 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A Table 26. Digital Inputs / Outputs Symbol Description VSDOL SPD (serial port data) Output VSPIH Serial Port (SPC, SPD) Input VSPIL Test Condition Serial Port (SPC, SPD) Input Min Max Unit 0.4 V 2.7 DVDD+0.5 V GND-0.5 1.4 V IOL = 2.0 mA Typ Low Voltage High Voltage Low Voltage VDATAIH D[0-11] Input High Voltage Vref+0.25 DVDD+0.5 V VDATAIL D[0-11] Input Low Voltage GND-0.5 Vref-0.25 V DVDD=3.3V 2.7 VDD + 0.5 V DVDD=3.3V GND-0.5 0.6 V 0.5 5 uA VMISCAIH GPIO, AS, RESET* VMISCAIL GPIO, AS, RESET* IMISCAPU Pull Up Current Input High Voltage Input Low Voltage VIN = 0V (GPIO, AS, RESET*) VMISCAOH GPIO, C/HSYNC, BCO, H, V VMISCAOL GPIO, C/HSYNC, BCO, H, V VMISCBOH P-OUT VMISCBOL P-OUT IOH = -0.4mA VDD-0.2 V Output High Voltage IOL = 3.2mA 0.2 V Output Low Voltage IOH = - 400 uA DVDDV-0.2 V Output High Voltage IOL = 3.2 mA 0.2 V Output Low Voltage Note: VDATA - refers to all digital pixel, clock, data enable and sync inputs. VMISCA - refers to GPIOx, AS and RESET* inputs, GPIOx, C/HSYNC, BCO outputs and H, V when configured as outputs (SYO=1). VMISCB - refers to P-OUT output. 201-0000-037 Rev 2.05, 6/6/2002 39 CHRONTEL CH7011A CH7011A 8. Timing Information 8.1 Clock - Slave, Sync - Slave Mode t2 XCLK V IH V IL XCLK* V IH V IL t4 t3 D[11:0] V IH P0a P0b P1a P1b P2a V IL t3 DE P2b t5 t4 V IH V IL t3 H V IH 64 PIXELS V IL V V IH 1 VGA Line V IL t5 t5 Figure 17: Timing for Clock - Slave, Sync - Slave Mode Table 27. Timing for Clock - Slave, Sync - Slave Mode Symbol Parameter t2 XCLK & XCLK* rise/fall time w/15pF load t3 Setup time: Min Typ 3 Max Unit ns 0.2 ns 0.3 ns Differential Clock: (XCLK = XCLK*) to (D[11:0], H, V & DE = VREF) Single-ended Clock: (XCLK =VREF) to (D[11:0], H, V & DE = VREF) t4 Hold time: Differential Clock: (XCLK = XCLK*) to (D[11:0], H, V & DE = VREF) Single-ended Clock: (XCLK =VREF) to (D[11:0], H, V & DE = VREF) t5 40 D[11:0], H, V & DE rise/fall time w/15pF load 3 ns 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A 8.2 Clock - Master, Sync - Slave Mode P-OUT VOH VOL t1 t1 t2 XCLK V IH V IL XCLK* V IH V IL t4 t3 D[11:0] V IH P0a P0b P1a P1b P2a V IL t3 DE P2b t5 t4 V IH V IL t3 H V IH 64 PIXELS V IL V V IH 1 VGA Line V IL t5 t5 Figure 18: Timing for Clock - Slave, Sync - Slave Mode Table 28. Timing for Clock - Master, Sync - Slave Mode Symbol Parameter t1 P-OUT rise/fall time w/15pF load, VREF = 1.65 V 3 ns t2 XCLK & XCLK* rise/fall time w/15pF load Setup time: Differential Clock: (XCLK = XCLK*) to (D[11:0], H, V & DE = VREF) Single-ended Clock: (XCLK =VREF) to (D[11:0], H, V & DE = VREF) 3 ns t3 t4 Hold time: Differential Clock: (XCLK = XCLK*) to (D[11:0], H, V & DE = VREF) Single-ended Clock: (XCLK =VREF) to (D[11:0], H, V & DE = VREF) t5 D[11:0], H, V & DE rise/fall time w/15pF load 201-0000-037 Rev 2.05, 6/6/2002 Min Typ Max Unit 0.2 ns 0.3 ns 3 ns 41 CHRONTEL CH7011A CH7011A 8.3 Clock - Master, Sync - Master Mode P-OUT VOH VOL H t1 t7 64 PIXELS VOL V t1 t6 VOH VOH 1 VGA Line VOL t5 t5 t2 XCLK V IH V IL XCLK* V IH V IL D[11:0] t4 t3 V IH P0a P0b P1a P1b P2a V IL DE P2b t5 V IH V IL t3 Figure 19: Clock - Master, Sync - Master Mode Table 29. Timing for Clock - Master, Sync - Slave Mode Symbol Parameter Min Typ Max Unit t1 P-OUT rise/fall time w/15pF load, VREF = 1.65 V 3 ns t2 XCLK & XCLK* rise/fall time w/15pF load 3 ns t3 Setup time: 0.2 ns 0.3 ns Differential Clock: (XCLK = XCLK*) to (D[11:0], H, V & DE = VREF) Single-ended Clock: (XCLK =VREF) to (D[11:0], H, V & DE = VREF) t4 Hold time Differential Clock: (XCLK = XCLK*) to (D[11:0], H, V & DE = VREF) Single-ended Clock: (XCLK =VREF) to (D[11:0], H, V & DE = VREF) t5 D[11:0], H, V & DE rise/fall time w/15pF load t6 Hold time: P-OUT to HSYNC, VSYNC delay t7 (P-OUT=VREF) to (XCLK =XCLK*) delay 42 3 ns 1.5 ns ns 201-0000-037 Rev 2.05, 6/6/2002 CHRONTEL CH7011A CH7011A 9. PACKAGE DIMENSIONS 64-pin LQFP A B I 1 A B H C D J F LEAD CO-PLANARITY E .004 " G Table of Dimensions SYMBOL No. of Leads 64 (10 X 10 mm) Millimeters A MIN 11.80 MAX 12.20 B 10.00 C 0.50 D E F 0.17 1.35 0.05 0.27 1.45 0.15 G 1.00 H I J 0.45 0.09 0° 0.75 0.20 7° Notes: 1. Conforms to JEDEC standard JESD-30 JESD-30 MS-026D MS-026D. 2. Dimension B: Top Package body size may be smaller than bottom package size by as much as 0.15 mm. 3. Dimension B does not include allowable mold protrusions up to 0.25 mm per side. 201-0000-037 Rev 2.05, 6/6/2002 43 CHRONTEL Disclaimer This document provides technical information for the user. Chrontel reserves the right to make changes at any time without notice to improve and supply the best possible product and is not responsible and does not assume any liability for misapplication or use outside the limits specified in this document. We provide no warranty for the use of our products and assume no liability for errors contained in this document. The customer should make sure that they have the most recent data sheet version. Customers should take appropriate action to ensure their use of the products does not infringe upon any patents. Chrontel, Inc. respects valid patent rights of third parties and does not infringe upon or assist others to infringe upon such rights. Chrontel PRODUCTS ARE NOT AUTHORIZED FOR AND SHOULD NOT BE USED WITHIN LIFE SUPPORT SYSTEMS OR NUCLEAR FACILITY APPLICATIONS WITHOUT THE SPECIFIC WRITTEN CONSENT OF Chrontel. Life support systems are those intended to support or sustain life and whose failure to perform when used as directed can reasonably expect to result in personal injury or death. ORDERING INFORMATION Part number Package type Number of pins Voltage supply CH7011A-T CH7011A-T LQFP 64 3.3V Chrontel 2210 O'Toole Avenue, Suite 100, San Jose, CA 95131-1326 Tel: (408) 383-9328 Fax: (408) 383-9338 www.chrontel.com E-mail: sales@chrontel.com 2002 Chrontel, Inc. All Rights Reserved. Printed in the U.S.A. 44 201-0000-037 Rev 2.05, 6/6/2002