[AK8853XQ/ VN] AK8853XQ/ VN NTSC/PAL/SECAM Digital Video Decoder Overview The AK8853 is a single-chip digital decoder for NTSC, PAL, and SECAM composite video signals. Its output data is in YCbCr format, compliant with ITU-R BT.601. Its pixel clock, with a generated clock rate of 27 MHz, synchronizes with the input signal. Its output interface is ITU-R BT.656 compliant. Closed-caption, VBID, and WSS encoded information in the input signal is externally accessible. Microprocessor access is via a I2C interface. Features Decodes composite video signals NTSC (J, M, 4.43), PAL (B, D, G, H, I, M, N, Nc, 60), SECAM. Four input channels, with internal video switch. 10-bit ADC 1 channel. Internal line-locked and frame-locked PLLs for generation of clock synchronized with input signal. Internal PGA (-6 dB to 6 dB). Adaptive automatic gain control (AGC). Auto color control (ACC). Image adjustment (contrast, saturation, brightness, hue, sharpness). Automatic input signal detection. Adaptive 2-D Y/C separation. PAL decoding phase correction. ITU-R BT.656 format output (with 4:2:2_8 bit parallel_EAV/SAV) Closed-caption signal decoding (output via register). WSS signal decoding (output via register). Macrovision signal detection (Macrovision certification). Power down function. I2C control. 1.70~2.00 V core power supply. 1.70~3.60 V interface power supply. Operating temperature range: −40°C to 105°C. (AK8853XQ) Operating temperature range: −40°C to 85°C. (AK8853VN) 48-pin LQFP package. (AK8853XQ) 48-pin QFN package. (AK8853VN) (Note) The difference between AK8853XQ and AK8853VN is operating temperature range and package type. Rev-E-00 1 2008/01 [AK8853XQ/ VN] 1. Functional block diagram TEST0 TEST1 XTI XTO CLKMD SELA SDA SCL TEST PDN RSTN OE Microprocessor Timing Controller LOGIC Clock Interface Digital PLL Module Sync AIN1 27MHz Luminance Separation Y AIN2 MUX CLAMP AAFilter PGA YC Decimation ADC CVBS AIN3 10-bit Filter Separation CVBS C AIN4 HD Process VD_F VBI Output Decoding Buffer DVALID_F NSIG DTCLK Chrominance Process DATA[7:0] VREF ATIO Rev-E-00 VRP VCOM VRN IREF AVDD AVSS 2 DVDD DVSS PVDD1 PVDD2 2008/01 [AK8853XQ/ VN] 2. Pin assignment – 48 pins LQFP/ 48 pins QFN DATA0 TEST0 TEST1 DVDD DVSS SDA PVDD2 SCL SELA OE RSTN PDN 36 35 34 33 32 31 30 29 28 27 26 25 CLKMD DVDD XTI DVSS XTO AVSS AVDD IREF AVSS ATIO VCOM AIN4 24 23 22 21 20 19 18 17 16 15 14 13 37 38 39 40 41 42 43 44 45 46 47 48 DATA1 DATA2 DATA3 DATA4 PVDD1 DTCLK DVSS DATA5 DATA6 DATA7 HD VD_F 1 2 3 4 5 6 7 8 9 10 11 12 DVALID_F NSIG 3 DVSS DVDD AVSS AIN1 AVDD AVSS AIN2 VRP AIN3 VRN Rev-E-00 2008/01 [AK8853XQ/ VN] 3. Pin functions Pin No. Symbol P/S1 I/O2 Description Internal reference negative voltage pin for AD converter. Connect to AVSS via ≥0.1 µF ceramic capacitor. Analog video signal input pin. Connect via 0.033 µF capacitor and 2 AIN3 A I voltage-splitting resistors as shown in Sec. 11. Internal reference positive voltage pin for AD converter. 3 VRP A O Connect to AVSS via ≥0.1 µF ceramic capacitor. Analog video signal input pin. Connect via 0.033 µF capacitor and 4 AIN2 A I voltage-splitting resistors as shown in Sec. 11. 5 AVSS A G Analog ground pin. 6 AVDD A P Analog power supply pin. Analog video signal input pin. Connect via 0.033 µF capacitor and 7 AIN1 A I voltage-splitting resistors as shown in Sec. 11. 8 AVSS A G Analog ground pin. 9 DVDD D P Digital power supply pin. 10 DVSS D G Digital ground pin. Shows status of synchronization with input signal. Low: Signal present (synchronized). 11 NSIG P1 O High: Signal not present or not synchronized. See Table below for relation of output to OE, PDN, RSTN pin status. DVALID/FIELD signal output pin. O DVALID_ DVALID and FIELD output signals switched by register setting. 12 P1 F (I/O) Used as I/O pin in Test Mode. See Table below for relation of output to OE, PDN, RSTN pin status. Vertical timing/ field timing signal output pin. 13 VD_F P1 O VD and FIELD output signals switched by register setting. See Table below for relation of output to OE, PDN, RSTN pin status. Horizontal timing signal output pin. O 14 HD P1 Used as I/O pin in Test Mode. (I/O) See Table below for relation of output to OE, PDN, RSTN pin status. Data output pin. (MSB) O 15 DATA7 P1 Used as I/O pin in Test Mode. (I/O) See Table below for relation of output to OE, PDN, RSTN pin status. Data output pin. O 16 DATA6 P1 Used as I/O pin in Test Mode. (I/O) See Table below for relation of output to OE, PDN, RSTN pin status. Data output pin. O 17 DATA5 P1 Used as I/O pin in Test Mode. (I/O) See Table below for relation of output to OE, PDN, RSTN pin status. 18 DVSS D G Digital ground pin. Data clock output pin. 19 DTCLK P1 O Approx. 27 MHz clock output. See Table below for relation of output to OE, PDN, RSTN pin status. 20 PVDD1 P1 P I/O power supply pin. Data output pin. O 21 DATA4 P1 Used as I/O pin in Test Mode. (I/O) See Table below for relation of output to OE, PDN, RSTN pin status. 1 Power supply: A, AVDD; D, DVDD; P1, PVDD1; P2, PVDD2. 2 Input/Output: O, output pin; I, intput pin; I/O, input/output pin; P, power supply pin; G, ground connection pin. 1 VRN Rev-E-00 A O 4 2008/01 [AK8853XQ/ VN] Pin No. Symbol P/S1 22 DATA3 P1 23 DATA2 P1 24 DATA1 P1 25 DATA0 P1 26 27 28 29 TEST0 TEST1 DVDD DVSS D D D D 30 SDA P2 31 PVDD2 P2 32 SCL P2 33 SELA P2 34 OE P2 35 RSTN P2 36 PDN P2 37 CLKMD D 38 DVDD D I/O2 Description Data output pin. O Used as I/O pin in Test Mode. (I/O) See table below for relation of output to OE, PDN, RSTN pin status. Data output pin. O Used as I/O pin in Test Mode. (I/O) See table below for relation of output to OE, PDN, RSTN pin status. Data output pin. O Used as I/O pin in Test Mode. (I/O) See table below for relation of output to OE, PDN, RSTN pin status. Data output pin. O Used as I/O pin in Test Mode. (I/O) See table below for relation of output to OE, PDN, RSTN pin status. I Pin for test mode setting. Connect to DVSS. I Pin for test mode setting. Connect to DVSS. P Digital power supply pin. G Digital ground pin. I2C data pin. Connect to PVDD2 via a pull-up register. I/O Hi-z input possible when PDN=L. Will not accept SDA input during reset sequence. P Microprocessor I/F power supply pin. I2C clock input pin. Use PVDD2 or lower for input. I Hi-z input possible when PDN=L. Will not accept SCL input during reset sequence. I2C bus address selector pin. I PVDD2 connection: Slave address [0x8A] DVSS connection: Slave address [0x88] Output enable pin. L: Digital output pin in Hi-z output mode. I H: Data output mode. Hi-z input to OE pin is prohibited. Reset signal input pin. Hi-z input is prohibited. I L: Reset. H: Normal operation. Power-down control pin. Hi-z input is prohibited. I L: Power-down. H: Normal operation. Clock mode selection pin. Connect to DVDD or DVSS. DVSS connection: For crystal. I DVDD connection: For quartz generator or other external clock input; not for crystal. P Digital power supply pin. Crystal connection pin. Connect to digital ground via 22 pF capacitor as shown in Sec. 11. 39 XTI D I Use 24.576 MHz crystal resonator. For input from 24.576 MHz crystal oscillator, use this pin. 1 Power supply: A, AVDD; D, DVDD; P1, PVDD1; P2, PVDD2. 2 Input/Output: O, output pin; I, intput pin; I/O, input/output pin; P, power supply pin; G, ground connection pin. Rev-E-00 5 2008/01 [AK8853XQ/ VN] Pin No. 40 Symbol DVSS P/S1 I/O2 D G Description Digital ground pin. Crystal connection pin. Connect to digital ground via 22 pF capacitor as shown in Sec. 11. 41 XTO D O Use 24.576 MHz crystal. When PDN=L, output level is DVSS. If crystal is not used, connect to NC or DVSS. 42 AVSS A G Analog ground pin. 43 AVDD A P Analog power supply pin. Reference current setting pin. 44 IREF A O Connect to ground via 6.8 kΩ (≤1% accuracy) resistor. 45 AVSS A G Analog ground pin. 46 ATIO A I/O Analog test pin. For normal operation, connect to AVSS. Common internal voltage for AD convertor. 47 VCOM A O Connect to AVSS via ≥0.1 µF ceramic capacitor. Analog video signal input pin. Connect via 0.033 µF capacitor and 48 AIN4 A I voltage-splitting resistors as shown in Sec. 11. 1 Power supply: A, AVDD; D, DVDD; P1, PVDD1; P2, PVDD2. 2 Input/Output: O, output pin; I, intput pin; I/O, input/output pin; P, power supply pin; G, ground connection pin. Output pin status as determined by OE, PDN, and RSTN pin status. OE PDN RSTN Output11 Output21 L x x Hi-z output L output H L x L output L output L L output L output H H Default Data Out2 H Default Data Out2 1 Output1: DATA[7:0], HD, VD_F, DVALID_F, DTCLK Output2: NSIG If OE=H and PDN=H just after power is turned on, output pin status will be indefinite until internal state is determined by reset sequence. 2 In the absence of AIN signal input, output will be black data ((Y=0x10, Cb/Cr=0x80). (Blueback output can be obtained by register setting.) Rev-E-00 6 2008/01 [AK8853XQ/ VN] 4. Electrical specifications 4.1 Absolute maximum ratings Parameter Supply voltage DVDD, AVDD PVDD1 , PVDD2 Analog input pin voltage A (VinA) Min Max Units Notes −0.3 −0.3 2.2 4.2 V V – −0.3 AVDD + 0.3 (≤2.2) V – Digital input pin voltage D (VinD) −0.3 DVDD + 0.3 (≤2.2) V Digital output pin voltage P1 (VoutP) −0.3 PVDD1 + 0.3 (≤4.2) V Digital input pin current P2 (VinP) −0.3 PVDD2 + 0.3 (≤4.2) V XTI, XTO, CLKMD, TEST0, TEST1 DTCLK, DATA[7:0], HD, VD_F, DVALID_F, NSIG OE, SELA, PDN, RSTN, SDA, SCL Input pin current (Iin) −10 10 mA – (except for power supply pin) Storage temperature −40 125 ˚C – The above supply voltages are referenced to ground pins (DVSS=AVSS) at 0 V (the Reference Voltage). All power supply grounds (AVSS, DVSS) should be at the same electric potential. If digital output pins are connected to data bus, the data bus operating voltage should be in the same range as shown above for the digital output pin. 4.2 Recommended operating conditions Parameter Min Analog supply voltage (AVDD) 1.70 Digital supply voltage (DVDD) Typ Max Units Condition 1.80 2.00 V AVDD=DVDD PVDD1≥DVDD PVDD2≥DVDD −40 – 105 ˚C AK8853XQ Operating temp. (Ta) −40 – 85 ˚C AK8853VN The above supply voltages are referenced to ground pins (DVSS=AVSS) at 0 V (the Reference Voltage). All power supply grounds (AVSS, DVSS) should be at the same electric potential. I/O supply voltage (PVDD1) MPU I/F supply voltage (PVDD2) Rev-E-00 1.70 1.80 7 3.60 V 2008/01 [AK8853XQ/ VN] 4.3 DC characteristics Where no specific condition is indicated in the following table, the supply voltage range is the same as that shown for the recommended operating conditions in 4-2 above. Parameter Symbol Min Typ Max Units Condition 0.8PVDD2 – – V Case 1a 0.7PVDD2 – – V Case 2b – – 0.2PVDD2 V Case 1a – – 0.3PVDD2 V Case 2b VDIH 0.8DVDD – – V – Digital D input low voltage VDIL – – 0.2DVDD V – Digital input leak current IL – – ±10 uA – Digital output high voltage VOH 0.7PVDD1 – – – IOH = −600uA Digital output low voltage VOL – – 0.3PVDD1 – IOL = 1mA I2C (SDA)L output VOLC – – 0.3 PVDD2 V IOLC = 3mA Digital P2 input high voltage VIH Digital P2 input low voltage VIL Digital D input high voltage a DVDD = 1.70V~2.00V, 1.70V≤PVDD1<2.70V, 1.70V≤PVDD2<2.70V, Ta: Recommended Operating Temp. b DVDD = 1.70V~2.00V, 2.70V≤PVDD1≤3.60V, 2.70V≤PVDD2≤3.60V, Ta: Recommended Operating Temp. Definition of above input/output terms Digital P2 input: Collective term for SDA, SCL, SELA, OE, PDN, RSTN pin inputs. Digital D input: Collective term for CLKMD, TEST0, TEST1 pin inputs. Digital output: Collective term for DTCLK, DATA[7:0], HD, VD_F, DVALID_F, NSIG pin outputs. SDA pin output: Not termed digital pin output unless otherwise specifically stated. Rev-E-00 8 2008/01 [AK8853XQ/ VN] 4.4 Analog characteristics (AVDD=1.8V, Temp.25˚C) Selector clamp Parameter Maximum input range Symbol Min Typ Max Units VIMX 0 0.50 0.60 VPP Symbol Min – – – – Typ 7 −6 6 0.094 Max – – – 0.235 Units bits dB dB dB Condition Max value at minimum PGA_GAIN setting PGA Parameter Resolution Minimum gain Maximum gain Gain step AD converter Parameter Resolution Operating clock frequency GMN GMX GST Symbol RES Min Typ 10 FS – 27 Integral nonlinearity INL – 1.0 3.0 LSB Differential nonlinearity DNL – 0.5 1.5 LSB S/N SN – 53 – dB S/(N+D) SND – 51 – dB – 0.9 – V – – 1.1 – V – – 0.7 – V – Min Typ Max Units Condition −1 10 22 +1 – dB dB 6 MHz 27 MHz ADC internal common VCOM voltage ADC internal VRP positive VREF ADC internal VRN negative VREF *Fin = AIN input signal frequency Max – Units bits Condition – MHz – FS = 27 MHz, PGA_GAIN default setting FS = 27 MHz, PGA_GAIN default setting Fin = 1 MHz*, FS = 27 MHz, PGA_GAIN default setting Fin=1MHz*, FS=27MHz PGA_GAIN default setting AAF (Anti-Aliasing Filter) Parameter Pass band ripple Stop band blocking Symb ol Gp Gs 4.5 Current consumption (at DVDD = AVDD = PVDD1 = PVDD2 = 1.8V, Ta = Recommended Operating Temp.) Parameter Symbol Min Typ Max Units Condition (Active mode) a Total IDD 58 76 mA Analog block AIDD 35 mA Digital block DIDD 19 mA With crystal connected I/O block PIDD 4 mA Load condition: CL=15pF (Power down mode) Total SIDD ≤1 200 uA Analog block ASIDD ≤1 uA Digital block DSIDD ≤1 uA I/O block PSIDD ≤1 uA a With NTSC-J 100% color bar input. Rev-E-00 9 2008/01 [AK8853XQ/ VN] 4.6 Crystal circuit block (Ta: Recommended Operating Temp.) Parameter Symbol Min Typ Max Units Notes Frequency f0 24.576 – MHz – – Frequency tolerance Δf/f ±100 ppm – – Load capacitance CL 15 – pF – – Effective equivalent resistance Re – 100 Ω See note 1 – Crystal parallel capacitance CO 0.9 pF – – – XTI terminal external CXI 22 pF If CL=15 pF – – connection load capacitance XTO terminal external CXO 22 pF If CL=15 pF – – connection load capacitance (note1) Effective equivalent resistance generally may be taken as Re = R1 x (1+CO/CL)2, where R1 is the crystal series equivalent resistance. Example connection AK8853 internal circuit Rf XTI pin XTO pin External circuit Rd (note2) CXI = 22pF CXO = 22pF (note2) Determine need for and appropriate value of limiting resistance (Rd) in accordance with the crystal specifications. Rev-E-00 10 2008/01 [AK8853XQ/ VN] 5. AC timing (DVDD=1.70V~2.00V, PVDD1=PVDD2=1.70V~3.60V, Recommended Operating Temp.) Load condition: CL=15pF 5.1 Clock input Set AK8853 clock input as follows. fCLK tCLKL tCLKH 0.8DVDD 1/2 level 0.2DVDD Parameter Input CLK CLK pulse width H CLK pulse width L Frequency tolerance Symbol fCLK tCLKH tCLKL – Min – 16 16 – Typ 24.576 – – – Max – – – ±100 Units MHz ns ns ppm 5.2 Clock output (DTCLK output) Parameter DTCLK Symbol fDTCLK Min – Typ 27 Max – Units MHz fDTCLK 0.5PVDD1 Rev-E-00 11 2008/01 [AK8853XQ/ VN] 5.3 Output data (DATA[7:0], HD, VD_F, DVALID_F) timing 0.5PVDD1 DTCLK tDS tDH VOH OUTPUT DATA VOL Parameter Symbol Min Typ Max Units Output Data Setup Time tDS 10 nsec Output Data Hold Time tDH 10 nsec 5.4 Register reset timing RSTN VIL RESETTIMING fCLK Parameter Symbol RSTN pulse width RESETTIMING Min 100 (4.1) Typ Max – – Units CLK (µsec) Notes Based on clock leading edge Note. Clock input is necessary for reset operation. RSTN pin must be pulled low following clock application. Rev-E-00 12 2008/01 [AK8853XQ/ VN] 5.5 Power-down sequence and Reset sequence after power-down Reset must be applied for at least 2048 clock cycles (or 83.33 µs) before setting PDN (PDN=Low). Reset must be applied for at least 10 ms after PDN release (PDN=Hi). CLKIN RSTN RESh RESs VIH VIL VIH PDN GND Parameter Symbol Reset width before setting PDN RESs Reset width after PDN release RESh Min 2048 (83.33) Typ Max – – 10 – – Units CLK (µs) ms To perform power-down, all control signals must always be brought to the voltage polarity to be used or to ground level. For any power supply removal, all power supplies must be removed. Clock input is necessary for resetting. The power-down sequence for connection of the crystal is as follows. AVDD/DVDD PVDD1/PVDD2 PDN RSTN XTI VCOM,VRP,VRN 5 ms (max) to stable crystal oscillation* RESh ≥ 10ms(min) * Reference value PDN release Rev-E-00 13 2008/01 [AK8853XQ/ VN] 5.6 Power-on reset At power-on, reset must be applied until the analog reference voltage and current have stabilized.1 AVDD/DVDD/PVDD1/PVDD2 should be raised simultaneously at power-on.2 VDD VIL RSTN VREF Parameter RSTN pulse width RESPON Symbol RESPON Min 10 Typ Max Units ms 1 Clock input is necessary for resetting. If not simultaneous, then raise in the order PVDD2 -> AVDD/DVDD -> PVDD1. 2 Rev-E-00 14 2008/01 [AK8853XQ/ VN] 5.7 I2C bus input timing (DVDD=1.70V~2.00V, PVDD1=PVDD2=1.70V~3.60V, Recommended Operating Temp.) 5.7.1 Timing 1 tBUF tHD : STA tR tF tSU : STO VIH SDA VIL tF tR VIH SCL VIL tLOW tSU : STA Parameter Symbol Min Max Units Bus Free Time tBUF 1.3 usec Hold Time (Start Condition) tHD:STA 0.6 usec Clock Pulse Low Time tLOW 1.3 usec Input Signal Rise Time tR 300 nsec Input Signal Fall Time tF 300 nsec Setup Time(Start Condition) tSU:STA 0.6 usec Setup Time(Stop Condition) tSU:STO 0.6 usec Note. The timing relating to the I2C bus is as stipulated by the I2C bus specification, and not determined by the device itself. For details, see I2C bus specification. 5.7.2 Timing 2 tHD : DAT VIH SDA VIL tHIGH VIH SCL VIL TSU : DAT Parameter 1 2 Symbol Min Typ 1 Data Setup Time tSU:DAT 100 Data Hold Time tHD:DAT 0.0 Clock Pulse High Time tHIGH 0.6 Units nsec 0.92 usec usec If I2C is used in standard mode, tSU: DAT ≥ 250 ns is required. This condition must be met if the AK8853 is used with a bus that does not extend tLOW (to use tLOW at minimum specification). Rev-E-00 15 2008/01 [AK8853XQ/ VN] 6. Functional overview The following key functions are characteristic of the AK8853 and its operational performance. (1) It accepts composite video signal (CVBS) input, with 4 input pins available for this purpose. The decode signal is selected via the register. (2) It contains an internal analog band limiting filter (anti-aliasing) in front of the AD converter input. (3) Its analog circuit clamps the input signal to the sync tip (analog sync tip clamp). clamps the digitized input data to the pedestal level (digital pedestal clamp). (4) It decodes NTSC-M, J; NTSC-4.43; PAL-B, D, G, H, I, N; PAL-Nc, PAL-M, PAL-60; and SECAM video signals, as selected by register setting for input signal category. In auto detection mode, it automatically recognizes the input signal category. (5) Its VBI data slicing function enables output of the slicing results as ITU-R BT.601 format digital data. (6) Its adaptive AGC function enables measurement of the input signal size and determination of the input signal level. (7) Its ACC function enables measurement of the input signal color burst size and determination of the appropriate color burst level. (8) It performs adaptive two-dimensional Y/C separation, in which its phase detector selects the best correlation from among vertical, horizontal, and diagonal samples and the optimum Y/C separation mode. (9) Its digital pixel spacing adjustor can align vertical positions by vertical pixel positioning. Its digital circuit (10) It operates in line-locked, frame-locked, or fixed clock mode, with automatic transition and optimum mode selection by automatic scanning. (11) In PAL-B, D, G, H, I, and N decoding, it can perform phase-difference correction for each line. (12) Its decoded data is ITU-R BT.656 compliant, except in certain cases of fixed-clock operation or poor-quality input signal. (13) For connection of devices having no ITU-R BT.656 interface, it shows the active video region by DVALID signal output. (14) Its input-stage embedded PGA can be adjusted in the range -6~+6dB by register setting, in gain steps of approximately 0.1 dB/step. (15) It detects and separates the sync signal from the digitized input signal. The detected sync signal provides the base timing for decode processing, and the separated sync signal as the basis for calculation of phase error signal and for sampling clock control. (16) It judges the chroma signal quality from the color burst of the input signal, and can apply color kill if the signal quality is judged insufficient. It can also apply color kill if the color decode PLL lock is lost. (17) Its image quality adjustment function includes contrast, brightness, hue, color saturation, and sharpness adjustment. (18) Its luminance band limiting filter is adjustable via register setting. (19) It can provide sepia output of decoded results. (20) It can decode conflated closed caption data, closed caption extended data, VBID(CGMS), and WSS signals, and write them separately to the storage register. (21) Its monitoring register enables monitoring of a number of internal functions. (22) It enables Macrovision signal type notification, in cases where the Macrovision signal is included in the decoded data. (23) It enables U/V signal band adjustment, by switching the low pass filter after C signal demodulating. (24) It enables C filter band switching via the register, for Y/C separation. Rev-E-00 16 2008/01 [AK8853XQ/ VN] 7. Functional description 7.1 Analog interface The AK8853 accepts composite video signal (CVBS) input, with 4 input pins available for this purpose. The decode signal is selected via the register. INSEL[1:0]-bits [00] [01] [10] [11] Input channel selection AIN1 AIN2 AIN3 AIN4 Notes 7.2 Analog band limiting filter and analog clamp circuit 7.2.1 Analog band limiting filter The characteristics of the AK8853 internal analog band limiting filter (anti-aliasing), which is in front of the AD converter input, are as follows: ±1dB (~6MHz ) −22dB (27MHz)….Typical value 7.2.2 Analog clamp circuit The analog circuit of the AK8853 clamps the input signal to the sync tip (analog sync tip clamp). The clamp timing pulse, with its origin at the falling edge of the internally synchronized and separated sync signal, is generated at approximately the central position of the sync signal. Its digital circuit clamps the digitized input data to the pedestal level (digital pedestal clamp), as described in Sec. 7.20 below. 7.3 Input video signal categorization The AK8853 can decode the following video signals, in accordance with the register setting. NTSC-M,J NTSC-4.43 PAL-B,D,G,H,I,N PAL-Nc PAL-M PAL-60 SECAM In auto detection mode, it automatically recognizes the input signal category, from among the above. Rev-E-00 17 2008/01 [AK8853XQ/ VN] The register settings for the input signal characterization are essentially as follows. VSCF[1:0]-bits: Setting for subcarrier frequency of input signal. VSCF[1:0]-bits Subcarrier frequency (MHz) [00] 3.57954545 [01] 3.57561149 [10] 3.58205625 [11] 4.43361875 Formats NTSC-M,J PAL-M PAL-Nc PAL-B, D, G, H, I, N, NTSC-4.43, PAL-60, SECAM* *For SECAM input signal, set VSCF[1:0] to [11]. VCEN[1:0]-bits: Setting for color encode format of input signal. Color encode format VCEN[1:0]-bits [00] NTSC [01] PAL [10] SECAM [11] Reserved VLF-bit: Setting for line frequency of each input frame. Number of lines VLF-bit [0] 525 [1] 625 Notes Notes NTSC-M, J, NTSC-4.43, PAL-M, PAL-60 PAL-B, D, G, H, I, N, Nc, SECAM BW-bit: Setting for decoding of input signal as monochrome signal (monochrome mode) Signal type BW-bit Not monochrome (monochrome mode OFF) [0] Decode as monochrome signal (monochrome mode ON) [1] In the monochrome mode, the input signal is treated as a monochrome signal, and all sampling data digitized the the AD converter passes through the luminance process and is processed as a luminance signal. Thus, with this bit ON, the signal input to the Y/C separation block is all output as luminance signal data to the luminance signal processing block. In the monochrome mode, the CbCr code is output as 0x80 (601 level data) regardless of the input. SETUP-bit: Setting for presence or absence of input signal SETUP. SETUP presence/absence Notes SETUP-bit Setup absent – [0] Setup present 7.5IRE Setup [1] With the Setup present setting, the luminance and color signals are processed as follows: Luminance signal: Y=(Y-7.5)/0.925 Color signal: U=U/0.925, V=V/0.925 Rev-E-00 18 2008/01 [AK8853XQ/ VN] The register settings for auto detection are essentially as follows. AUTODET-bit: Settings for auto detection of input signal (auto detection mode) Auto detection Notes AUTODET-bit OFF Manual setting [0] ON – [1] The auto detection recognizes the following parameters. Number of lines per frame: 525/625 Carrier frequencies: 3.57954545 3.57561149 3.58205625 4.43361875 Color encoding formats: NTSC PAL SECAM Monochrome signal: Not monochrome/monochrome Note: Automatic monochrome detection is active if the color kill setting is ON (COLKILL-bit = [1].) The AK8853 stores the detected parameter to the Input Video Status Register (thus, as an internal notice function). This enables the host to distinguish among the formats NTSC-M, J; NTSC-4.43; PAL-B, D, G, H, I, N; PAL-M; PAL-Nc; PAL-60; SECAM; and monochrome. It should be noted that it does not detect NTSC-M, NTSC-J, or PAL-B, D, G, H, I, N formats. In auto detection, the candidates for detection can be limited as shown below. NDMODE Register: For limiting auto detection candidates Register Bit R/W Name Definition bit 0 NDPALM No Detect PAL-M bit R/W [0]: PAL-M candidate [1]: PAL-M non-candidate bit 1 NDPALNC No Detect PAL-Nc bit R/W [0]: PAL-Nc candidate [1]: PAL-Nc non-candidate bit 2 NDSECAM No Detect SECAM bit R/W [0]: SECAM candidate [1]: SECAM non-candidate bit 3 Reserved Reserved R/W Reserved bit 4 NDNTSC443 No Detect NTSC-4.43 bit R/W [0]: NTSC-4.43 candidate [1]: NTSC-4.43 non-candidate bit 5 NDPAL60 No Detect PAL-60 bit R/W [0]: PAL-60 candidate [1]: PAL-60 non-candidate bit 6 ND525L No Detect 525Line bit R/W [0]: 525 line candidate [1]: 525 line non-candidate bit 7 ND625L No Detect 625Line bit R/W [0]: 625 line candidate [1]: 625 line non-candidate Rev-E-00 19 2008/01 [AK8853XQ/ VN] In making the above register settings, the following restrictions apply, 1. Setting both NDNTSC443(bit 4) and NDPAL60(bit 5) to [1] (High) is prohibited. 2. Setting both ND525L(bit 6) and ND625L(bit 7) to [1] (High) is prohibited. 3. To limit candidate formats, it is necessary to have the auto detection mode OFF while first setting the register to non-limited signal status and next the NDMODE settings, and then setting the auto detection mode to ON. Set auto detection mode to OFF Set Input Video Standard Register to non-limited signal status Enter NDMODE Register Settings Set auto detection mode to ON 7.4 Output data format In the AK8853, the settings for the output code and the vertical blanking intervals for the output signal are as follows. VBIL[2:0]-bits: Settings for vertical blanking interval VBIL[2:0]-bits 525/625 lines Vertical blanking interval Notes 525 Line1~Line20 and Line263.5~Line283.5 [001] +1Line 625 Line623.5~Line23 and Line311~Line336.5 525 Line1~Line21 and Line263.5~Line284.5 [010] +2Lines 625 Line623.5~Line24 and Line311~Line337.5 525 Line1~Line22 and Line263.5~Line285.5 [011] +3Lines 625 Line623.5~Line25 and Line311~Line338.5 525 Line1~Line19 and Line263.5~Line282.5 [000] Default 625 Line623.5~Line22 and Line311~Line335.5 525 Line1~Line16 and Line263.5~Line279.5 [101] -3Lines 625 Line623.5~Line19 and Line311~Line332.5 525 Line1~Line17 and Line263.5~Line280.5 [110] -2Lines 625 Line623.5~Line20 and Line311~Line333.5 525 Line1~Line18 and Line263.5~Line281.5 [111] -1Line 625 Line623.5~Line21 and Line311~Line334.5 [100] Reserved Reserved – As indicated in this table, the default values are Lines 1~19 and 263.5~282.5 for 525-line signals and Lines 623.5~22 and 311~335.5 for 625-line signals, and other specific values are set by entering the difference from these default values. Rev-E-00 20 2008/01 [AK8853XQ/ VN] 601LIMIT-bit: Settings for output data code Min/Max Output data code Min~Max Notes 601LIMIT-bit Y: 1~254 [0] Default Cb, Cr: 1~254 Y: 16~235 [1] Cb, Cr: 16~240 The AK8853 data code output format (Y:Cb:Cr=4:2:2) is compliant with ITU-R BT.601. All internal calculating operations are made with Min = 1, Max = 254. With 601LIMIT-bit set to [1], codes 1~15 and 236~254 are respectively clipped to 16,235. TRSVSEL-bit: Settings for V-bit handling in ITU-R BT.656 format 525-line 625-line TRSVSEL-bit V-bit=0 V-bit=1 V-bit=0 V-bit=1 [0] Line10~Line263 Line1~Line9 ITU-R BT 656-3 Line273~Line525 Line264~Line272 compliant Line1~Line22 Line23~Line310 Line311~Line335 [1] Line336~Line623 Line624~Line625 ITU-R BT 656-4 Line20~Line263 Line1~Line19 SMPTE125M Line283~Line525 Line264~Line282 compliant These values are unaffected by the VBIL[2:0]-bits setting. SLLVL-bit: Settings for slice level SLLVL-bit Slice level 25IRE [0] 50IRE [1] The results of VBI slicing by the AK8853 slicing function are output as ITU-R BT.601 digital data. The VBI interval is set via VBIL[2:0]-bits. VBI slicing is performed in the luminance signal processing path, so that the Cb/Cr value of the effective line 601 output code is output at the same level as the corresponding luminance signal. The slice level and the output code are set via the register. The output code value is set via the Hi/Low Slice Data Set Register, as follows. Hi Slice Data Set Register*: Setting for higher of two values resulting from slicing. Default: 0xEB(235) Low Slice Data Set Register*: Setting for lower of two values resulting from slicing. Default: 0x10(16) *Note that a setting of 0x00 or 0xFF corresponds to a special 601 code. VBIDEC[1:0]-bits: Settings for decode data in the VBI period Decode data VBIDEC[1:0]-bits Notes Y = 0x10 Black level output [00] Cb/Cr = 0x80 Y = data converted to 601 level Monochrome mode [01] Cb/Cr = 0x80 Y/Cb/Cr = value corresponding to slice level Sliced data output during VBI [10] (Value set at Hi/Low Slice Data Set Register) Reserved Reserved [11] Note that, with VBI period settings of Lines 1~9 and 263.5~272.5 in the 525 Line and Lines 623.5~6.5 and 311~318 in the 625 Line, the setting VBIDEC[1:0] will not be entered and the output will be in Black level code. Rev-E-00 21 2008/01 [AK8853XQ/ VN] (mV*) NTSC/PAL 601 Code 714/700 235 100% White 357/350 127 50IRE threshold with setting SLLVL = [1] 180/175 63 25IRE threshold with setting SLLVL = [0] L: H: L ````` L Cb/Y ```` `````` L L Cr/Y H H Cb/Y ```` `````` H H Cr/Y L Value set by Low Slice Data Set Register Value set by High Slice Data Set Register ``````` *Threshold values (mV) are approximate. High/Low conversion is performed for either the Cb/Y or the Cr/Y combination. example of the conversion points for Cb/Y. The above figure is an 7.5 Output pin status For normal operation, the output from the DATA[7:0], VD_F, DVALID_F, NSIG, and HD pins can each be fixed at Low via the Output Control Register. Note, however, that the OE, PDN, and RSTN pin states will have priority regardless of these register settings. 7.6 VLOCK mechanism The AK8853 synchronizes internal operation with the input signal frame structure. If, for example, the frame structure of the input signal comprises 524 lines, the internal operation will have a structure of 524 lines per frame. This mechanism is termed the VLOCK mechanism. If an input signal changes from a structure of 525 lines per frame to one of 524 lines per frame, internal operation will change accordingly, and the VLOCK mechanism will go to UnLock via a pull-in process. In such case, the UnLock status can be confirmed via the control register [VLOCK-bit]. Note that the time required for locking of the VLOCK mechanism upon channel or other input signal switching will be about 4 frames. Rev-E-00 22 2008/01 [AK8853XQ/ VN] ACTSTA[2:0]-bits: Adjustment of active video start position ACTSTA[2:0]-bits Line and active video start 525 Line 124th sample [001] 625 Line 134th sample 525 Line 125th sample [010] 625 Line 135th sample 525 Line 126th sample [011] 625 Line 136th sample 525 Line 123th sample [000] 625 Line 133th sample 525 Line 120th sample [101] 625 Line 130th sample 525 Line 121th sample [110] 625 Line 131th sample 525 Line 122th sample [111] 625 Line 132th sample [100] Reserved Approximate delay/advance (ns) 74, delay 148, delay 222, delay Default value (normal position) 222, advance 148, advance 74, advance – Reserved With the default value, the start position is as follows (with ITU-R BT.601 format compliance). OH OH 122samples(525Line) Active video start 132samples(625Line) Active video start 7.7 Auto Gain Control_AGC The AGC of the AK8853 measures the size of the input sync signal (i.e., the difference between the sync tip and pedestal levels), and adjusts the PGA value to bring the sync signal level to 286a or 300b mV. The AGC function amplifies the input signal to the appropriate size and enables input to the AD converter. The AGC function in the AK8853 is adaptive, and thus includes peak AGC as well as sync AGC. Peak AGC is effective for input signals in which the sync signal level is appropriate and only the active video signal is large. a NTSC-M, J; NTSC-4.43; PAL-M b PAL-B, D, G, H, I, N; PAL-Nc; PAL-60; SECAM AGCT[1:0]-bits: Settings for AGC time constant Time constant Notes AGCT[1:0]-bits [00] Disable AGC OFF, PGA register enabled. [01] Fast T= 1Field [10] Middle T= 7Fields [11] Slow T= 29Fields T is the time constant. Manual setting of the PGA register is possible only if AGC is disabled. Rev-E-00 23 2008/01 [AK8853XQ/ VN] AGCC-bit: Settings for AGC non-sensing range Non-sensing range AGCC[1:0]-bits [00] ±2LSB [01] ±3LSB [10] ±4LSB [11] None Notes – – – – AGCFRZ-bit: Settings for freezing AGC function AGC status Notes AGCFRZ-bit Non-frozen – [0] Frozen – [1] Note. The gain value at the time of freezing is maintained during the frozen state, and it is then possible to read out the gain value via the PGA1,2 Control Register. AGCTL-bit: Settings for selection of quick or slow transition between peak and sync AGC AGC transition Notes AGCTL-bit – [0] Quick – [1] Slow 7.8 Auto Color Control_ACC The ACC of the AK8853 measures the level of the input signal color burst, and adjusts the level to 286a or 300b mV, as appropriate. The ACC is not applicable to SECAM. As in AGC, both ACC time constant and ACC freeze settings can be entered. a NTSC-M,J, NTSC-4.43, PAL-M b PAL-B, D, G, H, I, N, PAL-Nc, PAL-60 ACCT[1:0]-bits: Settings for ACC time constant Time constant ACCT[1:0]-bits [00] Disable [01] Fast [10] Middle [11] Slow Notes ACC OFF T= 2Fields T= 8Fields T= 30Fields ACCFRZ-bit: Settings for freezing ACC function ACC status Notes ACCFRZ-bit Non-frozen – [0] Frozen – [1] Note. The burst-level setting at the time of freezing is maintained during the frozen state. The ACC and Color saturation functions operate independently. If ACC is enabled, the color saturation adjustment is applied to the signal that has been adjusted to the appropriate level by the ACC. Rev-E-00 24 2008/01 [AK8853XQ/ VN] 7.9 Y/C separation The adaptive two-dimensional Y/C separation of the AK8853 utilizes a correlation detector to select the best-correlated direction from among vertical, horizontal, and diagonal samples, and selects the optimum Y/C separation mode. For NTSC-4.43, PAL-60, and SECAM inputs, the Y/C separation is one-dimensional only, regardless of the setting. YCSEP[1:0]-bits: Settings for Y/C separation method Y/C separation mode YCSEP[1:0]-bits Adaptive [00] 1-D [01] Notes Selects [01] or [10] setting, as appropriate 1D (BPF) NTSC-M, J, PAL-M: 3 Line 2-D 2-D [10] PAL-B, D, G, H, I, N, Nc: 5 Line 2-D Reserved — [11] For NTSC-4.43, PAL-60, and SECAM inputs, Y/C separation is 1-D only, regardless of the setting. 7.10 C filter The bandwidth of the C filter can be set via the register, as follows. C358FIL[1:0]: Settings for C filter bandwidth, for input signal with 3.58 MHz subcarrier wave C358FIL[1:0] -bits Notes Notes [00] Narrow [01] Medium NTSC-M, J, PAL-M, PAL-Nc [10] Wide [11] Reserved C443FIL[1:0]: Settings for C filter bandwidth, for input signal with 4.43 MHz subcarrier wave C443FIL[1:0] -bits Notes Notes [00] Narrow [01] Medium PAL-B, D, G, H, I, N, NTSC-4.43, PAL-60 [10] Wide [11] Reserved Note. No bandwidth selection is possible for SECAM input. 7.11 UV filter The UV bandwidth can be changed by switching between two low pass filter types for the demodulated C signal. UVFILSEL-bit: Settings for UV filter switching Bandwidth UVFILSEL -bit [0] Wide [1] Narrow Rev-E-00 Notes 25 2008/01 [AK8853XQ/ VN] 7.12 Digital Pixel Interpolator The digital pixel interpolator of the AK8853 aligns vertical pixel positions in both frame-lock and fixed-clock operating modes. The pixel interpolator can be set to ON or OFF via the register. With a register setting of AUTO, the pixel interpolator is OFF or ON depending on the clock mode, as follows. Line-locked clock mode OFF Frame-locked clock mode ON Fixed-clock mode ON INTPOL[1:0]-bits: Settings for pixel interpolator operation Interpolator operation INTPOL[1:0]-bits Auto [00] [01] ON [10] OFF [11] Reserved Notes Dependent on clock mode. — — — 7.13 Clock generation The AK8853 operates in the following three clock modes. 1. Line-locked clock mode The “line-locked clock” is generated by PLL using the horizontal sync signal within the input signal. If no input signal is present, the AK8853 will switch from this mode to fixed-clock mode. 2. Frame-locked mode The “frame-locked clock” is generated by PLL using the vertical sync signal within the input signal. If no input signal is present, the AK8853 will switch from this mode to fixed-clock mode. 3. Fixed-clock mode No PLL control is applied in this mode, which is enabled only when either it is set via the register or no input signal is present. In this mode, data capture cannot be performed in EAV (end active video), and must be performed in SAV (start active video) format. The number of pixels per line is not guaranteed in this mode, but data guarantee is performed in the interval from SAV to EAV. The AK8853 transition function automatically switches among the above modes and selects the optimum one, and when no input signal is present switches to the fixed-clock mode. In the line-locked and frame-locked clock modes, the clock is synchronized with the input signal and the output is thus ITU-R BT.656 compliant. It should be noted, however, that ITU-R BT.656-compliant output may not be possible with low-quality input signals. It should also be noted that in the fixed-clock mode the sample number will be insufficient for ITU-R BT.656 compliance, due to non-synchronization of the input data. CLKMODE[1:0]-bits: Settings for selection of clock generation mode Clock generation mode CLKMODE[1:0]-bits Automatic [00] Line-locked [01] Frame-locked [10] Fixed-clock [11] Rev-E-00 26 Notes — — — — 2008/01 [AK8853XQ/ VN] 7.14 Phase correction In PAL-B, D, G, H, I, N, Nc, 60, and M decoding, the AK8853 performs phase correction for each line. With this function ON, color averaging is performed for each line. In the adaptive phase correction mode, interline phase correlation is sampled and color averaging is performed for correlated samples. Interline color averaging is also performed in NTSC-M and J decoding. No phase correction or color averaging is performed in SECAM decoding. DPAL[1:0]-bits: Settings for phase correction Status DPAL[1:0]-bits Adaptive phase correction mode [00] Phase correction ON [01] Phase correction OFF [10] Reserved [11] Notes — — — — 7.15 No-signal output If no input signal is found (as shown by the control bit NOSIG-bit), the output signal is black-level, blue level (blueback), or input-state (sandstorm), depending on the register setting. NSIGMD-bits: Settings for output signals for no input signal Output NSIGMD [1:0]-bits Black-level [00] Blue-level (blueback) [01] Input-state (sandstorm) [10] Reserved [11] Rev-E-00 27 Notes — — — — 2008/01 [AK8853XQ/ VN] 7.16 Output interface 7.16.1 656 interface 7.16.1.1 Line-locked and frame-locked clock modes In both of these modes, the decoded data output is compliant with ITU-R BT.656, which requires the following sample and line numbers. Samples per line: 858 (525 line) or 864 (625 line) Lines per frame: 525 or 625 It may not be possible, however, to meet these requirements if the input signal quality is poor. In the AK8853, PLL is locked to the input signal and output-stage buffers absorb input signal jitter, but if the jitter is excessive PLL tracking may be impracticable and ITU-R BT.656 compliance may thus be lost. In such cases, the following processing can be applied via the indicated register settings. (a) Line drop/repeat processing A line drop or line repeat will result in output signals with 524/624 or 526/626 lines per frame, respectively. Line drop/repeat processing may be performed at any line in the frame. (b) Pixel drop/repeat processing A pixel drop or pixel repeat will result in output signals less or more than the required 858/864 samples in the last line of the frameor field, respectively. Note: In the event of output-stage buffer failure, line drop/repeat processing will be performed even if the register setting is for pixel drop/repeat processing. ERRHND-bits: Settings for line and pixel drop/repeat processing Processing mode ERRHND-bits [00] Line Drop / Line Repeat [01] Pixel Drop / Pixel Repeat by Field [10] Pixel Drop / Pixel Repeat by Frame [11] Reserved Rev-E-00 28 Notes Default — — — 2008/01 [AK8853XQ/ VN] 7.16.1.2 Fixed-clock mode In fixed-clock mode, operation is at an internally generated 27 MHz clock, from a 24.576 MHz input clock. The output signal is therefore not synchronized with the input signal, and thus not ITU- BT.656 compliant. Data is output in SAV format. As shown in the following figure, EAV is guaranteed for 720 pixels from SAV, but the sample number from EAV to SAV is not. SAV EAV 720 pixels 858 / 864 ( NTSC / PAL ) pixels ± α 7.16.2 DVALID and timing signal interface For connection with devices having no ITU-R.BT.656 interface, the AK8853 DVALID signal output identifies the active video interval by remaining low throughout that period, as shown in the following figure. In fixed-clock mode, the internal clock is not synchronized with the output signal, but a space of 122/132 (NTSC/PAL) pixels is guaranteed between the horizontal sync signal and the start of the active video interval. 122/132 Pixels Video Signal HSYNC DVALID CLK27MOUT D[7:0] Cb0 Y0 Cr0 Y1 Cb1 Y2 Cr1 Y3 ‘’’’ Y718 Cr359 Y719 Active Video Start Position ( 通 常 Rev-E-00 点 か ら 29 2008/01 [AK8853XQ/ VN] The AK8853 outputs the following signals from the HD, VD_F, and DVALID_F pins, and the indicated VD_F and DVALID_F output signals can also be selected via the register settings shown below. Timing signal output pin HD 525-line Low for 4.7 µs at 15.734 kHz interval VD_F DVALID_F 625-line Low for 4.7 µs at 15.625 kHz interval Low during lines 1~3.5 and 313.5~315 Low during lines 4~6 and 266.5~269.5 VD FIELD ODD-Field: Low; EVEN-Field: High DVALID Active-Low VFDSEL[1:0]-bits: Settings for VD/FIELD/DVALID selection Pin output VFDSEL[1:0]-bits VD_F pin DVALID_F pin VD signal DVALID signal [00] VD signal Field signal [01] Field signal DVALID signal [10] Reserved Reserved [11] Output timing with 525-line input CVBS HD 523 524 525 1 2 3 4 5 6 7 8 9 10 11 VD FIELD ODD EVEN CVBS 261 HD 262 263 264 265 266 267 268 269 270 271 272 274 273 VD ODD FIELD EVEN Output timing with 625-line input CVBS HD 620 621 622 623 624 625 1 2 3 4 5 6 7 8 VD FIELD CVBS HD VD FIELD ODD EVEN 308 309 310 311 312 313 ODD 314 315 316 317 318 319 320 321 EVEN The output signal polarities of the DTCLK, HD, VD_F and DVALID_F pins can be reversed via “Output Control Register” and “Control 0 Register” settings. Rev-E-00 30 2008/01 [AK8853XQ/ VN] 7.17 Automatic setup processing In auto detection mode, the AK8853 can perform automatic setup processing in accordance with the detected signal. The automatic setup selection is made via the STUPATOFF-bit register, as shown in the table below. Setup processing of the signal to be decoded consists of the following. Luminance signal: Y=(Y-7.5)/0.925 Color signal: U=U/0.925, V=V/0.925 Automatic setup processing Detected signal NTSC-M, J PAL-B, D, G, H, I, N PAL-Nc, 60 SECAM (AK8853 in auto detection mode) Register setting STUPATOFF-bit Setup-bit (Automatic setup processing) Detected signal setup processing status [0] Disabled [1] Disabled [0] Enabled [1] Enabled [0] Enabled [1] Disabled [0] Enabled [1] Enabled [0] [1] [0] PAL-M NTSC-4.43 [1] In the auto detection mode, the setup processing status will be determined by the register setting on the basis of the detected signal category, with no detection as to the presence or absence of input signal setup. 7.18 PGA (programmable gain amp) The PGA, located in the input stage of the AK8853, can be set in a gain range of -6~6 dB in gain steps of 0.1 dB. PGA[7:0]-bits: Sets the PGA value. This register can read the AGC setting value. If AGC is enabled, the PGA[7:0]-bits setting value has no effect, and the PGA setting can be manually entered in the register only if AGC is disabled. Signal input to the AK8853 should be made with the input level attenuated approximately 39% (-8.19 dB) by resistance splitting. Rev-E-00 31 2008/01 [AK8853XQ/ VN] 7.19 Sync separation, sync detection, and black-level fine tuning The AK8853 performs sync separation and sync detection on the digitized input signal, uses the detected sync signal as the timing reference for the decoding process, and calculates the phase error from the separated sync signal and applies it to control of the sampling clock. Black-level tuning can be performed in the sync separation block. The black-level fine-tuning band, which is 10 bits wide before REC 601 conversion, can be adjusted -8~+7 LSB in 1-LSB steps, with one step resulting in a change of about 0.4 LSB in the output code. BKLVL[3:0]-bits: Settings for black-level fine tuning BKLVL[3:0]-bits Code adjustment of black level Approx. change in 601 level (LSB) [0001] +1 +0.4 [0010] +2 +0.8 [0011] +3 +1.2 [0100] +4 +1.6 [0101] +5 +2.0 [0110] +6 +2.4 [0111] +7 +2.8 [0000] Default None [1000] −8 −3.2 [1001] −7 −2.8 [1010] −6 −2.4 [1011] −5 −2.0 [1100] −4 −1.6 [1101] −3 −1.2 [1110] −2 −0.8 [1111] −1 −0.4 The black level is adjusted upward or downward by the value of the setting, which must be in 2’s-complement form. Black-level adjustment is also enabled during the vertical blanking interval. 7.20 Digital pedestal clamp The digitally converted input signal is clamped in the digital signal processing block. The internal clamp position depends on the input signal type (either 286 mV sync or 300 mV sync), but pedestal position is output as code 16 for both types. The digital pedestal clamp function can adjust the time constant and set the coring level. DPCT[1:0]-bits: Settings for digital pedestal clamp time constant Transition time constant Notes DPCT[1:0]-bits — [00] Fast — [01] Middle — [10] Slow [11] Disable Digital pedestal clamp OFF DPCC[1:0]-bits: Settings for digital clamp pedestal coring level Transition time constant (bit) DPCC[1:0]-bits [00] ±1 [01] ±2 [10] ±3 Non-coring [11] Rev-E-00 32 Notes — — — — 2008/01 [AK8853XQ/ VN] 7.21 Color killer The chroma signal quality of the input signal is determined by comparison of its color burst level against the threshold setting in the color killer control register. If the level is below the threshold, the color killer is activated, resulting in processing of the input as a monochrome signal and thus with CbCr data fixed at 0x80. Depending on the register setting, the color killer may also be activated by failure of the color decode PLL lock. COLKILL-bit: Settings for color killer ON and OFF COLKILL-bit [0] Enable [1] Disable Notes — — CKLVL[3:0]-bits: For threshold setting; default setting [1000] = −23dB. CKSCM[1:0]-bits: Used for threshold setting with SECAM input; expands 2-bit for CKLVL[3:0]-bit CKILSEL: Settings for color killer activation Condition for activation CKILSEL-bit Burst level below threshold setting in CKLVL[3:0]-bits [0] Burst level below threshold setting in CKLVL[3:0]-bits, or [1] Failure of color decode PLL lock Notes — — 7.22 Image quality adjustments Image quality adjustments consist of contrast, brightness, sharpness, color saturation, and hue adjustment. All image quality adjustments are disabled during the vertical blanking interval, but contrast and brightness adjustment can be enabled by the register setting. 7.22.1 Contrast adjustment CONT[7:0]-bits: For contrast adjustment; default value 0x80 (no adjustment) Contrast adjustment involves multiplication by the gain factor setting in this register. The equation of the multiplication can be modified by register setting as follows. If CONTSEL = [0], then YOUT = (CONT/128) x (YIN – 128) + 128 If CONTSEL = [1], then YOUT = (CONT/128) x YIN YOUT: Contrast obtained by the calculation YIN: Contrast before the calculation CONT: Contrast gain factor (register setting value) The gain factor can be set in the range 0~255. If the calculated value is outside the specified contrast range, it is clipped to the upper ‘254’ or lower ‘1’ limit. With a control bit 601LIMIT setting of [1], the output will be in the range 16~235. CONTSEL-bit: Settings for contrast adjustment Inclination CONTSEL -bit Inclination Toward luminance of 128 [0] Toward luminance of 0 [1] Rev-E-00 33 Notes — — 2008/01 [AK8853XQ/ VN] 7.22.2 Brightness adjustment BR[7:0]-bits: For brightness adjustment; settings in 2’s complement; default value 0x00 (no adjustment) Brightness adjustment involves multiplication of the 8Bit data luminance signal, after ITU-R BT.601 conversion, by the gain factor setting in this register, as follows. YOUT = YIN + BR YOUT: Brightness obtained by the calculation YIN: Brightness before the calculation BR: Brightness gain factor (register setting value) The gain factor can be set in the range -127 to +127 in steps of 1, by 2’s complement entry. If the calculated value is outside the specified contrast range, it is clipped to the upper ‘254’ or lower ‘1’ limit. With a control bit 601LIMIT setting of [1], the output will be in the range 16~235. 7.22.3 Color saturation adjustment SAT[7:0]-bits: For color saturation adjustment; default value 0x80 (no adjustment) Saturation adjustment involves multiplication of the color signal by the gain factor setting in this register. The calculated result is U/V demodulated. The gain factor can be set in the range 0 to 255/128, in steps of 1/128. 7.22.4 Hue adjustment HUE[7:0]-bits: For hue adjustment; settings in 2’s complement; default value 0x00 (no adjustment) The AK8853 can perform hue rotation with a phase rotation range of ±45° in steps of about 0.35°. 7.22.5 Sharpness adjustment Sharpness adjustment is performed on the luminance signal as shown in the following process diagram. The filter characteristics and the coring level can be selected by following register. A sharp image can be obtained by selection of the filter with the appropriate characteristics. Luminance signal before processing SHARP[1:0]-bits SHCORE[1:0]-bits Filter Coring Luminance signal after processing Delay SHARP[1:0]-bits: Settings for filter characteristics selection Filter characteristics SHARP[1:0]-bits No filtering [00] [01] Min [10] Middle [11] Max SHCORE[1:0]-bits: Settings for coring level after sharpness filtering Coring level (LSB) SHCORE[1:0]-bits No coring [00] ±1 [01] ±2 [10] ±3 [11] Rev-E-00 34 Notes Filter disabled — — — Notes Settings apply only to filtered signal. 2008/01 [AK8853XQ/ VN] VBIIMGCTL-bit: Settings for brightness and contrast adjustment status (ON/OFF) during VBI Status during VBI Notes VBIIMGCTL -bit Disabled — [0] Enabled — [1] 7.23 Luminance bandwidth adjustment Luminance bandwidth adjustment can be performed for MPEG compression etc. The band-limiting filters for pre-compression limiting can be selected by the following register settings. Without these filters, the frequency response of the luminance signal is determined by the decimation filter. LUMFIL[1:0]-bits: Settings for luminance bandwidth filter Filter characteristic LUMFIL[1:0]-bits [00] No filter [01] Narrow [10] Mid [11] Wide Notes -3 dB at 6.29 MHz -3dB at 2.94MHz -3dB at 3.30MHz -3dB at 4.00MHz 7.24 Sepia output Sepia-colored output of the decoded signal can be obtained by the following register setting. SEPIA-bit: Settings for sepia output of decoded signal Output SEPIA –bit Normal [0] Sepia [1] Notes — — 7.25 VBI information decoding The AK8853 decodes closed-caption, closed-caption-extended, VBID(CGMS), and WSS signals on the vertical blanking signal, and writes the decoded data into a storage register. The AK8853 reads each data bit in Request VBI Information Register(R/W)-[3:0] as a decoding request and thereupon enters a data wait state. Data detection and decoding to the storage register are then performed which indicates the presence or absence of data at STATUS 2 Register-[3:0] for host. The host can therefore determine the stored values by reading the respective storage registers. The value in each storage register is retained until a new value is written in by data renewal. For VBID data (CGMS-A), the CRCC code is decoded and only the arithmetic result is stored in the register. Signal type Superimposed line line Closed Caption Line21 (NTSC-M, J, NTSC-4.43, PAL-M, 60) 525 Closed Caption Extended Data Line284 (NTSC-M, J, NTSC-4.43, PAL-M, 60) 525 Line20 / 283 (NTSC-M, J, NTSC-4.43, PAL-M, 60) 525 VBID Line20 / 333 (PAL-B, D, G, H, I, N, Nc, SECAM) 625 WSS Line23 (PAL-B, D, G, H, I, N, Nc, SECAM) 625 The storage registers for each of the signal types are as follows. For storage bit allocations, please refer to the respective register setting descriptions. Closed Caption 1 Register, Closed Caption 2 Register WSS 1 Register, WSS 2 Register Extended Data 1 Register, Extended Data 2 Register VBID 1 Register, VBID 2 Register Rev-E-00 35 2008/01 [AK8853XQ/ VN] 7.26 Internal status indicators The AK8853 shows the internal status, with the following bit allocation. NOSIG-bit: Indicates presence or absence of signal Status of signal input NOSIG –bit Signal detected [0] No signal detected [1] Notes — — VLOCK-bit: Indicates status of VLOCK Status of synchronization VLOCK-bit Synchronized [0] Non-synchronized [1] Notes — — COLKILON: Indicates status of color killer Status of color killer COLKILON –bit Operation [0] Not-operation [1] Notes — — SCLKMODE-bits: Indicates status of clock mode Clock mode SCLKMODE –bits Fixed-clock [00] Line-locked [01] Frame-locked [10] Reserved [11] Notes — — — — PKWHITE: Indicates status of luminance decode result after passage through AGC block Status of luminance decode result Notes PKWHITE –bit Normal — [0] Overflow — [1] OVCOL: Indicates status of color decode result after passage through ACC block Status of color decode result OVCOL –bit Normal [0] Overflow [1] Notes — — Status 2-Ragister: Indicates closed caption, extended data, VBID, and WSS signal status, with decoding field status shown in REALFLD-bit and adaptive AGC status in AGCSTS-bit. Rev-E-00 REALFLD -bit [0] [1] Decoding field Even Odd Notes — — AGCSTS -bit [0] [1] Status of AGC operation Sync AGC operation Peak AGC operation Notes — — 36 2008/01 [AK8853XQ/ VN] Macrovision Status-Register: Indicates Macrovision signal type, if decoded data contains Macrovision signal Bit Register Name Description Definition bit 0 AGCDET AGC Process Detect bit 1 CSDET Color Stripe Detect bit 2 CSTYPE Color Stripe Type [0]: No Macrovision AGC process detected [1]: Macrovision AGC process detected [0]: No Macrovision Color Stripe process detected [1]: Macrovision Color Stripe process detected [0]: Color Stripe Type 2 in input signal [1]: Color Stripe Type 3 in input signal Input Video Status-Register: Indicates status of automatic input signal detection Register BIT Status Indication Name Input signal subcarrier frequency: [ST_VSCF1: ST_VSCF0] (MHz) bit 0 ST_VSCF0 [00]: 3.57954545 (NTSC-M, J) Status of Video ~ ~ [01]: 3.57561149 (PAL-M) Sub-Carrier Frequency bit 1 ST_VSCF1 [10]: 3.58205625 (PAL-Nc) [11]: 4.43361875 (PAL-B, D, G, H, I, N, 60; NTSC-4.43, SECAM*) Input signal color encode format: [ST_VCEN1: ST_VCEN0] bit 2 ST_VCEN0 Status of Video [00]: NTSC ~ ~ Color Encode [01]: PAL bit 3 ST_VCEN1 [10]: SECAM [11]: Reserved Input signal line frequency Status of Video [0]: 525 line (NTSC-M, J; NTSC-4.43, PAL-M, 60) bit 4 ST_VLF Line Frequency [1]: 625 line (PAL-B, D, G, H, I, N, Nc; SECAM) Input signal monochrome or non-monochrome1: [0]: Non-monochrome detected bit 5 ST_BW Status of B/W Signal [1]: Monochrome Input signal presence or absence2: [0]: Input signal detected bit 6 UNDEF Un_define bit [1]: No input signal detected Input signal detection phase3: Input Video Standard [0]: Input signal search in progress bit 7 FIXED fixed bit [1]: Input signal search complete *If input signal is identified as SECAM, ST_VSCF[1:0] changes to [11]. 1 Monochrome auto detection is enabled if the color killer setting is ON(COLKILL-bit = [1]). ST_BW-bit changes to [1] when the color killer operates. If the user has deliberately entered the B/W-bit setting Sub Address 0x01, input signal detection is limited to 525/625 line detection, and only the ST_VLF information is relevant. 2 Shows results of input signal detection. If an input signal is detected, the value is [0]; if no input signal is detected, the value is [1]. 3 Shows the operating phase of the automatic input signal detector. The value is [0] while the detection operation is in progress, and [1] when it is completed; thus, when UNDEF-bit = [1], FIXED-bit = [0]. Rev-E-00 37 2008/01 [AK8853XQ/ VN] The VBI information storage registers are as follows. Closed Caption 1 Register bit 7 bit 6 CC7 CC6 Closed Caption 2 Register bit 7 bit 6 CC15 CC14 WSS 1 Register bit 7 bit 6 G2-7 G2-6 WSS 2 Register bit 7 bit 6 Reserved Reserved Extended Data 1 Register bit 7 bit 6 EXT7 EXT6 Extended Data 2 Register bit 7 bit 6 EXT15 EXT14 VBID 1 Register bit 7 bit 6 Reserved Reserved VBID 2 Register bit 7 bit 6 VBID7 VBID8 Rev-E-00 bit 5 CC5 bit 4 CC4 bit 3 CC3 bit 2 CC2 bit 1 CC1 bit 0 CC0 bit 5 CC13 bit 4 CC12 bit 3 CC11 bit 2 CC10 bit 1 CC9 bit 0 CC8 bit 5 G2-5 bit 4 G2-4 bit 3 G1-3 bit 2 G1-2 bit 1 G1-1 bit 0 G1-0 bit 5 G4-13 bit 4 G4-12 bit 3 G4-11 bit 2 G3-10 bit 1 G3-9 bit 0 G3-8 bit 5 EXT5 bit 4 EXT4 bit 3 EXT3 bit 2 EXT2 bit 1 EXT1 bit 0 EXT0 bit 5 EXT13 bit 4 EXT12 bit 3 EXT11 bit 2 EXT10 bit 1 EXT9 bit 0 EXT8 bit 5 VBID1 bit 4 VBID2 bit 3 VBID3 bit 2 VBID4 bit 1 VBID5 bit 0 VBID6 bit 5 VBID9 bit 4 VBID10 bit 3 VBID11 bit 2 VBID12 bit 1 VBID13 bit 0 VBID14 38 2008/01 [AK8853XQ/ VN] 8. Device control interface The AK8853 is controlled via I2C bus control interface, as described below. 8.1 I2C bus SLAVE Address The I2C slave address can be selected by a SELA pin setting of either [1000100] or [1000101]. Slave Address SELA pin status MSB Pulldown [Low] Pullup [High] 1 1 LSB 0 0 0 0 0 0 1 1 0 0 0 1 R/W R/W 8.2 I2C Control Sequence 8.2.1 Write sequence After receiving a write-mode slave address first byte, the AK8853 receives the sub-address in the second byte and data in the subsequent bytes. The write sequence may be single-byte or multi-byte. Single-byte write sequence Slave S Address w A 1bit 8-bits Sub Address A Data A 8-bits 1bit 8-bits 1bit Multi-byte write sequence (m-bytes, sequential write operation) Sub Slave Data S w A Address A Data(n) A Address (n+1) (n) 1118-bits 8-bits 8-bits 8-bits bit bit bit A Stp ‘’’’’’’ 1bit Data (n+m) A 8-bits 1bit stp 8.2.2 Read sequence After receiving a read-mode salve address as the first byte, the AK8853 sends data in the second and subsequent bytes. Slave Sub Slave Data S Addres w A Address A rS R A Data1 A A Data3 A Address 2 ‘’’‘’ s (n) 8-bits 1 8-bits 1 8-bits 1 8-bits 1 8-bits 1 8-bits 1 ’‘’’’’‘’’ Data n !A 8-bits 1 ‘’‘ stp Symbols and abbreviations S: Start Condition rS: repeated Start Condition A: Acknowledge (SDA Low) !A: Not Acknowledge (SDA High) stp: Stop Condition R/W: 1: Read; 0: Write : Received from master device (normally microprocessor) : Output by slave device (AK8853) Rev-E-00 39 2008/01 [AK8853XQ/ VN] 9. Register Definitions Sub Address 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F 0x20 0x21 0x22 Rev-E-00 Register AFE Control Register Input Video Standard Register Output Format Regsiter NDMODE Register Output Control Register Start and Delay Control Register AGC & ACC Control Register Control 0 Register Control 1 Register Control 2 Register PGA Control Register Reserved Register Pedestal Level Control Register Color Killer Control Register Contrast Control Register Brightness Control Register Image Control Register Saturation Control Register HUE Control Register High Slice Data Set Register Low Slice Data Set Register Request VBI Infomation Register Status 1 Register Status 2 Register Macrovision Status Register Input Video Status Register Closed Caption 1 Register Closed Caption 2 Register WSS 1 Register WSS 2 Register Extended Data 1 Register Extended Data 2 Register VBID 1 Register VBID 2 Register Device and Revision ID Register Default R/W Function 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x3E 0x00 0x00 0x08 0x80 0x00 0x00 0x80 0x00 0xEB 0x10 0x00 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 R/W R/W R/W R/W R/W R/W R/W R R R R R R R R R R R R R Analog front-end setting Input video signal format setting Output data format setting Auto detection limit setting Output pin status setting Output data setting AGC and ACC setting Control register type Control register type Control register type PGA gain setting Reserved Pedestal level adjustment Color killer setting Contrast adjustment Brightness adjustment Image control setting Saturation adjustment Hue adjustment VBI slicer data high setting VBI slicer data low setting VBI interval decode request setting Internal status indicator Internal status indicator Input Macrovision signal indicator Input signal detection indicator Closed caption data indicator Closed caption data indication WSS data indicator WSS data indicator Closed caption extended data indicator Closed caption extended data indicator VBID data indicator VBID data indicator Device ID and revision ID indicator 40 2008/01 [AK8853XQ/ VN] Sub Address 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2A 0x2B 0x2C 0x2D 0x2E 0x2F 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3A 0x3B 0x3C 0x3D 0x3E 0x3F Register Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Default R/W Function 0x08 0x01 0x00 0x00 0x00 0x00 0x3A 0x00 0x00 0x00 0x00 0x84 0x7C 0x3C 0x0A 0x00 0x00 0x40 0x5D 0xA9 0x7B 0xDD 0x00 0x00 0x08 0x08 0x00 0x00 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 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 Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register Reserved register For all other registers, write-in is prohibited. For all reserved registers, write-in must be limited to the default value. Rev-E-00 41 2008/01 [AK8853XQ/ VN] 10. Register settings overview AFE Control Register (R/W) [Sub Address 0x00], for input signal selection Sub Address 0x00 bit 7 bit 6 Reserved Reserved Default Value 0 0 bit 5 Reserved bit 4 Reserved bit 3 Reserved bit 2 Reserved Default Value : 0x00 bit 1 bit 0 INSEL1 INSEL0 0 0 0 0 0 AFE Control Register Definition Register Bit Name R/W Definition bit 0 ~ bit 1 INSEL0 ~ INSEL1 Input Select R/W Input video signal selection: [00]: AIN1 (CVBS) [01]: AIN2 (CVBS) [10]: AIN3 (CVBS) [11]: AIN4 (CVBS) bit 2 ~ bit 7 Reserved Reserved R/W Reserved Rev-E-00 42 0 2008/01 [AK8853XQ/ VN] Input Video Standard Register (R/W) [Sub Address 0x01], for input signal selection Sub Address 0x01 bit 7 bit 6 AUTODET SETUP Default Value 0 0 bit 5 BW bit 4 VLF bit 3 VCEN1 bit 2 VCEN0 Default Value : 0x00 bit 1 bit 0 VSCF1 VSCF0 0 0 0 0 0 Input Video Standard Register Definition Register Bit Name R/W bit 0 ~ bit 1 VSCF0 ~ VSCF1 Video Sub-Carrier Frequency R/W bit 2 ~ bit 3 VCEN0 ~ VCEN1 Video Color Encode R/W bit 4 VLF Video Line Frequency R/W bit 5 BW Black & White R/W bit 6 SETUP Setup R/W bit 7 AUTODET Video Standard Auto Detect R/W 0 Definition Input video signal subcarrier frequency setting [VSCF1: VSCF0] (MHz) [00]: 3.57954545 (NTSC-M,J) [01]: 3.57561149 (PAL-M) [10]: 3.58205625 (PAL-Nc) [11]: 4.43361875 (PAL-B,D,G,H,I,N,60 , NTSC-4.43 , SECAM*) Input signal color ecode format setting [VCEN1: VCEN0] [00]: NTSC [01]: PAL [10]: SECAM [11]: Reserved Input signal line frequency setting [0]: 525line (NTSC-M,J , NTSC-4.43 , PAL-M,60) [1]: 625 line (PAL-B, D, G, H, I, N, PAL-Nc, SECAM) Monochrome mode (ON/OFF) setting [0]: Monochrome mode OFF [1]: Monochrome mode ON Setup process setting [0]: Process as input signal with no setup [1]: Process as input signal with setup Input signal auto detection setting [0]: OFF (auto detection disabled; set manually) [1]: ON (auto detection enabled) *For SECAM input signal, change VSCF[1:0] setting to [11]. Rev-E-00 43 2008/01 [AK8853XQ/ VN] Output Format Register (R/W) [Sub Address 0x02], for output data format setting Sub Address 0x02 bit 7 bit 6 VBIDEC1 VBIDEC0 Default Value 0 0 bit 5 SLLVL bit 4 TRSVSEL bit 3 601LIMIT bit 2 VBIL2 Default Value : 0x00 bit 1 bit 0 VBIL1 VBIL0 0 0 0 0 0 Output Format Register Definition Register Bit Name R/W bit 0 ~ bit 2 VBIL0 ~ VBIL2 Vertical Blanking Length R/W bit 3 601LIMIT 601 Output Limit R/W bit 4 TRSVSEL Time Reference Signal V Select Bit R/W bit 5 SLLVL Slice Level R/W bit 6 ~ bit 7 VBIDEC0 ~ VBIDEC1 VBI Decode R/W Rev-E-00 44 0 Definition Vertical blanking interval length setting, entered as difference from the default settings The default settings are: 525-line: Lines1~ 19 and 263.5~282.5 625-line: Lines 623.5~22 and 311~335.5 Examples of lengthening and shortening: If lengthened 1 line, the interval becomes 525-line: Lines1~20 and 263.5~283.5 625-line: Lines 623.5~23 and 311~336.5 If shortened 1 line, the interval becomes 525-line: Lines1~18 and 263.5~281.5 625-line: Lines 623.5~21 and 311~334.5 [VBIL2: VBIL0] [001]: VBI lengthened 1 line [010]: VBI lengthened 2 lines [011]: VBI lengthened 3 lines [000]: Default [101]: VBI shortened 3 lines [110]: VBI shortened 2 lines [111]: VBI shortened 1 line [100]: Reserved Output data code limit (Min-Max) setting [0]: 1-254 (Y/Cb/Cr) [1]: 16-235 (Y) /16-240 (Cb/Cr) Setting of lines for “Time reference signal” V-bit value change in ITU-R BT.656 format With 525-line input Setting [0]: V=1 (lines 1~9 and 264~272) V=0 (lines 10~263 and 273~525) Setting [1]: V=1 (lines 1~19 and 264~282) V=0 (lines 20~263 and 283~525) With 625-line input Always (regardless of setting in this register): V=1 (lines 1~22 and 311~335) V=0 (lines 23~310 and 336~623) Slice level setting [0]: Slice level approx. 25 IRE [1]: Slice level approx. 50 IRE Setting for type of data output during interval set in Vertical Blanking Interval register [ VBIDEC1: VBIDEC0 ] [00]: Black level data output [01]: Monochrome data output [10]: Slice result data output [11]: Reserved 2008/01 [AK8853XQ/ VN] NDMODE Register (R/W) [Sub Address 0x03], for limiting auto input video signal detection candidates Sub Address 0x03 bit 7 bit 6 ND625L ND525L Default Value 0 0 bit 5 NDPAL60 bit 4 NDNTSC443 bit 3 Reserved bit 2 NDSECAM Default Value: 0x00 bit 1 bit 0 NDPALNC NDPALM 0 0 0 0 0 NDMODE Register Definition Register Bit Name R/W Definition bit 0 NDPALM No Detect PAL-M bit R/W [0]: PAL-M candidate [1]: PAL-M non-candidate bit 1 NDPALNC No Detect PAL-Nc bit R/W [0]: PAL-Nc candidate [1]: PAL-Nc non-candidate bit 2 NDSECAM No Detect SECAM bit R/W [0]: SECAM candidate [1]: SECAM non-candidate bit 3 Reserved Reserved R/W Reserved bit 4 NDNTSC443 No Detect NTSC-4.43 bit R/W [0]: NTSC-4.43 candidate [1]: NTSC-4.43 non-candidate bit 5 NDPAL60 No Detect PAL-60 bit R/W [0]: PAL-60 candidate [1]: PAL-60 non-candidate bit 6 ND525L No Detect 525Line bit R/W [0]: 525 line candidate [1]: 525 line non-candidate bit 7 ND625L No Detect 625Line bit R/W [0]: 625 line candidate [1]: 625 line non-candidate 0 In making the above register settings, the following restrictions apply, 1. Setting both NDNTSC443(bit 4) and NDPAL60(bit 5) to [1] (High) is prohibited. 2. Setting both ND525L(bit 6) and ND625L(bit 7) to [1] (High) is prohibited. 3. To limit candidate formats, it is necessary to have the auto detection mode OFF while first setting the register to non-limited signal status and next the NDMODE settings, and then setting the auto detection mode to ON. Rev-E-00 45 2008/01 [AK8853XQ/ VN] Output Control Register (R/W) [Sub Address 0x04], for output pin output status setting Sub Address 0x04 bit 7 bit 6 CLKINV DVALID_FSEL Default Value 0 0 Bit bit 5 VD_FSEL bit 4 HL bit 3 NL bit 2 DVALID_FL Default Value: 0x00 bit 1 bit 0 VD_FL DL 0 0 0 0 0 Output Control Register Definition Register Name R/W 0 Definition [0]: Normal output [1]: [D7: D0] pin output fixed at Low bit 0 DL D Output Low bit R/W bit 1 VD_FL VD/FIELD Low bit R/W [0]: Normal output [1]: VD_F pin output fixed at Low bit 2 DVALID_FL DVALID/FIELD Low bit R/W [0]: Normal output [1]: DVALID_F pin output fixed at Low bit 3 NL NSIG Low bit R/W [0]: Normal output [1]: NSIG pin output fixed at Low bit 4 HL HD Low bit R/W [0]: Normal output [1]: HD pin output fixed at Low bit 5 VD_FSEL VD/FIELD Select bit R/W VD_F pin output signal selection [0]: VD signal output [1]: FIELD signal output bit 6 DVALID_FSEL DVALID/FIELD Select bit R/W DVALID_F pin output signal selection [0]: DVALID signal output [1]: FIELD signal output R/W DTCLK signal output polarity selection [0]: Normal output (write in data at rising edge) [1]: Data and clock reversed (write in data at falling edge) bit 7 CLKINV CLK Invert Set bit Note: Output control via pins OE, PDN, and RSTN takes priority, regardless of the above settings. Rev-E-00 46 2008/01 [AK8853XQ/ VN] Start and Delay Control Register (R/W) [Sub Address 0x05], for data output setting Sub Address 0x05 bit 7 bit 6 Reserved ACTSTA2 Default Value 0 0 bit 5 ACTSTA1 bit 4 ACTSTA0 bit 3 Reserved bit 2 Reserved Default Value: 0x00 bit 1 bit 0 Reserved Reserved 0 0 0 0 0 Start and Delay Control Register Definition Register Bit Name bit 0 Reserved Reserved ~ bit 3 R/W Definition R/W Reserved bit 4 ~ bit 6 ACTSTA0 ~ ACTSTA2 Active Video Start Control bit R/W bit 7 Reserved Reserved R/W Rev-E-00 47 0 Fine-tuning video data decode start position by delay or advance in 1-sample units 1 sample clock (13.5 MHz; approx. 74 ns) [ACTSTA2: ACTSTA0] [001]: 1-sample delay [010]: 2-sample delay [011]: 3-sample delay [000]: Normal start position [101]: 3-sample advance [110]: 2-sample advance [111]: 1-sample advance [100]: Reserved Reserved 2008/01 [AK8853XQ/ VN] AGC & ACC Control Register (R/W) [Sub Address 0x06], for AGC and ACC setting Sub Address 0x06 bit 7 bit 6 ACCFRZ ACC1 Default Value 0 0 bit 5 ACC0 bit 4 AGCFRZ bit 3 AGCC1 bit 2 AGCC0 Default Value: 0x00 bit 1 bit 0 AGCT1 AGCT0 0 0 0 0 0 AGC Control Register Definition Register Bit Name R/W bit 0 ~ bit 1 AGCT0 ~ AGCT1 AGC Time Constant R/W bit 2 ~ bit 3 AGCC0 ~ AGCC1 AGC Coring Control R/W bit 4 AGCFRZ AGC Freeze R/W bit 5 ~ bit 6 ACC0 ~ ACC1 ACC Time Constant R/W bit 7 ACCFRZ ACC Freeze R/W Rev-E-00 48 0 Definition AGC time constant (T) setting (if disabled, PGA can be set manually) [AGCT1: AGCT0] [00]: Disable [01]: Fast [T = 1 field] [10]: Middle [T = 7 fields] [11]: Slow [T = 29 fields ] AGC non-sensing bandwidth (LSB) setting [AGCC1: AGCC0] [00]: ±2 LSB [01]: ±3 LSB [10]: ±4 LSB [11]: No non-sensing band AGC freeze function (ON/OFF) setting (AGC set values are saved during freeze) [0]: Non-frozen [1]: Frozen ACC time constant (T) setting [ACCT1: ACCT0] [00]: Disable [01]: Fast [T = 2Fields] [10]: Middle [T =8Fields] [11]: Slow [T = 30Fields] ACC freeze function (ON/OFF) setting (ACC set values are saved during freeze) [0] : Non-frozen [1] : Frozen 2008/01 [AK8853XQ/ VN] Control 0 Register (R/W) [Sub Address 0x07], for the following function setting Sub Address 0x07 bit 7 bit 6 DVALID_FP VD_FP Default Value 0 0 bit 5 HDP bit 4 C443FIL0 bit 3 C443FIL0 bit 2 C358FIL1 Default Value: 0x00 bit 1 bit 0 C358FIL0 AGCTL 0 0 0 0 0 Control 0 Register Definition Register Bit Name R/W bit 0 AGCTL AGC Transition Level R/W bit 1 ~ bit 2 C358FIL0 ~ C358FIL1 C Filter_358 Select bit R/W bit 3 ~ bit 4 C443FIL0 ~ C443FIL1 C Filter_443 Select bit R/W bit 5 HDP HD Pin Polarity Set bit R/W bit 6 VD_FP VD_F Pin Polarity Set bit R/W bit 7 DVALID_FP DVALID_F Pin Polarity Set bit R/W Rev-E-00 49 0 Definition Transition speed setting, between peak AGC and sync AGC [0]: Quick [1]: Slow C-filter bandwidth setting, for 3.58 MHz subcarrier system signal [C358FIL1: C358FIL0] [00]: 3.58 Narrow [01]: 3.58 Medium [10]: 3.58 Wide [11]: Reserved C-filter bandwidth setting, for 4.43 MHz subcarrier system signal [C443FIL1: C443FIL0] [00]: 4.43 Narrow [01]: 4.43 Medium [10]: 4.43 Wide [11]: Reserved HD signal polarity setting [0]: Active Low [1]: Active High VD_F pin output polarity setting If in VD signal output mode [0]: Active Low [1]: Active High If in field signal output mode [0]: Odd-Field Low, Even-Field High [1]: Even-Field Low, Odd-Field High DVALID_F pin output signal polarity setting If in DVALID signal output mode [0]: Active Low [1]: Active High If in field signal output mode [0]: Odd-field Low, Even-field High [1]: Even-field Low, Odd-field High 2008/01 [AK8853XQ/ VN] Control 1 Register (R/W) [Sub Address 0x08], for the following function setting Sub Address 0x08 bit 7 bit 6 CLKMODE1 CLKMODE0 Default Value 0 0 bit 5 INTPOL1 bit 4 INTPOL0 bit 3 Reserved bit 2 UVFILSEL Default Value: 0x00 bit 1 bit 0 YCSEP1 YCSEP0 0 0 0 0 0 Control 1 Register Definition Register Bit Name R/W bit 0 ~ bit 1 YCSEP0 ~ YCSEP1 YC Separation Control R/W bit 2 UVFILSEL UV Filter Select R/W bit 3 Reserved Reserved R/W bit 4 ~ bit 5 INTPOL0 ~ INTPOL1 Interpolator Mode Select R/W bit 6 ~ bit 7 CLKMODE0 ~ CLKMODE1 Clock Mode Select R/W Rev-E-00 50 0 Definition Y/C separation setting [YCSEP1: YCSEP0] [00]: Adaptive Y/C separation [01]: 1-dimensional Y/C separation [10]: 2-dimensional Y/C separation [11]: Reserved UV filter bandwidth setting [0]: Wide [1]: Narrow Reserved Pixel interpolator setting [INTPOL1: INTPOL0] [00]: Auto [01]: ON [10]: OFF [11]: Reserved Clock mode setting [CLKMODE1: CLKMODE0] [00]: Automatic transition mode [01]: Line-locked clock mode [10]: Frame-locked clock mode [11]: Fixed-clock mode 2008/01 [AK8853XQ/ VN] Control 2 Register (R/W) [Sub Address 0x09], for the following function setting Sub Address 0x09 bit 7 bit 6 CKILSEL STUPATOFF Default Value 0 0 bit 5 ERRHND1 bit 4 ERRHND0 bit 3 NSIGMD1 bit 2 NSIGMD0 Default Value: 0x00 bit 1 bit 0 DPAL1 DPAL0 0 0 0 0 0 Control 2 Register Definition Register Bit Name R/W bit 0 ~ bit 1 DPAL0 ~ DPAL1 Deluxe PAL R/W bit 2 ~ bit 3 NSIGMD0 ~ NSIGMD1 No Signal Output Mode R/W bit 4 ~ bit 5 ERRHND0 ~ ERRHND1 656 Error Handling R/W bit 6 STUPATOFF Setup Auto Control Off R/W bit 7 CKILSEL Color killer Select R/W Rev-E-00 51 0 Definition Setting for color averaging (PAL phase correction block) Also applicable to NTSC. [DPAL1: DPAL0] [00]: Adaptive phase correction ON [01]: Phase correction ON [10]: Phase correction OFF [11]: Reserved Setting for output on no-signal detection [NSIGMD1: NSIGMD0] [00]: Black-level output [01]: Blue-level (Blueback) output [10]: Input status (sandstorm) output [11]: Reserved Setting for processing if ITU-R Bt.656 output is not possible [ERRHND1: ERRHND0] [00]: Line drop or repeat [01]: Pixel drop or repeat, in final line of field [10]: Line drop or repeat, in final line of frame [11]: Reserved Setup auto switching setting (ON/OFF) in auto signal detection mode [0]: Auto setup switching ON [1]: Auto setup switching OFF Color killer activation setting [0]: Activation when burst color level is below CKLVL[3:0]-bits threshold setting [1]: Activation when burst color level is below CKLVL[3:0]-bits threshold setting or color decode PLL lock fails 2008/01 [AK8853XQ/ VN] PGA Control Register (R/W) [Sub Address 0x0A], for PGA gain setting Sub Address 0x0A bit 7 bit 6 Reserved PGA_6 Default Value 0 0 bit 5 PGA_5 1 bit 4 PGA_4 bit 3 PGA_3 1 bit 7 Reserved bit 2 PGA_2 1 PGA Control Register Definition Register Bit Name PGA_0 bit 0 PGA Gain Set ~ ~ PGA_6 bit 6 Reserved Default Value: 0x3E bit 1 bit 0 PGA_1 PGA_0 1 1 0 R/W Definition R/W PGA gain setting, in steps of approx. 0.1 dB R/W Reserved Reserved Register (R/W) [Sub Address 0x0B] Sub Address 0x0B bit 7 bit 6 Reserved Reserved Default Value 0 0 Rev-E-00 bit 5 Reserved bit 4 Reserved bit 3 Reserved bit 2 Reserved Default Value: 0x00 bit 1 bit 0 Reserved Reserved 0 0 0 0 0 52 0 2008/01 [AK8853XQ/ VN] Pedestal Level Control Register (R/W) [Sub Address 0x0C], for pedestal level adjustment setting Sub Address 0x0C bit 7 bit 6 DPCC1 DPCC0 Default Value 0 0 bit 5 DPCT1 bit 4 DPCT0 bit 3 BKLVL3 bit 2 BKLVL2 Default Value: 0x00 bit 1 bit 0 BKLVL1 BKLVL0 0 0 0 0 0 Pedestal Level Control Register Definition Register Bit Name R/W bit 0 ~ bit 3 BKLVL0 ~ BKLVL3 Black Level R/W bit 4 ~ bit 5 DPCT0 ~ DPCT1 Digital Pedestal Clamp Control R/W bit 6 ~ bit 7 DPCC0 ~ DPCC1 Digital Pedestal Clamp Coring Control R/W Rev-E-00 53 0 Definition Setting for change from current pedestal level by adding to or subtracting from black level [BKLVL3: BKLVL0] [0001]: Add 1 [0010]: Add 2 [0011]: Add 3 [0100]: Add 4 [0101]: Add 5 [0110]: Add 6 [0111]: Add 7 [0000]: Default [1000]: Subtract 8 [1001]: Subtract 7 [1010]: Subtract 6 [1011]: Subtract 5 [1100]: Subtract 4 [1101]: Subtract 3 [1110]: Subtract 2 [1111]: Subtract 1 Time-constant setting for digital pedestal clamp [DPCT1: DPCT0] [00]: Fast [01]: Middle [10]: Slow [11]: Disable Non-sensing bandwidth setting for digital pedestal clamp [DPCC1: DPCC0] [00]: ±1bit [01]: ±2bits [10]: ±3bits [11]: No non-sensing band 2008/01 [AK8853XQ/ VN] Color Killer Control Register (R/W) [Sub Address 0x0D], for color killer setting Sub Address 0x0D bit 7 bit 6 COLKILL CONTSEL Default Value 0 0 bit 5 CKSCM1 bit 4 CKSCM0 bit 3 CKLVL3 bit 2 CKLVL2 Default Value: 0x08 bit 1 bit 0 CKLVL1 CKLVL0 0 0 1 0 0 0 Color Killer Control Register Definition Register Bit Name bit 0 CKLVL0 Color Killer Level Control ~ ~ bit 3 CKLVL3 bit 4 CKSCM0 ~ ~ Color Killer Level for SECAM bit 5 CKSCM1 R/W Definition R/W Burst level setting for color killer activation Default value, approx. −23 dB bit 6 CONTSEL Contrast Select bit R/W bit 7 COLKILL Color killer Set R/W Rev-E-00 54 R/W Burst level setting for color killer activation in SECAM mode Adds 2 bits to CKLVL[3:0] Contrast selector [0]: toward luminance of 128 [1]: toward luminance of 0 Color killer ON/OFF setting [0]: Enable [1]: Disable 2008/01 [AK8853XQ/ VN] Contrast Control Register (R/W) [Sub Address 0x0E], for contrast adjustment Sub Address 0x0E bit 7 bit 6 CONT7 CONT6 Default Value 1 0 bit 5 CONT5 bit 4 CONT4 bit 3 CONT3 bit 2 CONT2 Default Value: 0x80 bit 1 bit 0 CONT1 CONT0 0 0 0 0 0 Contrast Control Register Definition Register Bit Name bit 0 CONT0 Contrast Control ~ ~ bit 7 CONT1 0 R/W Definition R/W Register for contrast adjustment in steps of 1/128 in range 1~255/128 from default value of 0x80 Brightness Control Register (R/W) [Sub Address 0x0F], for brightness adjustment Sub Address 0x0F bit 7 bit 6 BR7 BR 6 Default Value 0 0 bit 5 BR 5 bit 4 BR 4 bit 3 BR 3 bit 2 BR 2 bit 1 BR 1 0 0 0 0 0 Brightness Control Register Definition Register Bit Name BR0 bit 0 Brightness Control ~ ~ BR7 bit 7 Rev-E-00 55 Default Value: 0x00 bit 0 BR 0 0 R/W Definition R/W Register for brightness adjustment in steps of 1 by 8-bit code setting in 2’s complement 2008/01 [AK8853XQ/ VN] Image Control Register (R/W) [Sub Address 0x10] for adjustment image Sub Address 0x10 bit 7 bit 6 VBIIMGCTL SEPIA Default Value 0 0 bit 5 LUMFIL1 bit 4 LUMFIL0 bit 3 SHCORE1 bit 2 SHCORE0 Default Value: 0x00 bit 1 bit 0 SHARP1 SHARP0 0 0 0 0 0 Image Control Register Definition Register Bit Name R/W bit 0 ~ bit 1 SHARP0 ~ SHARP1 Sharpness Control R/W bit 2 ~ bit 3 SHCORE0 ~ SHCORE1 Sharpness Coring R/W bit 4 ~ bit 5 LUMFIL0 ~ LUMFIL1 Luminance Filter R/W bit 6 SEPIA Sepia Output R/W bit 7 VBIIMGCTL VBI Image Control R/W Rev-E-00 56 0 Definition Sharpness control (filter effect) setting [SHARP1: SHARP0] [00]: No filtering [01]: Min effect [10]: Middle effect [11]: Max effect Setting for level of coring after passage through sharpness filter Enabled except with [SHARP1:SHARP0] register setting of [00] [SHCORE1: SHCORE0] [00]: No coring [01]: ±1 LSB [10]: ±2 LSB [11]: ±3 LSB Setting for luminance band limit filter [LUMFIL1: LUMFIL0] [00]: No filtering [01]: Narrow [10]: Mid [11]: Wide Setting (ON/OFF) for sepia coloring of decode results [0]: Normal output [1]: Sepia output Setting (ON/OFF) for image adjustment during brightness and contrast adjustment VBI [0]: Image adjustment inactive during VBI [1]: Image adjustment active during VBI 2008/01 [AK8853XQ/ VN] Saturation Control Register (R/W) [Sub Address 0x11], for saturation level adjustment Sub Address 0x11 bit 7 bit 6 SAT 7 SAT 6 Default Value 1 0 bit 5 SAT 5 bit 4 SAT 4 bit 3 SAT 3 bit 2 SAT 2 Default Value: 0x80 bit 1 bit 0 SAT 1 SAT 0 0 0 0 0 0 Saturation Control Register Definition Register Bit Name bit 0 SAT0 Saturation Control ~ ~ bit 7 SAT7 0 R/W Definition R/W Register for saturation level adjustment in steps of 1/128 in range 1~255/128 from default value of 0x80 HUE Control Register (R/W) [Sub Address 0x12], for hue adjustment Sub Address 0x12 bit 7 bit 6 HUE 7 HUE 6 Default Value 0 0 bit 5 HUE 5 bit 4 HUE 4 bit 3 HUE 3 bit 2 HUE 2 Default Value: 0x00 bit 1 bit 0 HUE 1 HUE 0 0 0 0 0 0 HUE Control Register Definition Register Bit Name HUE0 bit 0 HUE Control ~ ~ HUE7 bit 7 Rev-E-00 57 0 R/W Definition R/W Register for hue adjustment in steps of 1/128 in range ±45° in 2’s complement 2008/01 [AK8853XQ/ VN] High Slice Data Set Register (R/W) [Sub Address 0x13], for VBI slicer Sub Address 0x13 bit 7 bit 6 H7 H6 Default Value 1 1 bit 5 H5 bit 4 H4 bit 3 H3 bit 2 H2 Default Value: 0xEB bit 1 bit 0 H1 H0 1 0 1 0 1 High Slice Data Set Register Definition Register Bit Name bit 0 ~ bit 7 H0 ~ H7 High Data 0~7 Set 1 R/W Definition R/W Register for setting sliced data from VBI slicer to High value (Default code is 235) Important: Corresponds to 601 special code if set to 0x00 or 0xFF Low Slice Data Set Register (R/W) [Sub Address 0x14], for VBI slicer Sub Address 0x14 bit 7 bit 6 L7 L6 Default Value 0 0 bit 5 L5 bit 4 L4 bit 3 L3 bit 2 L2 bit 1 L1 0 1 0 0 0 Low Slice Data Set Register Definition Register Bit Name bit 0 ~ bit 7 L0 ~ L7 Rev-E-00 Low Data 0~7 Set 58 Default Value: 0x10 bit 0 L0 0 R/W Definition R/W Register for setting sliced data from VBI slicer to Low value (Default code is 16) Important: Corresponds to 601 special code if set to 0x00 or 0xFF 2008/01 [AK8853XQ/ VN] Request VBI Infomation Register (R/W) [Sub Address 0x15], for data decode during VBI interval Sub Address 0x15 bit 7 bit 6 Reserved Reserved Default Value 0 0 bit 5 Reserved bit 4 Reserved bit 3 WSSRQ bit 2 VBIDRQ Default Value: 0x00 bit 1 bit 0 EXTRQ CCRQ 0 0 0 0 0 Request VBI Infomation Register Definition Register Bit Name R/W bit 0 CCRQ Closed Caption Decode Request bit 1 EXTRQ Extended Data Decode Request R/W bit 2 VBIDRQ VBID Decode Request R/W bit 3 WSSRQ WSS Decode Request R/W bit 4 ~ bit 7 Reserved Reserved R/W Rev-E-00 59 R/W 0 Definition Setting (ON/OFF) for closed caption decode request [0]: No request (OFF) [1]: Request (ON) Setting (ON/OFF) for Extended Data decode request [0]: No request (OFF) [1]: Request (ON) Setting (ON/OFF) for VBID decode request [0]: No request (OFF) [1]: Request (ON) Setting (ON/OFF) for WSS decode request [0]: No request (OFF) [1]: Request (ON) Reserved 2008/01 [AK8853XQ/ VN] Status 1 Register (R) [Sub Address 0x16] for shows AK8853 internal status Sub Address 0x16 bit 7 bit 6 OVCOL PKWHITE bit 5 SCLKMODE1 bit 4 SCLKMODE0 Status 1 Register Definition Register Bit Name bit 0 NOSIG No Signal bit 3 COLKILON bit 2 FRMSTD bit 1 VLOCK R/W Definition R Input signal indicator [0]: Input signal present [1]: Input signal absent bit 0 NOSIG bit 1 VLOCK Video Locked R Input signal VLOCK synchronization status indicator [0]: Input signal synchronized [1]: Input signal non-synchronized bit 2 FRMSTD Frame Standard R Input signal interlace status indicator [0]: Input signal 525/625 interlaced [1]: Input signal not 525/625 interlaced bit 3 COLKILON Color Killer R Color killer status indicator [0]: Color killer not operation [1]: Color killer operation R Clock mode indicator [SCLKMODE1: SCLKMODE0] [00]: Fixed-clock mode [01]: Line-locked clock mode [10]: Frame-locked clock mode [11]: Reserved R Luminance decode result flow status indicator, after passage through AGC block [0]: Normal [1]: Overflow R Color decode result flow status indicator, after passage through ACC block [0]: Normal [1]: Overflow (excessive color signal input) bit 4 ~ bit 5 bit 6 bit 7 SCLKMODE0 ~ Clock Mode SCLKMODE1 PKWHITE OVCOL Rev-E-00 Peak White Detection Over Color Level 60 2008/01 [AK8853XQ/ VN] Status 2 Register (R) [Sub Address 0x17] for shows AK8853 internal status Sub Address 0x17 bit 7 bit 6 Reserved Reserved bit 5 AGCSTS bit 4 Reserved bit 3 WSSDET Status 2 Register Definition Register Bit Name bit 0 bit 1 bit 2 CCDET EXTDET VBIDDET Closed Caption Detect Extended Data Detect VBID Data Detect bit 2 VBIDDET bit 1 EXTDET bit 0 CCDET R/W Definition R Indicator for presence of decoded data in Closed Caption 1 2 Register [0]: No closed caption data present [1]: Closed caption Data present R Indicator for presence of decoded data in Extended Data 1,2 Register [0]: No extended data present [1]: Extended data present R Indicator for presence of decoded data in VBID 1,2 Register [0]: No VBID data present [1]: VBID data present bit 3 WSSDET WSS Data Detect R Indicator for presence of decoded data in WSS 1,2 Register [0]: No WSS data present [1]: WSS data present bit 4 REALFLD Real Field R Input signal field status (even/odd) indicator [0]: EVEN field [1]: ODD field bit 5 AGCSTS AGC Status bit R [0]: Sync AGC active [1]: Peak AGC active bit 6 ~ bit 7 Reserved Reserved R Reserved Rev-E-00 61 2008/01 [AK8853XQ/ VN] Macrovision Status Register (R) [Sub Address 0x18] for Macrovision Status Sub Address 0x18 bit 7 bit 6 Reserved Reserved bit 5 Reserved bit 4 Reserved Macrovision Status Register Definition Register Bit Name bit 0 bit 1 AGCDET CSDET AGC Process Detect Color Stripe Detect bit 3 Reserved bit 2 CSTYPE bit 1 CSDET bit 0 AGCDET R/W Definition R Indicator for presence of Macrovision AGC in input signal [0]: No Macrovision AGC present [1]: Macrovision AGC present R Indicator for presence of Macrovision Color Stripe in input signal [0]: No Color Stripe present [1]: Color Stripe present bit 2 CSTYPE Color Stripe Type R Indicator for type of Color Stripe included in input signal [0]: Color Stripe Type 2 [1]: Color Stripe Type 3 bit 3 ~ bit 7 Reserved Reserved R Reserved Rev-E-00 62 2008/01 [AK8853XQ/ VN] Input Video Status Register (R) [Sub Address 0x19] for auto detection mode Sub Address 0x19 bit 7 bit 6 FIXED UNDEF bit 5 ST_B/W bit 4 ST_VLF Input Video Status Register Definition Register BIT Name bit 3 ST_VCEN1 R/W bit 0 ~ bit 1 ST_VSCF0 ~ ST_VSCF1 Status of Video Sub-Carrier Frequency R bit 2 ~ bit 3 ST_VCEN0 ~ ST_VCEN1 Status of Video Color Encode R bit 4 ST_VLF Status of Video Line Frequency R bit 5 ST_BW Status of B/W Signal R bit 6 UNDEF Un_define bit R bit 7 FIXED Input Video Standard fixed bit R bit 2 ST_VCEN0 bit 1 ST_VSCF1 bit 0 ST_VSCF0 Definition Input video signal subcarrier frequency indicator [ST_VSCF1: ST_VSCF0] ( MHz ) [00]: 3.57954545 (NTSC-M,J) [01]: 3.57561149 (PAL-M) [10]: 3.58205625 (PAL-Nc) [11]: 4.43361875 (PAL-B,D,G,H,I,N,60 , NTSC-4.43 , SECAM*) Input signal color encode format indicator [ST_VCEN1: ST_VCEN0] [00]: NTSC [01]: PAL [10]: SECAM [11]: Reserved Input signal line number indicator [0]: 525-line(NTSC-M,J , NTSC-4.43 , PAL-M,60) [1]: 625-line (PAL-B,D,G,H,I,N,Nc , SECAM) Input signal monochrome indicator [0]: Not monochrome [1]: Monochrome Input signal detection indicator [0]: Input signal detected [1]: Input signal not detected Input signal detection process status [0]: Detection process in progress [1]: Detection process completed *If SECAM input signal is detected, ST_VSCF[1:0] goes to [11]. Rev-E-00 63 2008/01 [AK8853XQ/ VN] Closed Caption 1 Register (R) [Sub Address 0x1A] Closed Caption data storage register Sub Address 0x1A bit 7 bit 6 bit 5 CC7 CC6 CC5 bit 4 CC4 bit 3 CC3 bit 2 CC2 bit 1 CC1 bit 0 CC0 bit 3 CC11 bit 2 CC10 bit 1 CC9 bit 0 CC8 bit 3 G1-3 bit 2 G1-2 bit 1 G1-1 bit 0 G1-0 bit 3 G4-11 bit 2 G3-10 bit 1 G3-9 bit 0 G3-8 bit 3 EXT3 bit 2 EXT2 bit 1 EXT1 bit 0 EXT0 bit 3 EXT11 bit 2 EXT10 bit 1 EXT9 bit 0 EXT8 bit 3 VBID3 bit 2 VBID4 bit 1 VBID5 bit 0 VBID6 bit 3 VBID11 bit 2 VBID12 bit 1 VBID13 bit 0 VBID14 Closed Caption 2 Register (R) [Sub Address 0x1B] Closed Caption data storage register Sub Address 0x1B bit 7 bit 6 bit 5 CC15 CC14 CC13 bit 4 CC12 WSS 1 Register (R) [Sub Address 0x1C] WSS data storage register Sub Address 0x1C bit 7 bit 6 bit 5 G2-7 G2-6 G2-5 bit 4 G2-4 WSS 2 Register (R) [Sub Address 0x1D] WSS data storage register Sub Address 0x1D bit 7 bit 6 bit 5 Reserved Reserved G4-13 bit 4 G4-12 Extended Data 1 Register (R) [Sub Address 0x1E] Closed Caption Extended data storage register Sub Address 0x1E bit 7 bit 6 bit 5 bit 4 EXT7 EXT6 EXT5 EXT4 Extended Data 2 Register (R) [Sub Address 0x1F] Closed Caption Extended data storage register Sub Address 0x1F bit 7 bit 6 bit 5 bit 4 EXT15 EXT14 EXT13 EXT12 VBID 1 Register (R) [Sub Address 0x20] VBID data storage register Sub Address 0x20 bit 7 bit 6 bit 5 Reserved Reserved VBID1 bit 4 VBID2 VBID 2 Register (R) [Sub Address 0x21] VBID data storage register Sub Address 0x21 bit 7 bit 6 bit 5 VBID7 VBID8 VBID9 Rev-E-00 bit 4 VBID10 64 2008/01 [AK8853XQ/ VN] Device and Revision ID Register (R) [Sub Address 0x22] Device ID and Revision indicator Device ID: [0x35] Revision ID: Initially 0x00; revision number changes only when control software should be modified. Sub Address 0x22 bit 7 bit 6 REV1 REV0 Default Value 0 0 bit 5 DID5 bit 4 DID4 bit 3 DID3 bit 2 DID2 bit 1 DID1 bit 0 DID0 1 1 0 1 0 1 Device and Revision ID Register Definition Register Bit Name bit 0 DID0 ~ ~ Device ID bit 5 DID5 REV0 bit 6 Revision ID ~ ~ REV1 bit 7 Rev-E-00 R/W 65 Definition R Device ID indicator (0x35) R Revision ID indicator (initially 0x00) 2008/01 [AK8853XQ/ VN] 11. System connection example PVDD2 pull up Micro Processor 2 (I C Controller) PVDD1 SELA SDA SCL RSTN PDN Video IN OE 0.033uF 47Ω AIN1 AIN2 AIN3 AIN4 PVDD1 0.1uF 10uF DVSS 30Ω PVDD2 PVDD2 0.1uF IREF VRP VCOM VRN 0.1uF 0.1uF 0.1uF 10uF DVSS AK8853 DVDD ATIO DVDD 6.8kΩ 0.1uF 10uF DVSS CLKMD AVDD AVDD 0.1uF XTI 22pF 24.576MHz 10uF AVSS XTO 22pF DATA[7:0] NSIG DTCLK DVALID_F VD_F HD TEST0 TEST1 Analog GND Rev-E-00 66 Digital GND 2008/01 [AK8853XQ/ VN] 12. Package (AK8853XQ) 9.0 ± 0.2 7.0 25 37 24 48 13 7.0 9.0 ± 0.2 36 1 12 0.19 ± 0.05 0.5 0°~10° 0.10 M 1.0 1.4TYP 0.17 ± 0.05 1.60MAX 0.10 0.10 ± 0.07 0.5 ± 0.2 Rev-E-00 67 2008/01 [AK8853XQ/ VN] (AK8853VN) 7.20±0.10 7.00±0.05 3-0.50 +0.40 -0.15 A 36 37 B 45° 1 45° 13 13 48 C0.6 36 25 24 24 7.00±0.05 7.20±0.10 3-C0.2 25 37 0.17±0.05 48 12 12 0.22±0.05 0.35±0.12 0.05 M S AB 1 0.25 +0.40 -0.15 Rev-E-00 0.92±0.08 0.05 S S -0.015 0.02 +0.02 0.17±0.05 0.50 68 2008/01 [AK8853XQ/ VN] 13. Marking (AK8853XQ) AKM AK8853XQ XXXXXXX 1 AKM: AKM Logo AK8853XQ: Marketing Code XXXXXXX (7 digits): Date Code (AK8853VN) AKM AK8853VN XXXXXXX 1 AKM: AKM Logo AK8853VN: Marketing Code XXXXXXX (7 digits): Date Code Rev-E-00 69 2008/01 [AK8853XQ/ VN] IMPORTANT NOTICE These products and their specifications are subject to change without notice. Before considering any use or application, consult the Asahi Kasei Microsystems Co., Ltd. (AKM) sales office or authorized distributor concerning their current status. AKM assumes no liability for infringement of any patent, intellectual property, or other right in the application or use of any information contained herein. Any export of these products, or devices or systems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. AKM products are neither intended nor authorized for use as critical components in any safety, life support, or other hazard related device or system, and AKM assumes no responsibility relating to any such use, except with the express written consent of the Representative Director of AKM. As used here: (a) A hazard related device or system is one designed or intended for life support or maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expected to result in loss of life or in significant injury or damage to person or property. (b) A critical component is one whose failure to function or perform may reasonably be expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and which must therefore meet very high standards of performance and reliability. It is the responsibility of the buyer or distributor of an AKM product who distributes, disposes of, or otherwise places the product with a third party to notify that party in advance of the above content and conditions, and the buyer or distributor agrees to assume any and all responsibility and liability for and hold AKM harmless from any and all claims arising from the use of said product in the absence of such notification. Rev-E-00 70 2008/01