|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
multiformat sdtv video decoder adv7183a rev. a information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent ri ghts of analog devices. trademarks and registered trademarks are the prop erty of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.326.8703 ? 2004 analog devices, inc. all rights reserved. features multiformat video decoder supports ntsc-(m, n, 4.43), pal-(b/d/g/h/i/m/n), secam integrates three 54 mhz, 10-bit adcs clocked from a single 27 mhz crystal line-locked clock compatible (llc) adaptive digital line length tracking (adllt?) 5-line adaptive comb filters proprietary architecture for locking to weak, noisy, and unstable video sources such as vcrs and tuners subcarrier frequency lock an d status information output integrated agc with adaptive peak white mode macrovision? copy protection detection cti (chroma transient improvement) dnr (digital noise reduction) multiple programmable analog input formats: cvbs (composite video) s-video (y/c) yprpb component (vesa, mii, smpte, and betacam) 12 analog video input channels automatic ntsc/pal/secam identification digital output formats (8-bit or16-bit): itu-r bt.656 ycrcb 4:2:2 output + hs, vs, and field 0.5 v to 1.6 v analog signal input range differential gain: 0.5% typ differential phase: 0.5 typ programmable video controls: peak-white/hue/brightness/saturation/contrast integrated on-chip video timing generator free run mode (generates stable video ouput with no i/p) vbi decode support for close captioning, wss, cgms, edtv, gemstar? 1/2 power-down mode 2-wire serial mpu interface (i 2 c? compatible) 3.3 v analog, 1.8 v digital core; 3.3 v io supply 2 temperature grades: C25c to +70c and C40c to +85c 80-lead lqfp pb-free package applications dvd recorders video projectors hdd-based pvrs/dvdrs lcd tvs set-top boxes security systems digital televisions avr receiver general description the adv7183a integrated video decoder automatically detects and converts a standard analog baseband television signal compatible with worldwide standards ntsc, pal, and secam into 4:2:2 component video data compatible with 16-/8-bit ccir601/ccir656. the advanced and highly flexible digital output interface enables performance video decoding and conversion in line- locked clock based systems. this makes the device ideally suited for a broad range of applications with diverse analog video characteristics, including tape based sources, broadcast sources, security/surveillance cameras, and professional systems. the 10-bit accurate a/d conversion provides professional quality video performance and is unmatched. this allows true 8-bit resolution in the 8-bit output mode. the 12 analog input channels accept standard composite, s- video, yprpb video signals in an extensive number of combinations. agc and clamp restore circuitry allow an input video signal peak-to-peak range of 0.5 v up to 1.6 v. alternatively, these can be bypassed for manual settings. the fixed 54 mhz clocking of the adcs and datapath for all modes allows very precise, accurate sampling and digital filtering. the line-locked clock output allows the output data rate, timing signals, and output clock signals to be synchronous, asynchronous, or line locked even with 5% line length variation. the output control signals allow glueless interface connections in almost any application. the adv7183a modes are set up over a 2-wire, serial, bidirectional port (i 2 c compatible). the adv7183a is fabricated in a 3.3 v cmos process. its monolithic cmos construction ensures greater functionality with lower power dissipation. the adv7183a is packaged in a small 80-lead lqfp pb-free package.
adv7183a rev. a | page 2 of 104 table of contents introduction ...................................................................................... 4 analog front end ......................................................................... 4 standard definition processor ................................................... 4 functional block diagram .............................................................. 5 specifications..................................................................................... 6 electrical characteristics ............................................................. 6 video specifications..................................................................... 7 timing specifications .................................................................. 8 analog specifications................................................................... 8 thermal specifications ................................................................ 8 timing diagrams.......................................................................... 9 absolute maximum ratings.......................................................... 10 esd caution................................................................................ 10 pin configuration and function descriptions........................... 11 analog front end ........................................................................... 13 analog input muxing ................................................................ 13 global control registers ............................................................... 16 power-save modes...................................................................... 16 reset control .............................................................................. 16 global pin control ..................................................................... 17 global status registers................................................................... 19 identification............................................................................... 19 status 1 ......................................................................................... 19 status 2 ......................................................................................... 20 status 3 ......................................................................................... 20 standard definition processor (sdp).......................................... 21 sd luma path ............................................................................. 21 sd chroma path......................................................................... 21 sdp sync processing.................................................................. 22 sdp vbi data recovery ............................................................ 22 sdp general setup ..................................................................... 22 sdp color controls ................................................................... 25 sdp clamp operation............................................................... 27 sdp luma filter ......................................................................... 28 sdp chroma filter..................................................................... 31 sdp gain operation .................................................................. 32 sdp chroma transient improvement (cti).......................... 36 sdp digital noise reduction (dnr) ...................................... 37 sdp comb filters....................................................................... 37 sdp av code insertion and controls..................................... 40 sdp synchronization output signals...................................... 42 sdp sync processing.................................................................. 51 sdp vbi data decode ............................................................... 52 pixel port configuration ............................................................... 63 mpu port description................................................................... 64 register accesses ........................................................................ 65 register programming............................................................... 65 i 2 c sequencer.............................................................................. 65 i 2 c control register map.......................................................... 66 i 2 c register map details ........................................................... 70 appendix a...................................................................................... 97 i 2 c programming examples ..................................................... 97 appendix b.................................................................................... 100 pcb layout recommendations ............................................. 100 appendix c ................................................................................... 102 typical circuit connection .................................................... 102 outline dimensions ..................................................................... 104 ordering guide ........................................................................ 104 adv7183a rev. a | page 3 of 104 revision history revision a 6/04changed from rev. 0 to rev. a. addition to applications list...........................................................1 changes to table 3 ............................................................................8 changes to table 5 ............................................................................8 change to drive strength selection (data) section ...................17 changes to figure 42 ....................................................................103 revision 0 5/04revision 0: initial version adv7183a rev. a | page 4 of 104 introduction the adv7183a is a high quality, single chip, multiformat video decoder that automatically detects and converts pal, ntsc, and secam standards in the form of composite, s-video, and component video into a digital itu-r bt.656 format. the advanced and highly flexible digital output interface enables performance video decoding and conversion in line- locked clock based systems. this makes the device ideally suited for a broad range of applications with diverse analog video characteristics, including tape based sources, broadcast sources, security/surveillance cameras, and professional systems. analog front end the adv7183a analog front end comprises three 10-bit adcs that digitize the analog video si gnal before applying it to the standard definition processor. the analog front end employs differential channels to each adc to ensure high performance in mixed-signal applications. the front end also includes a 12-channel input mux that enables multiple video signals to be applied to the adv7183a. current and voltage clamps are positioned in front of each adc to ensure that the video signal remains within the range of the converter. fine clamping of the video signals is performed downstream by digital fine clamping within the adv7183a. the adcs are configured to run in 4 oversampling mode. standard definition processor the adv7183a is capable of decoding a large selection of baseband video signals in composite, s-video, and component formats. the video standards supported by the sdp include pal b/d/i/g/h, pal60, pal m, pal n, pal nc, ntsc m/j, ntsc 4.43, and secam b/d/g/k/l. the adv7183a can automatically detect the video standard and process it accordingly. the adv7183a has a 5-line, superadaptive, 2d comb filter that gives superior chrominance and luminance separation when decoding a composite video signal. this highly adaptive filter automatically adjusts its processing mode according to video standard and signal quality with no user intervention required. video user controls such as brightness, contrast, saturation, and hue are also available within the adv7183a. the adv7183a implements a patented adaptive digital line- length tracking (adllt) algorithm to track varying video line lengths from sources such as a vcr. adllt enables the adv7183a to track and decode poor quality video sources such as vcrs, noisy sources from tuner outputs, vcd players, and camcorders. the adv7183a contains a chroma transient improvement (cti) processor that sharpens the edge rate of chroma transitions, resulting in sharper vertical transitions. the sdp can process a variety of vbi data services, such as closed captioning (cc), wide screen signaling (wss), copy generation management system (cgms), edtv, gemstar 1/2, and extended data service (xds). the adv7183a is fully macrovision certified; detection circuitry enables type i, ii, and iii protection levels to be identified and reported to the user. the decoder is also fully robust to all macrovision signal inputs. adv7183a rev. a | page 5 of 104 functional block diagram input mux data preprocessor decimation and downsampling filters standard definition processor luma filter luma digital fine clamp gain control luma resample luma 2d comb (4h max) chroma filter chroma demod f sc recovery chroma digital fine clamp gain control chroma resample chroma 2d comb (4h max) l-dnr output formatter sync extract line length predictor resample control av code insertion cti c-dnr a/d clamp 10 10 10 a/d clamp 10 a/d clamp 10 vbi data recovery global control synthesized llc control macrovision detection standard autodetection free run output control sync processing and clock generation serial interface control and vbi data sclk ain1?ain12 sda alsb adv7183a control and data sync and clk control 16 hs 8 8 pixel data vs field llc1 llc2 sfl cvbs s-video yprpb 12 04821-0-001 figure 1. adv7183a rev. a | page 6 of 104 specifications temperature range: t min to t max , C40c to +85c. the min/max specifications are guaranteed over this range. electrical characteristics at a vdd = 3.15 v to 3.45 v, d vdd = 1.65 v to 2.0 v, d vddio = 3.0 v to 3.6 v, p vdd = 1.65 v to 2.0 v (operating temperature range, unless otherwise noted). table 1. parameter symbol test conditions min typ max unit static performance resolution (each adc) n 10 bits integral nonlinearity inl bsl at 54 mhz C0.475/+0.6 3 lsb differential nonlinearity dnl bsl at 54 mhz C0.25/+0.5 C0.7/+2 lsb digital inputs input high voltage v ih 2 v input low voltage v il 0.8 v input current i in pins listed in note 1 C50 +50 a all other pins C10 +10 a input capacitance c in 10 pf digital outputs output high voltage v oh i source = 0.4 ma 2.4 v output low voltage v ol i sink = 3.2 ma 0.4 v high impedance leakage current i leak pins listed in note 2 50 a all other pins 10 a output capacitance c out 20 pf power requirements 3 digital core power supply d vdd 1.65 1.8 2 v digital i/o power supply d vddio 3.0 3.3 3.6 v pll power supply p vdd 1.65 1.8 2.0 v analog power supply a vdd 3.15 3.3 3.45 v digital core supply current i dvdd 72 ma digital i/o supply current i dvddio 2 ma pll supply current i pvdd 10.5 ma analog supply current i avdd cvbs input 4 85 ma yprpb input 5 180 ma power-down current i pwrdn 1.5 ma power-up time t pwrup 20 ms 1 pins 36 and 79. 2 pins 1, 2, 5, 6, 7, 8, 12, 17, 18, 19, 20, 21, 22, 23, 24, 32, 33, 34, 35, 73, 74, 75, 76, and 80. 3 guaranteed by characterization. 4 adc1 powered on. 5 all three adcs powered on. adv7183a rev. a | page 7 of 104 video specifications guaranteed by characterization. at a vdd = 3.15 v to 3.45 v, d vdd = 1.65 v to 2.0 v, d vddio = 3.0 v to 3.6 v, p vdd = 1.65 v to 2.0 v (operating temperature range, unless otherwise noted). table 2. parameter symbol test conditions min typ max unit nonlinear specifications differential phase dp cvbs i/p, modulate 5-step 0.5 0.7 differential gain dg cvbs i/p, modulate 5-step 0.5 0.7 % luma nonlinearity lnl cvbs i/p, 5-step 0.5 0.7 % noise specifications snr unweighted luma ramp 54 56 db luma flat field 58 60 db analog front end crosstalk 60 db lock time specifications horizontal lock range C5 +5 % vertical lock range 40 70 hz fsc subcarrier lock range 1.3 hz color lock in time 60 lines sync depth range 20 200 % color burst range 5 200 % vertical lock time 2 fields autodetection switch speed 100 lines chroma specifications hue accuracy hue 1 color saturation accuracy cl_ac 1 % color agc range 5 400 % chroma amplitude error 0.5 % chroma phase error 0.4 chroma luma intermodulation 0.2 % luma specifications luma brightness accuracy cvbs, 1 v i/p 1 % luma contrast accuracy cvbs, 1 v i/p 1 % adv7183a rev. a | page 8 of 104 timing specifications guaranteed by characterization. at a vdd = 3.15 v to 3.45 v, d vdd = 1.65 v to 2.0 v, d vddio = 3.0 v to 3.6 v, p vdd = 1.65 v to 2.0 v (operating temperature range, unless otherwise noted). table 3. parameter symbol test conditions min typ max unit system clock and crystal nominal frequency 27.00 mhz frequency stability 50 ppm i 2 c port sclk frequency 400 khz sclk min pulse width high t 1 0.6 s sclk min pulse width low t 2 1.3 s hold time (start condition) t 3 0.6 s setup time (start condition) t 4 0.6 s sda setup time t 5 100 ns sclk and sda rise time t 6 300 ns sclk and sda fall time t 7 300 ns setup time for stop condition t 8 0.6 s reset feature reset pulse width 5 ms clock outputs llc1 mark space ratio t 9 :t 10 45:55 55:45 % duty cycle llc1 rising to llc2 rising t 11 0.5 ns llc1 rising to llc2 falling t 12 0.5 ns data and control outputs data output transitional time t 13 t access = t 10 C t 13 6 ns data output transitional time t 14 t hold = t 9 + t 14 ?0.6 ns propagation delay to hi-z t 15 6 ns max output enable access time t 16 7 ns min output enable access time t 17 4 ns analog specifications guaranteed by characterization. at a vdd = 3.15 v to 3.45 v, d vdd = 1.65 v to 2.0 v, d vddio = 3.0 v to 3.6 v, p vdd = 1.65 v to 2.0 v (operating temperature range, unless otherwise noted). table 4. parameter symbol test conditions min typ max unit clamp circuitry external clamp capacitor 0.1 f input impedance clamps switched off 10 m? large clamp source current 0.75 ma large clamp sink current 0.75 ma fine clamp source current 60 a fine clamp sink current 60 a thermal specifications table 5. parameter symbol test conditions min typ max unit thermal characteristics junction-to-case thermal resistance jc 4-layer pcb with solid ground plane 7.6 c/w junction-to-ambient thermal resistance (still air) ja 4-layer pcb with solid ground plane 38.1 c/w adv7183a rev. a | page 9 of 104 timing diagrams 04819-0-003 sda sclk t 3 t 5 t 3 t 4 t 8 t 6 t 7 t 2 t 1 figure 2. i 2 c timing output llc1 output llc2 04821-0-004 outputs p0?p15, vs, hs, field, sfl/sync_out t 9 t 10 t 11 t 12 t 13 t 14 figure 3. pixel port and control output timing 04821-0-005 oe p0?p15, hs, vs, field, sfl/sync_out t 15 t 16 t 17 figure 4. oe timing adv7183a rev. a | page 10 of 104 absolute maximum ratings table 6. parameter rating a vdd to gnd 4 v a vdd to agnd 4 v d vdd to dgnd 2.2 v p vdd to agnd 2.2 v d vddio to dgnd 4 v d vddio to avdd C0.3 v to +0.3 v p vdd to d vdd C0.3 v to +0.3 v d vddio C p vdd C0.3v to +2 v d vddio C d vdd C0.3v to +2 v a vdd C p vdd C0.3v to +2 v a vdd C d vdd C0.3v to +2 v digital inputs voltage to dgnd C0.3v to d vddio + 0.3 v digital output voltage to dgnd C0.3v to d vddio + 0.3 v analog inputs to agnd agnd C 0.3 v to a vdd + 0.3 v maximum junction temperature (t jmax ) 150c storage temperature range C65c to +150c infrared reflow soldering (20 s) 260c stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. esd caution esd (electrostatic discharge) sensitive device. electros tatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge wi thout detection. although this product features proprietary esd protection circuitry, permanent dama ge may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality. adv7183a rev. a | page 11 of 104 pin configuration and fu nction descriptions field 80 oe 79 nc 78 nc 77 p16 76 p17 75 p18 74 p19 73 dvdd 72 dgnd 71 nc 70 nc 69 sclk 68 sda 67 alsb 66 nc 65 reset 64 nc 63 ain6 62 ain12 61 vs 1 hs 2 dgnd 3 dvddio 4 p11 5 p10 6 p9 7 p8 8 dgnd 9 dvdd 10 nc 11 sfl 12 nc 13 dgnd 14 dvddio 15 nc 16 nc 17 nc 18 p7 19 p6 20 ain5 60 ain11 59 ain4 58 ain10 57 agnd 56 cap c2 55 cap c1 54 agnd 53 cml 52 refout 51 avdd 50 cap y2 49 cap y1 48 agnd 47 ain3 46 ain9 45 ain2 44 ain8 43 ain1 42 ain7 41 p5 21 p4 22 p3 23 p2 24 nc 25 llc2 26 llc1 27 xtal1 28 xtal 29 dvdd 30 dgnd 31 p1 32 p0 33 nc 34 nc 35 pwrdn 36 elpf 37 pvdd 38 agnd 39 agnd 40 adv7183a top view (not to scale) nc = no connect 04821-0-002 figure 5. 80-lead lqfp pin configuration table 7. pin function descriptions pin no. mnemonic type function 3, 9, 14, 31, 71 dgnd g digital ground. 39, 40, 47, 53, 56 agnd g analog ground. 4, 15 dvddio p digital i/o supply voltage (3.3 v). 10, 30, 72 dvdd p digital core supply voltage (1.8 v). 50 avdd p analog supply voltage (3.3 v). 38 pvdd p pll supply voltage (1.8 v). 41C46, 57C62 ain1Cain12 i analog video input channels. 11, 13, 16C18, 25, 34, 35, 63, 65, 69, 70, 77, 78 nc no connect pins. 5C8, 19C24, 32, 33, 73C76 p0Cp15 o video pixel output port. 2 hs o hs is a horizontal synchronization output signal. 1 vs o vs is a vertical synchronization output signal. 80 field o field is a field synchronization output signal. 67 sda i/o i 2 c port serial data input/output pin. 68 sclk i i 2 c port serial clock input (max clock rate of 400 khz). 66 alsb i this pin selects the i 2 c address for the adv7183a. alsb set to logic 0 sets the address for a write as 0x40; for alsb set to logic high, the address selected is 0x42. 64 reset i system reset input, active low. a minimum low reset pulse width of 5 ms is required to reset the adv7183a circuitry. 27 llc1 o this is a line-locked output clock for the pixel data output by the adv7183a. nominally 27 mhz, but varies up or down a ccording to video line length. 26 llc2 o this is a divide-by-2 version of the llc1 o utput clock for the pixe l data output by the adv7183a. nominally 13.5 mhz, but varies up or down according to video line length. adv7183a rev. a | page 12 of 104 pin no. mnemonic type function 29 xtal i this is the input pin for the 27 mhz crystal, or can be overdriven by an external 3.3 v, 27 mhz clock oscillator source. in crystal mode, the crystal must be a fundamental crystal. 28 xtal1 o this pin should be connected to the 27 mhz crys tal or left as a no connect if an external 3.3 v, 27 mhz clock oscillator source is used to clock the adv7183a. in crystal mode, the crystal must be a fundamental crystal. 36 pwrdn i a logic low on this pin places the adv7183a in a power-down mode. refer to the i2c control register map for more options on power-down modes for the adv7183a. 79 oe i when set to a logic low, oe enables the pixel output bus, p15Cp0 of the adv7183a. a logic high on the oe pin places pins p15Cp0, hs, vs, sfl/sy nc_out into a high impedance state. 37 elpf i the recommended external loop filter must be connected to this elpf pin, as shown in figure 42. 12 sfl o subcarrier frequency lock. this pin contains a se rial output stream that can be used to lock the subcarrier frequency when this decoder is connected to any analog devices, inc. digital video encoder. 51 refout o internal voltage reference output. refer to figure 42 for a recommended capacitor network for this pin. 52 cml o the cml pin is a common-mode level for the internal adcs. refer to figure 42 for a recommended capacitor network for this pin. 48, 49 capy1, capy2 i adcs capacitor network. refer to figure 42 for a recommended capacitor network for this pin. 54, 55 capc1, capc2 i adcs capacitor network. refer to figure 42 for a recommended capacitor network for this pin. adv7183a rev. a | page 13 of 104 analog front end analog input muxing 04819-0-006 ain1 ain12 ain7 ain6 ain2 ain11 ain8 ain5 ain3 ain10 ain9 ain4 ain4 ain9 ain10 ain3 ain5 ain8 ain11 ain2 ain6 ain7 ain12 ain1 ain3 ain9 ain4 ain10 ain5 ain11 ain6 ain12 ain2 ain8 ain5 ain11 ain6 ain12 1 0 1 0 1 0 adc_sw_man_en insel[3:0] adc0_sw[3:0] adc1_sw[3:0] adc1_sw[3:0] internal mapping functions adc2 adc1 adc0 figure 6. internal pin connections the adv7183a has an integrated analog muxing section that allows more than one source of video signal to be connected to the decoder. figure 6 outlines the overall structure of the input muxing provided in the adv7183a. as can be seen in figure 6, there are two different ways in which the analog input muxes can be controlled: 1. control via functional registers (insel). using insel[3:0] simplifies the setup of the muxes, and minimizes crosstalk between channels by pre-assigning the input channels. this is referred to as adi recommended input muxing. 2. control via an i 2 c manual override (adc_sw_man_en, adc0_sw, adc1_sw, adc2_sw). this is provided for applications with special requirements (e.g., number/combinations of signals) that would not be served by the pre-assigned input connections. this is referred to as manual input muxing. please refer to figure 7 for an overview of the two methods of controlling the adv7183as input muxing. adi recommended input muxing a maximum of 12 cvbs inputs can be connected and decoded by the adv7183a. as can be seen from figure 5, this means the sources will have to be connected to adjacent pins on the ic. this calls for a careful design of the pcb layout (e.g., ground shielding between all signals routed through tracks that are physically close together). insel[3:0] input selection, address 0x00, [3:0] the insel bits allow the user to select an input channel as well as the input format. depending on the pcb connections, only a subset of the insel modes are valid. please note that the insel[3:0] does not only switch the analog input muxing, it also configures the standard definition processor core to process cvbs (comp), s-video (y/c), or component (ypbpr) format. adv7183a rev. a | page 14 of 104 04821-0-007 set insel[3:0] to configure adv7183a to decode video format: cvbs: 0000 yc: 0110 yprpb: 1001 use manual input muxing (adc_sw_man_en, adc0_sw, adc1_sw, adc2_sw) set insel[3:0] for required muxing configuration connecting analog signals to adv7183a adi recommended input muxing; see table 9 yes no figure 7. input muxing overview table 8. input channel switching using insel[3:0] description insel[3:0] analog input pins video format (sdp) 0000* cvbs1 = ain1 composite 0001 cvbs2 = ain2 composite 0010 cvbs3 = ain3 composite 0011 cvbs4 = ain4 composite 0100 cvbs5 = ain5 composite 0101 cvbs6 = ain6 composite 0110 y1 = ain1 yc c1 = ain4 yc 0111 y2 = ain2 yc c2 = ain5 yc 1000 y3 = ain3 yc c3 = ain6 yc 1001 y1 = ain1 yprpb pr1 = ain4 yprpb pb1 = ain5 yprpb 1010 y2 = ain2 yprpb pr2 = ain3 yprpb pb2 = ain6 yprpb 1011 cvbs7 = ain7 composite 1100 cvbs8 = ain8 composite 1101 cvbs9 = ain9 composite 1110 cvbs10 = ain10 composite 1111 cvbs11 = ain11 composite *default value. table 9. input channel assignments input channel pin no. adi recommended input muxing control insel[3:0] ain7 41 cvbs7 ain1 42 cvbs1 yc1-y yprpb1-y ain8 43 cvbs8 ain2 44 cvbs2 yc2-y yprpb2-y ain9 45 cvbs9 ain3 46 cvbs3 yc3-y yprpb2-pb ain10 57 cvbs10 ain4 58 cvbs4 yc1-c yprpb1-pb ain11 59 cvbs11 ain5 60 cvbs5 yc2-c yprpb1-pr ain12 61 not available ain6 62 cvbs6 yc3-c yprpb2-pr adi recommended input muxing is designed to minimize crosstalk between signal channels and to obtain the highest level of signal integrity. table 9 summarizes how pcb layout should connect analog vide o signals to the adv7183a. notes ? it is strongly recommended to connect any unused analog input pins to agnd to act as a shield. ? inputs ain7 to ain11 should be connected to agnd in cases where only six input channels are used. this will improve the quality of the sampling due to better isolation between the channels. ? ain12 is not under the control of insel[3:0]. it can only be routed to adc0/adc1/adc2 by manual muxing. see table 10 for further details. adv7183a rev. a | page 15 of 104 manual input muxing by accessing a set of manual override muxing registers, the analog input muxes of the adv7183a can be controlled directly. this is referred to as manual input muxing. notes ? manual input muxing overrides other input muxing control bits (e.g., insel) ? the manual muxing is activated by setting the adc_sw_man_en bit. it only affects the analog switches in front of the adcs. this means if the settings of insel and the manual input muxing registers (adc0/1/2_sw) contradict each other, the adc0/adc1/adc2_sw settings apply and insel is ignored. ? manual input muxing only controls the analog input muxes. insel[3:0] still has to be set so the follow-on blocks process the video data in the correct format. this means insel must still be used to tell the adv7183a whether the input signal is of component, yc, or cvbs format. there are restrictions in the channel routing imposed by the analog signal routing inside the ic; every input pin cannot be routed to each adc. please refer to figure 6 for an overview on the routing capabilities inside the chip. the three mux sections can be controlled by the reserved control signal buses adc0/adc1/adc2_sw[3:0]. table 10 explains the control words used. setadc_sw_man_en, manual input muxing enable, address 0xc4, [7] adc0_sw[3:0], adc0 mux configuration, address 0xc3, [3:0] adc1_sw[3:0], adc1 mux configuration, address 0xc3, [7:4] adc2_sw[3:0], adc2 mux configuration, address 0xc4, [3:0] table 10. manual mux settings for all adcs setadc_sw_man_en = 1 adc0_sw[3:0] adc0 connected to: adc1_sw[3:0] adc1 connected to: adc2_sw[3:0] adc2 connected to: 0000 no connection 0000 no connection 0000 no connection 0001 ain1 0001 no connection 0001 no connection 0010 ain2 0010 no connection 0010 ain2 0011 ain3 0011 ain3 0011 no connection 0100 ain4 0100 ain4 0100 no connection 0101 ain5 0101 ain5 0101 ain5 0110 ain6 0110 ain6 0110 ain6 0111 no connection 0111 no connection 0111 no connection 1000 no connection 1000 no connection 1000 no connection 1001 ain7 1001 no connection 1001 no connection 1010 ain8 1010 no connection 1010 ain8 1011 ain9 1011 ain9 1011 no connection 1100 ain10 1100 ain10 1100 no connection 1101 ain11 1101 ain11 1101 ain11 1110 ain12 1110 ain12 1110 ain12 1111 no connection 1111 no connection 1111 no connection adv7183a rev. a | page 16 of 104 global control registers register control bits listed in this section affect the whole chip. power-save modes power-down pdbp, address 0x0f, [2] there are two ways to shut down the digital core of the adv7183a: a pin ( pwrdn ) and a bit (pwrdn see below). the pdbp controls which of the two has the higher priority. the default is to give the pin ( pwrdn ) priority. this allows the user to have the adv7183a powered down by default. table 11. pdbp function pdbp description 0* digital core power controlled by the pwrdn pin (bit is disregarded). 1 bit has priority (pin is disregarded). *default value. pwrdn, address 0x0f, [5] setting the pwrdn bit switches the adv7183a into a chip- wide power-down mode. the power-down stops the clock from entering the digital section of the chip, thereby freezing its operation. no i 2 c bits are lost during power-down. the pwrdn bit also affects the analog blocks and switches them into low current modes. the i 2 c interface itself is unaffected, and remains operational in power-down mode. the adv7183a leaves the power-down state if the pwrdn bit is set to 0 (via i 2 c), or if the overall part is reset using pin reset . note that pdbp must be set to 1 for the pwrdn bit to power down the adv7183a. table 12. pwrdn function pwrdn description 0* chip operational. 1 adv7183a in chip-wide power-down. *default value. adc power-down control the adv7183a contains three 10-bit adcs (adc 0, adc 1, and adc 2). if required, it is possible to power down each adc individually. when should the adcs be powered down? ? cvbs mode. adc 1 and adc 2 should be powered down to save on power consumption. ? s-video mode. adc 2 should be powered down to save on power consumption. pwrdn_adc_0, address 0x3a, [3] table 13. pwrdn_adc_0 function pwrdn_adc_0 description 0* adc normal operation. 1 power down adc 0. *default value. pwrdn_adc_1, address 0x3a, [2] table 14. pwrdn_adc_1 function pwrdn_adc_1 description 0* adc normal operation. 1 power down adc 1. *default value. pwrdn_adc_2, address 0x3a, [1] table 15. pwrdn_adc_2 function pwrdn_adc_2 description 0* adc normal operation. 1 power down adc 2. *default value. reset control chip reset (res), address 0x0f, [7] setting this bit, equivalent to controlling the reset pin on the adv7183a, issues a full chip reset. all i 2 c registers get reset to their default values 6 . after the reset sequence, the part immedi- ately starts to acquire the incoming video signal. notes ? after setting the res bit (or initiating a reset via the pin), the part returns to the default mode of operation with respect to its primary mode of operation. all i 2 c bits are loaded with their default values, making this bit self- clearing. ? executing a software reset takes approximately 2 ms. however, it is recommended to wait 5 ms before any further i 2 c writes are performed. ? the i 2 c master controller receives a no acknowledge condition on the ninth clock cycle when chip reset is implemented. see the mpu port description section. table 16. res function res description 0* normal operation. 1 start reset sequence. *default value. 6 some register bits do not have a reset value specified. they keep their last written value. those bits are marked as having a reset value of x in the register table. adv7183a rev. a | page 17 of 104 global pin control three-state output drivers tod, address 0x03, [6] this bit allows the user to three-state the output drivers of the adv7183a. upon setting the tod bit, the p15Cp0, hs, vs, field, and sfl pins are three-stated. note that the timing pins (hs/vs/field) can be forced active via the tim_oe bit. for more information on three-state control, refer to the following sections: ? three-state llc driver ? timing signals output enable individual drive strength controls are provided via the dr_str_xx bits. note that the adv7183a supports three-stating via a dedicated pin. when set high, the oe pin three-states the output drivers for p15Cp0, hs, vs, field, and sfl. the output drivers are three-stated if the tod bit or the oe pin is set high. table 17. tod function tod description 0* output drivers enabled. 1 output drivers three-stated. *default value. three-state llc driver tri_llc, address 0x0e, [6] this bit allows the output drivers for the llc1 and llc2 pins of the adv7183a to be three-stated. for more information on three-state control, refer to the following sections: ? three-state output drivers ? timing signals output enable individual drive strength controls are provided via the dr_str_xx bits. table 18. tri_llc function tri_llc description 0* llc pin drivers working according to the dr_str_c[1:0] setting (pin enabled). 1 llc pin drivers three-stated. *default value. timing signals output enable tim_oe, address 0x04, [3] the tim_oe bit should be regarded as an addition to the tod bit. setting it high forces the output drivers for hs, vs, and field into the active (i.e., driving) state even if the tod bit is set. if set to low, the hs, vs, and field pins are three-stated dependent on the tod bit. this functionality is useful if the decoder is to be used as a timing generator only. this may be the case if only the timing signals are to be extracted from an incoming signal, or if the part is in free-run mode where a separate chip can output, for instance, a company logo. for more information on three-state control, refer to the following sections: ? three-state output drivers ? three-state llc driver individual drive strength controls are provided via the dr_str_xx bits. table 19. tim_oe function tim_oe description 0* hs, vs, field three-stated according to the tod bit. 1 hs, vs, field are forced active all the time. the dr_str_s[1:0] setting determines drive strength. *default value. drive strength selection (data) dr_str[1:0] address 0x04, [5:4] for emc and crosstalk reasons, it may be desirable to strengthen or weaken the drive strength of the output drivers. the dr_str[1:0] bits affect the p[15:0] output drivers. for more information on three-state control, refer to the following sections: ? drive strength selection (clock) ? drive strength selection (sync) table 20. dr_str function dr_str[1:0] description 00 low drive strength (1). 01* medium low drive strength (2). 10 medium high drive strength (3). 11 high drive strength (4). *default value. adv7183a rev. a | page 18 of 104 drive strength selection (clock) dr_str_c[1:0] address 0x0e, [3:2] the dr_str_c[1:0] bits can be used to select the strength of the clock signal output driver (llc pin). for more information, refer to the following sections: ? drive strength selection (sync) ? drive strength selection (data) table 21. dr_str function dr_str[1:0] description 00 low drive strength (1). 01* medium low drive strength (2). 10 medium high drive strength (3). 11 high drive strength (4). *default value. drive strength selection (sync) dr_str_s[1:0] address 0x0e, [1:0] the dr_str_s[1:0] bits allow the user to select the strength of the synchronization signals with which hs, vs, and f are driven. for more information, refer to the following sections: ? drive strength selection (clock) ? drive strength selection (data) table 22. dr_str function dr_str[1:0] description 00 low drive strength (1). 01* medium low drive strength (2). 10 medium high drive strength (3). 11 high drive strength (4). *default value. enable subcarrier frequency lock pin en_sfl_pin address 0x04, [1] the subcarrier frequency lock pin (sdp, output only) has a double function: it can also output raw sync-related information (sogout). the en_sfl_pin bit enables the output of subcarrier lock information (also known as genlock) from the sdp core to an encoder in a decoder-encoder back-to-back arrangement. table 23. en_sfl_pin en_sfl_pin description 0* subcarrier frequency lo ck output is disabled. 1 subcarrier frequency lock information is presented on the sfl pin. *default value. polarity llc pin pclk address 0x37, [0] the polarity of the clock that leaves the adv7183a via the llc1 and llc2 pins can be inverted using the pclk bit. note that this inversion affects the clock for sdp. changing the polarity of the llc clock output may be necessary to meet the setup-and-hold time expectations of follow-on chips. note that this bit also inverts the polarity of the llc2 clock. table 24. pclk function pclk description 0 invert llc output polarity. 1* llc output polarity norm al (as per the timing diagrams) *default value. adv7183a rev. a | page 19 of 104 global status registers there are four registers that provide summary information about the video decoder. the ident register allows the user to identify the revision code of the adv7183a. the other three registers contain status bits from the sdp. identification ident[7:0] address 0x11, [7:0] provides identification of the revision of the adv7183a. please review the list of ident code readback values for the various versions shown in table 25. table 25. ident function ident[7:0] description 0x0d adv7183a-es1 0x0e adv7183a-es2 0x0f or 0x10 adv7183a-ft 0x11 adv7183a (version 2) status 1 status_1[7:0] address 0x10, [7:0] this read-only register provides information about the internal status of the adv7183a. please see cil[2:0] count into lock (sdp), address 0x51, [2:0] and col[2:0] count out of lock (sdp), address 0x51, [5:3] for information on the timing. depending on the setting of the fscle bit, the status[0] and status[1] are based solely on horizontal timing info or on the horizontal timing and lock status of the color subcarrier. see the fscle fsc lock enable (sdp), address 0x51, [7] section. sdp autodetection result ad_result[2:0] address 0x10, [6:4] the ad_result[2:0] bits report back on the findings from the sdp autodetection block. consult the sdp general setup sec- tion for more information on enabling the autodetection block, and the autodetection of sdp modes section to find out how to configure it. table 26. ad_result function ad_result[2:0] description 000 ntsm-mj 001 ntsc-443 010 pal-m 011 pal-60 100 pal-bghid 101 secam 110 pal-combination n 111 secam 525 table 27. status 1 function status 1 [7:0] bit name block description 0 in_lock sdp in lock (right now). 1 lost_lock sdp lost lock (since last read of this register). 2 fsc_lock sdp fsc locked (right now). 3 follow_pw sdp agc follows peak white algorithm. 4 ad_result.0 sdp result of sdp autodetection. 5 ad_result.1 sdp result of sdp autodetection. 6 ad_result.2 sdp result of sdp autodetection. 7 col_kill sdp color kill active. adv7183a rev. a | page 20 of 104 status 2 status_2[7:0], address 0x12, [7:0] table 28. status 2 function status 2 [7:0] bit name block description 0 mvcs det sdp detected macrovision color striping. 1 mvcs t3 sdp macrovision color striping protection. conforms to type 3 (if high), and type 2 (if low). 2 mv_ps det sdp detected macrovision pseudo sync pulses. 3 mv_agc det sdp detected macrovision agc pulses. 4 ll_nstd sdp line length is nonstandard. 5 fsc_nstd sdp fsc frequency is nonstandard. 6 reserved 7 reserved status 3 status_3[7:0], address 0x13, [7:0] table 29. status 3 function status 3 [7:0] bit name block description 0 inst_hlock sdp horizontal lo ck indicator (i nstantaneous). 1 reserved for future use. 2 reserved for future use. 3 reserved for future use. 4 free_run_act sdp sdp outputs a blue screen (see thedef_val_auto _en default value auto matic enable (sdp), address 0x0c, [1] section). 5 std_fld_len sdp field length is correct for currently selected video standard. 6 interlaced sdp interlaced video detected (field sequence found). 7 pal_sw_lock sdp reliable sequence of swinging bursts detected. adv7183a rev. a | page 21 of 104 standard definition processor (sdp) 04819-0-008 digitized cvbs digitized y (yc) video data output standard definition processor digitized cvbs digitized c (yc) macrovision detection vbi data recovery standard autodetection luma filter luma digital fine clamp gain control luma resample luma 2d comb sllc control chroma filter chroma demod f sc recovery chroma digital fine clamp gain control chroma resample chroma 2d comb sync extract line length predictor resample control av code insertion measurement block (= >1 2 c) video data processing block figure 8. block diagram of the standard definition processor a block diagram of the adv7183as standard definition processor (sdp) is shown in figure 8. the sdp block can handle standard definition video in cvbs, yc, and yprpb formats. it can be divided into a luminance and chrominance path. if the input video is of a composite type (cvbs), both processing paths are fed with the cvbs input. sd luma path the input signal is processed by the following blocks: ? digital fine clamp. this block uses a high precision algorithm to clamp the video signal. ? luma filter block. this block contains a luma decimation filter (yaa) with a fixed response, and some shaping filters (ysh) that have selectable responses. ? luma gain control. the automatic gain control (agc) can operate on a variety of different modes, including gain based on the depth of the horizontal sync pulse, peak white mode, and fixed manual gain. ? luma resample. to correct for line-length errors as well as dynamic line-length changes, the data is digitally resampled. ? luma 2d comb. the two-dimensional comb filter provides yc separation. ? av code insertion. at this point, the decoded luma (y) signal is merged with the retrieved chroma values. av codes (as per itu-r. bt-656) can be inserted. sd chroma path the input signal is processed by the following blocks: ? digital fine clamp. this block uses a high precision algorithm to clamp the video signal. ? chroma demodulation. this block employs a color subcarrier (fsc) recovery unit to regenerate the color subcarrier for any modulated chroma scheme. the demodulation block then performs an am demodulation for pal and ntsc ,and an fm demodulation for secam. ? chroma filter block. this block contains a chroma decimation filter (caa) with a fixed response, and some shaping filters (csh) that have selectable responses. ? gain control. automatic gain control (agc) can operate on several different modes, including gain based on the color subcarriers amplitude, gain based on the depth of the horizontal sync pulse on the luma channel, or fixed manual gain. ? chroma resample. the chroma data is digitally resampled to keep it perfectly aligned with the luma data. the resampling is done to correct for static and dynamic line- length errors of the incoming video signal. ? chroma 2d comb. the two-dimensional, 5-line, superadaptive comb filter provides high quality yc separation in case the input signal is cvbs. ? av code insertion. at this point, the demodulated chroma (cr and cb) signal is merged with the retrieved luma values. av codes (as per itu-r. bt-656) can be inserted. adv7183a rev. a | page 22 of 104 sdp sync processing the sdp extracts syncs embedded in the video data stream. there is currently no support for external hs/vs inputs. the sync extraction has been optimized to support imperfect video sources (e.g., videocassette recorders with head switches). the actual algorithm used employs a coarse detection based on a threshold crossing followed by a more detailed detection using an adaptive interpolation algorithm. the raw sync information is sent to a line-length measurement and prediction block. the output of this is then used to drive the digital resampling section to ensure that the sdp outputs 720 active pixels per line. the sync processing on the adv7183a also includes two specialized postprocessing blocks that filter and condition the raw sync information retrieved from the digitized analog video. ? vsync processor. this block provides extra filtering of the detected vsyncs to give improved vertical lock. ? hsync processor. the hsync processor is designed to filter incoming hsyncs that have been corrupted by noise, providing much improved performance for video signals with stable time base but poor snr. sdp vbi data recovery the sdp can retrieve the following information from the input video: ? wide-screen signaling (wss) ? copy generation management system (cgms) ? closed caption (cc) ? macrovision protection presence ? edtv data ? gemstar compatible data slicing the sdp is also capable of automatically detecting the incoming video standard with respect to ? color subcarrier frequency ? field rate ? line rate and can configure itself to support pal-bghid, pal-m/n, pal-combination n, ntsc-m, ntsc-j, secam 50 hz/60 hz, ntsc4.43, and pal60. sdp general setup video standard selection (sdp) the vid_sel[3:0] register allows the user to force the digital core into a specific video standard. under normal circumstances, this should not be necessary. the vid_sel[3:0] bits default to an autodetection mode that supports pal, ntsc, secam, and variants thereof. refer to the autodetection of sdp modes section for more information on the autodetection system. autodetection of sdp modes in order to guide the autodetect system of the sdp block, individual enable bits are provided for each of the supported video standards. setting the relevant bit to 0 inhibits the standard from being detected automatically. instead, the system picks the closest of the remaining enabled standards. the results of sdp autodetection can be read back via the status registers. see the global status registers section for more information. table 30. vid_sel function vid_sel[3:0] address 0x00 [7:4] description 0000* autodetect (pal bghid) adv7183a rev. a | page 23 of 104 ad_secam_en enable autodetection of secam (sdp), address 0x07, [6] table 32. ad_secam_en function ad_secam_en description 0 disable the autodetection of secam. 1* enable the detection. *default value. ad_n443_en enable autodetection of ntsc 443 (sdp), address 0x07, [5] table 33. ad_n443_en function ad_n443_en description 0 disable the autodetection of ntsc style systems with a 4.43 mhz color subcarrier. 1* enable the detection. *default value. ad_p60_en enable autodetection of pal60 (sdp), address 0x07, [4] table 34. ad_p60_en function ad_p60_en description 0 disable the autodetection of pal systems with a 60 hz field rate. 1* enable the detection. *default value. ad_paln_en enable autodetection of pal n (sdp), address 0x07, [3] table 35. ad_paln_en function ad_paln_en description 0 disable the detection of the pal n standard. 1* enable the detection. *default value. ad_palm_en enable autodetection of pal m (sdp), address 0x07, [2] table 36. ad_palm_en function ad_palm_en description 0 disable the autodetection of pal m. 1* enable the detection. *default value. ad_ntsc_en enable autodetection of ntsc (sdp), address 0x07, [1] table 37. ad_ntsc_en function ad_ntsc_en description 0 disable the detection of standard ntsc. 1* enable the detection. *default value. ad_pal_en enable autodetection of pal (sdp), address 0x07, [0] table 38. ad_pal_en function ad_pal_en description 0 disable the detection of standard pal. 1* enable the detection. *default value. sfl_inv subcarrier freque ncy lock inversion (sdp) this bit controls the behavior of the pal switch bit in the sfl (genlock telegram) data stream. it was implemented to solve some compatibility issues with video encoders. it solves two problems: 1. the pal switch bit is only meaningful in pal. some encoders (including analog devices encoders) also look at the state of this bit in ntsc. 2. there was a design change in analog devices encoders from adv717x to adv719x. the older versions used the sfl (genlock telegram) bit directly, while the later ones invert the bit prior to using it. the reason for this is that the inversion compensated for the 1-line delay of an sfl (genlock telegram) transmission. as a result: 1. adv717x encoders need the pal switch bit in the sfl (genlock telegram) to be 1 for ntsc to work. 2. adv7190/adv7191/adv7194 encoders need the pal switch bit in the sfl to be 0 to work in ntsc. if the state of the pal switch bit is wrong, a 180phase shift occurs. in a decoder/encoder back-to-back system in which sfl is used, this bit must be set up properly for the specific encoder used. table 39. sfl_inv function sfl_inv address 0x41, [6] description 0 sfl compatible with adv7190/adv7191/ adv7194 encoders. 1* sfl compatible with adv717x/adv7173x encoders. *default value. adv7183a rev. a | page 24 of 104 lock related controls (sdp) lock information is presented to the user through bits [1:0] of the status 1 register. see the status_1[7:0] address 0x10, [7:0] section. figure 9 outlines the signal flow and the controls available to influence the way the lock status information is generated. srls select raw lock signal (sdp), address 0x51, [6] using the srls bit, the user can choose between two sources for determining the lock status (per bits [1:0] in the status 1 register). ? the time_win signal is based on a line-to-line evaluation of the horizontal synchronization pulse of the incoming video. it reacts quite quickly. ? the free_run signal evaluates the properties of the incoming video over several fields, and takes vertical synchronization information into account. table 40. srls function srls description 0* select the free_run signal. 1 select the time_win signal. *default value. fscle fsc lock enable (sdp), address 0x51, [7] the fscle bit allows the user to choose whether the status of the color subcarrier loop is taken into account when the overall lock status is determined and presented via bits [1:0] in status register 1. this bit must be set to 0 when operating the sdp in yprpb component mode in order to generate a reliable hlock status bit. table 41. fscle function fscle description 0 overall lock status only dependent on horizontal sync lock. 1* overall lock status dependent on horizontal sync lock and fsc lock. *default value. cil[2:0] count into lock (sdp), address 0x51, [2:0] cil[2:0] determines the number of consecutive lines for which the into lock condition must be true before the system switches into the locked state, and reports this via status 0 [1:0]. table 42. cil function cil[2:0] description (count value in lines of video) 000 1 001 2 010 5 011 10 100* 100 101 500 110 1000 111 100000 *default value. col[2:0] count out of lock (sdp), address 0x51, [5:3] col[2:0] determines the number of consecutive lines for which the out of lock condition must be true before the system switches into unlocked state, and reports this via status 0 [1:0]. table 43. col function col[2:0] description (count value in lines of video) 000 1 001 2 010 5 011 10 100* 100 101 500 110 1000 111 100000 *default value. 04819-0-009 1 0 time_win free_run status 1 [0] select the raw lock signa l srls filter the raw lock signal cil[2:0], col[2:0] take f sc lock into account fscle status 1 [1] f sc lock 1 0 counter into lock counter out of lock memory figure 9. sdp lock related signal path adv7183a rev. a | page 25 of 104 sdp color controls the following registers provide user control over the picture appearance, including control of the active data in the event of video being lost. they are independent of any other controls. for instance, brightness control is independent from picture clamping, although both controls affect the signals dc level. con[7:0] contrast adjust (sdp), address 0x08, [7:0] this is the user control for contrast adjustment for the sdp block only. table 44. con function con[7:0] description (adjust contrast of the picture) 0x80* gain on luma channel = 1. 0x00 gain on luma channel = 0. 0xff gain on luma channel = 2. *default value. sat[7:0] saturation adjust (sdp), address 0x09, [7:0] the user can adjust the saturation of the color output using this register. this registers affects the sdp core only. adi encourages users not to use the sat[7:0] register, which may be removed in future revisions of the adv7183a. instead, the sd_sat_cb and sd_sat_cr registers should be used. table 45. sat function sat[7:0] description (adjust saturation of the picture) 0x80* chroma gain = 0 db. 0x00 chroma gain = C42 db. 0xff chroma gain = 6 db. *default value. sd_sat_cb[7:0] sd saturation cb channel (sdp), address 0xe3, [7:0] this register allows the user to control the gain of the cb channel only. for this register to be active , sat[7:0] must be programmed with its default value of 0x80. if sat[7:0] is programmed with a different value, sd_sat_cb[7:0] and sd_sat_cr[7:0] are inactive. table 46. sd_sat_cb function sd_sat_cb[7:0] description (adjust saturation of the picture) 0x80* chroma gain = 0 db. 0x00 0xff *default value. sd_sat_cr[7:0] sd saturation cr channel (sdp), address 0xe4, [7:0] this register allows the user to control the gain of the cr channel only. this register affects the sdp core only. for this register to be active, sat[7:0] must be programmed with its default value of 0x80. if sat[7:0] is programmed with a different value, sd_sat_cb[7:0] and sd_sat_cr[7:0] are inactive. table 47. sd_sat_cr function sd_sat_cr[7:0] description (adjust saturation of the picture) 0x80* chroma gain = 0 db 0x00 0xff *default value. sd_off_cb[7:0] sd offset cb channel (sdp), address 0xe1, [7:0] this register allows the user to select an offset for the cb channel only. this register affects the sdp core only. there is a functional overlap with the hue [7:0] register. table 48.sd_off_cb function sd_off_cb[7:0] description (adjust hue of the picture by selecting an offset for data on the cb channel) 0x80* 0x7f 0xff *default value. sd_off_cr [7:0] sd offset cr channel (sdp), address 0xe2, [7:0] this register allows the user to select an offset for the cr channel only. this register affects the sdp core only. there is a functional overlap with the hue [7:0] register. table 49. sd_off_cr function sd_off_cr[7:0] description (adjust hue of the picture by selecting an offset for data on cr channel) 0x80* 0x7f 0xff *default value. adv7183a rev. a | page 26 of 104 bri[7:0] brightness adjust (sdp), address 0x0a, [7:0] this register controls the brightness of the video signal through the sdp core. table 50. bri function bri[7:0] description (adjust brightness of the picture) 0x00* offset of the luma channel = 0ire. 0x7f offset of the luma channel = 100ire. 0xff offset of the luma channel = C100ire. *default value. hue[7:0] hue adjust (sdp), address 0x0b, [7:0] this register contains the value for the color hue adjustment. hue[7:0] has a range of 90, with 0x00 equivalent to an adjustment of 0. the resolution of hue[7:0] is 1 bit = 0.7. the hue adjustment value is fed into the am color demodula- tion block. therefore, it only applies to video signals that contain chroma information in the form of an am modulated carrier (cvbs or y/c in pal or ntsc). it does not affect secam and does not work on component video inputs (yprpb). table 51. hue function hue[7:0] description (adjust hue of the picture) 0x00* phase of the chroma signal = 0. 0x7f phase of the chroma signal = C90. 0xff phase of the chroma signal = +90. *default value. def_y[5:0] default value y (sdp), address 0x0c, [7:2] in cases where the adv7183a loses lock on the incoming video signal or where there is no input signal, the def_y[5:0] register allows the user to specify a default luma value to be output. this value is used under the following conditions: ? if def_val_auto_en bit is set to high and the adv7183a lost lock to the input video signal. this is the intended mode of operation (automatic mode). ? the def_val_en bit is set, regardless of the lock status of the video decoder. ? this is a forced mode that may be useful during configuration. the def_y[5:0] values define the 6 msbs of the output video. the remaining lsbs are padded with 0s. for example, in 8-bit mode, the output is y[7:0] = {def_y[5:0], 0, 0}. table 52. def_y function def_y[5:0] description 0x36 (blue)* default value of y. *default value. def_c[7:0] default value c (sdp), address 0x0d, [7:0] the def_c[7:0] register complements the def_y[5:0] value. it defines the 4 msbs of cr and cb values to be output if ? the def_val_auto_en bit is set to high and the adv7183a cant lock to the input video (automatic mode). ? def_val_en bit is set to high (forced output). the data that is finally output from the adv7183a for the chroma side is cr[7:0] = {def_c[7:4], 0, 0, 0, 0}, cb[7:0] = {def_c[3:0], 0, 0, 0, 0}. table 53. def_c function def_c[7:0] description 0x7c (blue)* default va lues for cr and cb. *default value. def_val_en default value enable (sdp), address 0x0c, [0] this bit forces the use of the default values for y, cr, and cb. refer to the descriptions for def_y and def_c for additional information. the decoder also outputs a stable 27 mhz clock, hs, and vs in this mode. table 54. def_val_en function def_val_en description 0* don't force the use of default y, cr, and cb values. output colo rs dependent on def_val_auto_en. 1 always use default y, cr, and cb values. override picture data even if the video decoder is locked. *default value. def_val_auto_en default value automatic enable (sdp), address 0x0c, [1] this bit enables the automatic usage of the default values for y, cr, and cb in cases where the adv7183a cannot lock to the video signal. table 55. def_val_auto_en function def_val_auto_en description 0 don't use default y, cr, and cb values. if unlocked, output noise. 1* use default y, cr, and cb values when decoder loses lock. *default value. adv7183a rev. a | page 27 of 104 sdp clamp operation 04819-0-010 coarse current sources fine current sources data pre processor (dpp) adc sdp with digital fine clamp clamp control a nalo g video input figure 10. sdp clamping overview the input video is ac-coupled into the adv7183a. therefore, its dc value needs to be restored. this process is referred to as clamping the video. this section explains the general process of clamping on the adv7183a for the sdp, and shows the different ways in which a user can configure its behavior. the sdp block uses a combination of current sources and a digital processing block for clamping, as shown in figure 10. the analog processing channel shown is replicated three times inside the ic. while only one single channel (and only one adc) would be needed for a cvbs signal, two independent channels are needed for yc (s-vhs) type signals, and three independent channels are needed to allow component signals (yprpb) to be processed. the clamping can be divided into two sections: ? clamping before the adc (analog domain): current sources. ? clamping after the adc (digital domain): digital processing block. the adcs can digitize an input signal only if it resides within the adcs 1.6 v input voltage range. an input signal with a dc level that is too large or too small is clipped at the top or bottom of the adc range. the primary task of the analog clamping circuits is to ensure that the video signal stays within the valid adc input window so the analog-to-digital conversion can take place. it is not nec- essary to clamp the input signal with a very high accuracy in the analog domain as long as the video signal fits the adc range. after digitization, the digital fine clamp block corrects for any remaining variations in dc level. since the dc level of an input video signal refers directly to the brightness of the picture transmitted, it is important to perform a fine clamp with high accuracy; otherwise, brightness variations may occur. furthermore, dynamic changes in the dc level will almost certainly lead to visually objectionable artifacts, and must therefore be prohibited. the clamping scheme has to complete two tasks: it must be able to acquire a newly connected video signal with a completely unknown dc level, and it must maintain the dc level during normal operation. for a fast acquiring of an unknown video signal, the large current clamps may be activated 7 . control of the coarse and fine current clamp parameters is performed automatically by the decoder. standard definition video signals may have excessive noise on them. in particular, cvbs signals transmitted by terrestrial broadcast and demodulated using a tuner usually show very large levels of noise (>100 mv). a voltage clamp would be unsuitable for this type of video signal. instead, the adv7183a employs a set of four current sources that can cause coarse (>0.5 ma) and fine (<0.1 ma) currents to flow into and away from the high impedance node that carries the video signal (see figure 10). the following sections describe the i 2 c signals that can be used to influence the behavior of sdp clamping. previous revisions of the adv7183a had controls (facl/ficl, fast and fine clamp length) to allow configuration of the length for which the coarse (fast) and fine current sources are switched on. these controls were removed on the adv7183a-ft and replaced by an adaptive scheme. cclen current clamp enable (sdp), address 0x14, [4] the current clamp enable bit allows the user to switch off the current sources in the analog front end altogether. this may be useful if the incoming analog video signal is clamped externally. table 56. cclen function cclen description 0 current sources switched off. 1* current sources enabled. *default value. 7 it is assumed that the amplitude of the video signal at this point is of a nominal value. adv7183a rev. a | page 28 of 104 dct[1:0] digital clamp timing (sdp), address 0x15, [6:5] the clamp timing register determines the time constant of the digital fine clamp circuitry. it is important to realize that the digital fine clamp reacts very fast since it is supposed to immediately correct any residual dc level error for the active line. the time constant of the digital fine clamp must be much quicker than the one from the analog blocks. by default, the time constant of the digital fine clamp is adjusted dynamically to suit the currently connected input signal. table 57. dct function dct[1:0] description 00 slow (tc = 1 sec). 01 medium (tc = 0.5 sec). 10* fast (tc = 0.1 sec). 11 determined by adv7183a dependent on video parameters. *default value. dcfe digital clamp freeze enable (sdp), address 0x15, [4] this register bit allows the user to freeze the digital clamp loop at any time. it is intended for users who would like to do their own clamping. users should disable the current sources for analog clamping via the appropriate register bits, wait until the digital clamp loop settles, and then freeze it via the dcfe bit. table 58. dcfe description 0* digital clamp operational. 1 digital clamp loop frozen. *default value. sdp luma filter data 8 from the digital fine clamp block is processed by four sets of filters: ? luma antialias filter (yaa). the sdp received video at a rate of 27 mhz 9 . the itu-r bt.601 recommends a sampling frequency of 13.5 mhz. the luma antialias filter decimates the oversampled video using a high quality, linear phase, low-pass filter that preserves the luma signal while at the same time attenuating out-of-band components. the luma antialias filter (yaa) has a fixed response. ? luma shaping filters (ysh). the shaping filter block is a programmable low-pass filter with a wide variety of responses. it can be used to selectively reduce the luma video signal bandwidth (needed prior to scaling, for example). for some video sources that contain high 8 the data format at this point is cvbs for cvbs input or luma only for y/c and yprpb input formats. 9 in the case of 4 oversampled video, the adcs sample at 54 mhz, and the first decimation is performed inside the dpp filters. therefor e, the data rate into the sdp core is always 27 mhz. frequency noise, reducing the bandwidth of the luma signal improves visual picture quality. a follow-on video compression stage may work more efficiently if the video is low-pass filtered. the adv7183a allows selection of two responses for the shaping filter: one that is used for good quality cvbs, component, and s-vhs type sources, and a second for nonstandard cvbs signals. the ysh filter responses also include a set of notches for pal and ntsc. however, it is recommended to use the comb filters for yc separation. ? luma peaking filter. this filter can be manually enabled. the user can select to boost or attenuate the midregion of the y spectrum around 3 mhz. the peaking filter may visually improve the picture by showing more definition on those picture details that contain frequency components around 3 mhz. the peaking filter compensates for the effects of a wide notch filter: where the notch starts to fall off, the peaking filter lifts the overall response back on. ? digital resampling filter. this block is used to allow dynamic resampling of the video signal to alter parameters such as the time base of a line of video. fundamentally, the resampler is a set of low-pass filters. the actual response is chosen by the system with no requirement for user intervention. figure 12 through figure 15 show the overall response of all filters together. unless otherwise noted, the filters are set into a typical wideband mode, and the peaking function is disabled. y shaping filter for input signals in cvbs format, the luma shaping filters play an essential role in removing the chroma component from a composite signal. yc separation must aim for best possible crosstalk reduction while still retaining as much bandwidth (especially on the luma component) as possible. high quality yc separation can be achieved by using the internal comb filters of the adv7183a. comb filtering, however, relies on the frequency relationship of the luma component (multiples of the video line rate) and the color subcarrier (fsc). for good quality cvbs signals, this relationship is known; the comb filter algorithms can be used to separate out luma and chroma with high accuracy. in the case of nonstandard video signals, the frequency relationship may be disturbed and the comb filters may not be able to remove all crosstalk artifacts in an optimum fashion without the assistance of the shaping filter block. adv7183a rev. a | page 29 of 104 an automatic mode is provided. here, the adv7183a evaluates the quality of the incoming video signal and selects the filter responses in accordance with the signal quality and video standard. yfsm, wysfmovr, and wysfm allow the user to manually override the automatic decisions in part or in full. the luma shaping filter has three control registers: ? ysfm[4:0] allows the user to manually select a shaping filter mode (applied to all video signals) or to enable an automatic selection (dependent on video quality and video standard). ? wysfmovr allows the user to manually override the wysfm decision. ? wysfm[4:0] allows the user to select a different shaping filter mode for good quality cvbs, component (yprpb), and s-vhs (yc) input signals. in automatic mode, the system preserves the maximum possible bandwidth for good cvbs sources (since they can successfully be combed) as well as for luma components of yprpb and yc sources, since they need not be combed. for poor quality signals, the system selects from a set of proprietary shaping filter responses that complements comb filter operation in order to reduce visual artifacts. the decisions of the control logic are shown in figure 11. ysfm[4:0] y shaping filter mode (sdp), address 0x17, [4:0] the y shaping filter mode bits allow the user to select from a wide range of low-pass and notch filters. when switched in automatic mode, the filter is selected based on other register selections (e.g., detected video standard) as well as properties extracted from the incoming video itself (e.g., quality, time base stability). the automatic selection always picks the widest possible bandwidth for the video input encountered. ? if the ysfm settings specify a filter (i.e., ysfm is set to values other than 00000 or 00001), the chosen filter is applied to all video, regardless of its quality. ? in automatic selection mode, the notch filters are only used for bad quality video signals. for all other video signals, wideband filters are used. wysfmovr wideband y shaping filter override (sdp), address 0x18,[7] setting the wysfmovr bit enables the use of the wysfm[4:0] settings for good quality video signals. for more information, refer to the general discussion of the luma shaping filters in the y shaping filter section and the flowchart shown in figure 11. table 59. wysfmovr description 0 automatic selection of shaping filter for good quality video signals. 1* enable manual override via wysfm[4:0]. *default value. 04819-0-011 auto select luma shaping filter to complement comb set ysfm ysfm in auto mode? 00000 or 00001 video quality bad good select wideband filter as per wysfm[4:0] select automatic wideband filter wysfmovr 1 0 use ysfm selected filter regardless for good and bad video yes no figure 11. ysfm and wysfm control flowchart adv7183a rev. a | page 30 of 104 table 60. ysfm function ysfm[4:0] description 0'0000 automatic selection including a wide notch response (pal/ntsc/secam) 0'0001* automatic selection including a narrow notch response (pal/ntsc/secam) 0'0010 svhs 1 0'0011 svhs 2 0'0100 svhs 3 0'0101 svhs 4 0'0110 svhs 5 0'0111 svhs 6 0'1000 svhs 7 0'1001 svhs 8 0'1010 svhs 9 0'1011 svhs 10 0'1100 svhs 11 0'1101 svhs 12 0'1110 svhs 13 0'1111 svhs 14 1'0000 svhs 15 1'0001 svhs 16 1'0010 svhs 17 1'0011 svhs 18 (ccir 601) 1'0100 pal nn 1 1'0101 pal nn 2 1'0110 pal nn 3 1'0111 pal wn 1 1'1000 pal wn 2 1'1001 ntsc nn 1 1'1010 ntsc nn 2 1'1011 ntsc nn 3 1'1100 ntsc wn 1 1'1101 ntsc wn 2 1'1110 ntsc wn 3 1'1111 reserved *default value. wysfm[4:0] wide band y shaping filter mode (sdp), address 0x18, [4:0] the wysfm[4:0] bits allow the user to manually select a shaping filter for good quality video signals (e.g., cvbs with stable time base, luma component of yprpb, luma component of yc). the wysfm bits are only active if the wysfmovr bit is set to 1. see the general discussion of the shaping filter settings in the y shaping filter section. table 61. wysfm function wysfm[4:0] description 0'0000 do not use 0'0001 do not use 0'0010 svhs 1 0'0011 svhs 2 0'0100 svhs 3 0'0101 svhs 4 0'0110 svhs 5 0'0111 svhs 6 0'1000 svhs 7 0'1001 svhs 8 0'1010 svhs 9 0'1011 svhs 10 0'1100 svhs 11 0'1101 svhs 12 0'1110 svhs 13 0'1111 svhs 14 1'0000 svhs 15 1'0001 svhs 16 1'0010 svhs 17 1'0011* svhs 18 (ccir 601) 1'0100C11111 do not use *default value. 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 010 8 6 4 212 04819-0-012 frequency (mhz) v740a combined y antialias, s-vhs low-pass filters, y resample amplitude (db) figure 12. sdp y s-vhs combined responses the filter plots in figure 12 show the s-vhs 1 (narrowest) to s-vhs 18 (widest) shaping filter settings. figure 14 shows the pal notch filter responses. the ntsc compatible notches are shown in figure 15. adv7183a rev. a | page 31 of 104 0 ?20 ?40 ?60 ?80 ?100 ?120 010 8 6 4 212 04819-0-013 frequency (mhz) amplitude (db) v740a combined y antialias, ccir mode shaping filter, y resample figure 13. sdp y s-vhs 18 extra wideband filter (ccir 601 compliant) 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 010 8 6 4 212 04819-0-014 frequency (mhz) v740a combined y antialias, pal notch filters, y resample amplitude (db) figure 14. sdp y s-vhs 18 extra wideband filter (ccir 601 compliant) 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 010 8 6 4 212 04819-0-015 frequency (mhz) v740a combined y antialias, ntsc notch filters, y resample amplitude (db) figure 15. sdp y s-vhs 18 extra wideband filter (601) ypm[2:0] y peaking filter mode (sdp), address 0x02, [2:0] allows the user to select peaking. this function allows the user to boost/attenuate luma signals around the color subcarrier frequency. selecting ypm = 000,001,010,011 sharpens the image; ypm = 101,110,111 attenuates the luma around the color subcarrier. in cases of incomplete cancellation in the y comb filter, this could be used to attenuate any residual c components (hanging dots) in the y output at the cost of a softer image. table 62. ypm function filter response (peak position) ypm[2:0] composite (2.6 mhz) s-vhs (3.75 mhz) 000 +4.5 db +9.25 db 001 +4.5 db +9.25 db 010 +4.5 db +5.75 db 011 +1.25 db +3.3 db 100* 0 0 101 C1.25 db C3.0 db 110 C1.75 db C8.0 db 111 C3.0 db C8.0 db *default value. sdp chroma filter data 10 from the digital fine clamp block is processed by two sets of filters: ? chroma antialias filter (caa). the adv7183a over- samples the cvbs by a factor of 2 and the chroma/prpb by a factor of 4. a decimating filter (caa) is used to preserve the active video band and remove any out-of- band components. the caa filter has a fixed response. ? chroma shaping filters (csh). the shaping filter block (csh) can be programmed to perform a variety of low- pass responses. it can be used to selectively reduce the bandwidth of the chroma signal for scaling or compression. ? digital resampling filter. this block is used to allow dynamic resampling of the video signal to alter parameters such as the time base of a line of video. fundamentally, the resampler is a set of low-pass filters. the actual response is chosen by the system with no requirement for user intervention. the plots in figure 16 show the overall response of all filters together. 10 the data format at this point is cvbs for cvbs inputs, chroma only for y/c, or u/v interleaved for yprpb input formats. adv7183a rev. a | page 32 of 104 csfm[2:0] c shaping filter mode (sdp), address 0x17, [7] the c shaping filter mode bits allow the user to select from a range of low-pass filters for the chrominance signal. when switched in automatic mode, the widest filter is selected based on the video standard/format and user choice (see settings 000 and 001 in table 63). table 63. csfm function csfm[2:0] description 000* autoselect 1.5 mhz bandwidth 001 autoselect 2.17 mhz bandwidth 010 sh1 011 sh2 100 sh3 101 sh4 110 sh5 111 wideband mode *default value. 0 ?10 ?20 ?30 ?40 ?50 ?60 05 4 3 2 16 04819-0-016 frequency (mhz) v740a combined c antialias, c shaping filter, c resampler attenuation (db) figure 16. sdp chroma shaping filter responses figure 16 shows the responses of sh1 (narrowest) to sh5 (widest) in addition to the wideband mode (in red). sdp gain operation the gain control within the adv7183a is done on a purely digital basis. the input adcs support a 10-bit range, mapped into a 1.6 v analog voltage range. gain correction takes place after the digitization in the form of a digital multiplier. there are several advantages of this architecture over the commonly used pga (programmable gain amplifier) before the adcs; among them is the fact that the gain is now completely independent of supply, temperature, and process variations. as shown in figure 17, the adv7183a can decode a video signal as long as it fits into the adc window. there are two components to this: the amplitude of the input signal and the dc level it resides on. the dc level is set by the clamping circuitry (see the sdp clamp operation section). if the amplitude of the analog video signal is too high, clipping may occur, resulting in visual artifacts. the analog input range of the adc, together with the clamp level, determines the maximum supported amplitude of the video signal. the minimum supported amplitude of the input video is determined by the sdp cores ability to retrieve horizontal and vertical timing and to lock to the color burst (if present). there are two gain control units, one each for luma and chroma data. both can operate independently of each other. the chroma unit, however, can also take its gain value from the luma path. several agc modes are possible; table 64 summarizes them. it is possible to freeze the automatic gain control loops. this will cause the loops to stop updating and the agc determined gain at the time of the freeze stays active until the loop is either unfrozen or the gain mode of operation is changed. the currently active gain from any of the modes can be read back. please refer to the description of the dual function manual gain registers, lg[11:0] luma gain and cg[11:0] chroma gain, in the sdp luma gain and sdp chroma gain sections. 04821-0-017 a nalog voltag e range supported by adc (1.6v range for adv7183a) data pre processor (dpp) adc sdp (gain selection only) maximum voltage minimum voltage clamp level gain control figure 17. sdp gain control overview adv7183a rev. a | page 33 of 104 table 64. sdp agc modes input video type luma gain chroma gain any manual gain luma. manual gain chroma. dependent on color burst amplitude. dependent on horizontal sync depth. taken from luma path. dependent on color burst amplitude. cvbs peak white taken from luma path. dependent on color burst amplitude. dependent on horizontal sync depth. taken from luma path. dependent on color burst amplitude. y/c peak white. taken from luma path. yprpb dependent on horizontal sync depth. taken from luma path. sdp luma gain lagc[2:0] luma automatic gain control (sdp), address 0x30, [7:0] the luma automatic gain control mode bits select the mode of operation for the gain control in the luma path. there are adi internal parameters to customize the peak white gain control. contact adi for more information. table 65. lagc function lagc[2:0] description 000 manual fixed gain (use lmg[11:0]). 001 agc (blank level to sync tip). no override through white peak. 010* agc (blank level to sync tip). automatic override through white peak. 011 reserved. 100 reserved. 101 reserved. 110 reserved. 111 freeze gain. *default value. lagt[1:0] luma automatic gain timing (sdp), address 0x2f, [7:6] the luma automatic gain timing register allows the user to influence the tracking speed of the luminance automatic gain control. please note that this register only has an effect if the lagc[2:0] register is set to 001, 010, 011, or 100 (automatic gain control modes). if peak white agc is enabled and active (see the status_1[7:0] address 0x10, [7:0] section), the actual gain update speed is dictated by the peak white agc loop and, as a result, the lagt settings have no effect. as soon as the part leaves peak white agc, lagt becomes relevant again. the update speed for the peak white algorithm can be customized by the use of internal parameters. please contact adi for more information. table 66. lagt function lagt[1:0] description 00 slow (tc = 2 sec) 01 medium (tc = 1 sec) 10 fast (tc = 0.2 sec) 11* adaptive *default value. lg[11:0] luma gain (sdp), address 0x2f, [3:0]; address 0x30, [7:0]; lmg[11:0] luma manual gain (sdp), address 0x2f, [3:0]; address 0x30, [7:0] luma gain [11:0] is a dual function register: ? if written to, a desired manual luma gain can be programmed. this gain becomes active if the lagc[2:0] mode is switched to manual fixed gain. ? equation 1 shows how to calculate a desired gain. ? if read back, this register returns the current gain value. depending on the setting in the alcm[2:0] bits, this is one of the following values: o luma manual gain value (alcm[2:0] set to luma manual gain mode) o luma automatic gain value (alcm[2:0] set to any of the automatic modes) table 67. lg/lmg function lg[11:0]/lmg[11:0] read/write description lmg[11:0] = x write manual gain for luma path. lg[11:0] read actually used gain. () 2 ... 0 2048 4095 0 _ = < = lg gain luma equation 1. sdp luma gain formula adv7183a rev. a | page 34 of 104 example program the adv7183a into manual fixed gain mode with a desired gain of 0.89: ? use equation 1 to convert the gain: 0.89 2048 = 1822.72 ? truncate to integer value: 1822.72 = 1822 ? convert to hexadecimal: 1822 d = 0x71e ? split into two registers and program: luma gain control 1 [3:0] = 0x7 luma gain control 2 [7:0] = 0x1e ? enable manual fixed gain mode: set lagc[2:0] to 000 betacam enable betacam levels (sdp), address 0x01, [5] if yprpb data is routed through the sdp core, the automatic gain control modes can target different video input levels, as outlined in table 72. please note that the betacam bit is valid only if the input mode is yprpb (component) and if the data is routed through the sdp core. the betacam bit basically sets the target value for agc operation. a review of the following sections is useful: ? insel[3:0] input selection, address 0x00, [3:0] to find how component video (yprpb) can be routed through the sdp core. ? video standard selection (sdp) to select the various standards (e.g., with and without pedestal) the automatic gain control (agc) algorithms adjust the levels based on the setting of the betacam bit(see table 68.). table 68. betacam function betacam description 0* assuming yprpb is selected as input format. selecting pal with pedestal selects mii. selecting pal without pedestal selects smpte. selecting ntsc with pedestal selects mii. selecting ntsc without pedestal selects smpte. 1 assuming yprpb is selected as input format. selecting pal with pedestal selects betacam. selecting pal without pedestal selects betacam variant. selecting ntsc with pedestal selects betacam. selecting ntsc without pedestal selects betacam variant. *default value. pw_upd peak white update (sdp), address 0x2b, [0] the peak white and average video algorithms determine the gain based on measurements taken from the active video. the pw_upd bit determines the rate of gain change. please note that the lagc[2:0] must be set to the appropriate mode to enable the peak white or average video mode in the first place. for more information, refer to the lagc[2:0] luma automatic gain control (sdp), address 0x30, [7:0] section. table 69. pw_upd function pw_upd description 0 update gain once per video line. 1 update gain once per field. *default value. sdp chroma gain cagc[1:0] chroma automatic gain control (sdp), address 0x2c, [1:0] the two bits of color automatic gain control mode select the basic mode of operation for automatic gain control in the chroma path. table 70. cagc function cagc[1:0] description 00 manual fixed gain (use cmg[11:0]). 01 use luma gain for chroma. 10* automatic gain (bas ed on color burst). 11 freeze chroma gain. *default value. cagt[1:0] chroma automati c gain timing (sdp), address 0x2d, [7:6] the chroma automatic gain timing register allows the user to influence the tracking speed of the chroma automatic gain control. this register only has an effect if the cagc[1:0] register is set to 10 (automatic gain). table 71. cagt function cagt[1:0] description 00 slow (tc = 2 sec) 01 medium (tc = 1 sec) 10 fast (tc = 0.2 sec) 11* adaptive *default value. adv7183a rev. a | page 35 of 104 table 72. betacam levels name betacam (mv) betacam variant (mv) smpte (mv) mii (mv) y range 0 to 714 (incl. 7.5% pedestal) 0 to 714 0 to 700 0 to 700 (incl. 7.5% pedestal) pb and pr range C467 to +467 C505 to +505 C350 to +350 C324 to +324 sync depth 286 286 300 300 cg[11:0] chroma gain (sdp), address 0x2d, [3:0]; address 0x2e, [7:0] cmg[11:0] chroma manual gain (sdp), address 0x2d, [3:0]; address 0x2e, [7:0] chroma gain [11:0] is a dual function register: ? if written to, a desired manual chroma gain can be programmed. this gain becomes active if the cagc[1:0] mode is switched to manual fixed gain. ? refer to equation 2 for calculating a desired gain. ? if read back, this register returns the current gain value. depending on the setting in the cagc[1:0] bits, this will be one of the following values: o chroma manual gain value (cagc[1:0] set to chroma manual gain mode). o chroma automatic gain value (cagc[1:0] set to any of the automatic modes). table 73. cg/cmg function cg[11:0]/cmg[11:0] read/write description cmg[11:0] write manual gain for chroma path. cg[11:0] read currently active gain. () 4 ... 0 1024 4095 0 _ = < = cg gain chroma equation 2. sdp chroma gain formula example freezing the automatic gain loop and reading back the cg[11:0] register results in a value of ? convert the read back value to decimal: 0x47a = 1146 d ? apply equation 2 to convert the readback value: 1146/1024 = 1.12 cke color kill enable (sdp), address 0x2b, [6] the color kill enable bit allows the optional color kill function to be switched on or off. for qam based video standards (pal and ntsc) as well as fm based systems (secam), the threshold for the color kill decision is selectable via the ckillthr[2:0] bits. if color kill is enabled, and if the color carrier of the incoming video signal is less than the threshold for 128 consecutive video lines, color processing is switched off (black and white output). to switch the color processing back on, another 128 consecutive lines with a color burst greater than the threshold are required. the color kill option only works for input signals with a modulated chroma part. for component input (yprpb), there is no color kill. table 74. cke function cke description 0 color kill disabled. 1* color kill enabled. *default value. ckillthr[2:0] color kill threshold (sdp), address 0x3d, [6:4] the ckillthr[2:0] bits allow the user to select a threshold for the color kill function. the threshold only applies to qam based (ntsc and pal) or fm modulated (secam) video standards. to enable the color kill function, the cke bit must be set. for settings 000, 001, 010, and 011, chroma demodulation inside the adv7183a may not work satisfactorily for poor input video signals. table 75. ckillthr function description ckillthr[2:0] secam ntsc, pal 000 no color kill kill at < 0.5% 001 kill at < 5% kill at < 1.5% 010 kill at < 7% kill at < 2.5% 011 kill at < 8% kill at < 4.0% 100* kill at < 9.5% kill at < 8.5% 101 kill at < 15% kill at < 16.0% 110 kill at < 32% kill at < 32.0% 111 reserved for adi internal use only. do not select. *default value. adv7183a rev. a | page 36 of 104 sdp chroma transient improvement (cti) the signal bandwidth allocated for chroma is typically much smaller than that of luminance. in the past, this was a valid way to fit a color video signal into a given overall bandwidth because the human eye is less sensitive to chrominance than to luminance. the uneven bandwidth, however, may lead to some visual artifact when it comes to sharp color transitions. at the border of two bars of color, both components (luma and chroma) change at the same time (see figure 18). due to the higher bandwidth, the signal transition of the luma component is usually a lot sharper than that of the chroma component. the color edge is not sharp but blurred, in the worst case, over several pixels. 04819-0-018 luma signal demodulated chroma signal luma signal with a transition, accompanied by a chroma transition original, "slow" chroma transition prior to cti sharpened chroma transition at the output of cti figure 18. cti luma/chroma transition the chroma transient improvement block examines the input video data. it detects transitions of chroma, and can be programmed to steepen the chroma edges in an attempt to artificially restore lost color bandwidth. the cti block, however, only operates on edges above a certain threshold to ensure that noise is not emphasized. care has also been taken to ensure that edge ringing and undesirable saturation or hue distortion are avoided. chroma transient improvements are needed primarily for signals that experienced severe chroma bandwidth limitations. for those types of signals, it is strongly recommended to enable the cti block via cti_en. cti_en chroma transient improvement enable (sdp), address 0x4d, [0] the cti_en bit enables the cti function. if set to 0, the cti block is inactive and the chroma transients are left untouched. table 76. cti_en function cti_en description 0* disable cti. 1 enable cti block. *default value. cti_ab_en chroma transient improvement alpha blend enable (sdp), address 0x4d, [1] the cti_ab_en bit enables an alpha-blend function within the cti block. if set to 1, the alpha blender mixes the transient improved chroma with the original signal. the sharpness of the alpha blending can be configured via the cti_ab[1:0] bits. for the alpha blender to be active, the cti block must be enabled via the cti_en bit. table 77. cti_ab_en cti_ab_en description 0 disable cti alpha blender. 1* enable cti alpha-blend mixing function. *default value. cti_ab[1:0] chroma transient improvement alpha blend (sdp), address 0x4d, [3:2] the cti_ab[1:0] controls the behavior of alpha-blend circuitry that mixes the sharpened chroma signal with the original one. it thereby controls the visual impact of cti on the output data. for cti_ab[1:0] to become effective, the cti block must be enabled via the cti_en bit, and the alpha blender must be switched on via cti_ab_en. sharp blending maximizes the effect of cti on the picture, but may also increase the visual impact of small amplitude, high frequency chroma noise. table 78. cti_ab function cti_ab[1:0] description 00 sharpest mixing between sharpened and original chroma signal. 01 sharp mixing. 10 smooth mixing. 11* smoothest alpha blend function. *default value. cti_c_th[7:0] cti chroma threshold (sdp), address 0x4e, [7:0] the cti_c_th[7:0] value is an unsigned, 8-bit number speci- fying how big the amplitude step in a chroma transition has to be in order to be steepened by the cti block. programming a small value into this register causes even smaller edges to be steepened by the cti block. making cti_c_th[7:0] a large value causes the block to improve large transitions only. table 79. cti_c_th function cti_c_th[7:0] description 0x08* threshold for chroma edges prior to cti. *default value. adv7183a rev. a | page 37 of 104 sdp digital noise reduction (dnr) digital noise reduction is based on the assumption that high frequency signals with low amplitude are probably noise, and that their removal therefore improves picture quality. dnr_en digital noise reduction enable (sdp), address 0x4d, [5] the dnr_en bit enables the dnr block or bypasses it. table 80. dnr_en function dnr_en description 0 bypass dnr (disable). 1* enable digital noise reduction on the luma data. dnr_th[7:0] dnr noise threshold, address 0x50, [7:0] the dnr_th[7:0] value is an unsigned 8-bit number used to determine the maximum edge that will be interpreted as noise and therefore blanked from the luma data. programming a large value into dnr_th[7:0] causes the dnr block to interpret even large transients as noise and remove them. the effect on the video data will therefore be more visible. programming a small value causes only small transients to be seen as noise and to be removed. it should be noted that the recommended dnr_th[7:0] setting for a/v inputs is 0x04, and the recommended dnr_th[7:0] setting for tuner inputs is 0x0a. table 81. dnr_th function dnr_th[7:0] description 0x08* threshold for maximum luma edges to be interpreted as noise. *default value. sdp comb filters the comb filters of the adv7183a have been greatly improved to automatically handle video of all types, standards, and levels of quality. two user registers are available to customize comb filter operation. depending on whichever video standard has been detected (by autodetection) or selected (by manual programming), the ntsc or pal configuration registers are used. in addition to the bits listed in this section, there are some further adi internal controls; please contact adi for more information. ntsc comb filter settings used for ntsc-m/j cvbs inputs. nsfsel[1:0] split filter selection ntsc (sdp), address 0x19, [3:2] the nsfsel[1:0] control selects how much of the overall signal bandwidth is fed to the combs. a narrow split filter selection gives better performance on diagonal lines, but leaves more dot crawl in the final output image. the opposite is true for selecting a wide bandwidth split filter. table 82.nsfsel function nsfsel[1:0] description 00* narrow 01 medium 10 medium 11 wide *default value. ctapsn[1:0] chroma comb taps ntsc (sdp), address 0x38, [7:6] table 83. ctapsn function ctapsn[1:0] description 00 do not use. 01 ntsc chroma comb adapts 3 lines (3 taps) to 2 lines (2 taps). 10* ntsc chroma comb adapts 5 lines (5 taps) to 3 lines (3 taps). 11 ntsc chroma comb adapts 5 lines (5 taps) to 4 lines (4 taps). *default value. adv7183a rev. a | page 38 of 104 ccmn[2:0] chroma comb mode ntsc (sdp), address 0x38, [5:3] table 84. ccmn function ccmn[2:0] description adaptive 3-line chroma comb for ctapsn = 01. adaptive 4-line chroma comb for ctapsn = 10. 0xx* adaptive comb mode. adaptive 5-line chroma comb for ctapsn = 11. 100 disable chroma comb. fixed 2-line chroma comb for ctapsn = 01. fixed 3-line chroma comb for ctapsn = 10. 101 fixed chroma comb (top lines of line memory). fixed 4-line chroma comb for ctapsn = 11. fixed 3-line chroma comb for ctapsn = 01. fixed 4-line chroma comb for ctapsn = 10. 110 fixed chroma comb (all lines of line memory). fixed 5-line chroma comb for ctapsn = 11. fixed 2-line chroma comb for ctapsn = 01. fixed 3-line chroma comb for ctapsn = 10. 111 fixed chroma comb (bottom lines of line memory). fixed 4-line chroma comb for ctapsn = 11. *default value. ycmn[2:0] luma comb mode ntsc (sdp), address 0x38, [2:0] table 85.ycmn function ycmn[2:0] description 0xx* adaptive comb mode. adapti ve 3-line (3 taps) luma comb. 100 disable luma comb. use lo w-pass/notch filter; see the y shaping filter section. 101 fixed luma comb (top lines of line memory). fixed 2-line (2 taps) luma comb. 110 fixed luma comb (all lines of line memo ry). fixed 3-line (3 taps) luma comb. 111 fixed luma comb (bottom lines of line me mory). fixed 2-line (2 taps) luma comb. *default value. adv7183a rev. a | page 39 of 104 pal comb filter settings used for pal-b/g/h/i/d, pal-m, pal-c ombinational n, pal- 60 and ntsc443 cvbs inputs. psfsel[1:0] split filter selection pal (sdp), address 0x19, [1:0] the nsfsel[1:0] control selects how much of the overall signal bandwidth is fed to the combs. a wide split filter selection eliminates dot crawl, but shows imperfections on diagonal lines. the opposite is true for selecting a narrow bandwidth split filter. table 86. psfsel function psfsel[1:0] description 00 narrow 01* medium 10 wide 11 widest *default value. ctapsp[1:0] chroma comb taps pal (sdp), address 0x39, [7:6] table 87. ctapsp function ctapsp[1:0] description 00 do not use. 01 pal chroma comb adapts 5 lines (3 taps) to 3 lines (2 taps); cancels cross luma only. 10 pal chroma comb adapts 5 lines (5 taps) to 3 lines (3 taps); cancels cross luma and hue error less well. 11* pal chroma comb adapts 5 lines (5 taps) to 4 lines (4 taps); cancels cross luma and hue error well. *default value. ccmp[2:0] chroma comb mode pal (sdp), address 0x39, [5:3] table 88. ccmp function ccmp[2:0] description adaptive 3-line chroma comb for ctapsp = 01. adaptive 4-line chroma comb for ctapsp = 10. 0xx* adaptive comb mode. adaptive 5-line chroma comb for ctapsp = 11. 100 disable chroma comb. fixed 2-line chroma comb for ctapsp = 01. fixed 3-line chroma comb for ctapsp = 10. 101 fixed chroma comb (top lines of line memory). fixed 4-line chroma comb for ctapsp = 11. fixed 3-line chroma comb for ctapsp = 01. fixed 4-line chroma comb for ctapsp = 10. 110 fixed chroma comb (all lines of line memory). fixed 5-line chroma comb for ctapsp = 11. fixed 2-line chroma comb for ctapsp = 01. fixed 3-line chroma comb for ctapsp = 10. 111 fixed chroma comb (bottom lines of line memory). fixed 4-line chroma comb for ctapsp = 11. *default value. ycmp[2:0] luma comb mode pal (sdp), address 0x39, [2:0] table 89. ycmp function ycmp[2:0] description 0xx* adaptive comb mode . adapti ve 5 lines (3 taps) luma comb. 100 disable luma comb. use lo w-pass/notch filter; see the y shaping filter section. 101 fixed luma comb (top lines of line memory). fixed 3 lines (2 taps) luma comb. 110 fixed luma comb (all lines of line memo ry). fixed 5 lines (3 taps) luma comb. 111 fixed luma comb (bottom lines of line me mory). fixed 3 lines (2 taps) luma comb. *default value. adv7183a rev. a | page 40 of 104 sdp av code insertion and controls this section describes the i 2 c based controls that affect ? insertion of av codes into the data stream ? data blanking during the vertical blank interval (vbi) ? the range of data values permitted in the output data stream ? the relative delay of luma versus chroma signals please note that some of the decoded vbi data is being inserted during the horizontal blanking interval. see the gemstar data recovery section for more information. bt656-4 itu standard bt-r.656-4 enable (sdp), address 0x04, [7] the itu has changed the position for toggling of the v bit within the sav eav codes for ntsc between revisions 3 and 4. the bt656-4 standard bit allows the user to select an output mode that is compliant with either the previous or the new standard. for further information, please review the standard at http://www.itu.int. please note that the standard change affects ntsc only and has no bearing on pal. table 90. bt656-4 function bt656-4 description 0* bt656-3 spec: v bit goes low at eav of lines 10 and 273. 1 bt656-4 spec: v bit goes low at eav of lines 20 and 283. *default value. sd_dup_av sdp duplicate av codes (sdp), address 0x03, [0] depending on the output interface width, it may be necessary to duplicate the av codes from the luma path into the chroma path. in an 8-bit-wide output interface (cb/y/cr/y interleaved data), the av codes are defined as ff/00/00/av, with av being the transmitted word that contains information about h/v/f. in this output interface mode, the following assignment takes place: cb = ff, y = 00, cr = 00, and y = av. in a 16-bit output interface where y and cr/cb are delivered via separate data buses, the av code is over the whole 16 bits. the sd_dup_av bit allows the user to double up the av codes, so the full sequence can be found on the y bus as well as (= duplicated) the cr/cb bus. see figure 19. table 91. sd_dup_av function sd_dup_av description 0 av codes in single fashion (to suit 8-bit interleaved data output). 1 av codes duplicated (for 16-bit interfaces). *default value. vbi_en vertical blanking interval data enable (sdp), address 0x03, [7] the vbi enable bit allows data such as intercast and closed caption data to be passed through the luma channel of the sdp decoder with only a minimal amount of filtering. all data for lines 1 to 21 is passed through and available at the output port. the adv7183a does not blank the luma data, and automatically switches all filters along the luma data path into their widest bandwidth. for active video, the filter settings for ysh and ypk are restored. refer to the bl_c_vbi blank chroma during vbi section for information on the chroma path. table 92. vbi_en description 0* all video lines are filtered/scaled. 1 only active video region is filtered/scaled. *default value. 04821-0-019 y data bus 00 av y ff 00 00 av y ff cr/cb data bus 00 00 av cb ff 00 cb av code section av code section ff 00 00 av cb av code section cb/y/cr/y interleaved 8-bit interface 16-bit interface 16-bit interface sd_dup_av = 1 sd_dup_av = 0 figure 19. sdp av code duplication control adv7183a rev. a | page 41 of 104 bl_c_vbi blank chroma during vbi (sdp), address 0x04, [2] setting bl_c_vbi high, the cr and cb values of all vbi lines get blanked. this is done so any data that may come during vbi is not decoded as color and output through cr and cb. as a result, it should be possible to send vbi lines into the decoder, then output them through an encoder again, undistorted. without this blanking, any wrongly decoded color gets encoded by the video encoder; therefore, the vbi lines are distorted. table 93. bl_c_vbi function bl_c_vbi description 0 decode and output color during vbi. 1* blank cr and cb values during vbi (no color, 0x80). *default value. range range selection (sdp), address 0x04, [0] av codes (as per itu-r bt-656, formerly known as ccir-656) consist of a fixed header made up of 0xff and 0x00 values. these two values are reserved and therefore are not to be used for active video. additionally, the itu also specifies that the nominal range for video should be restricted to values between 16 and 235 for luma and 16 to 240 for chroma. the range bit allows the user to limit the range of values output by the adv7183a to the recommended value range. in any case, it is ensured that the reserved values of 255 d (0xff) and 00 d (0x00) are not presented on the output pins unless they are part of an av code header. table 94. range function range description 0 16 y 235 16 c/p 240 1* 1 y 254 1 c/p 254 *default value. auto_pdc_en automatic programmed delay control (sdp), address 0x27, [6] enabling the auto_pdc_en function activates a function within the adv7183a that automatically programs the lta[1:0] and cta[2:0] to have the chroma and luma data match delays for all modes of operation. if set, manual registers lta[1:0] and cta[2:0] are not used by the sdp. if the automatic mode is disabled (via setting the auto_pdc_en bit to 0), the values programmed into lta[1:0] and cta[2:0] registers take effect. table 95. auto_pdc_en function auto_pdc_en description 0 use lta[1:0] and cta[2:0] values for delaying luma and chroma samples. refer to the lta[1:0] luma timing adjust (sdp), address 0x27, [1:0] and cta[2:0] chroma timing adjust (sdp), address 0x27, [5:3] sections. 1* the adv7183a automatically determines the lta and cta values to have luma and chroma aligned at the output. *default value. lta[1:0] luma timing adjust (sdp), address 0x27, [1:0] the luma timing adjust register allows the user to specify a timing difference between chroma and luma samples. please note the following: ? there is a certain functionality overlap with the cta[2:0] register. ? for manual programming, use the following defaults: o cvbs input lta[1:0] = 00. o yc input lta[1:0] = 01. o yprpb input lta[1:0] =01. table 96. lta function lta[1:0] description 00* no delay. 01 luma 1 clk (37 ns) delayed. 10 luma 2clk (74 ns) early. 11 luma 1 clk (37 ns) early. *default value. adv7183a rev. a | page 42 of 104 cta[2:0] chroma timing adjust (sdp), address 0x27, [5:3] the chroma timing adjust register allows the user to specify a timing difference between chroma and luma samples. this may be used to compensate for external filter group delay differences in the luma versus chroma path, and to allow for a different number of pipeline delays while processing the video down- stream. please review this functionality together with the lta[1:0] register. note that the chroma can only be delayed/advanced in chroma pixel steps. one chroma pixel step is equal to two luma pixels. the programmable delay occurs after demodulation, where one can no longer delay by luma pixel steps. for manual programming use the following defaults: ? cvbs input cta[2:0] = 011. ? yc input cta[2:0] = 101. ? yprpb input cta[2:0] =110. table 97. cta function cta[2:0] description 000 not used. 001 chroma + 2 chroma pixel (early). 010 chroma + 1 chroma pixel (early). 011* no delay. 100 chroma C 1 chroma pixel (late). 101 chroma C 2 chroma pixel (late). 110 chroma C 3 chroma pixel (late). 111 not used. *default value. sdp synchronization output signals hs configuration the following controls allow the user to configure the behavior of the hs output pin only: ? beginning of hs signal via hsb[10:0] ? end of hs signal via hse[10:0] ? polarity of hs using phs hsb[10:0] hs begin, address 0x34, [6:4], address 0x35, [7:0] the hs begin and hs end registers allow the user to freely position the hs output (pin) within the video line. the values in hsb[10:0] and hse[10:0] are measured in pixel units from the falling edge of hs. using both values, the user can program both the position and length of the hs output signal. the position of this edge is controlled by placing a binary number into hsb[10:0]. the number applied offsets the edge with respect to an internal counter that is reset to 0 immediately after eav code ff,00,00,xy (see figure 20). hsb is set to 00000000010b, which is 2 llc1 clock cycles from count[0]. table 98. hsb function hsb[10:0] description 0x002 the hs pulse starts after the hsb[10:0] pixel after the falling edge of hs. *default value. hse[10:0] hs end, address 0x34, [2:0], address 0x36, [7:0] the hs begin and hs end registers allow the user to freely position the hs output (pin) within the video line. the values in hsb[10:0] and hse[10:0] are measured in pixel units from the falling edge of hs. using both values, the user can program both the position and length of the hs output signal. the position of this edge is controlled by placing a binary number into hse[10:0]. the number applied offsets the edge with respect to an internal counter that is reset to 0 immediately after eav code ff,00,00,xy (see figure 20). hse is set to 00000000000b, which is 0 llc1 clock cycles from count[0]. table 99. hse function hse[9:0] description 000* hs pulse ends after hse[10:0] pixel after falling edge of hs. *default value. example 1. to shift the hs towards active video by 20 llc1s, add 20 llc1s to both hsb and hse. i.e., hsb[10:0] = [00000010110], hse[10:0] = [00000010100] 2. to shift the hs away from active video by 20 llc1s, add 1696 11 llc1s to both hsb and hse (for ntsc).i.e., hsb[10:0] = [11000000100], hse[10:0] = [11000000110] to move 20 llc1s away from active video is equal to subtracting 20 from 1716 and adding the result in binary to both hsb[10:0] and hse[10:0]. phs polarity hs (sdp), address 0x37, [7] the polarity of the hs pin as it comes from the sdp block can be inverted using the phs bit. table 100. phs function phs description 0* hs active high. 1 hs active low. 11 1696 is derived from the ntsc total number of pixels = 1716 adv7183a rev. a | page 43 of 104 table 101. hs timing parameters (see figure 20) characteristic standard hs begin adjust (hsb[10:0]) 1 hs end adjust (hse[10:0]) 1 hs to active video (llc1 clock cycles) (c in figure 20) 1 active video samples/line (d in figure 20) total llc1 clock cycles (e in figure 20) ntsc 00000000010b 00000000000b 272 720y + 720c = 1440 1716 ntsc square pixel 00000000010b 00000000000b 276 640y + 640c = 1280 1560 pal 00000000010b 00000000000b 284 720y + 720c = 1440 1728 1 default. 04819-0-020 e active video llc1 pixel bus hs cr y ff 00 00 xy 80 10 80 10 80 10 ff 00 00 xy cb y cr y cb y cr 4 llc1 d hsb[10:0] hse[10:0] c e d sav active video h blank eav figure 20. hs timing (sdp) adv7183a rev. a | page 44 of 104 vs and field configuration the following controls allow the user to configure the behavior of the vs and field output pins, as well as the generation of embedded av codes: ? adv encoder compatible signals via newavmode ? pvs, pf ? hvstim ? vsbho, vsbhe ? vseho, vsehe ? for ntsc control: o nvbegdelo, nvbegdele, nvbegsign, nvbeg[4:0] o nvenddelo, nvendde le, nvendsign, nvend[4:0] o nftogdelo, nftogdele, nftogsign, nftog[4:0] ? for pal control: o pvbegdelo, pvbegdele, pvbegsign, pvbeg[4:0] o pvenddelo, pvenddele, pvendsign, pvend[4:0] o pftogdelo, pftogdele, pftogsign, pftog[4:0] newavmode new av mode, address 0x31, [4] table 102. newavmode function newavmode description 0 eav/sav codes generated to suit adi encoders. no adjustments possible. 1* enable manual position of vsync, field, and av codes using 0x34 to 0x37 and 0xe5 to 0xea. default register settings are ccir656 compliant; see figure 21 for ntsc and figure 26 for pal. for recommended manual user settings, see table 110 and figure 22 for ntsc; see table 123 and figure 27 for pal. *default value. hvstim horizontal vs timing (sdp), address 0x31, [3] the hvstim bit allows the user to select where the vs signal is being asserted within a line of video. some interface circuitry may require vs to go low while hs is low. table 103. hvstim function hvstim description 0* start of line relative to hse. 1 start of line relative to hsb. *default value. vsbho vs begin horizontal position odd (sdp), address 0x32, [7] the vsbho and vsbhe bits select the position within a line at which the vs pin (not the bit in the av code) goes active. some follow-on chips require the vs pin to only change state when hs is high/low. table 104. vsbho function vsbho description 0* vs pin goes high at the middle of a line of video (odd field). 1 vs pin changes state at the start of a line (odd field). *default value. vsbhe vs begin horizontal position even (sdp), address 0x32, [6] the vsbho and vsbhe bits select the position within a line at which the vs pin (not the bit in the av code) goes active. some follow-on chips require the vs pin to only change state when hs is high/low. table 105. vsbhe function vsbhe description 0* vs pin goes high at the middle of a line of video (even field). 1 vs pin changes state at the start of a line (even field). *default value. vseho vs end horizontal position odd (sdp), address 0x33, [7] the vseho and vsehe bits select the position within a line at which the vs pin (not the bit in the av code) goes active. some follow-on chips require the vs pin to only change state when hs is high/low. table 106. vseho function vseho description 0* vs pin goes low (inactive) at the middle of a line of video (odd field). 1 vs pin changes state at the start of a line (odd field). *default value. adv7183a rev. a | page 45 of 104 vsehe vs end horizontal position even (sdp), address 0x33, [6] the vseho and vsehe bits select the position within a line at which the vs pin (not the bit in the av code) goes active. some follow-on chips require the vs pin to only change state when hs is high/low. table 107. vsehe function vsehe description 0* vs pin goes low (inactive) at the middle of a line of video (even field). 1 vs pin changes state at the start of a line (even field). *default value. pvs polarity vs (sdp), address 0x37, [5] the polarity of the vs pin as it comes from the sdp block can be inverted using the pvs bit. table 108. pvs function pvs description 0* vs active high. 1 vs active low. *default value. pf polarity field (sdp), address 0x37, [3] the polarity of the field pin as it comes from the sdp block can be inverted using the pf bit. table 109. pf function pf description 0* field active high. 1 field active low. *default value. 04819-0-021 output video field 1 field 2 h v f output video h v f 525 1 2 3 4 5 6 7 8 9 10 11 12 13 19 20 21 22 nvbeg[4:0] = 5h nvbeg[4:0] = 5h nvend[4:0] = 4h nvend[4:0] = 4h nftog[4:0] = 3h nftog[4:0] = 3h *bt.656-4 reg 04h. bit 7 = 1 *bt.656-4 reg 04h. bit 7 = 1 *applies if nemavmode = 0 must be manually shifted if newavmode = 1. 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 283 284 285 figure 21. ntsc default (bt.656). the polarity of h, v, and f is embedded in the data. adv7183a rev. a | page 46 of 104 nvbeg[4:0] = 0h nvend[4:0] = 3h 04819-0-022 field 1 output video field output hs output nftog[4:0] = 5h vs output 525 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 21 22 field 2 output video field output hs output vs output 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 284 285 nvbeg[4:0] = 0h nvend[4:0] = 3h nftog[4:0] = 5h figure 22. ntsc typical vsync/field positions using register writes in table 110 table 110. recommended user settings for ntsc (see figure 22) register register name write 0x31 vsync field control 1 0x12 0x32 vsync field control 2 0x81 0x33 vsync field control 3 0x84 0x37 polarity 0x29 0xe5 ntsv_v_bit_beg 0x0 0xe6 ntsc_v_bit_end 0x3 0xe7 ntsc_f_bit_tog 0x85 adv7183a rev. a | page 47 of 104 04819-0-023 advance begin of vsync by nvbeg[4:0] delay begin of vsync by nvbeg[4:0] vsync begin nvbegsign odd field? 0 1 no yes nvbegdelo vsbho additional delay by 1 line advance by 0.5 line 1 0 1 0 nvbegdele vsbhe additional delay by 1 line advance by 0.5 line 1 0 1 0 not valid for use r programming figure 23. ntsc vsync begin nvbegdelo ntsc vsync begin delay on odd field, address 0xe5, [7] table 111. nvbegdelo function nvbegdelo description 0* no delay. 1 delay vsync going high on an odd field by a line relative to nvbeg. *default value. nvbegdele ntsc vsync begin delay on even field, address 0xe5, [6] table 112. nvbegdele function nvbegdele description 0* no delay. 1 delay vsync going high on an even field by a line relative to nvbeg. *default value. nvbegsign ntsc vsync begin sign, address 0xe5, [5] table 113. nvbegsign function nvbegsign description 0 delay start of vsync. set for user manual programming. 1* advance start of vsync. not recommended for user programming. *default value. nvbeg[4:0] ntsc vsync begin, address 0xe5, [4:0] table 114. nvbeg function nvbeg description 00101* ntsc vsync begin position. *default value. note: for all ntsc/pal vsync timing controls, both the v bit in the av code and the vsync on the vs pin are modified. 04819-0-024 advance end of vsync by nvend[4:0] delay end of vsync by nvend[4:0] vsync end nvendsign odd field? 0 1 no yes nvenddelo vseho additional delay by 1 line advance by 0.5 line 1 0 1 0 nvenddele vsehe additional delay by 1 line advance by 0.5 line 1 0 1 0 not valid for use r programming figure 24. ntsc vsync end adv7183a rev. a | page 48 of 104 nvenddelo ntsc vsync en d delay on odd field, address 0xe6, [7] table 115. nvenddelo function nvenddelo description 0* no delay. 1 delay vsync going low on an odd field by a line relative to nvend. *default value. nvenddele ntsc vsync end delay on even field, address 0xe6, [6] table 116. nvenddele function nvenddele description 0* no delay. 1 delay vsync going low on an even field by a line relative to nvend *default value. nvendsign ntsc vsync end sign, address 0xe6, [5] table 117. nvendsign function nvendsign description 0* delay start of vsync. set for user manual programming. 1 advance start of vsync. not recommended for user programming. *default value. nvend ntsc[4:0] vsync end, address 0xe6, [4:0] table 118. nvend function nvend description 00100* ntsc vsync end position. *default value. note: for all ntsc/pal vsync timing controls, both the v bit in the av code and the vsync on the vs pin are modified. nftogdelo ntsc field toggle delay on odd field, address 0xe7, [7] table 119. nftogdelo function nftogdelo description 0* no delay. 1 delay field toggle/transiti on on an odd field by a line relative to nftog. *default value. nftogdele ntsc field toggle delay on even field, address 0xe7, [6] table 120. nftogdele function nftogdele description 0 no delay 1* delay field toggle/transition on an even field by a line relative to nftog. *default value. 04819-0-025 advance toggle of field by nftog[4:0] delay toggle of field by nftog[4:0] nftogsign odd field? 0 1 no yes nftogdele additional delay by 1 line 1 0 nftogdelo additional delay by 1 line 1 0 field toggle not valid for use r programming figure 25. ntsc field toggle nftogsign ntsc field toggle sign, address 0xe7, [5] table 121. nftogsign function nftogsign description 0 delay field transition. set for user manual programming. 1* advance field transition. not recommended for user programming. *default value. nftog[4:0] ntsc field toggle, address 0xe7, [4:0] table 122. nftog function nftog description 00011* ntsc field toggle position. *default value. note: for all ntsc/pal field timing controls, both the f bit in the av code and the field signal on the field/de pin are modified. table 123. recommended user settings for pal (see figure 27) register register name write 0x31 vsync field control 1 0x12 0x32 vsync field control 2 0x81 0x33 vsync field control 3 0x84 0x37 polarity 0x29 0xe8 pal_v_bit_beg 0x1 0xe9 pal_v_bit_end 0x4 0xea pal_f_bit_tog 0x6 adv7183a rev. a | page 49 of 104 04819-0-026 field 1 output video h v f 622 623 624 625 1 2 3 4 5 6 7 8 9 10 22 23 24 pvbeg[4:0] = 5 pvend[4:0] = 4 pftog[4:0] = 3 field 2 output video h v f pvbeg[4:0] = 5 pvend[4:0] = 4 pftog[4:0] = 3 310 311 312 313 314 315 316 317 318 319 320 321 322 335 336 337 figure 26. pal default (bt.656). the polarity of h, v, and f is embedded in the data. 04819-0-027 field 1 622 623 624 625 123 45 678 91011 2324 310 311 312 313 314 315 316 317 318 319 320 321 322 323 336 337 pvbeg[4:0] = 1h pvend[4:0] = 4h pftog[4:0] = 6h field 2 output video field output hs output vs output output video field output hs output vs output pvbeg[4:0] = 1h pvend[4:0] = 4h pftog[4:0] = 6h figure 27. pal typical vsync/field positions using register writes in table 123 adv7183a rev. a | page 50 of 104 04819-0-028 advance begin of vsync by pvbeg[4:0] delay begin of vsync by pvbeg[4:0] vsync begin pvbegsign odd field? 0 1 no yes pvbegdelo vsbho additional delay by 1 line advance by 0.5 line 1 0 1 0 pvbegdele vsbhe additional delay by 1 line advance by 0.5 line 1 0 1 0 not valid for use r programming figure 28. pal vsync begin pvbegdelo pal vsync begi n delay on odd field, address 0xe8, [7] table 124. pvbegdelo function pvbegdelo description 0* no delay. 1 delay vsync going high on an odd field by a line relative to pvbeg. *default value. pvbegdele pal vsync begin delay on even field, address 0xe8, [6] table 125. pvbegdele function pvbegdele description 0 no delay. 1* delay vsync going high on an even field by a line relative to pvbeg. *default value. pvbegsign pal vsync begin sign, address 0xe8, [5] table 126. pvbegsign function pvbegsign description 0 delay begin of vsync. set for user manual programming. 1* advance begin of vsync. not recommended for user programming. *default value. pvbeg[4:0] pal vsync begin, address 0xe8, [4:0] table 127. pvbeg function pvbeg description 00101* pal vsync begin position. *default value. for all ntsc/pal vsync timing controls, both the v bit in the av code and the vsync on the vs pin are modified. 04819-0-029 advance end of vsync by pvend[4:0] delay end of vsync by pvend[4:0] vsync end pvendsign odd field? 0 1 no yes pvenddelo vseho additional delay by 1 line advance by 0.5 line 1 0 1 0 pvenddele vsehe additional delay by 1 line advance by 0.5 line 1 0 1 0 not valid for use r programming figure 29. pal vsync end pvenddelo pal vsync end delay on odd field, address 0xe9,[7] table 128. pvenddelo function pvenddelo description 0* no delay. 1 delay vsync going low on an odd field by a line relative to pvend. *default value. adv7183a rev. a | page 51 of 104 pvenddele pal vsync end delay on even field, address 0xe9,[6] table 129. pvenddele function pvenddele description 0* no delay. 1 delay vsync going low on an even field by a line relative to pvend. *default value. pvendsign pal vsync end sign, address 0xe9, [5] table 130. pvendsign function pvendsign description 0* delay end of vsync. set for user manual programming. 1 advance end of vsync. not recommended for user programming. *default value. pvend[4:0] pal vsync end, address 0xe9,[4:0] table 131. pvend function pvend description 10100* pal vsync end position. *default value. note: for all ntsc/pal vsync timing controls, both the v bit in the av code and the vsync on the vs pin are modified. pftogdelo pal field toggle delay on odd field, address 0xea, [7] table 132. pftogdelo function pftogdelo description 0* no delay. 1 delay f toggle/transition on an odd field by a line relative to pftog. *default value. pftogdele pal field toggle delay on even field, address 0xea [6] table 133. pftogdele function pftogdele description 0 no delay. 1* delay f toggle/transition on an even field by a line relative to pftog. *default value. pftogsign pal field toggle sign, address 0xea, [5] table 134. pftogsign function pftogsign description 0 delay field transition. set for user manual programming. 1* advance field transition. not recommended for user programming. *default value. pftog pal field toggle, address 0xea [4:0] table 135. pftog function pftog description 00011* pal field toggle position. *default value. for all ntsc/pal field timing controls, the f bit in the av code and the field signal on the field/de pin are modified. 04819-0-030 advance toggle of field by ptog[4:0] delay toggle of field by pftog[4:0] pftogsign odd field? 0 1 no yes pftogdele additional delay by 1 line 1 0 pftogdelo additional delay by 1 line 1 0 field toggle not valid for use r programming figure 30. pal f toggle sdp sync processing the adv7183a has two additional sync processing blocks that postprocess the raw synchronization information extracted from the digitized input video. if desired, the blocks can be disabled via the following two i 2 c bits. enhspll enable hsync processor (sdp), address 0x01, [6] the hsync processor is designed to filter incoming hsyncs that have been corrupted by noise, providing improved per- formance for video signals with stable time bases but poor snr. for cvbs pal/ntsc, yc pal/ntsc enable the hsync processor. for secam disable the hsync processor. for yprpb through sdp, disable hsync processor. table 136. enhspll function enhspll description 0 disable the hsync processor. 1* enable the hsync processor. *default value. adv7183a rev. a | page 52 of 104 envsproc enable vsync processor (sdp), address 0x01, [3] this block provides extra filtering of the detected vsyncs to give improved vertical lock. table 137. envsproc function envsproc description 0 disable vsync processor. 1* enable vsync processor. *default value. sdp vbi data decode the following low data rate vbi signals can be decoded by the adv7183a: ? wide screen signaling (wss) ? copy generation management systems (cgms) ? closed captioning (ccap) ? edtv ? gemstar 1 and 2 compatible data recovery the presence of any of the above signals is detected and, if applicable, a parity check is performed. the result of this testing is contained in a confidence bit in the vbi info[7:0] register. users are encouraged to first examine the vbi info register before reading the corresponding data registers. all vbi data decode bits are read-only. all vbi data registers are double-buffered with the field signals. this means that data is extracted from the video lines and appears in the appropriate i 2 c registers with the next field transition. they are then static until the next field. the user should start an i 2 c read sequence with vs by first examining the vbi info register. then, depending on what data was detected, the appropriate data registers should be read. note that the data registers are filled with decoded vbi data even if their corresponding detection bits are low; it is likely that bits within the decoded data stream are wrong. notes ? the closed captioning data (ccap) is available in the i 2 c registers, and is also inserted into the output video data stream during horizontal blanking. ? the gemstar compatible data is not available in the i 2 c registers, and is inserted into the data stream only during horizontal blanking. wssd wide screen signaling detected (sdp), address 0x90, [0] logic 1 for this bit indicates that the data in the wss1 and wss2 registers is valid. the wssd bit goes high if the rising edge of the start bit is detected within a time window, and if the polarity of the parity bit matches the data transmitted. table 138. wssd function wssd description 0 no wss detected. confidence in decoded data is low. 1 wss detected. confidence in decoded data is high. ccapd closed caption detected (sdp), address 0x90, [1] a logic 1 for this bit indicates that the data in the ccap1 and ccap2 registers is valid. the ccapd bit goes high if the rising edge of the start bit is detected within a time window, and if the polarity of the parity bit matches the data transmitted. table 139. ccapd function ccapd description 0 no ccap signals detected. confidence in decoded data is low. 1 ccap sequence detected. conf idence in decoded data is high. edtvd edtv sequence detected (sdp), address 0x90, [2] a logic 1 for this bit indicates that the data in the edtv1, 2, 3 registers is valid. the edtvd bit goes high if the rising edge of the start bit is detected within a time window, and if the polarity of the parity bit matches the data transmitted. table 140. edtvd function edtvd description 0 no edtv sequence detected. confidence in decoded data is low. 1 edtv sequence detected. co nfidence in decoded data is high. cgmsd cgms-a sequence detected (sdp), address 0x90, [3] logic 1 for this bit indicates that the data in the cgms1, 2, 3 registers is valid. the cgmsd bit goes high if a valid crc checksum has been calculated from a received cgms packet. table 141. cgmsd function cgmsd description 0 no cgms transmission detected. confidence low. 1 cgms sequence decoded. confidence high. adv7183a rev. a | page 53 of 104 crc_enable crc cgms-a sequence (sdp), address 0xb2, [2] for certain video sources, the crc data bits may have an invalid format. in such circumstances, the crc checksum validation procedure can be disabled. the cgmsd bit goes high if the rising edge of the start bit is detected within a time window. table 142. crc_enable function crc_enable description 0 no crc check performed. the cgmsd bit goes high if the rising edge of the start bit is detected within a time window. 1* use crc checksum to validate the cgms-a sequence. the cgmsd bit goes high for a valid checksum. adi recommended setting. *default value. wide screen signaling data wss1[7:0] (sdp), address 0x91, [7:0], wss2[7:0] (sdp), address 0x92, [7:0] figure 31 shows the bit correspondence between the analog video waveform and the wss1/wss2 registers. please note that wss2[7:6] are undetermined and should be masked out by software. edtv data registers edtv1[7:0] (sdp), address 0x93, [7:0], edtv2[7:0] (sdp), address 0x94, [7:0], edtv3[7:0] (sdp), address 0x95, [7:0] figure 32 shows the bit correspondence between the analog video waveform and the edtv1/edtv2/edtv3 registers. note that edtv3[7:6] are undetermined and should be masked out by software. edtv3[5] is reserved for future use and, for now, will contain 0. the three lsbs of the edtv waveform are currently not supported. 04819-0-031 active video wss2[5:0] wss1[7:0] run-in sequence start code 0 1 2 3 4 5 6 7 0 1 2 3 4 5 11.0 s 38.4 s 42.5 s figure 31. sdp wss data extraction table 143. sdp wss access information signal name block register location address register default value wss1 [7:0] sdp wss 1 [7:0] 145d 91h readback only wss2 [5:0] sdp wss 2 [5:0] 146d 92h readback only edtv1[7:0] edtv2[7:0] edtv3[5:0] not supported 01 3456701234567012345 2 04819-0-032 figure 32. sdp edtv data extraction table 144. sdp edtv access information signal name block register location address register default value edtv1[7:0] sdp edtv 1 [7:0] 147d 93h readback only edtv2[7:0] sdp edtv 2 [7:0] 148d 94h readback only edtv3[7:0] sdp edtv 3 [7:0] 149d 95h readback only adv7183a rev. a | page 54 of 104 cgms data registers cgms1[7:0] (sdp), address 0x96, [7:0], cgms2[7:0] (sdp), address 0x97, [7:0], cgms3[7:0] (sdp), address 0x98, [7:0] figure 33 shows the bit correspondence between the analog video waveform and the cgms1/cgms2/cgms3 registers. cgms3[7:4] are undetermined and should be masked out by software. closed caption data registers ccap1[7:0] (sdp), address 0x99, [7:0], ccap2[7:0] (sdp), address 0x9a, [7:0] figure 34 shows the bit correspondence between the analog video waveform and the ccap1/ccap2 registers. notes ? ccap1[7] contains the parity bit from the first word. ccap2[7] contains the parity bit from the second word. ? refer to the gdecad gemstar decode ancillary data format (sdp), address 0x4c, [0] section. 04819-0-033 01 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 cgms2[7:0] cgms3[3:0] cgms1[7:0] ref +100 ire +70 ire 0 ire ?40 ire 11.2 s 49.1 s 0.5 s crc sequence 2.235 s 20ns figure 33. sdp cgms data extraction table 145. sdp cgms access information signal name block register location address register default value cgms1[7:0] sdp cgms 1 [7:0] 150d 96h readback only cgms2[7:0] sdp cgms 2 [7:0] 151d 97h readback only cgms3[3:0] sdp cgms 3 [3:0] 152d 98h readback only 0 reference color burst (9 cycles) frequency = f sc = 3.579545mhz amplitude = 40 ire 1 ccap1[7:0] 7 cycles of 0.5035mhz (clock run-in) ccap2[7:0] 2 3 4 5 6 7 0 1 2 3 4 5 67 p a r i t y s t a r t p a r i t y byte 1 byte 0 33.764 s 10.003 s 10.5 0.25 s 12.91 s 27.382 s 50 ire 40 ire 04819-0-034 figure 34. sdp closed caption data extraction table 146. sdp ccap access information signal name block register location address register default value ccap1[7:0] sdp ccap 1 [7:0] 153d 99h readback only ccap2[7:0] sdp ccap 2 [7:0] 154d 9ah readback only adv7183a rev. a | page 55 of 104 letterbox detection incoming video signals may conform to different aspect ratios (16:9 wide screen of 4:3 standard ). for certain transmissions in the wide screen format, a digital sequence (wss) is transmitted with the video signal. if a wss sequence is provided, the aspect ratio of the video can be derived from the digitally decoded bits wss contains. in the absence of a wss sequence, letterbox detection may be used to find wide screen signals. the detection algorithm examines the active video content of lines at the start and end of a field. if black lines are detected, this may serve as an indication that the currently shown picture is in wide screen format. the active video content (luminance magnitude) over a line of video is summed together. at the end of a line, this accumulated value is compared with a threshold, and a decision is made as to whether or not a particular line is black. the threshold value needed may depend on the type of input signal; some control is provided via lb_th[4:0]. detection at the start of a field the adv7183a expects a section of at least six consecutive black lines of video at the top of a field. once those lines have been detected, register lb_lct[7:0] reports back the number of black lines that were actually found. by default, the adv7183a starts looking for those black lines in sync with the beginning of active video (e.g., straight after the last vbi video line). lb_sl[3:0] allows the user to set the start of letterbox detection from the beginning of a frame on a line-by-line basis. the detection window closes in the middle of the field. detection at the end of a field the adv7183a expects at least six continuous lines of black video at the bottom of a field before reporting back the number of lines actually found via the lb_lcb[7:0] value. the activity window for letterbox detection (end of field) starts in the mid- dle of an active field. its end is programmable via lb_el[3:0]. detection at the midrange some transmissions of wide screen video include subtitles within the lower black box. if the adv7183a finds at least two black lines followed by some more nonblack video (e.g.,. the subtitle) and finally followed by the remainder of the bottom black block, it reports back a midcount via lb_lcm[7:0]. in cases where no subtitles are found, lb_lcm[7:0] reports the same number as lb_lcb[7:0]. notes ? there is a 2-field delay in the reporting of any line count parameters. ? there is no letterbox detected bit. the user is asked to read the lb_lct[7:0] and lb_lcb[7:0] register values and to come to a conclusion about the presence of letterbox type video in software. lb_lct[7:0] letterbox line count top (sdp), address 0x9b, [7:0]; lb_lcm[7:0] letterbox line count mid (sdp), address 0x9c, [7:0]; lb_lcb[7:0] letterbox line count bottom (sdp), address 0x9d, [7:0] table 147. lb_lcx access information signal name block address register default value lb_lct[7:0] sdp 0x9b readback only lb_lcm[7:0] sdp 0x9c readback only lb_lcb[7:0] sdp 0x9d readback only lb_th[4:0] letterbox threshold control (sdp), address 0xdc, [4:0] table 148.lb_th function lb_th[4:0] description 01100* default threshold for detection of black lines. 01101 to 10000 increase threshold (need larger active video content before identifying nonblack lines). 00000 to 01011 decrease threshold (even small noise levels can cause the detection of nonblack lines). *default value. lb_sl[3:0] letterbox start line (sdp), address 0xdd, [7:4] table 149. lb_sl function lb_sl[3:0] description 0100* letterbox detection is aligned with active video. window starts after the edtv vbi data line. for example, 0100 = 23/286 (ntsc). 0001, 0010 for example, 0101 = 24/287 (ntsc). *default value. lb_el[3:0] letterbox end line (sdp), address 0xdd, [3:0] table 150. lb_el function lb_el[3:0] description 1101* letterbox detection ends with the last active line of video on a field. for example, 1101 = 262/ 525 (ntsc). 0001,0010 for example, 1100 = 261/524 (ntsc). *default value. gemstar data recovery the gemstar compatible data recovery block (gscd) supports 1 and 2 data transmissions. in addition, it can serve as a closed caption decoder. gemstar compatible data transmissions can occur only in ntsc. closed caption data can be decoded in both pal and ntsc. the block is configured via i 2 c in the following ways: ? gdecel[15:0] allow data recovery on selected video lines on even fields to be enabled and disabled. ? gdecol[15:0] enable the data recovery on selected lines for odd fields. adv7183a rev. a | page 56 of 104 ? gdecad configures the way in which data is embedded in the video data stream. the recovered data is not available through i 2 c, but is being inserted into the horizontal blanking period of an itu-r bt656 compatible data stream. the data format is intended to comply with the recommendation by the international telecommunications union, itu-r bt.1364 2 . see figure 35. the format of the data packet depends on the following criteria: ? transmission is 1 or 2 ? data is output in 8-bit or 4-bit format (see the description of the gdecad gemstar decode ancillary data format (sdp), address 0x4c, [0] bit) ? data is closed caption (ccap) or gemstar compatible data packets are output if the corresponding enable bit is set (see the gdecel and gdecol descriptions), and if the decoder detects the presence of data. this means that for video lines where no data has been decoded, no data packet is output even if the corresponding line enable bit is set. each data packet starts immediately after the eav code of the preceding line. see figure 35 and table 151, which show the overall structure of the data packet. entries within the packet are as follows: ? fixed preamble sequence of 0x00, 0xff, 0xff. ? data identification word (did). the value for the did marking a gemstar or ccap data packet is 0x140 (10-bit value). ? secondary data identification word (sdid), which contains information about the video line from which data was retrieved, whether the gemstar transmission was of 1 or 2 format, and whether it was retrieved from an even or odd field. ? data count byte, giving the number of user data-words that follow. ? user data section. ? optional padding to ensure that the length of the user data-word section of a packet is a multiple of four bytes. 3 ? checksum byte. table 151 lists the values within a generic data packet that is output by the adv7183a in 8-bit format. 4 2 for more information, see the itu website at www.itu.ch. 3 requirement as set in itu-r bt.1364. 4 in 8-bit systems, bits d1 and d0 in the data packets are disregarded. 04819-0-035 00 ff ff did sdid data count user data optional padding bytes check sum secondary data identification preamble for ancillary data data identification user data (4 or 8 words) figure 35. gemstar and ccap embedded data packet (generic) table 151. generic data output packet byte d[9] d[8] d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] description 0 0 0 0 0 0 0 0 0 0 0 fixed preamble 1 1 1 1 1 1 1 1 1 1 1 fixed preamble 2 1 1 1 1 1 1 1 1 1 1 fixed preamble 3 0 1 0 1 0 0 0 0 0 0 did 4 !ep ep ef 2x line[3:0] 0 0 sdid 5 !ep ep 0 0 0 0 dc[1] dc[0 ] 0 0 data count (dc) 6 !ep ep 0 0 word1[7:4] 0 0 user data-words 7 !ep ep 0 0 word1[3:0] 0 0 user data-words 8 !ep ep 0 0 word2[7:4] 0 0 user data-words 9 !ep ep 0 0 word2[3:0] 0 0 user data-words 10 !ep ep 0 0 word3[7:4] 0 0 user data-words 11 !ep ep 0 0 word3[3:0] 0 0 user data-words 12 !ep ep 0 0 word4[7:4] 0 0 user data-words 13 !ep ep 0 0 word4[3:0] 0 0 user data-words 14 !cs[8] cs[8] cs[7] cs[6] cs[5] cs[4] cs[3] cs[2] 0 0 checksum adv7183a rev. a | page 57 of 104 table 152. data byte allocation 2 raw information bytes retrieved from the video line gdecad user data-words (including padding) padding bytes dc[1:0] 1 4 0 8 0 10 1 4 1 4 0 01 0 2 0 4 0 01 0 2 1 4 2 01 notes ? did. the data identification value is 140h (10-bit value). care has been taken that in 8-bit systems, the 2 lsbs do not carry vital information. ? ep and !ep. the ep bit is set to ensure even parity on the data-word d[8:0]. even parity means there will always be an even number of 1s within the d[8:0] bit arrangement. this includes the ep bit. !ep describes the logic inverse of ep and is output on d[9]. the !ep is output to ensure that the reserved codes of 00 and ff cannot happen. ? ef. even field identifier. ef = 1 indicates that the data was recovered from a video line on an even field. ? 2x. this bit indicates whether the data sliced was in gemstar 1 or 2 format. a high indicates 2 format. ? line[3:0]. this entry provides a code that is unique for each of the possible 16 source lines of video from which gemstar data may have been retrieved. please refer to table 164 and table 165. ? dc[1:0]. data count value. the number of user data words in the packet divided by 4. the number of user data words (udw) in any packet must be an integral number of 4. padding is required at the end, if necessary 12 . see to table 152. ? the 2x bit determines whether the raw information retrieved from the video line was 2 or 4 bytes. the state of the gdecad bit affects whether the bytes are transmitted 12 requirement as set in itu-r bt.1364. straight (i.e., two bytes transmitted as two bytes) or whether they are split into nibbles (i.e., two bytes transmitted as four half bytes). padding bytes are then added where necessary. ? cs[8:2]. the checksum is provided to determine the integrity of the ancillary data packet. it is calculated by summing up d[8:2] of did, sdid, the data count byte, and all udws, and ignoring any overflow during the summation. since all data bytes that are used to calculate the checksum have their 2 lsbs set to 0, the cs[1:0] bits are also always 0. !cs[8] describes the logic inversion of cs[8]. the value !cs[8] is included in the checksum entry of the data packet to ensure that the reserved values of 0x00 and 0xff do not occur. table 153 to table 156 outline the possible data packages. gemstar 2 format, half-byte output mode half-byte output mode is selected by setting cdecad = 0; full- byte output mode is selected by setting cdecad = 1. see the gdecad gemstar decode ancillary data format (sdp), address 0x4c, [0] section. gemstar 1 format half-byte output mode is selected by setting cdecad = 0, full- byte output mode is selected by setting cdecad = 1. see the gdecad gemstar decode ancillary data format (sdp), address 0x4c, [0] section. adv7183a rev. a | page 58 of 104 table 153. gemstar 2 data, half-byte mode byte d[9] d[8] d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] description 0 0 0 0 0 0 0 0 0 0 0 fixed preamble 1 1 1 1 1 1 1 1 1 1 1 fixed preamble 2 1 1 1 1 1 1 1 1 1 1 fixed preamble 3 0 1 0 1 0 0 0 0 0 0 did 4 !ep ep ef 1 line[3:0] 0 0 sdid 5 !ep ep 0 0 0 0 1 0 0 0 data count 6 !ep ep 0 0 gemstar word1[7: 4] 0 0 user data-words 7 !ep ep 0 0 gemstar word1[3: 0] 0 0 user data-words 8 !ep ep 0 0 gemstar word2[7: 4] 0 0 user data-words 9 !ep ep 0 0 gemstar word2[3: 0] 0 0 user data-words 10 !ep ep 0 0 gemstar word3[7: 4] 0 0 user data-words 11 !ep ep 0 0 gemstar word3[3: 0] 0 0 user data-words 12 !ep ep 0 0 gemstar word4[7: 4] 0 0 user data-words 13 !ep ep 0 0 gemstar word4[3: 0] 0 0 user data-words 14 !cs[8] cs[8] cs[7] cs[6] cs[5] cs[4 ] cs[3] cs[2] cs[1] cs[0] checksum table 154. gemstar 2 data, full-byte mode byte d[9] d[8] d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] description 0 0 0 0 0 0 0 0 0 0 0 fixed preamble 1 1 1 1 1 1 1 1 1 1 1 fixed preamble 2 1 1 1 1 1 1 1 1 1 1 fixed preamble 3 0 1 0 1 0 0 0 0 0 0 did 4 !ep ep ef 1 line[3:0] 0 0 sdid 5 !ep ep 0 0 0 0 0 1 0 0 data count 6 gemstar word1[7:0] 0 0 user data-words 7 gemstar word2[7:0] 0 0 user data-words 8 gemstar word3[7:0] 0 0 user data-words 9 gemstar word4[7:0] 0 0 user data-words 10 !cs[8] cs[8] cs[7] cs[6] cs[5] cs[4 ] cs[3] cs[2] cs[1] cs[0] checksum table 155. gemstar 1 data, half-byte mode byte d[9] d[8] d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] description 0 0 0 0 0 0 0 0 0 0 0 fixed preamble 1 1 1 1 1 1 1 1 1 1 1 fixed preamble 2 1 1 1 1 1 1 1 1 1 1 fixed preamble 3 0 1 0 1 0 0 0 0 0 0 did 4 !ep ep ef 0 line[3:0] 0 0 sdid 5 !ep ep 0 0 0 0 0 1 0 0 data count 6 !ep ep 0 0 gemstar word1[7: 4] 0 0 user data-words 7 !ep ep 0 0 gemstar word1[3: 0] 0 0 user data-words 8 !ep ep 0 0 gemstar word2[7: 4] 0 0 user data-words 9 !ep ep 0 0 gemstar word2[3: 0] 0 0 user data-words 10 !cs[8] cs[8] cs[7] cs[6] cs[5] cs[4 ] cs[3] cs[2] cs[1] cs[0] checksum adv7183a rev. a | page 59 of 104 table 156. gemstar 1 data, full-byte mode byte d[9] d[8] d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] description 0 0 0 0 0 0 0 0 0 0 0 fixed preamble 1 1 1 1 1 1 1 1 1 1 1 fixed preamble 2 1 1 1 1 1 1 1 1 1 1 fixed preamble 3 0 1 0 1 0 0 0 0 0 0 did 4 !ep ep ef 0 line[3:0] 0 0 sdid 5 !ep ep 0 0 0 0 0 1 0 0 data count 6 gemstar word1[7:0] 0 0 user data-words 7 gemstar word2[7:0] 0 0 user data-words 8 1 0 0 0 0 0 0 0 0 0 udw padding 200h 9 1 0 0 0 0 0 0 0 0 0 udw padding 200h 10 !cs[8] cs[8] cs[7] cs[6] cs[5] cs[4 ] cs[3] cs[2] cs[1] cs[0] checksum table 157. ntsc ccap data, half-byte mode byte d[9] d[8] d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] description 0 0 0 0 0 0 0 0 0 0 0 fixed preamble 1 1 1 1 1 1 1 1 1 1 1 fixed preamble 2 1 1 1 1 1 1 1 1 1 1 fixed preamble 3 0 1 0 1 0 0 0 0 0 0 did 4 !ep ep ef 0 1 0 1 1 0 0 sdid 5 !ep ep 0 0 0 0 0 1 0 0 data count 6 !ep ep 0 0 ccap word1[7:4] 0 0 user data-words 7 !ep ep 0 0 ccap word1[3:0] 0 0 user data-words 8 !ep ep 0 0 ccap word2[7:4] 0 0 user data-words 9 !ep ep 0 0 ccap word2[3:0] 0 0 user data-words 10 !cs[8] cs[8] cs[7] cs[6] cs[5] cs[4 ] cs[3] cs[2] cs[1] cs[0] checksum table 158. ntsc ccap data, full-byte mode byte d[9] d[8] d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] description 0 0 0 0 0 0 0 0 0 0 0 fixed preamble 1 1 1 1 1 1 1 1 1 1 1 fixed preamble 2 1 1 1 1 1 1 1 1 1 1 fixed preamble 3 0 1 0 1 0 0 0 0 0 0 did 4 !ep ep ef 0 1 0 1 1 0 0 sdid 5 !ep ep 0 0 0 0 0 1 0 0 data count 6 ccap word1[7:0] 0 0 user data-words 7 ccap word2[7:0] 0 0 user data-words 8 1 0 0 0 0 0 0 0 0 0 udw padding 200h 9 1 0 0 0 0 0 0 0 0 0 udw padding 200h 10 !cs[8] cs[8] cs[7] cs[6] cs[5] cs[4 ] cs[3] cs[2] cs[1] cs[0] checksum ntsc ccap data half-byte output mode is selected by setting cdecad = 0, the full-byte mode is enabled by cdecad = 1. see the gdecad gemstar decode ancillary data format (sdp), address 0x4c, [0]. the data packet formats are shown in table 157 and table 158. notes ? only closed caption data from the sdp core can be embedded in the output data stream. ? ntsc closed caption data is sliced on line 21 d on even and odd fields. the corresponding enable bit has to be set high. see the gdecel[15:0] gemstar decoding even lines (sdp), address 0x48, [7:0]; address 0x49, [7:0] and gdecol[15:0] gemstar decoding odd lines (sdp), address 0x4a, [7:0]; address 0x4b, [7:0] sections. adv7183a rev. a | page 60 of 104 pal ccap data half-byte output mode is selected by setting cdecad = 0, full- byte output mode is selected by setting cdecad = 1. see the gdecad gemstar decode ancillary data format (sdp), address 0x4c, [0] section. table 159 and table 160 list the bytes of the data packet. notes ? only closed caption data from the sdp core can be embedded in the output data stream. pal closed caption data is sliced from lines 22 and 335. the corresponding enable bits have to be set. ? see the gdecel[15:0] gemstar decoding even lines (sdp), address 0x48, [7:0]; address 0x49, [7:0] and gdecol[15:0] gemstar decoding odd lines (sdp), address 0x4a, [7:0]; address 0x4b, [7:0] sections. table 159. pal ccap data, half-byte mode byte d[9] d[8] d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] description 0 0 0 0 0 0 0 0 0 0 0 fixed preamble 1 1 1 1 1 1 1 1 1 1 1 fixed preamble 2 1 1 1 1 1 1 1 1 1 1 fixed preamble 3 0 1 0 1 0 0 0 0 0 0 did 4 !ep ep ef 0 1 0 1 0 0 0 sdid 5 !ep ep 0 0 0 0 0 1 0 0 data count 6 !ep ep 0 0 ccap word1[7:4] 0 0 user data-words 7 !ep ep 0 0 ccap word1[3:0] 0 0 user data-words 8 !ep ep 0 0 ccap word2[7:4] 0 0 user data-words 9 !ep ep 0 0 ccap word2[3:0] 0 0 user data-words 10 !cs[8] cs[8] cs[7] cs[6] cs[5] cs[4 ] cs[3] cs[2] cs[1] cs[0] checksum table 160. pal ccap data, full-byte mode byte d[9] d[8] d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] description 0 0 0 0 0 0 0 0 0 0 0 fixed preamble 1 1 1 1 1 1 1 1 1 1 1 fixed preamble 2 1 1 1 1 1 1 1 1 1 1 fixed preamble 3 0 1 0 1 0 0 0 0 0 0 did 4 !ep ep ef 0 1 0 1 0 0 0 sdid 5 !ep ep 0 0 0 0 0 1 0 0 data count 6 ccap word1[7:0] 0 0 user data-words 7 ccap word2[7:0] 0 0 user data-words 8 1 0 0 0 0 0 0 0 0 0 udw padding 200h 9 1 0 0 0 0 0 0 0 0 0 udw padding 200h 10 !cs[8] cs[8] cs[7] cs[6] cs[5] cs[4 ] cs[3] cs[2] cs[1] cs[0] checksum adv7183a rev. a | page 61 of 104 gdecel[15:0] gemstar decoding even lines (sdp), address 0x48, [7:0]; address 0x49, [7:0] the 16 bits of the gdecel[15:0] are interpreted as a collection of 16 individual line decode enable signals. each bit refers to a line of video in an even field. setting the bit enables the decoder block trying to find gemstar or closed caption compatible data on that particular line. setting the bit to 0 prevents the decoder from trying to retrieve data. see table 164 and table 165. notes ? to retrieve closed caption data services on ntsc (line 284), gdecel[11] must be set. ? to retrieve closed caption data services on pal (line 335), gdecel[14] must be set. table 161. gdecel function gdecel[15:0] description 0x0000* do not attempt to deco de gemstar compatible data or ccap on any line (even field). *default value. gdecol[15:0] gemstar decoding odd lines (sdp), address 0x4a, [7:0]; address 0x4b, [7:0] the 16 bits of the gdecol[15:0] form a collection of 16 individual line decode enable signals. see table 164 and table 165. notes ? to retrieve closed caption data services on ntsc (line 21), gdecol[11] must be set. ? to retrieve closed caption data services on pal (line 22), gdecol[14] must be set. table 162. gdecol function gdecol[15:0] description 0x0000* do not attempt to decode gemstar compatible data or ccap on any line (odd field). *default value. gdecad gemstar decode ancillary data format (sdp), address 0x4c, [0] the decoded data from gemstar compatible transmissions or closed caption is inserted into the horizontal blanking period of the respective line of video. there is a potential problem if the retrieved data bytes have the value 0x00 or 0xff. in an itu-r bt.656 compatible data stream, those values are reserved and used only to form a fixed preamble. the gdecad bit allows the data to be inserted into the horizontal blanking period in two ways: ? insert all data straight into the data stream, even the reserved values of 0x00 and 0xff, if they occur. this may violate the output data format specification itu-r bt.1364. ? split all data into nibbles and insert the half-bytes over double the number of cycles in a 4-bit format. table 163. gdecad function gdecad description 0* split data into half-bytes and insert. 1 output data straight in 8-bit format. *default value. adv7183a rev. a | page 62 of 104 table 164. ntsc line enable bits and corresponding line numbering line[3:0] line number (itu-r bt.470) enable bit comment 0 10 gdecol[0] gemstar 1 11 gdecol[1] gemstar 2 12 gdecol[2] gemstar 3 13 gdecol[3] gemstar 4 14 gdecol[4] gemstar 5 15 gdecol[5] gemstar 6 16 gdecol[6] gemstar 7 17 gdecol[7] gemstar 8 18 gdecol[8] gemstar 9 19 gdecol[9] gemstar 10 20 gdecol[10] gemstar 11 21 gdecol[11] gemstar or closed caption 12 22 gdecol[12] gemstar 13 23 gdecol[13] gemstar 14 24 gdecol[14] gemstar 15 25 gdecol[15] gemstar 0 273 (10) gdecel[0] gemstar 1 274 (11) gdecel[1] gemstar 2 275 (12) gdecel[2] gemstar 3 276 (13) gdecel[3] gemstar 4 277 (14) gdecel[4] gemstar 5 278 (15) gdecel[5] gemstar 6 279 (16) gdecel[6] gemstar 7 280 (17) gdecel[7] gemstar 8 281 (18) gdecel[8] gemstar 9 282 (19) gdecel[9] gemstar 10 283 (20) gdecel[10] gemstar 11 284 (21) gdecel[11] gemstar or closed caption 12 285 (22) gdecel[12] gemstar 13 286 (23) gdecel[13] gemstar 14 287 (24) gdecel[14] gemstar 15 288 (25) gdecel[15] gemstar table 165. pal line enable bi ts and corresponding line numbering line[3:0] line number (itu-r bt.470) enable bit comment 12 8 gdecol[0] not valid 13 9 gdecol[1] not valid 14 10 gdecol[2] not valid 15 11 gdecol[3] not valid 0 12 gdecol[4] not valid 1 13 gdecol[5] not valid 2 14 gdecol[6] not valid 3 15 gdecol[7] not valid 4 16 gdecol[8] not valid 5 17 gdecol[9] not valid 6 18 gdecol[10] not valid 7 19 gdecol[11] not valid 8 20 gdecol[12] not valid 9 21 gdecol[13] not valid 10 22 gdecol[14] closed caption 11 23 gdecol[15] not valid 12 321 (8) gdecel[0] not valid 13 322 (9) gdecel[1] not valid 14 323 (10) gdecel[2] not valid 15 324 (11) gdecel[3] not valid 0 325 (12) gdecel[4] not valid 1 326 (13) gdecel[5] not valid 2 327 (14) gdecel[6] not valid 3 328 (15) gdecel[7] not valid 4 329 (16) gdecel[8] not valid 5 330 (17) gdecel[9] not valid 6 331 (18) gdecel[10] not valid 7 332 (19) gdecel[11] not valid 8 333 (20) gdecel[12] not valid 9 334 (21) gdecel[13] not valid 10 335 (22) gdecel[14] closed caption 11 336 (23) gdecel[15] not valid adv7183a rev. a | page 63 of 104 pixel port configuration the adv7183a has a very flexible pixel port that can be config-ured in a variety of formats to accommodate downstream ics. table 168 and table 169 summarize the various functions that the adv7183as pins can have in different modes of operation. the ordering of components (e.g., cr versus cb, cha/b/c) can be changed. refer to the swpc swap pixel cr/cb (sdp), address 0x27, [7] section. table 168 indicates the default positions for the cr/cb components. of_sel[3:0] output format selection, address 0x03, [5:2] there are several modes in which the adv7183a pixel port can be configured. these modes are under the control of of_sel[3:0]. see table 169 for details. the default llc frequency output on the llc1 pin is approxi- mately 27 mhz. for modes that operate with a nominal data rate of 13.5 mhz (0001, 0010), the clock frequency on the llc1 pin stays at the higher rate of 27 mhz. for information on outputting the nominal 13.5 mhz clock on the llc1 pin, see the llc1 output selection, llc_pad_sel[2:0] (sdp), address 0x8f, [6:4] section. swpc swap pixel cr/cb (sdp), address 0x27, [7] this bit allows cr and cb samples of the sdp block to be swapped. table 166. swpc function swpc description 0* no swapping. 1 swap cr and cb values. *default value. llc1 output selection, llc_pad_sel[2:0] (sdp), address 0x8f, [6:4] the following i 2 c write allows the user to select between the llc1 (nominally at 27 mhz) and llc2 (nominally at 13.5 mhz). the llc2 signal is useful for llc2 compatible wide bus (16-bit) output modes. see of_sel[3:0] output format selection, address 0x03, [5:2] for additional information. the llc2 signal and data on the data bus are synchronized. by default, the rising edge of llc1/llc2 is aligned with the y data; the falling edge occurs when the data bus holds c data. the polarity of the clock, and therefore the y/c assignments to the clock edges, can be altered by using the polarity llc pin. table 167. llc_pad_sel function llc_pad_sel[2:0] description 000* output nominal 27 mhz llc on llc1 pin 101 output nominal 13.5 mhz llc on llc1 pin *default value. table 168. p15Cp0 output/input pin mapping data port pins p[15:0] processor, format, and mode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 sdp video out, 8-bit, 4:2:2 ycrcb[7:0]out sdp video out, 16-bit, 4:2:2 y[7:0]out crcb[7:0] out table 169. standard definition pixel port modes p[15: 0] of_sel[3:0] format p[15:8] p[7: 0] 0010 16-bit @llc2 4:2:2 y[7:0] crcb[7:0] 0011* 8-bit @llc1 4:2:2 ycrcb[7:0] three-state 0110-1111 reserved reserved. do not use. *default value. adv7183a rev. a | page 64 of 104 mpu port description the adv7183a supports a 2-wire (i 2 c compatible) serial inter- face. four inputs, serial data (sda1 and sda2) and serial clock (sclk1 and sclk2), carry information between the adv7183a and the system i 2 c master controller. each slave device is recognized by a unique address. the adv7183a has two ports: the control port, which allows the user to set up and configure the decoder; and the vbi data readback port, which allows the user to read back captured vbi data. both the control and vbi ports have four possible slave addresses for both read and write operations, depending on the logic level on the alsb pin. these four unique addresses are shown in table 170. the adv7183as alsb pin controls bit 1 of the slave address. by altering the alsb, it is possible to control two adv7183as in an application without having a conflict with the same slave address. the lsb (bit 0) sets either a read or write operation. logic 1 corresponds to a read operation; logic 0 corresponds to a write operation. table 170. i 2 c address for adv7183a alsb r/w slave address control port slave address vbi port 0 0 0x40 0x20 0 1 0x41 0x21 1 0 0x42 0x22 1 1 0x43 0x23 to control the device on the bus, a specific protocol must be followed. first, the master initiates a data transfer by establish- ing a start condition, which is defined by a high-to-low transition on sda1/sda2 while sclk1/sclk2 remains high. this indicates that an address/data stream will follow. all per- ipherals respond to the start condition and shift the next eight bits (7-bit address + r/w bit). the bits are transferred from msb down to lsb. the peripheral that recognizes the trans- mitted address responds by pulling the data line low during the ninth clock pulse; this is known as an acknowledge bit. all other devices withdraw from the bus at this point and maintain an idle condition. the idle condition is where the device monitors the sda1/sda2 and sclk1/sclk2 lines, waiting for the start condition and the correct transmitted address. the r/w bit determines the direction of the data. logic 0 on the lsb of the first byte means the master will write information to the peripheral. logic 1 on the lsb of the first byte means the master will read information from the peripheral. the adv7183a acts as a standard slave device on the bus. the data on the sda pin is eight bits long, supporting the 7-bit addresses plus the r/w bit. the adv7183a has 196 subad- dresses to enable access to the internal registers. it therefore interprets the first byte as the device address and the second byte as the starting subaddress. the subaddresses auto- increment, allowing data to be written to or read from the starting subaddress. a data transfer is always terminated by a stop condition. the user can also access any unique subaddress register on a one-by-one basis without updating all the registers. stop and start conditions can be detected at any stage during the data transfer. if these conditions are asserted out of sequence with normal read and write operations, they cause an immediate jump to the idle condition. during a given sclk high period, the user should only issue one start condition, one stop condition, or a single stop condition followed by a single start condition. if an invalid subaddress is issued by the user, the adv7183a will not issue an acknowledge and will return to the idle condition. if in auto-increment mode the user exceeds the highest subaddress, the following action is taken: 1. in read mode, the highest subaddress register contents continue to be output until the master device issues a no- acknowledge. this indicates the end of a read. a no- acknowledge condition is where the sda line is not pulled low on the ninth pulse. 2. in write mode, the data for the invalid byte is not loaded into any subaddress register, a no acknowledge is issued by the adv7183a, and the part returns to the idle condition. 04819-0-036 sdata sclock start addr ack ack data ack stop subaddress 1?7 1?7 8 9 8 9 1?7 8 9 s p r/w figure 36. bus data transfer 04819-0-037 s write s equence slave addr a(s) sub addr a(s) data a(s) data a(s) p s read s equence slave addr slave addr a(s) sub addr a(s) s a(s) data a(m) data a(m) p s = start bit p = stop bit a(s) = acknowledge by slave a(m) = acknowledge by master a(s) = no-acknowledge by slave a(m) = no-acknowledge by master lsb = 1 lsb = 0 figure 37: read and write sequence adv7183a rev. a | page 65 of 104 register accesses the mpu can write to or read from all of the adv7183as registers, except the subaddress register, which is write-only. the subaddress register determines which register the next read or write operation accesses. all communications with the part through the bus start with an access to the subaddress register. then, a read/write operation is performed from/to the target address, which then increments to the next address until a stop command on the bus is performed. register programming the following section describe each register in terms of its configuration. the communications register is an 8-bit, write- only register. after the part has been accessed over the bus and a read/write operation is selected, the subaddress is set up. the subaddress register determines to/from which register the operation takes place. table 172 lists the various operations under the control of the subaddress register for the control port. table 173 lists the various readback registers under the control of the subaddress register for the vbi port. register select (sr7-sr0) these bits are set up to point to the required starting address. i 2 c sequencer an i 2 c sequencer is employed in cases where a parameter exceeds eight bits, and is therefore distributed over two or more i 2 c registers (e.g., hsb [11:0]). when such a parameter is changed using two or more i 2 c write operations, the parameter may hold an invalid value for the time between the first i 2 c finishing and the last i 2 c being completed. in other words, the top bits of the parameter may already hold the new value while the remaining bits of the parameter still hold the previous value. to avoid this problem, the i 2 c sequencer holds the already updated bits of the parameter in local memory; all bits of the parameter are updated together once the last register write operation has completed. the correct operation of the i 2 c sequencer relies on the following: ? all i 2 c registers for the parameter in question must be written to in order of ascending addresses. (e.g., for hsb[10:0], write to address 0x34 first, followed by 0x35). ? no other i 2 c taking place between the two (or more) i 2 c writes for the sequence (e.g., for hsb[10:0], write to address 0x34 first, immediately followed by 0x35). adv7183a rev. a | page 66 of 104 i 2 c control register map table 171. control port register map details subaddress register name reset value rw hex input control 0000 0000 rw 0 00 video selection 1100 1000 rw 1 01 video selection 2 0000 0100 rw 2 02 output control 0000 1100 rw 3 03 extended output control 0101 0101 rw 4 04 reserved 0000 0000 rw 5 05 reserved 0000 0010 rw 6 06 autodetect enable 0111 1111 rw 7 07 contrast 1000 0000 rw 8 08 reserved 1000 0000 rw 9 09 brightness 0000 0000 rw 10 0a hue 0000 0000 rw 11 0b default value y 0011 0110 rw 12 0c default value c 0111 1100 rw 13 0d adi control 0000 0101 rw 14 0e power management 0000 0000 rw 15 0f status 1 xxxx xxxx r 16 10 ident xxxx xxxx r 17 11 status 2 xxxx xxxx r 18 12 status 3 xxxx xxxx r 19 13 analog clamp control 0001 0010 rw 20 14 digital clamp control 1 0100 xxxx rw 21 15 reserved xxxx xxxx rw 22 16 shaping filter control 0000 0001 rw 23 17 shaping filter control 2 1001 0011 rw 24 18 comb filter control 1111 0001 rw 25 19 reserved xxxx xxxx rw 26C38 1aC26 pixel delay control 0101 1000 rw 39 27 reserved xxxx xxxx rw 40 28C2a misc gain control 1110 0011 rw 43 2b agc mode control 1010 1110 rw 44 2c chroma gain control 1 1111 0100 rw 45 2d chroma gain control 2 0000 0000 rw 46 2e luma gain control 1 1111 xxxx rw 47 2f luma gain control 2 xxxx xxxx rw 48 30 vsync field control 1 0001 0010 rw 49 31 vsync field control 2 0100 0001 rw 50 32 vsync field control 3 1000 0100 51 33 hsync position control 1 0000 0000 rw 52 34 hsync position control 2 0000 0010 rw 53 35 hsync position control 3 0000 0000 rw 54 36 polarity 0000 0001 rw 55 37 ntsc comb control 1000 0000 rw 56 38 pal comb control 1100 0000 rw 57 39 adc control 0001 0000 rw 58 3a reserved xxxx xxxx rw 59C60 3bC3c manual window control 0100 0011 rw 61 3d reserved 0101 0000 rw 62C70 3eC47 gemstar ctrl 1 00000000 rw 72 48 gemstar ctrl 2 0000 0000 rw 73 49 gemstar ctrl 3 0000 0000 rw 74 4a gemstar ctrl 4 0000 0000 rw 75 4b gemstar ctrl 5 xxxx xxx0 rw 76 4c cti dnr ctrl 1 1110 1111 rw 77 4d cti dnr ctrl 2 0000 1000 rw 78 4e reserved xxxx xxxx rw 79 4f cti dnr ctrl 4 0000 1000 rw 80 50 lock count 1010 0100 rw 81 51 reserved xxxx xxxx rw 82C142 52C8e free run line length 1 0000 0000 w 143 8f free run line length 2 0000 0000 w 144 90 vbi info xxxx xxxx r 144 90 wss 1 xxxx xxxx r 145 91 wss 2 xxxx xxxx r 146 92 edtv 1 xxxx xxxx r 147 93 edtv 2 xxxx xxxx r 148 94 edtv 3 xxxx xxxx r 149 95 cgms 1 xxxx xxxx r 150 96 cgms 2 xxxx xxxx r 151 97 cgms 3 xxxx xxxx r 152 98 ccap 1 xxxx xxxx r 153 99 ccap 2 xxxx xxxx r 154 9a letterbox 1 xxxx xxxx r 155 9b letterbox 2 xxxx xxxx r 156 9c letterbox 3 xxxx xxxx r 157 9d reserved xxxx xxxx rw 158-177 9eCb1 crc enable 0001 1100 w 178 b2 reserved xxxx xxxx rw 179C194 b2Cc2 adc switch 1 xxxx xxxx rw 195 c3 adc switch 2 0xxx xxxx rw 196 c4 reserved xxxx xxxx rw 197C219 c5Cdb letterbox control 1 1010 1100 rw 220 dc letterbox control 2 0100 1100 rw 221 dd reserved 0000 0000 rw 222 de reserved 0000 0000 rw 223 df reserved 0001 0100 rw 224 e0 sd offset cb 1000 0000 rw 225 e1 sd offset cr 1000 0000 rw 226 e2 sd saturation cb 1000 0000 rw 227 e3 sd saturation cr 1000 0000 rw 228 e4 ntsc v bit begin 0010 0101 rw 225 e5 ntsc v bit end 0000 0100 rw 226 e6 ntsc f bit toggle 0110 0011 rw 227 e7 pal v bit begin 0110 0101 rw 225 e8 pal v bit end 0001 0100 rw 226 e9 pal f bit toggle 0110 0011 rw 227 ea adv7183a rev. a | page 67 of 104 table 172. control port register map bit details register name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 input control vid_sel.3 vid_sel.2 vid_sel.1 vid_sel.0 insel.3 insel.2 insel.1 insel.0 video selection enhspll betacam envsproc video selection 2 ypm.2 ypm.1 ypm.0 output control vbi_en tod of_sel.3 of_sel.2 of_sel.1 of_sel.0 sd_dup_av extended output control bt656-4 dr_str.1 dr_str.0 tim_oe bl_c_vbi en_sfl_pi range reserved reserved autodetect enable ad_sec525_en ad_secam_en ad_n443_en ad _p60_en ad_paln_en ad_palm_ en ad_ntsc_en ad_pal_en contrast con.7 con.6 con.5 co n.4 con.3 con.2 con.1 con.0 reserved brightness bri.7 bri.6 bri.5 bri.4 bri.3 bri.2 bri.1 bri.0 hue hue.7 hue.6 hue.5 hue.4 hue.3 hue.2 hue.1 hue.0 default value y def_y.5 def_y.4 def_y.3 def_y.2 def_y.1 def_ y.0 def_val_auto _en def_val_en default value c def_c.7 def_c.6 def_c.5 def_ c.4 def_c.3 def_c.2 def_c.1 def_c.0 adi control tri_llc dr_str_c.1 dr_str_c.0 dr_str_s.1 dr_str_s.0 power management pwrdn pdbp status 1 col_kill ad_result.2 ad _result.1 ad_result.0 follow_pw fsc_lock lost_lock in_lock ident ident.7 ident.6 ident.5 ident.4 ident.3 ident.2 ident.1 ident.0 status 2 fsc nstd ll nstd mv ag c det mv ps det mvcs t3 mvcs det status 3 pal sw lock interlace std fld len free_run_act inst_hlock analog clamp control cclen digital clamp control 1 dct.1 dct.0 reserved shaping filter control csfm.2 csfm.1 csfm.0 ysfm.4 ysfm.3 ysfm.2 ysfm.1 ysfm.0 shaping filter control 2 wysfmovr wysfm.4 wysfm. 3 wysfm.2 wysfm.1 wysfm.0 comb filter control nsfse l.1 nsfsel.0 psfsel.1 psfsel.0 reserved pixel delay control swpc auto_pdc_en cta.2 cta.1 cta.0 lta.1 lta.0 reserved misc gain control cke pw_upd agc mode control lagc.2 lagc.1 lagc.0 cagc.1 cagc.0 chroma gain control 1 cagt.1 cagt.0 cmg.11 cmg.10 cmg.9 cmg.8 chroma gain control 2 cmg.7 cmg.6 cmg.5 cmg.4 cmg.3 cmg.2 cmg.1 cmg.0 luma gain control 1 lagt.1 lgat.0 lmg.11 lmg.10 lmg.9 lmg.8 luma gain control 2 lmg.7 lmg.6 lmg.5 lmg.4 lmg.3 lmg.2 lmg.1 lmg.0 vsync field control 1 newavmode hvstim vsync field control 2 vsbho vsbhe vsync field control 3 vseho vsehe hsync position control 1 hsb.10 hsb.9 hsb.8 hse.10 hse.9 hse.8 hsync position control 2 hsb.7 hsb.6 hsb.5 hsb.4 hsb.3 hsb.2 hsb.1 hsb.0 hsync position control 3 hse.7 hse.6 hse.5 hse.4 hse.3 hse.2 hse.1 hse.0 polarity phs pvs pf pclk ntsc comb control ctapsn.1 ctapsn.0 ccmn.2 ccmn.1 ccmn.0 ycmn.2 ycmn.1 ycmn.0 pal comb control ctapsp.1 ctapsp.0 ccm p.2 ccmp.1 ccmp.0 ycmp.2 ycmp.1 ycmp.0 adc control pwrdn_ad c_0 pwrdn_ad c_1 pwrdn_adc_2 reserved manual window control ckillthr.2 ckillthr.1 ckillthr.0 reserved adv7183a rev. a | page 68 of 104 register name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gemstar ctrl 1 gdecel.15 gdecel.14 gdecel.13 gdecel.12 gdecel.11 gdecel.10 gdecel.9 gdecel.8 gemstar ctrl 2 gdecel.7 gdecel.6 gdecel.5 gdecel.4 gdecel.3 gdecel.2 gdecel.1 gdecel.0 gemstar ctrl 3 gdecol.15 gdecol.14 gdecol.13 gd ecol.12 gdecol.11 gdecol.10 gdecol.9 gdecol.8 gemstar ctrl 4 gdecol.7 gdecol.6 gdecol.5 gdecol.4 gdecol.3 gdecol.2 gdecol.1 gdecol.0 gemstar ctrl 5 gdecad cti dnr ctrl 1 dnr_en cti_ ab.1 cti_ab.0 cti_ab_en cti_en cti dnr ctrl 2 cti_c_th.7 cti_c_th.6 cti_c_th.5 cti_ c_th.4 cti_c_th.3 cti_c_th.2 cti_c_th.1 cti_c_th.0 reserved cti dnr ctrl 4 dnr_th.7 dnr_th.6 dnr_th.5 dn r_th.4 dnr_th.3 dnr_th .2 dnr_th.1 dnr_th.0 lock count fscle srls col.2 col.1 col.0 cil.2 cil.1 cil.0 reserved free run line length 1 llc_pad_sel.2 llc_pad_se l.1 llc_pad_sel.0 free run line length 2 vbi info cgmsd edtvd ccapd wssd wss 1 wss1.7 wss1.6 wss1.5 wss1.4 wss1.3 wss1.2 wss1.1 wss1.0 wss 2 wss2.7 wss2.6 wss2.5 wss2.4 wss2.3 wss2.2 wss2.1 wss2.0 edtv 1 edtv1.7 edtv1.6 edtv1.5 edtv 1.4 edtv1.3 edtv1.2 edtv1.1 edtv1.0 edtv 2 edtv2.7 edtv2.6 edtv2.5 edtv 2.4 edtv2.3 edtv2.2 edtv2.1 edtv2.0 edtv 3 edtv3.7 edtv3.6 edtv3.5 edtv 3.4 edtv3.3 edtv3.2 edtv3.1 edtv3.0 cgms 1 cgms1.7 cgms1.6 cgms1.5 cgms 1.4 cgms1.3 cgms1.2 cgms1.1 cgms1.0 cgms 2 cgms2.7 cgms2.6 cgms2.5 cgms 2.4 cgms2.3 cgms2.2 cgms2.1 cgms2.0 cgms 3 cgms3.7 cgms3.6 cgms3.5 cgms 3.4 cgms3.3 cgms3.2 cgms3.1 cgms3.0 ccap 1 ccap1.7 ccap1.6 ccap1.5 ccap1.4 ccap1.3 ccap1.2 ccap1.1 ccap1.0 ccap 2 ccap2.7 ccap2.6 ccap2.5 ccap2.4 ccap2.3 ccap2.2 ccap2.1 ccap2.0 letterbox 1 lb_lct.7 lb_lct.6 lb_lct.5 lb_lct.4 lb_lct.3 lb_lct.2 lb_lct.1 lb_lct.0 letterbox 2 lb_lcm.7 lb_lcm.6 lb_lcm.5 lb_lcm.4 lb_lcm.3 lb_lcm.2 lb_lcm.1 lb_lcm.0 letterbox 3 lb_lcb.7 lb_lcb.6 lb_lcb.5 lb_lcb.4 lb_lcb.3 lb_lcb.2 lb_lcb.1 lb_lcb.0 reserved crc enable crc_enable reserved adc switch 1 adc1_sw.3 adc1_sw.2 adc1_sw.1 adc1_sw.0 adc0_sw.3 adc0_sw.2 adc0_sw.1 adc0_sw.0 adc switch 2 adc_sw_m an adc2_sw.3 adc2_sw.2 adc2_sw.1 adc2_sw.0 reserved letterbox control 1 lb_th.4 lb_th.3 lb_th.2 lb_th.1 lb_th.0 letterbox control 2 lb_sl.3 lb_sl.2 lb_sl.1 lb_sl.0 lb_el.3 lb_el.2 lb_el.1 lb_el.0 reserved reserved reserved sd offset cb sd_off_cb.7 sd_off_cb.6 sd_off_cb.5 sd_o ff_cb.4 sd_off_cb.3 sd_off_cb .2 sd_off_cb.1 sd_off_cb.0 sd offset cr sd_off_cr.7 sd_off_cr.6 sd_off_cr.5 sd_off_ cr.4 sd_off_cr.3 sd_off_cr.2 sd_off_cr .1 sd_off_cr.0 sd saturation cb sd_sat_cb.7 sd_sat_cb.6 sd_sat_cb.5 sd_s at_cb.4 sd_sat_cb.3 sd_sat_cb.2 sd_sat_cb.1 sd_sat_cb.0 sd saturation cr sd_sat_cr.7 sd_sat_cr.6 sd_sat_cr.5 sd _sat_cr.4 sd_sat_cr.3 sd_sat_cr.2 sd_sat_cr.1 sd_sat_cr.0 ntsc v bit begin nvbegdel o nvbegdel e nvbe gsign nvbeg.4 nvbeg.3 nv beg.2 nvbeg.1 nvbeg.0 ntsc v bit end nvenddel o nvenddel e nvends ign nvend.4 nvend.3 nv end.2 nvend.1 nvend.0 ntsc f bit toggle nftogdel o nftogdel e nfto gsign nftog.4 nftog.3 nftog.2 nftog.1 nftog.0 pal v bit begin pvbegdel o pvbegdel e pvbegsign pvbeg.4 pvbeg.3 pvbeg.2 pvbeg.1 pvbeg.0 pal v bit end pvenddel o pvenddel e pvendsign pvend.4 pvend.3 pvend.2 pvend.1 pvend.0 pal f bit toggle pftogdel o pftogdel e pftogsign pftog.4 pftog.3 pftog.2 pftog.1 pftog.0 adv7183a rev. a | page 69 of 104 table 173. vbi port register map details register name reset value rw subaddress 7 6 5 4 3 2 1 0 vbi info xxxx xxxx r 0 0x00 cgmsd edtvd ccapd wssd wss 1 xxxx xxxx r 1 0x01 wss1.7 wss1.6 wss1.5 wss1.4 wss1.3 wss1.2 wss1.1 wss1.0 wss 2 xxxx xxxx r 2 0x02 wss2.7 wss2.6 wss2.5 wss2.4 wss2.3 wss2.2 wss2.1 wss2.0 edtv 1 xxxx xxxx r 3 0x03 edtv1.7 edtv1.6 edtv 1.5 edtv1.4 edtv1.3 ed tv1.2 edtv1.1 edtv1.0 edtv 2 xxxx xxxx r 4 0x04 edtv2.7 edtv2.6 edtv 2.5 edtv2.4 edtv2.3 ed tv2.2 edtv2.1 edtv2.0 edtv 3 xxxx xxxx r 5 0x05 edtv3.7 edtv3.6 edtv 3.5 edtv3.4 edtv3.3 ed tv3.2 edtv3.1 edtv3.0 cgms 1 xxxx xxxx r 6 0x06 cgms1.7 cgms1.6 cgms 1.5 cgms1.4 cgms1.3 cgms1.2 cgms1.1 cgms1.0 cgms 2 xxxx xxxx r 7 0x07 cgms2.7 cgms2.6 cgms 2.5 cgms2.4 cgms2.3 cgms2.2 cgms2.1 cgms2.0 cgms 3 xxxx xxxx r 8 0x08 cgms3.7 cgms3.6 cgms 3.5 cgms3.4 cgms3.3 cgms3.2 cgms3.1 cgms3.0 ccap 1 xxxx xxxx r 9 0x09 ccap1.7 ccap1.6 ccap1.5 ccap1.4 ccap1.3 ccap1 .2 ccap1.1 ccap1.0 ccap 2 xxxx xxxx r 10 0x0a ccap2.7 ccap2.6 ccap2 .5 ccap2.4 ccap2.3 cca p2.2 ccap2.1 ccap2.0 adv7183a rev. a | page 70 of 104 i 2 c register map details table 174. register 0x00 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments 0 0 0 0 cvbs in on ain1 0 0 0 1 cvbs in on ain2 0 0 1 0 cvbs in on ain3 0 0 1 1 cvbs in on ain4 0 1 0 0 cvbs in on ain5 0 1 0 1 cvbs in on ain6 composite 0 1 1 0 y on ain1, c on ain4 0 1 1 1 y on ain2, c on ain5 1 0 0 0 y on ain3, c on ain6 s-video 1 0 0 1 y on ain1, pr on ain4, pb on ain5 1 0 1 0 y on ain2, pr on ain3, pb on ain6 ypbpr 1 0 1 1 cvbs in on ain7 1 1 0 0 cvbs in on ain8 1 1 0 1 cvbs in on ain9 1 1 1 0 cvbs in on ain10 insel [3:0] . the insel bits allow the user to select an input channel as well as the input format. 1 1 1 1 cvbs in on ain11 composite 0 0 0 0 auto-detect pal (bghid), ntsc (without pedestal) 0 0 0 1 auto-detect pal (bghid), ntsc (m) (with pedestal) 0 0 1 0 auto-detect pal (n), ntsc (m) (without pedestal) 0 0 1 1 auto-detect pal (n), ntsc (m) (with pedestal) 0 1 0 0 ntsc(j) 0 1 0 1 ntsc(m) 0 1 1 0 pal 60 0 1 1 1 ntsc 4.43 1 0 0 0 pal bghid 1 0 0 1 pal n (bghid without pedestal) 1 0 1 0 pal m (without pedestal) 1 0 1 1 pal m 1 1 0 0 pal combination n 1 1 0 1 pal combination n 1 1 1 0 secam (with pedestal) 0x00 input control vid_sel [3:0] . the vid_sel bits allow the user to select the input video standard. 1 1 1 1 secam (with pedestal) note: grayed out sections mark the reset value of the register adv7183a rev. a | page 71 of 104 table 175. register 0x01 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments reserved 0 0 0 set to default 0 disable vsync processor envsproc 1 enable vsync processor reserved 0 set to default 0 standard video input betacam 1 betacam input enable 0 disable hsync processor secam standard. yprpb through sdp. enhspll 1 enable hsync processor 0x01 video selection reserved 1 set to default table 176. register 0x02 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments used to enhance the picture and improve contrast 0 0 0 c = +4.5 db, s = +9.25 db 0 0 1 c = +4.5 db, s = +9.25 db 0 1 0 c = +4.5 db, s = +5.75 db 0 1 1 c = +1.25 db, s = +3.3 db 1 0 0 no change. c = +0 db, s = +0 db 1 0 1 c = C1.25 db, s = C3 db 1 1 0 c = C1.75 db, s = C8 db ypm [2:0] . y peaking filter mode. this function allows the user to boost/ attenuate luma signals around the color subcarrier frequency. 1 1 1 c = C3.0 db, s = C8 db c = composite (2.6 mhz), s = s-video (3.75 mhz) 0x02 video enhancement control reserved 0 0 0 0 0 set to default adv7183a rev. a | page 72 of 104 table 177. register 0x03 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments 0 av codes to suit 8-bit interleaved data output sd_dup_av . duplicates the av codes from the luma into the chroma path. 1 av codes duplicated (for 16-bit interfaces) 0 set as default reserved 0 0 0 0 reserved 0 0 0 1 reserved 0 1 1 0 16-bit @ llc1 4:2:2 0 0 1 1 8-bit @ llc1 4:2:2 itu-r bt.656 0 1 0 0 not used 0 1 0 1 not used 0 1 1 0 not used 0 1 1 1 not used 1 0 0 0 not used 1 0 0 1 not used 1 0 1 0 not used 1 0 1 1 not used 1 1 0 0 not used 1 1 0 1 not used 1 1 1 0 not used of_sel [3:0] . allows the user to choose from a set of output formats. 1 1 1 1 not used see also tim_oe ( table 178 ); tri_llc ( table 180 ) 0 output pins enabled tod . three-state output drivers. this bit allows the user to three-state the output drivers: p[19:0], hs, vs, field, and sfl. 1 drivers three-stated 0 all lines filtered and scaled 0x03 output control vbi_en . allows vbi data (lines 1 to 21) to be passed through with only a minimum amount of filtering performed. 1 only active video region filtered adv7183a rev. a | page 73 of 104 table 178. register 0x04 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments 0 16 < y < 235, 16 < c < 240 itu-r bt.656 range . allows the user to select the range of output values. can be bt656 compliant, or can fill the whole accessible number range. 1 1 < y < 254, 1 < c < 254 extended range 0 sfl output is disabled en_sfl_pin 1 sfl information output on the sfl pin sfl output enables encoder and decoder to be connected directly. 0 decode and output color bl_c_vbi . blank chroma during vbi. if set, enables data in the vbi region to be passed through the decoder undistorted. 1 blank cr and cb during vbi 0 hs, vs, f three- stated tim_oe . timing signals output enable. 1 hs, vs, f forced active controlled by tod 0 0 low drive, 1 0 1 medium-low, 2 1 0 medium-high, 3 dr_str[1:0] . drive strength of output drivers can be increased or decreased for emc or crosstalk reasons. 1 1 high drive, 4 recommended reserved 1 set to default 0 bt656-3 compatible 0x04 extended output control bt656-4 . allows the user to select an output mode compatible with itu- r bt656-3/4. 1 bt656-4 compatible adv7183a rev. a | page 74 of 104 table 179. register 0x07 and 0x08 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments 0 disable ad_pal_en . pal b/g/i/h autodetect enable. 1 enable 0 disable ad_ntsc_en . ntsc autodetect enable. 1 enable 0 disable ad_palm_en . pal m autodetect enable. 1 enable 0 disable ad_paln_en . pal n autodetect enable. 1 enable 0 disable ad_p60_en . pal 60 autodetect enable. 1 enable 0 disable ad_n443_en . ntsc443 autodetect enable. 1 enable 0 disable ad_secam_en . secam autodetect enable. 1 enable 0 disable 0x07 autodetect enable ad_sec525_en . secam 525 autodetect enable. 1 enable 0x08 contrast register con[7:0] . contrast adjust. this is the user control for contrast adjustment. 1 0 0 0 0 0 0 0 luma gain = 1 0x00 gain = 0; 0x80 gain = 1; 0xff gain = 2 adv7183a rev. a | page 75 of 104 table 180. register 0x09 to 0x0e bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments 0x09 reserved (saturation) reserved 1 0 0 0 0 0 0 0 0x0a brightness register bri[7:0] . this register controls the brightness of the video signal. 0 0 0 0 0 0 0 0 0x00 = 0ire; 0x7f = 100ire; 0xff = C100ire 0x0b hue register hue[7:0] . this register contains the value for the color hue adjustment. 0 0 0 0 0 0 0 0 hue range = C90 to +90 0x0c default value y 0 free run mode dependent on def_val_auto_en def_val_en . default value enable. 1 force sdp free run mode on and output blue screen 0 disable sdp free run mode def_val_auto_en . default value. 1 enable automatic free run mode (blue screen) when lock is lost, free run mode can be enabled to output stable timing, clock, and a set color. def_y[5:0] . default value y. this register holds the y default value. 0 0 1 1 0 1 y[7:0] = {def_y[5:0], 0, 0, 0, 0} default y value output in free- run mode. 0x0d default value c cr[7:0] = {def_c[7:4], 0, 0, 0, 0, 0, 0} cb[7:0] = {def_c[3:0], 0, 0, 0, 0, 0, 0} def_c[7:0]. default value c. cr and cb default values are defined in this register. 0 1 1 1 1 1 0 0 default cb/cr value output in free run mode. default values give blue screen output. 0x0e adi control 0 0 low drive strength (1) 0 1 medium-low (2) 1 0 medium-high (3) dr_str_s[1:0] . select the drive strength of the sync signals. hs, vs, and f can be increased or decreased for emc or crosstalk reasons. 1 1 high drive strength (4) 0 0 low drive strength (1) 0 1 medium-low (2) 1 0 medium-high (3) dr_str_c[1:0] . select the strength of the clock signal output driver. can be increased or decreased for emc or crosstalk reasons. 1 1 high drive strength (4) reserved 0 0 set as default 0 llc pin active tri_llc . enables the llc pin to be three-stated. 1 llc pin drivers three- stated see tod ( table 177 ); tim_oe ( table 178 ). reserved 0 set as default adv7183a rev. a | page 76 of 104 table 181. register 0x0f to 0x11 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments 0x0f reserved power management 0 0 set to default 0 chip power-down controlled by pin pdbp . power-down bit priority selects between pwrdn bit or pin. 1 bit has priority (pin disregarded) reserved 0 0 set to default 0 system functional pwrdn . power-down places the decoder in a full power- down mode. 1 powered down see pdbp, 0x0f bit 2. reserved 0 set to default res . chip reset will load all i 2 c bits with default values. 0 normal operation 1 start reset sequence executing reset takes approx. 2 ms. this bit is self- clearing. 0x10 status_1[7:0] . provides information about the internal status of the decoder. x in lock (right now) = 1 status register read-only x lost lock (since last read) x fsc lock (right now) = 1 status_1[3:0] x peak white agc mode active = 1 0 0 0 ntsm-mj 0 0 1 ntsc-443 0 1 0 pal-m 0 1 1 pal-60 1 0 0 pal-bghid 1 0 1 secam 1 1 0 pal combination n status_1[6:4] ad_result[2:0] . autodetection result reports the findings. 1 1 1 secam 525 detected standard. status_1[7] col_kill . color kill. x color kill is active = 1 0x11 info register read-only ident[7:0] provides identification on the revision of the part. x x x x x x x x adv7183a rev. a | page 77 of 104 table 182. register 0x12 to 0x13 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments 0x12 status_2[7:0] . provides information about the internal status of the decoder. status_2[5:0] x mv color striping detected 1 = detected x mv color striping type 0 = type 2, 1 = type 3 x mv pseudosync detected 1 = detected x mv agc pulses detected 1 = detected x nonstandard line length 1 = detected x fsc frequency nonstandard 1 = detected status register 2. read-only. reserved x x 0x13 x 1 = horizontal lock achieved unfiltered x x x 1 = reserved bits no function x 1 = free run mode active blue screen output x 1 = field length standard status register 3. read-only. status_3[7:0] . provides information about the internal status of the decoder. x 1 = swinging burst detected reliable sequence table 183. register 0x14 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting 0x14 reserved 0 0 1 0 reserved. set to default. 0 i sources switched off cclen . current clamp enable allows the user to switch off the current sour ces in the analog front. 1 i sources enabled reserved 0 reserved set to default analog clamp control reserved 0 0 reserved set to default table 184. register 0x15 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting reserved x x x x x set to default 0 0 slow (tc = 1 s) 0 1 medium (tc = 0.5 s) 1 0 fast (tc = 0.1 s) dct[1:0] . digital clamp timing determines the time constant of the digi tal fine clamp circuitry. 1 1 tc dependant on video reserved 0x15h digital clamp control 1 0 set to default adv7183a rev. a | page 78 of 104 table 185. register 0x17 bit subaddress register bit description 7 6 5 4 3 2 1 0 register setting comments 0x17 0 0 0 0 0 auto wide notch for poor quality sources or wide- band filter with comb for good quality input 0 0 0 0 1 auto narrow notch for poor quality sources or wideband filter with comb for good quality input decoder selects optimum y shaping filter depending on cvbs quality. shaping filter control 0 0 0 1 0 svhs 1 0 0 0 1 1 svhs 2 0 0 1 0 0 svhs 3 0 0 1 0 1 svhs 4 0 0 1 1 0 svhs 5 0 0 1 1 1 svhs 6 0 1 0 0 0 svhs 7 0 1 0 0 1 svhs 8 0 1 0 1 0 svhs 9 0 1 0 1 1 svhs 10 0 1 1 0 0 svhs 11 0 1 1 0 1 svhs 12 0 1 1 1 0 svhs 13 0 1 1 1 1 svhs 14 1 0 0 0 0 svhs 15 1 0 0 0 1 svhs 16 1 0 0 1 0 svhs 17 1 0 0 1 1 svhs 18 (ccir601) 1 0 1 0 0 pal nn1 1 0 1 0 1 pal nn2 1 0 1 1 0 pal nn3 1 0 1 1 1 pal wn 1 1 1 0 0 0 pal wn 2 1 1 0 0 1 ntsc nn1 1 1 0 1 0 ntsc nn2 1 1 0 1 1 ntsc nn3 1 1 1 0 0 ntsc wn1 1 1 1 0 1 ntsc wn2 1 1 1 1 0 ntsc wn3 ysfm[4:0] . selects y shaping filter mode when in cvbs only mode. allows the user to select a wide range of low-pass and notch filters. if either auto mode is selected, the decoder selects the optimum y filter depending on the cvbs video source quality (good vs. bad). 1 1 1 1 1 reserved if one of these modes is selected. the decoder does not change filter modes depending on video quality, a fixed filter response (the one selected) is used for good and bad quality video. 0 0 0 auto selection 15. mhz 0 0 1 auto selection 2.17 mhz automatically selects a c filter based on video standard and quality. 0 1 0 sh1 0 1 1 sh2 1 0 0 sh3 1 0 1 sh4 1 1 0 sh5 csfm[2:0] . c shaping filter mode allows the selection from a range of low-pass chrominance filters. if either auto mode is selected, the decoder selects the optimum c filter depending on the cvbs video source quality (good vs. bad). non auto settings force a c filter for all standards and quality of cvbs video. 1 1 1 wideband mode selects a c filter for all video standards and for good and bad video. adv7183a rev. a | page 79 of 104 table 186. register 0x18 to 0x19 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments 0x18 0 0 0 0 0 reserved. do not use. shaping filter control 2 0 0 0 0 1 reserved. do not use. 0 0 0 1 0 svhs 1 0 0 0 1 1 svhs 2 0 0 1 0 0 svhs 3 0 0 1 0 1 svhs 4 0 0 1 1 0 svhs 5 0 0 1 1 1 svhs 6 0 1 0 0 0 svhs 7 0 1 0 0 1 svhs 8 0 1 0 1 0 svhs 9 0 1 0 1 1 svhs 10 0 1 1 0 0 svhs 11 0 1 1 0 1 svhs 12 0 1 1 1 0 svhs 13 0 1 1 1 1 svhs 14 1 0 0 0 0 svhs 15 1 0 0 0 1 svhs 16 1 0 0 1 0 svhs 17 1 0 0 1 1 svhs 18 (ccir 601) 1 0 1 0 0 reserved. do not use. reserved. do not use. wysfm[4:0]. wideband y shaping filter mode allows the user to select which y shaping filter is used for the y component of y/c, ypbpr, b/ w input signals; it is also used when a good quality input cvbs signal is detected. for all other inputs, the y shaping filter chosen is controlled by ysfm[4:0]. 1 1 1 1 1 reserved. do not use. reserved 0 0 set to default 0 manual select filter using wysfm[4:0] wysfmovr . enables the use of automatic wysfn filter. 1 auto selection of best filter 0x19 0 0 narrow comb filter control 0 1 medium 1 0 wide psfsel[1:0] . controls the signal bandwidth that is fed to the comb filters (pal). 1 1 widest 0 0 narrow 0 1 medium 1 0 medium nsfsel[1:0] . controls the signal bandwidth that is fed to the comb filters (ntsc). 1 1 wide reserved 1 1 1 1 set as default adv7183a rev. a | page 80 of 104 table 187. register 0x27 to 0x2a bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0x27 0 0 no delay 0 1 luma 1 clk (37 ns) delayed pixel delay control 1 0 luma 2 clk (72 ns) early lta[1:0] . luma timing adjust allows the user to specify a timing difference between chroma and luma samples. 0 1 luma 1 clk (37 ns) early cvbs mode lta[1:0] = 00b; s-video mode lta[1:0]= 01b, yprpb mode lta[1:0] = 01b reserved 0 set to 0 0 0 0 not a valid setting 0 0 1 chroma + 2 pixels (early) 0 1 0 chroma + 1 pixel (early) 0 1 1 no delay 1 0 0 chroma C 1 pixel (late) 1 0 1 chroma C 2 pixels (late) 1 1 0 chroma C 3 pixels (late) cta[2:0] . chroma timing adjust allows a specified timing difference between the luma and chroma samples. 1 1 1 not a valid setting cvbs mode cta[2:0] = 011b, s-video mode cta[2:0] = 101b, yprpb mode cta[2:0] = 110b 0 use values in lta[1:0] and cta[2:0] for delaying luma/chroma auto_pdc_en. automatically programs the lta/cta values so that luma and chroma are aligned at the output for all modes of operation. 1 lta and cta values determined automatically 0 no swapping swpc. allows the cr and cb samples to be swapped. 1 swap the cr and cb adv7183a rev. a | page 81 of 104 table 188. register 0x2b to 0x2c bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0x2b 0 update once per video line pw_upd . peak white update determines the rate of gain. 1 update once per field peak white must be enabled. see lagc[2:0] 0 reserved 1 0 0 0 1 set to default for secam color kill, threshold is set at 8% 0 color kill disabled cke . color kill enable allows the color kill function to be switched on and off. 1 color kill enabled see ckillthr[2:0] ( table 196 ) misc gain control reserved 1 1 1 set to default 0x2c 0 0 manual fixed gain use cmg[11:0] 0 1 use luma gain for chroma 1 0 automatic gain based on color burst 1 1 freeze chroma gain cagc[1:0] . chroma automatic gain control selects the basic mode of operation for the agc in the chroma path. reserved 1 1 set to 1 0 0 0 manual fixed gain use lmg[11:0] 0 0 1 agc no override through white peak. man ire control. blank level to sync tip 0 1 0 agc auto-override through white peak. man ire control. blank level to sync tip 0 1 1 agc no override through white peak. auto ire control. blank level to sync tip 1 0 0 agc auto-override through white peak. auto ire control. blank level to sync tip 1 0 1 agc active video with white peak 1 1 0 agc active video with average video lagc[2:0] . luma automatic gain control selects the mode of operation for the gain control in the luma path. 1 1 1 freeze gain agc mode control reserved 1 set to 1 adv7183a rev. a | page 82 of 104 table 189. register 0x2d to 0x30 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes cagc[1:0] settings decide in which mode cmg[11:0] operates cmg[11:8] . chroma manual gain can be used to program a desired manual chroma gain. reading back from this register in agc mode gives the current gain. 0 1 0 0 reserved 1 1 set to 1 has an effect only if cagc[1:0] is set to auto gain (10) 0 0 slow (tc = 2 s) 0 1 medium (tc = 1 s) 1 0 fast (tc = 0.2 s) 0x2d chroma gain control 1 cagt[1:0] . chroma automatic gain timing allows adjustment of the chroma agc tracking speed. 1 1 adaptive cmg[11:0] = 750d; gain is 1 in ntsc cmg[11:0] = 741d; gain is 1 in pal min value is 0dec (g = C60 db) max value is 3750 (gain = 5) 0x2e chroma gain control 2 cmg[7:0] . chroma manual gain lower 8 bits. see cmg[11:8] for description. 0 0 0 0 0 0 0 0 lagc[1:0] settings decide in which mode lmg[11:0] operates lmg[11:8] . luma manual gain can be used program a desired manual chroma gain, or to read back the actual gain value used. x x x x reserved 1 1 set to 1 only has an effect if agc[1:0] is set to auto gain (001, 010, 011,or 100) 0 0 slow (tc = 2 s) 0 1 medium (tc = 1 s) 1 0 fast (tc = 0.2 s) 0x2f luma gain control 1 lagt[1:0] . luma automatic gain timing allows adjustment of the luma agc tracking speed. 1 1 adaptive lmg[11:0] = 1234dec; gain is 1 in ntsc lmg[11:0] = 1266dec; gain is 1 in pal 0x30 luma gain control 2 lmg[7:0] . luma manual gain can be used to program a desired manual chroma gain or read back the actual used gain value. x x x x x x x x min value ntsc 1024 (g = 0.85) pal (g = 0.81) max value ntsc 2468 (g = 2), pal = 2532 (g = 2) adv7183a rev. a | page 83 of 104 table 190. register 0x31 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0x31 reserved 0 1 0 set to default 0 start of line relative to hse hse = hsync end hvstim . selects where within a line of video the vs signal is asserted. 1 start of line relative to hsb hsb = hsync begin 0 eav/sav codes generated to suit adi encoders newavmode . sets the eav/sav mode. 1 manual vs/field position controlled by registers 0x32, 0x33, and 0xe5C0xea vs and field control 1 reserved 0 0 0 set to default table 191. register 0x32 to 0x33 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0x32 reserved 0 0 0 0 0 1 set to default vsbhe 0 vs goes high in the middle of the line (even field) 1 vs changes state at the start of the line (even field) vsbho 0 vs goes high in the middle of the line (odd field) vsync field control 2 1 vs changes state at the start of the line (odd field) 0x33 reserved 0 0 0 1 0 0 set to default newavmode bit must be set high vsehe 0 vs goes low in the middle of the line (even field) 1 vs changes state at the start of the line (even field) vseho 0 vs goes low in the middle of the line (odd field) vsync field control 3 1 vs changes state at the start of the line odd field newavmode bit must be set high adv7183a rev. a | page 84 of 104 table 192. register 0x34 to 0x36 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0x34 hs position control 1 hse[10:8] . hs end allows the positioning of the hs output within the video line. 0 0 0 hs output ends hse[10:0] pixels after the falling edge of hsync reserved 0 set to 0 hsb[10:8] . hs begin allows the positioning of the hs output within the video line. 0 0 0 hs output starts hsb[10:0] pixels after the falling edge of hsync reserved 0 set to 0 0x35 hs position control 2 hsb[7:0] see above, using hsb[9:0] and hse[9:0], the user can program the position and length of hs output signal 0 0 0 0 0 0 1 0 0x36 hs position control 3 hse[7:0] see above. 0 0 0 0 0 0 0 0 using hsb and hse the user can program the position and length of the output hsync table 193. register 0x37 bit subaddress register bit description 7 6 5 4 3 2 1 0 comment 0x37 polarity 0 invert polarity pclk . sets the polarity of llc1. 1 normal polarity as per timing diagrams reserved 0 0 set to 0 0 active high pf . sets the field polarity. 1 active low reserved 0 set to 0 0 active high pvs . sets the vs polarity. 1 active low reserved 0 set to 0 0 active high phs . sets hs polarity. 1 active low adv7183a rev. a | page 85 of 104 table 194. register 0x38 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0x38 ntsc comb control 0 0 0 adaptive 3-line, 3-tap luma 1 0 0 use low-pass notch 1 0 1 fixed luma comb (2-line) top lines of memory 1 1 0 fixed luma comb (3-line) all lines of memory ycmn[2:0] . luma comb mode, ntsc. 1 1 1 fixed luma comb (2-line) bottom lines of memory 0 0 0 3-line adaptive for ctapsn = 01 4-line adaptive for ctapsn = 10 5-line adaptive for ctapsn = 11 1 0 0 disable chroma comb 1 0 1 fixed 2-line for ctapsn = 01 top lines of memory fixed 3-line for ctapsn = 10 fixed 4-line for ctapsn = 11 1 1 0 fixed 3-line for ctapsn = 01 all lines of memory fixed 4-line for ctapsn = 10 fixed 5-line for ctapsn = 11 1 1 1 fixed 2-line for ctapsn = 01 bottom lines of memory fixed 3-line for ctapsn = 10 ccmn[2:0] . chroma comb mode, ntsc. fixed 4-line for ctapsn = 11 0 0 adapts 3 lines C 2 lines 0 1 not used 1 0 adapts 5 lines C 3 lines ctapsn[1:0] . chroma comb taps, ntsc. 1 1 adapts 5 lines C 4 lines adv7183a rev. a | page 86 of 104 table 195. register 0x39 to 0x3a bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0x39 0 0 0 adaptive 5-line, 3-tap luma comb 1 0 0 use low-pass notch 1 1 0 fixed luma comb top lines of memory 1 1 0 fixed luma comb (5-line) all lines of memory ycmp[2:0] . luma comb mode, pal. 1 1 1 fixed luma comb (3-line) bottom lines of memory 0 0 0 3-line adaptive for ctapsn = 01 4-line adaptive for ctapsn = 10 5-line adaptive for ctapsn = 11 1 0 0 disable chroma comb 1 0 1 fixed 2-line for ctapsn = 01 top lines of memory fixed 3-line for ctapsn = 10 fixed 4-line for ctapsn = 11 1 1 0 fixed 3-line for ctapsn = 01 all lines of memory fixed 4-line for ctapsn = 10 fixed 5-line for ctapsn = 11 1 1 1 fixed 2-line for ctapsn = 01 bottom lines of memory fixed 3-line for ctapsn = 10 ccmp[2:0] . chroma comb mode, pal. fixed 4-line for ctapsn = 11 0 0 adapts 5-lines C 2 lines (2 taps) 0 1 not used 1 0 adapts 5 lines C 3 lines (3 taps) pal comb control ctapsp[1:0] . chroma comb taps, pal. 1 1 adapts 5 lines C 4 lines (4 taps) 0x3a reserved 0 set as default 0 adc2 normal operation pwrdn_adc_2 . enables power-down of adc2. 1 power down adc2 0 adc1 normal operation pwrdn_adc_1 . enables power-down of adc1. 1 power down adc1 0 adc0 normal operation pwrdn_adc_0 . enables power-down of adc0. 1 power down adc0 reserved 0 0 0 1 set as default adv7183a rev. a | page 87 of 104 table 196. register 0x3d bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes reserved 0 0 1 1 set to default ckillthr[2:0] . 0 0 0 kill at 0.5% 0 0 1 kill at 1.5% 0 1 0 kill at 2.5% 0 1 1 kill at 4% 1 0 0 kill at 8.5% cke = 1 enables the color kill function and must be enabled for ckillthr[2:0] to take effect. 1 0 1 kill at 16% 1 1 0 kill at 32% 1 1 1 reserved reserved 0x3d manual window 0 set to default table 197. registers 0x41 to 0x4c bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes reserved 0 1 0 0 0 0 set to default 0 sfl compatible with adv7190/adv7191/adv7194 encoders sfl_inv . controls the behavior of the pal switch bit. 1 sfl compatible with adv717x/adv7173x encoders 0x41 resample control reserved 0 set to default gdecel[15:0] . 16 individual enable bits that select the lines of video (even field lines 10C25) that the decoder checks for gemstar compatible data. 0x48 gemstar control 1 gdecel[15:8] . see above. 0 0 0 0 0 0 0 0 0x49 gemstar control 2 gdecel[7:0] . see above. 0 0 0 0 0 0 0 0 lsb = line 10, msb = line 25, default = do not check for gemstar compatible data on any lines [10C 25] in even fields gdecol[15:0] . 16 individual enable bits that select the lines of video (odd field lines 10C25) that the decoder checks for gemstar compatible data. 0x4a gemstar control 3 gdecol[15:8] . see above. 0 0 0 0 0 0 0 0 0x4b gemstar control 4 gdecol[7:0] . see above. 0 0 0 0 0 0 0 0 lsb = line 10, msb = line 25, default = do not check for gemstar compatible data on any lines [10C 25] in odd fields 0 split data into half byte to avoid 00/ff code. gdecad . controls the manner in which decoded gemstar data is inserted into the horizontal blanking period. 1 output in straight 8-bit format 0x4c gemstar control 5 reserved x x x x x x x undefined adv7183a rev. a | page 88 of 104 table 198. registers 0x4d to 0x50 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments 0 disable cti cti_en . cti enable 1 enable cti 0 disable cti alpha blender cti_ab_en . enables the mixing of the transient improved chroma with the original signal. 1 enable cti alpha blender 0 0 sharpest mixing 0 1 sharp mixing 1 0 smooth cti_ab[1:0] . controls the behavior of the alpha-blend circuitry. 1 1 smoothest reserved 0 set to default 0 bypass the dnr block dnr_en . enable or bypass the dnr block. 1 enable the dnr block reserved 1 set to default 0x4d cti dnr control 1 reserved 1 set to default 0x4e cti dnr control 2 cti_cth[7:0] . specifies how big the amplitude step must be to be steepened by the cti block. 0 0 0 0 1 0 0 0 set to 0x04 for a/v input; set to 0x0a for tuner input 0x50 cti dnr control 4 dnr_th[7:0] . specifies the maximum edge that is interpreted as noise and is therefore blanked. 0 0 0 0 1 0 0 0 adv7183a rev. a | page 89 of 104 table 199. register 0x51 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0 0 0 1 line of video 0 0 1 2 lines of video 0 1 0 5 lines of video 0 1 1 10 lines of video 1 0 0 100 lines of video 1 0 1 500 lines of video 1 1 0 1000 lines of video cil[2:0] . count-into-lock determines the number of lines the system must remain in lock before showing a locked status. 1 1 1 100000 lines of video 0 0 0 1 line of video 0 0 1 2 lines of video 0 1 0 5 lines of video 0 1 1 10 lines of video 1 0 0 100 lines of video 1 0 1 500 lines of video 1 1 0 1000 lines of video col[2:0] . count-out-of-lock determines the number of lines the system must remain out-of- lock before showing a lost- locked status. 1 1 1 100000 lines of video 0 over field with vertical info srls . select raw lock signal. selects the determination of the lock. status. 1 line-to-line evaluation operational only for sdp modes. fscle must be set to 0 in yprpb mode if a reliable lost_lock bit is set to 0. 0 lock status set only by horizontal lock 0x51 lock count fscle . fsc lock enable. 1 lock status set by horizontal lock and subcarrier lock. adv7183a rev. a | page 90 of 104 table 200. registers 0x8f to 0x90 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes reserved 0 0 0 0 set to default 0 0 0 llc1 (nominal 27 mhz) selected out on llc1 pin llc_pad_sel [2:0] . enables manual selection of clock for llc1 pin. 1 0 1 llc2 (nominally 13.5 mhz) selected out on llc1 pin for 16-bit 4:2:2 out, of_sel[3:0] = 0010 0x8f free run line length 1 reserved 0 set to default 0 no wss detected wssd . screen signaling detected. 1 wss detected 0 no ccap signals detected ccapd . closed caption data. 1 ccap sequence detected 0 no edtv sequence detected edtvd . edtv sequence. 1 edtv sequence detected 0 no cgms transition detected cgmsd . cgms sequence. 1 cgms sequence decoded 0x90 vbi info read mode details reserved x x x x ready-only status bits adv7183a rev. a | page 91 of 104 table 201. registers 0x91 to 0x9d bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0x91 wss1[7:0] . wide screen signaling data. read-only register. wss1[7:0] x x x x x x x x wss2[7:6] are undetermined 0x92 wss1[7:0] . wide screen signaling data. read-only register wss2[7:0] x x x x x x x x 0x93 edtv1[7:0] . edtv data register. read- only register. edtv1[7:0] x x x x x x x x 0x94 edtv2[7:0] . edtv data register. read- only register. edtv2[7:0] x x x x x x x x edtv3[7:6] are undetermined 0x95 edtv3[7:0] edtv data register. read- only register. edtv3[7:0] x x x x x x x x edtv3[5] is reserved for future use 0x96 cgms1[7:0] . cgms data register. read- only register. cgms1[7:0] x x x x x x x x 0x97 cgms2[7:0] . cgms data register. read- only register. cgms2[7:0] x x x x x x x x cgms3[7:4] are undetermined 0x98 cgms3[7:0] . cgms data register. read- only register. cgms3[7:0] x x x x x x x x ccap1[7]contains parity bit for byte 0 0x99 ccap1[7:0] . closed caption data register. read-only register. ccap1[7:0] x x x x x x x x ccap2[7]contains parity bit for byte 0 0x9a ccap2[7:0] . closed caption data register. read-only register. ccap2[7:0] x x x x x x x x 0x9b letterbox 1 . read-only register. lb_lct[7:0] x x x x x x x x reports the number of black lines detected at the top of active video. 0x9c letterbox 2 . read-only register. lb_lcm[7:0] x x x x x x x x reports the number of black lines detected in the bottom half of active video if subtitles are detected. 0x9d letterbox 3 . read-only register. lb_lcb[7:0] x x x x x x x x reports the number of black lines detected at the bottom of active video. this feature examines the active video at the start and at the end of each field. it enables format detection even if the video is not accompanied by a cgms or wss sequence. adv7183a rev. a | page 92 of 104 table 202. register 0xb2 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments reserved 0 0 set as default 0 turn off crc check crc_enable . enable crc checksum decoded from cgms packet to validate cgmsd. 1 cgmsd goes high with valid checksum 0xb2 crc enable write register reserved 0 0 0 1 1 set as default table 203. register 0xc3 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes setadc_sw_man_en = 1 0 0 0 0 no connection 0 0 0 1 ain1 0 0 1 0 ain2 0 0 1 1 ain3 0 1 0 0 ain4 0 1 0 1 ain5 0 1 1 0 ain6 0 1 1 1 no connection 1 0 0 0 no connection 1 0 0 1 ain7 1 0 1 0 ain8 1 0 1 1 ain9 1 1 0 0 ain10 1 1 0 1 ain11 1 1 1 0 ain12 adc0_sw[3:0] . manual muxing control for adc0. 1 1 1 1 no connection 0 0 0 0 no connection 0 0 0 1 no connection 0 0 1 0 no connection 0 0 1 1 ain3 0 1 0 0 ain4 0 1 0 1 ain5 0 1 1 0 ain6 0 1 1 1 no connection 1 0 0 0 no connection 1 0 0 1 no connection 1 0 1 0 no connection 1 0 1 1 ain9 1 1 0 0 ain10 1 1 0 1 ain11 1 1 1 0 ain12 0xc3 adc switch 1 adc1_sw[3:0] . manual muxing control for adc1. 1 1 1 1 no connection adv7183a rev. a | page 93 of 104 table 204. register 0xc4 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments notes 0 0 0 0 no connection 0 0 0 1 no connection 0 0 1 0 ain2 0 0 1 1 no connection 0 1 0 0 no connection 0 1 0 1 ain5 0 1 1 0 ain6 0 1 1 1 no connection 1 0 0 0 no connection 1 0 0 1 no connection 1 0 1 0 ain8 1 0 1 1 no connection 1 1 0 0 no connection 1 1 0 1 ain11 1 1 1 0 ain12 adc2_sw[3:0] . manual muxing control for adc2. 1 1 1 1 no connection reserved x x x 0 disable 0xc4 adc switch 2 adc_sw_man_en . enable manual setting of the input signal muxing. 1 enable setadc_sw_man_en = 1 adv7183a rev. a | page 94 of 104 table 205. registers 0xdc to 0xe4 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments lb_th [4:0] . sets the threshold value that detects a black. 0 1 1 0 0 default threshold for the detection of black lines. 0xdc letterbox control 1 reserved 1 0 1 set as default lb_el[3:0] . programs the end line of the activity window for lb detection (end of field). 1 1 0 0 lb detection ends with the last line of active video on a field. 1100: 262/525. 0xdd letterbox control 2 lb_sl[3:0] . program the start line of the activity window for lb detection (start of field). 0 1 0 0 letterbox detection aligned with the start of active video, 0100: 23/286 ntsc. 0xde reserved 0 0 0 0 0 0 0 0 0xdf reserved 0 0 0 0 0 0 0 0 0xe0 reserved 0 0 0 1 0 1 0 0 0xe1 sd offset cb sd_off_cb [7:0] . adjusts the hue by selecting the offset for the cb channel. 1 0 0 0 0 0 0 0 0xe2 sd offset cr sd_off_cr [7:0] . adjusts the hue by selecting the offset for the cr channel. 1 0 0 0 0 0 0 0 0xe3 sd saturation cb sd_sat_cb [7:0] . adjusts the saturation of the picture by affecting gain on the cb channel. 1 0 0 0 0 0 0 0 chroma gain = 0 db 0xe4 sd saturation cr sd_sat_cr [7:0] . adjusts the saturation of the picture by affecting gain on the cr channel. 1 0 0 0 0 0 0 0 chroma gain = 0 db adv7183a rev. a | page 95 of 104 table 206. registers 0xe5 to 0xe7 bit subaddress register bit description 7 6 5 4 3 2 1 0 comments nvbeg[4:0] . how many lines after l count rollover to set v high. 0 0 1 0 1 ntsc default(bt.656) 0 set to low when manual programming nvbegsign 1 not suitable for user programming 0 no delay nvbegdele . delay v bit going high by one line relative to nvbeg (even field). 1 additional delay by 1 line 0 no delay 0xe5 ntsc v bit begin nvbegdelo . delay v bit going high by one line relative to nvbeg (odd field). 1 additional delay by 1 line nvend[4:0] . how many lines after l count rollover to set v low. 0 0 1 0 0 ntsc default (bt.656) 0 set to low when manual programming nvendsign 1 not suitable for user programming 0 no delay nvenddele . delay v bit going low by one line relative to nvend (even field). 1 additional delay by 1 line 0 no delay 0xe6 ntsc v bit end nvenddelo . delay v bit going low by one line relative to nvend (odd field). 1 additional delay by 1 line nftog[4:0] . how many lines after l count rollover to toggle f signal. 0 0 0 1 1 ntsc default 0 set to low when manual programming nftogsign 1 not suitable for user programming 0 no delay nftogdele . delay f transition by one line relative to nftog (even field). 1 additional delay by 1 line 0 no delay 0xe7 ntsc f bit toggle nftogdelo . delay f transition by one line relative to nftog (odd field). 1 additional delay by 1 line adv7183a rev. a | page 96 of 104 table 207. registers 0xe8 to 0xea bit subaddress register bit description 7 6 5 4 3 2 1 0 comments pvbeg[4:0] . how many lines after l count rollover to set v high. 0 0 1 0 1 pal default (bt.656) 0 set to low when manual programming pvbegsign 1 not suitable for user programming 0 no delay pvbegdele . delay v bit going high by one line relative to pvbeg (even field). 1 additional delay by 1 line 0 no delay 0xe8 pal v bit begin pvbegdelo . delay v bit going high by one line relative to pvbeg (odd field). 1 additional delay by 1 line pvend[4:0] . how many lines after l count rollover to set v low. 1 0 1 0 0 pal default (bt.656) 0 set to low when manual programming pvendsign 1 not suitable for user programming 0 no delay pvenddele . delay v bit going low by one line relative to pvend (even field). 1 additional delay by 1 line 0 no delay 0xe9 pal v bit end pvenddelo . delay v bit going low by one line relative to pvend (odd field). 1 additional delay by 1 line pftog[4:0] . how many lines after l count rollover to toggle f signal. 0 0 0 1 1 pal default (bt.656) 0 set to low when manual programming pftogsign . 1 not suitable for user programming 0 no delay pftogdele . delay f transition by one line relative to pftog (even field). 1 additional delay by 1 line 0 no delay 0xea pal f bit toggle pftogdelo . delay f transition by one line relative to pftog (odd field). 1 additional delay by 1 line adv7183a rev. a | page 97 of 104 appendix a i 2 c programming examples mode 1 cvbs input (composite video on ain5) all standards are supported through autodetect, 8-bit, 4:2:2, itu-r bt.656 output on p15Cp8. table 208. mode 1 cvbs input register address register value notes 0x00 0x04 cvbs input on ain5. 0x01 0x88 turn off hsync processor (secam only 13 ). 0x17 0x41 set csfm to sh1. 0x2b 0xe2 agc tweak 0x3a 0x16 power down adc 1 and adc 2. 0x51 0x24 turn off fsc dete ct for in lock status. 0xd2 0x01 agc tweak. 0xd3 0x01 agc tweak. 0xdb 0x9b agc tweak. 0x0e 0x85 adi recommended programming sequence. this sequence must be followed exactly when setting up the decoder. 0x89 0x0d recommended setting. 0x8d 0x9b recommended setting. 0x8f 0x48 recommended setting. 0xb5 0x8b recommended setting. 0xd4 0xfb recommended setting. 0xd6 0x6d recommended setting. 0xe2 0xaf recommended setting. 0xe3 0x00 recommended setting. 0xe4 0xb5 recommended setting. 0xe8 0xf3 recommended setting. 0x0e 0x05 recommended setting. 13 for all secam modes of operation, hsync processor must be turned off. adv7183a rev. a | page 98 of 104 mode 2 s-video input (y on ain1 and c on ain4) all standards are supported through autodetect, 8-bit, itu-r bt.656 output on p15Cp8. table 209. mode 2 s-video input register address register value notes 0x00 0x06 y1 = ain1, c1 = ain4. 0x01 0x88 turn off hsync processor (secam only). 0x2b 0xe2 agc tweak. 0x3a 0x12 power down adc 2. 0x51 0x24 turn off fsc dete ct for in lock status. 0xd2 0x01 agc tweak. 0xd3 0x01 agc tweak. 0xdb 0x9b agc tweak. 0x0e 0x85 adi recommended programming sequence. this sequence must be followed exactly when setting up the decoder. 0xb5 0x8b recommended setting. 0xd4 0xfb recommended setting. 0xd6 0x6d recommended setting. 0xe2 0xaf recommended setting. 0xe3 0x00 recommended setting. 0xe4 0xb5 recommended setting. 0xe8 0xf3 recommended setting. 0x0e 0x05 recommended setting. mode 3 525i/625i yprpb input (y on ai n2, pr on ain3, and pb on ain6) all standards are supported through autodetect, 8-bit, itu-r bt.656 output on p15Cp8. table 210. mode 3 yprpb input 525i/625i register address register value notes 0x00 0x0a y2 = ain2, pr2 = ain3, pb2 = ain6. 0x01 0x88 disable hsync pll. 0x2b 0xe2 agc tweak. 0x3a 0x10 set latch clock. 0x51 0x24 turn off fsc dete ct for in lock status. 0xd2 0x01 agc tweak. 0xd3 0x01 agc tweak. 0xdb 0x9b agc tweak. 0x0e 0x85 adi recommended programming sequence. this sequ ence must be followed exactly when setting up the decoder. 0xd6 0x6d recommended setting. 0xe8 0xf3 recommended setting. 0x0e 0x05 recommended setting. adv7183a rev. a | page 99 of 104 mode 4 cvbs tuner input pal only on ain4 8-bit, itu-r bt.656 output on p15Cp8. table 211. mode 4 tuner input cvbs pal only register address register value notes 0x00 0x83 cvbs ain4 force pal only mode. 0x07 0x01 enable pal autodetection only. 0x17 0x41 set csfm to sh1. 0x19 0xfa stronger dot crawl reduction. 0x2b 0xe2 agc tweak. 0x3a 0x16 power down adc 1 and adc 2. 0x50 0x0a set higher dnr threshold. 0x51 0x24 turn off fsc dete ct for in lock status. 0xd2 0x01 agc tweak. 0xd3 0x01 agc tweak. 0xdb 0x9b agc tweak. 0x0e 0x85 adi recommended programming sequence. this sequence must be followed exactly when setting up the decoder. 0x89 0x0d recommended setting. 0x8d 0x9b recommended setting. 0x8f 0x48 recommended setting. 0xb5 0x8b recommended setting. 0xd4 0xfb recommended setting. 0xd6 0x6d recommended setting. 0xe2 0xaf recommended setting. 0xe3 0x00 recommended setting. 0xe4 0xb5 recommended setting. 0xe8 0xf3 recommended setting. 0x0e 0x05 recommended setting. adv7183a rev. a | page 100 of 104 appendix b pcb layout recommendations the adv7183a is a high precision, high speed mixed-signal device. to achieve the maximum performance from the part, it is important to have a well laid-out pcb board. the following is a guide for designing a board using the adv7183a. analog interface inputs the inputs should receive care when being routed on the pcb. track lengths should be kept to a minimum, and 75 ? trace impedances should be used when possible. trace impedances other than 75 ? also increase the chance of reflections. power supply decoupling it is recommended to decouple each power supply pin with 0.1 f and 10 nf capacitors. the fundamental idea is to have a decoupling capacitor within about 0.5 cm of each power pin. also, avoid placing the capacitor on the opposite side of the pc board from the adv7183a, as doing so interposes resistive vias in the path. the decoupling capacitors should be located between the power plane and the power pin. current should flow from the power plane to the capacitor to the power pin. do not make the power connection between the capacitor and the power pin. placing a via underneath the 100 nf capacitor pads, down to the power plane, is generally the best approach (see figure 38). 04819-0-038 vdd gnd 10nf 100nf via to supply via to gnd figure 38. recommend power supply decoupling it is particularly important to maintain low noise and good stability of pvdd. careful attention must be paid to regulation, filtering, and decoupling. it is highly desirable to provide separate regulated supplies for each of the analog circuitry groups (avdd, dvdd, dvddio, and pvdd). some graphic controllers use substantially different levels of power when active (during active picture time) and when idle (during horizontal and vertical sync periods). this can result in a measurable change in the voltage supplied to the analog supply regulator, which can, in turn, produce changes in the regulated analog supply voltage. this can be mitigated by regulating the analog supply, or at least pvdd, from a different, cleaner, power source (for example, from a 12 v supply). it is also recommend to use a single ground plane for the entire board. this ground plane should have a spacing gap between the analog and digital sections of the pcb (see figure 39). 04819-0-039 analog section digital section adv7183a figure 39. pcb ground layout experience has repeatedly shown that the noise performance is the same or better with a single ground plane. using multiple ground planes can be detrimental because each separate ground plane is smaller, and long ground loops can result. in some cases, using separate ground planes is unavoidable. for those cases, it is recommended to at least place a single ground plane under the adv7183a. the location of the split should be under the adv7183a. for this case, it is even more important to place components wisely because the current loops will be much longer (current takes the path of least resistance). an example of a current loop: power plane to adv7183a to digital output trace to digital data receiver to digital ground plane to analog ground plane. pll place the pll loop filter components as close to the elpf pin as possible. do not place any digital or other high frequency traces near these components. use the values suggested in the data sheet with tolerances of 10% or less. digital outputs (both data and clocks) try to minimize the trace length that the digital outputs have to drive. longer traces have higher capacitance, which requires more current, which causes more internal digital noise. shorter traces reduce the possibility of reflections. adding a series resistor of a value between 30 ? and 50 ? can suppress reflections, reduce emi, and reduce the current spikes inside the adv7183a. if series resistors are used, place them as close to the adv7183a pins as possible. however, try not to add vias or extra length to the output trace to get the resistors closer. if possible, limit the capacitance that each of the digital outputs drives to less than 15 pf. this can easily be accomplished by keeping traces short and by connecting the outputs to only one device. loading the outputs with excessive capacitance increases the current transients inside the adv7183a, creating more digital noise on its power supplies. adv7183a rev. a | page 101 of 104 digital inputs the digital inputs on the adv7183a were designed to work with 3.3 v signals, and are not tolerant of 5 v signals. extra components are needed if 5 v logic signals are required to be applied to the decoder. antialiasing filters for inputs from some video sources that are not bandwidth limited, signals outside the video band can alias back into the video band during a/d conversion and appear as noise on the output video. the adv7183a oversamples the analog inputs by a factor of 4. this 54 mhz sampling frequency reduces the requirement for an input filter; for optimal performance it is recommended that an antialiasing filter be employed. the recommended low cost circuit for implementing this buffer and filter circuit for all analog input signals is shown in figure 41. the buffer is a simple emitter-follower using a single npn transistor. the antialiasing filter is implemented using passive components. the passive filter is a third-order butterworth filter with a -3db point of 9mhz. the frequency response of the passive filter is shown in figure 40. the flat pass band up to 6 mhz is essential. the attenuation of the signal at the output of the filter due to the voltage divider of r24 and r63 is compen- sated for in the adv7183a part using the automatic gain control. the ac coupling capacitor at the input to the buffer creates a high-pass filter with the biasing resistors for the transistor. this filter has a cut-off of {2 (r39||r89) c93} C1 = 0.62 hz it is essential that the cutoff of this filter be less than 1 hz to ensure correct operation of the internal clamps within the part. these clamps ensure that the video stays within the 5 v range of the op amp used. 0 ?20 ?40 ?60 ?80 ?100 ?120 100khz 30mhz 10mhz 3mhz 1mhz 300khz 300mhz 1ghz 100mhz 04819-0-040 frequency figure 40. third-order butterworth filter response adv7183a rev. a | page 102 of 104 appendix c typical circuit connection examples of how to connect the adv7183a video decoder are shown in figure 41 and figure 42. 04819-0-041 b q6 c e r38 75 ? r89 5.6k ? r63 820 ? r43 0 ? r53 56 ? r24 470 ? r39 4.7k ? c95 22pf c102 10pf c93 100 f avdd_5v l10 12 h filter buffer agnd out in figure 41. adi recommended antialiasi ng circuit for all input channels adv7183a rev. a | page 103 of 104 2k ? 2k ? agnd dgnd agnd dgnd 0.1 f dgnd 0.01 f dgnd 33 f dgnd 10 f dgnd ferite bead dvddio (3.3v) power supply decoupling for each power pin 0.1 f agnd 0.01 f agnd 33 f agnd 10 f agnd ferite bead pvdd (1.8v) power supply decoupling for each power pin 0.1 f agnd 0.01 f agnd 33 f agnd 10 f agnd ferite bead avdd (3.3v) power supply decoupling for each power pin 0.1 f dgnd 0.01 f dgnd 33 f dgnd 10 f dgnd ferite bead dvdd (1.8v) power supply decoupling for each power pin agnd dgnd dvdd avdd pvdd dvddio ain1 100nf ain7 ain2 100nf ain8 ain3 100nf ain9 ain4 100nf ain10 ain5 100nf ain11 ain6 100nf ain12 agnd agnd 75 ? 75 ? 75 ? 75 ? 75 ? 75 ? s-video y pr pb cbvs + cap y1 cap y2 agnd 1nf 0.1 f 10 f 0.1 f + cap c1 cap c2 cml agnd 1nf 0.1 f 10 f 0.1 f llc1 27mhz output clock llc2 13.5mhz output clock sfl sfl o/p hs hs o/p vs vs o/p field field o/p elpf 1.7k ? 10nf 82nf pvdd dgnd dvddio 100nf oe output enable i/p p15?p8 8-bit itu-r bt.656 pixel data @ 27mhz p7?p0 cb and cr 16-bit itu-r bt.656 pixel data @ 13.5mhz p15?p8 y 16-bit itu-r bt.656 pixel data @ 13.5mhz p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 multi format pixel port + 10 f 0.1 f refout agnd 0.1 f 10 f + xtal 33pf dgnd xtal1 alsb 33pf dgnd 27mhz adv7183a dvddio select i 2 c address dvss mpu interface control lines sclk sda 100 ? 100 ? dvddio dvddio 4.7k ? reset reset 04821-0-042 figure 42. typical connection diagram adv7183a rev. a | page 104 of 104 outline dimensions 1.45 1.40 1.35 0.15 0.05 61 60 1 80 20 41 21 40 top view (pins down) pin 1 seating plane view a 1.60 max 0.75 0.60 0.45 0.20 0.09 0.10 max coplanarity view a rotated 90 ccw seating plane 10 6 2 7 3.5 0 14.00 bsc sq 16.00 bsc sq 0.65 bsc 0.38 0.32 0.22 compliant to jedec standards ms-026-bec figure 43. 80-lead low profile quad flat package [lqfp] (st-80-2) dimensions shown in millimeters ordering guide model temperature range package description package option adv7183akst C25c to +70c low profile quad flat package (lqfp) st-80-2 ADV7183ABST C40c to +85c low profile quad flat package (lqfp) st-80-2 eval-adv7183aebm evaluation board note: the adv7183a is a pb-free environmentally friendly product. it is manufactured using the most up-to-date materials and processes. the coating on the leads of each device is 100% pure sn electroplate. the device is suitable for pb-free application s, and can withstand surface-mount soldering at up to 255c (5c). in addition, it is backward-compatible with conventional snpb soldering processes. this means the electroplated sn coating can be soldered with sn/pb solder pastes at conventi onal reflow temperatures of 220c to 235c. purchase of licensed i 2 c components of analog devices or one of its sublicensed associated companies conveys a license for the purchaser under the phi lips i 2 c patent rights to use these components in an i 2 c system, provided that the system conforms to the i 2 c standard specification as defined by philips. ? 2004 analog devices, inc. all rights reserved. trademarks and registered trademarks are the prop erty of their respective owners. d04821C0C6/04(a) |
Price & Availability of ADV7183ABST |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |