ADV7850 TABLE OF CONTENTS INTRODUCTION TO ADV7850 HARDWARE MANUAL ....................11 ............................11 ESCRIPTION OF THE ARDWARE ANUAL .................................. 11 OPYRIGHT NFORMATION ......................................11 ISCLAIMER ............................11 RADEMARK AND ERVICE OTICE ................................... 11 UMBER OTATIONS ............................... 11 EGISTER CCESS ONVENTIONS ...............................
Page 3
ADV7850 ANALOG FRONT END ................................. 42 ADC S ..................................42 AMPLING LOCK ................................42 S AND OLTAGE LAMPS Analog Input Hardware Configuration ..........................42 5.2.1 Clamp Operation ................................43 5.2.2 SDP Clamp Operation ............................... 43 5.2.3 ..................................45 NALOG NPUT UXING Analog Input Routing Recommendation ..........................
Page 4
ADV7850 SDP G ..................................81 PERATION SDP Luma Gain ................................82 6.6.1 Chroma Gain ..................................84 6.6.2 Peak White Feature ................................85 6.6.3 Peak Chroma ..................................86 6.6.4 Color Kill.................................... 86 6.6.5 3D C ....................................... 87 3D Comb Activation ................................. 87 6.7.1...
Page 5
ADV7850 Manual Operation ..............................150 7.13.2 7.14 .................................... 151 ELECTION 7.15 ......................151 WITCHING AND ACKGROUND ELECTION 7.16 TMDS C ............................153 LOCK CTIVITY ETECTION Clock and Data Termination Control ........................154 7.16.1 7.17 TMDS M ................................. 155 EASUREMENT TMDS Measurement After TMDS PLL ........................155 7.17.1...
Page 6
ADV7850 Source Number and Channel Number ........................198 7.33.4 Sampling and Frequency Accuracy ..........................198 7.33.5 Word Length ................................199 7.33.6 Channel Status Copyright Value Assertion ....................... 199 7.33.7 Monitoring Change of Audio Sampling Frequency ....................200 7.33.8 7.34 ............................200...
Page 7
ADV7850 Manual Gain Control ..............................245 9.3.4 Manual Gain Filter Mode ............................... 247 9.3.5 Automatic Gain Control ..............................247 9.3.6 9.3.6.1 Readback Signals from AGC Block ............................249 CP O ....................................252 FFSET LOCK CP D ..............................253 ATH FOR NALOG Pregain Block ...................................
Page 8
SPI Data Formats – Master Mode ........................... 324 10.7.2 Configuring Master Mode on the SPI Port ........................ 326 10.7.3 SPI VDP Controls and Readbacks ..........................328 10.7.4 ADV7850 VDP Interrupt Generation ........................330 10.7.5 AUDIO CODEC ................................... 333 11.1 ................................333 AUDIO CODEC OVERVIEW 11.2...
Page 9
ADV7850 13.10 EDID/HDCP C ..........................355 ONTROLLER RROR ODES 13.11 ....................................356 IDEO ETUP Input Format ................................356 13.11.1 Video Mode Detection ..............................356 13.11.2 Pixel Repetition ................................357 13.11.3 Video Related Packets and InfoFrames ........................358 13.11.4 AVI InfoFrame ................................358 13.11.5...
Page 10
ATA AND LOCKS 16.5 ..................................... 431 IGITAL NPUTS 16.6 XTAL ..........................431 ALUE ELECTION APPENDIX B ..................................433 17.1 ADV7850 T ........................... 433 YPICAL ONNECTION IAGRAMS APPENDIX C ..................................440 18.1 ..............................440 ACKAGE UTLINE RAWING 18.2 ..................................440 RDERING UIDE APPENDIX D ..................................
Analog Devices, Inc. (ADI) reserves the right to change this product without prior notice. 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 infringement of patents or other rights of third parties which may result from its use.
Page 12
Direct Digital Frequency Synthesizer Data Enable Data Identification Word Delay Locked Loop Digital Noise Reduction Data Preprocessor Device Under Test (designate the ADV7850 unless stated otherwise) Digital Visual Interface End of Active Video Enhanced Definition Electromagnetic Compatibility Equalizer High Definition...
ADV7850 Acronym/Abbreviation Description Single Data Rate SHA-1 Refer to HDCP documentation. SMPTE Society of Motion Picture and Television Engineers Signal to Noise Ratio Sync on Green Sync on Y Source Physical Address Source Production Descriptor SSPD Synchronization Source Polarity Detector...
ADV7850 1.9 REFERENCES • HDMI Licensing and LLC, High-Definition Multimedia Interface, Revision 1.4, June 5, 2009 • Digital Content Protection (DCP) LLC, High-bandwidth Digital Content Protection System, Revision 1.3, December 21, 2006 • CEA, CEA-861-D, A DTV Profile for Uncompressed High Speed Digital Interfaces, Revision D, July 18, 2006 •...
Current and voltage clamp control loops ensure that any DC offsets are removed from the video signal. The clamps are positioned in front of each ADC to ensure that the video signal remains within the range of the converter. The ADV7850 can support two composite outputs for full SCART support.
The ADV7850 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 ADV7850 to track and decode poor quality video sources (such as VCRs) and noisy sources (such as tuner outputs).
C interface or ancillary data stream. 2.5 AUDIO CODEC The ADV7850 contains a 24-bit, 48 kHz stereo CODEC. The stereo audio ADC converts analog audio inputs and provides the data to the back end via the HDMI interface. The stereo audio DAC receives I S data from the back end and converts it to an analog audio output.
ADV7850 • Color controls that include hue, brightness, saturation, and contrast Component Video Processing 2.6.4 • Formats supported include 525i, 625i, 525p, 625p, 720p, 1080i, and 1080p • Automatic adjustments for gain (contrast) and offset (brightness); manual adjustment controls are also supported •...
TX_VDD33 SDVDD SDVDD LDQS DQ15 DQ13 AVIN1 AVIN2 AVIN4 AVIN5 Figure 3: ADV7850 Pin Configuration Table 1: Function Descriptions Pin No. Mnemonic Description Ground Ground Ground RXB_2+ Digital Input Channel 2 true of Port B in the HDMI interface. RXB_1+ Digital Input Channel 1 true of Port B in the HDMI interface.
Page 21
ADV7850 Pin No. Mnemonic Description ARC_C Single ended Audio Return Channel of Port C in the HDMI interface. Ground RXD_2+ Digital Input Channel 2 true of Port D in the HDMI interface. RXD_1+ Digital Input Channel 1 true of Port D in the HDMI interface.
Page 22
ADV7850 Pin No. Mnemonic Description RXD_5V 5V detect pin for Port D in the HDMI interface. VGA_5V 5V detect inout for VGA connector DDCA_SCL Serial clock for DDC bus of Port A. DDCA_SCL is 5 V tolerant. DDCA_SDA Serial data for DDC bus of Port A. DDCA_SDA is 5 V tolerant.
Page 25
ADV7850 Pin No. Mnemonic Description Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground TTX_SCLK VBI data interface TTX_MOSI VBI data interface TTX_MISO VBI data interface TTX_CSB VBI data interface Video Digital supply (1.8V) Ground Ground Ground...
Page 26
ADV7850 Pin No. Mnemonic Description Video Digital supply (1.8V) Video Digital supply (1.8V) TEST2 Test pin, do not connect Ground Ground Ground AVIN13 Analog video mux input channel AVIN12 Analog video mux input channel AVIN11 Analog video mux input channel...
Page 27
ADV7850 Pin No. Mnemonic Description SDRAM block address signal SDRAM write enable signal AA10 Ground AA11 SDRAM data line AA12 SDRAM data line AA13 SDRAM data line AA14 DQ11 SDRAM data line AA15 UDQSN SDRAM upper data strobe compliment signal...
Page 28
ADV7850 Pin No. Mnemonic Description SDRAM interface Chip Select. SDRAM CS Enables and disables the command decoder on the RAM. One of four command signals to the external SDRAM. SDRAM interface Differential Clock Compliment Output. All address and control output signals to the RAM should be sampled on the positive edge of CK and on the negative edge of CKN.
ADV7850 3 GLOBAL CONTROL REGISTERS The control bits described in this section deal with the general control of the chip and the three main sections of the ADV7850: the SDP, the CP, and the HDMI receiver. 3.1 ADV7850 REVISION IDENTIFICATION rd_info[15:0], IO, Address 0xE1[7:0];...
1 Power down VDP section Power-down Mode 3.2.3 The ADV7850 supports the following power-down modes. • In power-down mode 1, selected sections and pads are kept active to provide E-EDID and +5 V antiglitch filter functionality. Rev. A May 2012...
3.2.4 The ADV7850 fully supports EDID read functionality in a powered off configuration. The 5V signal from the HDMI or graphic cable can be used to power the EDID controller on the ADV7850. Onboard regulators will provide a 3.3V signal to power the SPI EEPROM.
Figure 4: Required Hardware Configuration When Using +5 V from HDMI Source(s) to Provide EDID Support in Powered Off State ADC Power-down Control 3.2.5 The ADV7850 contains 12-bit ADCs (ADC 0, ADC 1, ADC 2, and ADC3). It is possible to power down each ADC individually, if required. pdn_adc0, AFE, Address 0x00[0] This control is used to power down ADC0.
Reset Pin 3.3.1 The ADV7850 can be reset by a low reset pulse on the RESET pin with a minimum width of 5 ms. It is recommended to wait 5 ms after the low pulse before an I C write is performed to the ADV7850.
HDMI mode, as the transmitter will have already authenticated the ADV7850 when the latter is switched into HDMI mode. Simultaneous mode is also used for SDP and HDMI audio mode (refer to Section 4.2.)
Page 35
Non simultaneous mode In this mode, the ADV7850 processes either analog or HDMI/DVI inputs. The HDMI section is disabled when the ADV7850 is configured to process analog inputs. The ADCs are powered down when the part is configured to process HDMI/DVI inputs in HDMI mode.
HDMI mode HDMI mode. In HDMI mode the ADV7850 can receive and decode HDMI or DVI data throughout the DVI/HDMI receiver front end. Video data from the HDMI receiver is routed to the HDMI Tx while audio data is available on the audio interface.
Frame TBC and 3D comb are not available in this mode. When switching into this mode it is recommended to mute the audio as the changing modes may cause a disturbance to the audio output. To configure the ADV7850 for this mode, the following I writes should be carried out: Rev.
4.3 PRIMARY MODE AND VIDEO STANDARD CONFIGURATION FOR HDMI FREE RUN To support Free run in HDMI Mode, the ADV7850 must use the CP core. Free Run is only supported up to 225MHz. If free run is enabled in HDMI mode, PRIM_MODE [3:0] and VID_STD [5:0] should be used to specify the output resolution to which the ADV7850 free runs.
• Eight trilevel input detection blocks 5.1 ADC SAMPLING CLOCK The ADV7850 has two main modes of operation for sampling the input analog video: CP mode and SDP mode. This is determined by the primary mode setting. • When the SDP is enabled, fixed 108 MHz sampling is applied to the ADCs. The SDP processes the video signal and, using a line length tracking processor, resamples the incoming video so that 720 active pixels are always generated per line.
5.2.2 The ADV7850 has a clamp in front of each of its ADCs. The purpose of the clamp is to ensure that the video input signal lies inside the range of the ADC. In component and graphics modes, voltage clamps are used; and in standard definition modes, current clamps are used.
ADV7850 Figure 8: SDP Clamping Overview The clamping can be divided into two sections: • Clamping before the ADC (analog domain): digitally controlled current sources • Clamping after the ADC (digital domain): digital processing block The ADCs can digitize an input signal if it resides within the ADC input voltage range of 1.0 V. An input signal with a DC level that is too large or too small will be clipped at the top or bottom of the ADC range.
5.3 ANALOG INPUT MUXING The ADV7850 has thirteen analog input pins, Ain1 to Ain13. The user must select the Ain pin signals routed to the ADC in order to process the video signals that appear on the analog inputs. The ADV7850 has an integrated analog muxing section to route the video signals to the ADCs.
Note that CVBS, YC and SD components have to be manually routed using adc0_sw_man[3:0], adc1_sw_man[3:0], adc2_sw_man[3:0], adc3_sw_man[3:0] while adc_switch_man is set to 1. (Refer to Section 5.5.1.) Figure 10: ADV7850 Input Functional Diagram ain_sel[2:0], AFE, Address 0x02[2:0] This control is used to select the analog input muxing mode. Rev. A May 2012...
5.5 MANUAL INPUT MUXING OVERVIEW By accessing a set of manual override muxing registers, the analog input muxes of the ADV7850 can be controlled directly. This is referred to as manual input muxing (refer to Section 5.5.1).
ADV7850 adc0_sw_man[3:0], AFE, Address 0x03[7:4] This control is used to manually route analog inputs to ADC0. Function adc0_sw_man[3:0] Description 0101 Ain5 1010 Ain10 1011 Ain11 1100 Ain12 1101 Ain13 All others Reserved adc1_sw_man[3:0], AFE, Address 0x03[3:0] This control is used to manually route analog inputs to ADC 1.
As shown in Figure 11, the ADV7850 has three input synchronization control pins: SYNC1, SYNC2 and SYNC3. These pins are used for signals with embedded synchronization, for example, SOG or SOY type signals. SOG is associated with RGB input video; SOY is associated with component YPrPb input video.
ADV7850 Figure 11: Synchronization Stripper Circuit Automatic Synchronization Configuration 5.7.1 In addition to configuring the analog input muxes, ain_sel[2:0]controls automatically the associated synchronization channel routing. Refer to Figure 9 and the ain_sel[2:0] description for the routing details when ain_sel[2:0] is programmed.
Reserved 5.8 SYNCHRONIZATION SLICERS The ADV7850 has two synchronization slicer blocks, which are placed before the synchronization processing sections, as shown in Figure The purpose of a synchronization slicer is to provide a reliable synchronization signal to the STDI and SSPD circuits in the component processor so that a robust identification of standard is made.
10, the voltage levels to be sliced exceed the power supplies of the ADV7850 and, therefore, are beyond the range of the ADV7850 TRI inputs. The applied signals need to be reduced to fit in the range of the slicers. This is done by utilizing resistor divider networks at the inputs to TRI1-8.
Figure 12: D-Terminal Resistor Dividers Trilevel Input Controls 5.8.5 The ADV7850 has eight trilevel slicers, as shown in Figure 13. Each trilevel slicer is capable of operating in two modes. The first mode is bilevel mode where the input signal can be sliced at a single voltage level to determine the voltage level (refer to Table 8).
Page 55
ADV7850 tri1_slicer_pwrdn, AFE, Address 0x1D[6] This control is used to power down the Tri1 slicer. Function tri1_slicer_pwrdn Description Power up 1 Power down tri2_slicer_pwrdn, AFE, Address 0x1E[6] This control is used to power down the Tri2 slicer. Function tri2_slicer_pwrdn...
ADV7850 tri7_slicer_pwrdn, AFE, Address 0x23[6] This control is used to power down the Tri7 slicer. Function tri7_slicer_pwrdn Description Power up 1 Power down tri8_slicer_pwrdn, AFE, Address 0x24[6] This control is used to power down the Tri8 slicer. Function tri8_slicer_pwrdn...
ADV7850 Function tri4_bilevel_slice_en Description Bilevel slicing 1 Trilevel slicing tri5_bilevel_slice_en, AFE, Address 0x21[5] This control is used to enable bilevel slicing on the Tri5 input. Function tri5_bilevel_slice_en Description Bilevel slicing 1 Trilevel slicing tri6_bilevel_slice_en, AFE, Address 0x22[5] This control is used to enable bilevel slicing on the Tri6 input.
Page 58
ADV7850 Function tri1_readback[1:0] Description Signal higher than upper level Signal lower than upper level Signal higher than lower level Signal lower than lower level tri2_readback[1:0], AFE, Address 0x27[5:4] (Read Only) This readback displays Tri2 DC levels. Function tri2_readback[1:0] Description Signal higher than upper level...
ADV7850 Function tri6_readback[1:0] Description Signal higher than upper level Signal lower than upper level Signal higher than lower level Signal lower than lower level tri7_readback[1:0], AFE, Address 0x28[3:2] (Read Only) This readback displays Tri7 DC levels. Function tri7_readback[1:0] Description Signal higher than upper level...
Page 60
ADV7850 Function tri2_upper_slice_level[2 Description 75 mV 225 mV 37 mV 011 525 mV 675 mV 825 mV 975 mV 1.125 V tri3_upper_slice_level[2:0], AFE, Address 0x1F[4:2] This control is used to set the upper slice level on the Tri3 input.
Page 61
ADV7850 Function tri5_upper_slice_level[2 Description 75 mV 225 mV 375 mV 011 525 mV 675 mV 825 mV 975 mV 1.125 V tri6_upper_slice_level[2:0], AFE, Address 0x22[4:2] This control is used to set the upper slice level on the Tri6 input.
ADV7850 Function tri8_upper_slice_level[2 Description 75 mV 225 mV 375 mV 011 525 mV 675 mV 825 mV 975 mV 1.125 V 5.8.9.2 Lower Slice Levels tri1_lower_slice_level[1:0], AFE, Address 0x1D[1:0] This control is used to set the lower slice level on the Tri1 input.
Page 63
This control is used to set the lower slice level on the Tri8 input. Function tri8_lower_slice_level[1 Description 75 mV 01 225 mV 375 mV 525 mV The ADV7850 can support simultaneous processing of CVBS and RGB standard definition signals to enable SCART compatibility and Rev. A May 2012...
(The trilevel input is selected using fb_select[3:0].) By default, the ADV7850 operates in a dynamic switching mode in which the source selection is under the control of the fast blank signal. This enables dynamic multiplexing between the CVBS and RGB sources. When the fast blank signal is logic HI, the RGB source is selected;...
1/8 of an ADC clock cycle. Increasing the value is equivalent to adding delay to the SCART fast blank signal. The reset value is chosen to give equalized channels when the ADV7850 internal anti aliasing filters are enabled and there is no unintentional delay on the PCB.
Description 5.9.1 The ADV7850 has optional anti aliasing filters on each of the input channels. The filters are designed for SD, ED, and HD video with various bandwidths selectable via I C. These filters are most effective when ADC oversampling is selected.
Page 67
ADV7850 aa_filter_en1, AFE, Address 0x05[1] This control is used to enable the anti-aliasing filter on ADC1. Function aa_filter_en1 Description 0 Disable Enable aa_filter_en0, AFE, Address 0x05[0] This control is used to enable the anti-aliasing filter on ADC0. Function aa_filter_en0 Description 0 ...
ADV7850 Table 9: Anti Alias Filter Frequency Characteristics aa_filt_high_bw[1:0] aa_filt_prog_bw[1:0] Fc (MHz) Frequency Response No –10 1000 Frequency (MHz) Figure 15: Response of Anti Aliasing Filters Rev. A May 2012...
This block employs a color subcarrier recovery unit to regenerate the color subcarrier for any modulated chroma scheme. • Horizontal peaking/vertical peaking Horizontal and vertical luma peaking enhance the picture produced by the ADV7850. The luma peaking function operates to boost or attenuate the mid to high frequency component of the Y signal. •...
ADV7850 per line are output by the SDP. The ADV7850 uses a VSync and HSync PLL to provide an accurate and reliable lock for both perfect and imperfect video sources. • VSync PLL: provides extra filtering of the detected VSyncs to give improved vertical lock.
Page 71
ADV7850 Function sdp_ad_n443_en Description Enable NTSC-443 to be detected 0 Do not enable NTSC-443 to be detected sdp_ad_pal60_en, Addr 90 (SDP), Address 0x00[4] This control is used to enable autodetection of the PAL-60 standard. Setting this bit to 1 enables the corresponding standard to be detected.
ADV7850 Function sdp_ad_pal_en Description Enable PAL-BGHID to be detected 0 Do not enable PAL-BGHID to be detected Pedestal Configuration in SDP Modes 6.3.2 The following controls dictate which standards the SDP core expects to have a pedestal. Standards that are expected to have a pedestal are clamped to the back porch level.
ADV7850 Function sdp_palcn_ped_en Description Assume PAL-CombN inputs have a pedestal 0 Assume PAL-CombN inputs do not have a pedestal sdp_palm_ped_en, Addr 90 (SDP), Address 0x01[2] This control is used to force the part to assume that the corresponding standard has a pedestal. Standards with a pedestal are clamped to the pedestal level;...
ADV7850 Function sdp_video_detected Description Indicates valid SD/PR video input detected 0 Input invalid or no input connected sdp_c_chan_active, Addr 90 (SDP), Address 0x54[5] (Read Only) This readback displays the result of the CVBS/YC detection feature. Function sdp_c_chan_active Description Y/C input detected 0 ...
Page 75
ADV7850 sdp_frm_nstd, Addr 90 (SDP), Address 0x56[4] (Read Only) This readback indicates if the frame length in clock cycles is within the threshold set by sdp_frm_nstd_thr. Function sdp_frm_nstd Description Frame length in clock cycles not within +- sdp_frm_nstd_thr of nominal value 0 ...
Page 76
ADV7850 sdp_vs_std_mode, Addr 90 (SDP), Address 0x57[6] (Read Only) This readback indicates the detection of regular frame lengths on the input. Function sdp_vs_std_mode Description Regular frame lengths detected on input 0 Regular frame lengths not detected on input sdp_allow_3d_comb, Addr 90 (SDP), Address 0x57[4] (Read Only) This readback indicates the suitability of the input for 3D combing.
ADV7850 sdp_pal_sw_locked, Addr 90 (SDP), Address 0x59[2] (Read Only) This readback indicates the detection of a PAL swinging burst sequence on the input. Function sdp_pal_sw_locked Description PAL swinging burst sequence detected 0 PAL swinging burst sequence not detected sdp_fsc_freq_ok, Addr 90 (SDP), Address 0x59[1] (Read Only) This readback indicates the status of the subcarrier frequency detected on the input if it is close to that of the selected standard, 3.58...
ADV7850 sdp_mvcs_type3, Addr 90 (SDP), Address 0x50[1] (Read Only) This readback displays the detection of a Macrovision type 3 color stripe process. Function sdp_mvcs_type3 Description Macrovision type 3 color stripe process detected, only valid if sdp_mvcs_detect = 1 0 ...
Additional SDP Status Registers 6.4.6 An indication of signal strength can be obtained by reading back the burst power of the signal. The ADV7850 allows for two burst power measurements burst_power_act[11:0], Addr 94 (SDP_IO), Address 0x44[3:0]; Address 0x45[7:0] (Read Only) This readback displays the active path burst power measurement.
The following registers provide user control over the picture appearance. They are independent of any other controls. For instance, the brightness control is independent of the picture clamping, although both controls affect the DC level of the signal. The ADV7850 provides 10-bit control of contrast, brightness, saturation, and hue.
0x000 0° 0x200 -180° 6.6 SDP GAIN OPERATION The SDP gain control within the ADV7850 is done on a purely digital basis. SDP gain correction takes place after digitization in the form of a digital multiplier. Rev. A May 2012...
Figure 17, the ADV7850 can decode a video signal as long as it fits into the ADC window. There are two components; the amplitude of the input signal, and the DC level on which it resides. The DC level is set by the clamping circuitry.
Page 83
1024 Equation 1: SDP Luma Gain Formula The luma gain range is from 0.5 to 4.0. Example: To program the ADV7850 into manual fixed gain mode with a desired gain of 0.95: • Equation 1 to convert the gain: 0.95 * 1024 = 972.8 •...
1024 Equation 2: SDP Chroma Gain Formula The chroma gain range is from 0.5 to 8.0. Example: To program the ADV7850 into manual fixed chroma gain with a desired gain of 0.70 (signal): • Equation 2 to convert the gain: 0.70 * 1024 = 716.8...
ADV7850 Function sdp_limit_c_gain Description Limit chroma gain to range of 50% to 200% 0 Normal operation sdp_limit_uv_gain, Addr 90 (SDP), Address 0x89[5] This control is used to limit U/V gain. Function sdp_limit_uv_gain Description Limit U/V gain to range of 50% to 200% 0 ...
ADV7850 Function sdp_pw_rec_rate[11:0] Description 0x0F[3:0] sdp_pw_rec_rate[12:8] 0x10[7:0] sdp_pw_rec_rate[7:0] Peak Chroma 6.6.4 sdp_pc_en, Addr 90 (SDP), Address 0x05[6] This control is used to enable the peak-color chroma gain feature. Peak-color chroma overrides and reduces the gain of the chroma AGC if the chroma signal path becomes larger than a set threshold. Peak chroma can only act to reduce the AGC gain. When there are no more violations of the peak white threshold, the peak chrome algorithm allows the chroma AGC to restore the gain (based on the synchronization depth).
Figure 18: 3D Comb and Motion Detection Operation When the picture content is static, the 3D comb filter in the ADV7850 combines video frames to give perfect Y/C separation results. Artifacts of 1D and 2D methods such as dot crawl, cross color, and hanging dots are eliminated. The sharpness and stillness of the decoded picture are improved using the 3D comb.
Page 88
The ADV7850 characterizes the signal as a clean, noisy, or very noisy input signal, and assesses whether or not the input signal has the following characteristics: • Incorrect number of lines •...
Page 89
ADV7850 sdp_ckill_dis_2d, Addr 90 (SDP), Address 0xA4[7] This control is used to enable 2D combing even if color kill mode is active. This would effectively be passthrough mode. Function sdp_ckill_dis_2d Description 1 Disable 2D comb if color kill active...
Page 90
ADV7850 Function sdp_noisy_fld_dis_3d Description 1 Disable 3D comb if noisy input detected and sdp_fld_nstd detected Allow 3D comb if noisy input detected even if sdp_fld_nstd detected sdp_noisy_frm_dis_3d, Addr 90 (SDP), Address 0xA4[1] This control is used to enable 3D combing if a noisy input is detected and a nonstandard frame length is detected.
Page 91
ADV7850 Function sdp_vnoisy_hsw1_dis_3 Description 1 Disable 3D comb if very noisy input detected and head switch detection algorithm 1 detects head switches Allow 3D comb if very noisy input detected even if head switch detection algorithm 1 detects head switches sdp_vnoisy_lc_dis_3d, Addr 90 (SDP), Address 0xA5[4] This control is used to enable 3D combing if a very noisy input is detected and an incorrect frame length is detected on the input.
ADV7850 3D Comb Sensitivity 6.7.2 sdp_3d_comb_luma_sns[3:0], Addr 90 (SDP), Address 0xAA[3:0] This control is used to set the 3D comb luma sensitivity. Larger values increase 3D comb motion detection sensitivity to luma motion and noise. This is an unsigned control.
Page 93
The ADV7850 contains 33 different Y shaping filters available for selection using a 6-bit selection value. Four selection registers are provided so that different Y shaping filter can be selected for the VBI region, high quality inputs, low quality inputs, and SECAM inputs.
ADV7850 START VBI region In VBI region Use y_shape_sel_vbi Manual Selection y_shape_sel_auto_en SECAM CVBS Automatic Selection SECAM CVBS Not SECAM CVBS Use y_shape_sel_scm Use y_shape_sel_hqi CVBS Color Kill on Y/C and Color Kill on and force_ckill_hqi and force_ckill_hqi Possible B&W signal Possible B&W signal...
ADV7850 Table 10: Y Shaping Filter Selection Y Shape Response Filter Type Comment General purpose low-pass luma shaping filter 1 FIR, linear Narrowest GPLPF General purpose low-pass luma shaping filter 2 FIR, linear General purpose low-pass luma shaping filter 3...
Page 96
ADV7850 Function sdp_hqi_req_std Description 1 HQI requires both stable and standard (nominal) timebase HQI requires only stable timebase sdp_force_comp_hqi, Addr 90 (SDP), Address 0x19[6] This control is used to force the use of a HQI Y shaping filter when a component input is applied. When this bit is disabled, the autoselection of the Y shaping filter is employed.
ADV7850 Function sdp_y_shape_sel_scm[5 Description 011110 Default shape_1d_auto, Addr 90 (SDP), Address 0x96[7] This control is used to enable a 1D shaping filter when a nonstandard line frequency input is detected. Function shape_1d_auto Description Disable auto-1D shape filter selection 1 ...
ADV7850 Figure 21: Y Shaping Filter Selection from No. 14 to 20 in Table 10 Figure 22: Y Shaping Filter Selection from No. 21 to 24 in Table 10 Rev. A May 2012...
ADV7850 Figure 23: Y Shaping Filter Selection from No. 25 to 27 in Table 10 Figure 24: Y Shaping Filter Selection from No. 28 to 30 in Table 10 Rev. A May 2012...
ADV7850 Input Shaping Filter Enables 6.8.1 Refer to Section 6.4.5 for synctip noise measurement, noisy, and very noisy signal detection information. hqi_shaping_filter_disable, SDP Map, Address 0x98, [7:0] Function hqi_shaping_filte Bit Name Description r_disable[7:0] sdp_vnsy_dis_sfs_std Allows high quality input shaping filter even if a very noisy input is...
Page 102
ADV7850 Function sdp_fld_sfs_std Description 1 Disable HQI shape filter if clean input and sdp_fld_nstd detected Allow HQI shape filter even if sdp_fld_nstd detected sdp_blk_dis_sfs_std, Addr 90 (SDP), Address 0x98[3] This control is used to enable an HQI shaping filter when a nonstandard block length is detected.
The ADV7850 contains 20 different C shaping filters that are available for selection using a 5-bit selection value. Three selection registers are provided so that different C shaping filters can be selected for high quality inputs, low quality inputs, and SECAM inputs.
ADV7850 START Manual Selection sdp_c_shape_auto_en SECAM CVBS Automatic Selection Not SECAM CVBS SECAM CVBS Use sdp_c_shape_sel_scm[4:0] Use sdp_c_shape_sel_hqi[4:0] Component and S-Video Composite Video CVBS High quality input or SECAM sdp_force_comp_hqi Low quality component SECAM CVBS Use sdp_c_shape_sel_lqi[4:0] Use sdp_c_shape_sel_scm[4:0] sdp_csh_wbw_auto*...
ADV7850 sdp_c_shape_sel_lqi[4:0], Addr 90 (SDP), Address 0x1D[4:0] This control is used to allow selection of the C shaping filter for low quality inputs (LQI). Function sdp_c_shape_sel_lqi[4: Description 00010 Default sdp_c_shape_sel_scm[4:0], Addr 90 (SDP), Address 0x1E[4:0] This control is used to allow selection of the C shaping filter for SECAM input signals.
SPLIT FILTER SELECTION The ADV7850 offers a dynamic, pixel-by-pixel split filter alpha blending between a fixed, wide split filter and the split filter selected in the split filter selection register. The alpha blending determines if the region being combed would benefit most from a wide or a narrow split filter.
11xxx Reserved 6.11 IF FILTER COMPENSATION The ADV7850 offers ten different chroma path filters; four band-pass and six IF compensation, as detailed on Figure 31 Figure sdp_if_filt_sel[4:0], Addr 90 (SDP), Address 0x20[4:0] This control is used to compensate for SAW filter characteristics on a composite input as would be observed on a tuner output.
LUMA TRANSIENT IMPROVEMENT AND CHROMA TRANSIENT IMPROVEMENT The Luma Transient Improvement (LTI)/Chroma Transient Improvement (CTI) block enhances the picture produced in the ADV7850. The LTI/CTI block improves the steepness of the transitions. It uses adaptive peaking and non linear methods to provide enhancements without increasing noise or artifacts.
ADV7850 LTI/CTI Figure 33: LTI/CTI Operation Diagram sdp_lti_en, Addr 90 (SDP), Address 0x0E[1] This control is used to enable Luma Transient Improvement (LTI). Function sdp_lti_en Description Enable LTI 0 Disable LTI sdp_cti_en, Addr 90 (SDP), Address 0x0E[0] This control is used to enable Chroma Transient Improvement (CTI).
ADV7850 Clipping LF-Emphasis DE-Emphasis Filter Filter Dr Line Db Line DE-Emphasis Filter Slow tranisition Slow tranisition Figure 34: SECAM Signal Distortion SECAM CTI block is designed to improve this distortion, by making transitions steeper. The amount of improvement can be selected by sdp_scm_cti_gain[1:0].
ADV7850 Figure 36: LTI Filter Response 1 sdp_lti_level[6:0], Addr 90 (SDP), Address 0x25[6:0] This control is used to set the amount of LTI applied. A larger value corresponds to the sharpening of luma transients. Function sdp_lti_level[6:0] Description Bigger values More sharpening of luma transients 0 ...
ADV7850 Figure 37: CTI Filter Response 0 Figure 38: CTI Filter Response 1 sdp_lti_filt_sel, Addr 90 (SDP), Address 0x25[7] This control is used to select one of two filter responses available in LTI operation. Function sdp_lti_filt_sel Description Select filter response 1 as part of LTI 0 ...
4096 6.13 RINGING REDUCTION The ADV7850 incorporates a ringing reduction block. This block is used to reduce ringing artifacts that can appear around sharp edges. There are two controls to use a ringing reduction block. sdp_ring_red_en enables a block, and...
6.14 HORIZONTAL AND VERTICAL PEAKING The ADV7850 offers horizontal and vertical luma peaking to enhance the picture produced by the decoder. The luma peaking function operates to boost or attenuate the mid to high frequency component of the Y signal.
ADV7850 Enhancing Output Core Threshold Filtered Input Core Threshold Figure 40: Core Threshold in Horizontal Peaking sdp_h_pk_en, Addr 90 (SDP), Address 0x0E[2] This control is used to enable the horizontal peaking filter. This is a universal peaking control applied after 2D/3D mixing. It is applied whether or not 3D has been enabled.
ADV7850 Figure 43: Horizontal Peaking Band-Pass Filter 2 sdp_h_pk_core[2:0], Addr 90 (SDP), Address 0x22[2:0] This control is used to select the horizontal threshold from the eight possible values listed in the following table. If the filtered output is less than the coring threshold, no high frequency is added back to the input. If the filter output is greater than the core threshold, it is passed through unchanged to the next stage.
ADV7850 sdp_v_pk_flip[2:0] with sdp_v_pk_clip[1:0] are used to set the maximum amount of enhancement that can be added before the gain is applied. sdp_v_pk_flip[2:0] sets the maximum amount of enhancement. Above this value, the amount of enhancement is reduced. sdp_v_pk_clip[1:0] is a control that is applied after sdp_v_pk_flip[2:0]. It sets the positive and negative values of saturation. This...
ADV7850 The vertical peaking filter response is shown in Figure Figure 45: Vertical Peaking Filter sdp_v_pk_core[2:0], Addr 90 (SDP), Address 0x23[2:0] This control is used to set the coring threshold for a vertical filter. Signals in the output of the filter that are below this level are cored to...
H, V, and F timing signals with nominal 480i/576i timing and reads YUV data from the frame memories based on nominal timing signals generated using a fixed frequency clock. This fixed frequency clock is also used to clock data out of the ADV7850. The fixed frequency clock is user programmable but is intended to operate at 13.5 MHz, 27 MHz, or 54 MHz depending on the chosen output...
Free Run mode controls default color insertion and causes ADV7850 to generate a default clock. The state in which this happens can be monitored via the sdp_free_run readback. The default color of Free Run mode can be set by the following registers: •...
ADV7850 Function sdp_free_run_man_col_ Description 1 If in free run, output manual luma and chroma values set by sdp_free_run_y, sdp_free_run_v, and sdp_free_run_u If in free run, output decoded video data sdp_free_run_cbar_en, Addr 90 (SDP), Address 0xDD[1] This control is used to select the color bar pattern to be output in manual free run mode.
6.17.1 The ADV7850 expects a section of at least six consecutive black lines of video at the top of a field. Once those lines are detected, sdp_lbox_blk_top[7:0] reports back the number of black lines actually found. By default, the ADV7850 starts looking for those black lines in synchronization with the beginning of active video, for example, straight after the last VBI video line.
ADV7850 sdp_lbox_beg_del[3:0], Addr 90 (SDP), Address 0xDB[3:0] This control is used to set the letterbox detection begin line versus the default position. Function sdp_lbox_beg_del[3:0] Description 1000 Letterbox detection aligned with start line of active video. Window starts after VBI data line.
ADV7850 sdp_hs_width[11:0], Addr 94 (sdp_IO), Address 0x96[3:0]; Address 0x97[7:0] The sdp_hs_width[11:0] bits allow the user to freely adjust the width of the HSync pulse within the video line. The values in the sdp_hs_width[11:0] bits are measured in pixel units from the falling edge of HSync. The position of this edge is controlled by placing an unsigned binary number into the sdp_hs_beg_adj[11:0] bits.
Page 128
ADV7850 Function sdp_vsf_h_mid_adj[11: Description 0x000 << Default value sdp_vs_v_beg_o_adj[5:0], Addr 94 (sdp_IO), Address 0xA8[5:0] Adjust SDP VSync pin begin line relative to default, only +ve recommended, twos complement. Function sdp_vs_v_beg_o_adj[5: Description 000100 << Default value sdp_vs_v_beg_e_adj[5:0], Addr 94 (sdp_IO), Address 0xA9[5:0] Adjust SDP VSync pin begin line relative to default, only +ve recommended, 2s complement.
ADV7850 Function sdp_fld_tog_e_adj[5:0] Description 000100 << Default value sdp_vho_beg_inv, Addr 94 (sdp_IO), Address 0xB0[0] A control to swap switch position of field and beginning of VSync on odd fields. Function sdp_vho_beg_inv Description 0 << Use default horizontal switch position for field and beginning of VSync on odd fields...
Page 130
ADV7850 sdp_de_h_end_adj[11:0] sdp_de_pol, Addr 94 (sdp_IO), Address 0xB1[4] A control to change polarity of DE. Function sdp_de_pol Description Inverted DE polarity 1 << Default DE polarity sdp_de_v_beg_o_adj[5:0], Addr 94 (sdp_IO), Address 0xAC[5:0] Adjust SDP DE pin begin line relative to default, only +ve recommended, 2s complement.
ADV7850 sdp_de_h_end_adj[11:0] allows the user to adjust the horizontal DE trailing edge position relative to the HSync. The values are measured in pixel units from the falling edge of HSync. The position of the horizontal DE trailing edge is controlled by placing a twos complement number into the sdp_de_h_end_adj[11:0] bits.
RGB, YUV, YcrCb, and many other color spaces. The CSC matrix in the ADV7850 is a 3 x 3 matrix with full programmability of all coefficients in the matrix in manual mode. Each coefficient is 12-bit wide to ensure signal integrity is maintained in the CSC section. The CSC contains three identical processing...
Page 133
ADV7850 Function sdp_csc_auto Description Use manual CSC coefficients 1 << Use automatic CSC coefficients sdp_csc_scale, Addr 94 (sdp_IO), Address 0xE0[7] This control is used to set the CSC gain. Function sdp_csc_scale Description 0 << CSC scaler set to 1 CSC scaler set to 2 This bit allows the control to accommodate coefficients that extend the supported range of the DPP.
Page 134
ADV7850 Function sdp_b1[12:0] Description 0x0000 << Default sdp_b2[12:0], Addr 94 (sdp_IO), Address 0xEA[4:0]; Address 0xEB[7:0] This control is used to set the CSC B2 coefficient for the SDP output color space converter. Function sdp_b2[12:0] Description 0x0926 << Default sdp_b3[12:0], Addr 94 (sdp_IO), Address 0xEC[4:0]; Address 0xED[7:0] This control is used to set the CSC B3 coefficient for the SDP output color space converter.
ADV7850 Function sdp_c4[14:0] Description 0x0000 << Default 6.18.5.1 CSC Manual Programming This section outlines the settings for a conversion from NTSC YCrCb to RGB output. The CSC is only supported in these fixed settings: 94 97 00 HSync width Adjustment...
7.1.1 In HDMI Mux mode the HDMI data is passed directly from the RX to the TX. In this mode the ADV7850 supports up to 3GHz inputs. All the InfoFrame data is automatically passed to the HDMI TX within the ADV7850 and output directly to the backend IC.
Cable detected on Port D (high level on rxd_5v) The ADV7850 provides a digital glitch filter on the +5 V power signals from the HDMI ports. The output of this filter is used to reset the HDMI block (refer to Section 7.42).
7.3 HOT PLUG ASSERT The ADV7850 features hot plug assert (HPA) controls for its four HDMI ports. The purpose of these controls and their corresponding output pins is to communicate to an HDMI transmitter that the E-EDID connected to the DDC bus can be accessed.
Page 139
ADV7850 Function hpa_man_value_c Description 0 0 V applied to HPA_C pin High level applied to HPA_C pin hpa_man_value_d, IO, Address 0x20[4] This control is used to set the value of HPA on Port D. It is only valid if hpa_manual is set to 1.
Page 140
ADV7850 Function hpa_tristate_c Description 0 HPA_C pin active Tristate HPA_C pin hpa_tristate_d, IO, Address 0x20[0] This control is used to tristate the HPA output pin for Port D. Function hpa_tristate_d Description 0 HPA_D pin active Tristate HPA_D pin hpa_status_port_a, IO, Address 0x21[3] (Read Only) This readback displays the HPA status for Port A.
Display Identification (E-EDID) to be functional and accessible through the DDC port even when the part is powered down. In the cable supply mode, all the power needed by the ADV7850 can be provided by one or more HDMI transmitters connected to the HDMI ports.
7.5 E-EDID DATA CONFIGURATION The ADV7850 features an SRAM memory that can store an E-EDID. This internal E-EDID feature can be used for the four HDMI ports, A, B, C, and D. It is also possible to use an external device storage for the E-EDID data on each port, or a combination of internal E-EDID for some port(s) and external storage for the other port(s).
Page 143
When the internal E-EDID is enabled on any of the four ports (for example, Port A by setting man_edid_a_enable to 1), the ADV7850 must first calculate the E-EDID checksums for that port before the E-EDID is actually enabled. The following read only flags can be utilized to determine if the E-EDID is actually enabled on any of the four HDMI ports.
E-EDID Support for Cable Supply Mode 7.5.1 The ADV7850 can support internal E-EDID access when no system power is present by using the +5 V supply available on the HDMI or VGA cable, if present. (Refer to Section for more details.) Using this feature, an application that integrates the ADV7850 can make its E-EDID available to an HDMI source.
Power switch takes the cable supply whenever it is available, otherwise the system supply 7.8 SPI INTERFACE The ADV7850 has a 4-pin SPI interface to load the E-EDID information from the SPI EEPROM into the internal E-EDID RAM: • EP_MOSI •...
Write contents of internal E-EDID to SPI EEPROM The ADV7850 uses first 8 bits of EDID for its own purpose to load and store from the EEPROM. The register below lists the contents of the first 8 bits and their use. The customer should program to their system requirements...
• After power up, the ADV7850 E-EDID/Repeater controller sets all bytes in the internal E-EDID RAM to 0. This operation takes less than 1 msec. It is recommended to wait for at least 1 ms before initializing the EDID Map with an E-EDID image.
• After power up, the ADV7850 E-EDID controller sets all bytes in the internal E-EDID RAM to 0. This operation takes less than 1 ms. It is recommended to wait for at least 1 ms before initializing the EDID Map with E-EDID.
Page 149
ADV7850 • spa_port_b[3:0] = D spa_port_b[15:0], Addr 64 (Repeater), Address 0x52[7:0]; Address 0x53[7:0] This control is used to define the source physical address for Port B. This is used for CEC and is located in the HDMI vendor specific data block in the E-EDID.
The Equalizer provides two forms of signal correction. The first signal correct is to gain the full signal to the correct levels. In the ADV7850 this is called the GCTRL gain. After this stage, the signal is given a high frequency boost. In the ADV7850 this is called the ZCTRL gain.
If an HDMI port is not selected by hdmi_port_select, this port is disabled by default. Asserting en_bg_port_x allows this unselected port to be enabled in background mode (where x is a, b, c or d). Once a port is in background mode, the ADV7850 establishes an HDCP link with its source even though it is not selected by hdmi_port_select.
Page 152
Disable port unless selected with hdmi_port_select Enable port in background mode The ADV7850 can also perform HDMI parameter measurements and packet detection on one background port. The following information can then be read from the background measurement parameter and background packet registers: •...
7.16 TMDS CLOCK ACTIVITY DETECTION The ADV7850 provides circuitry to monitor TMDS clock activity on each of its four HDMI ports. The firmware can poll the appropriate registers for TMDS clock activity detection and configure the ADV7850 as desired.
Clock and Data Termination Control 7.16.1 The ADV7850 provides controls for the TMDS clock and data termination on all HDMI ports. The ADV7850 also offers automatic or manual termination closure of the selected port, and individual manual control over the four ports.
Enable termination Port D 1 Disable termination Port D 7.17 TMDS MEASUREMENT The ADV7850 contains logic that measures the frequency of the TMDS clock transmitted on the TMDS clock channel. The TMDS frequency can be read back via the tmdsfreq[8:0] tmdsfreq_frac[6:0] registers.
Page 156
TMDS frequency on the selected HDMI port changes by a programmable threshold • The ADV7850 can be configured to trigger an interrupt when new_tmds_frq_raw changes from 0 to 1. tmdsfreq[8:0], Addr 68 (HDMI), Address 0x51[7:0]; Address 0x52[7] (Read Only) This readback provides a full precision integer TMDS frequency measurement.
Page 157
ADV7850 Function tmds_pll_locked Description 0 TMDS PLL not locked TMDS PLL locked to TMDS clock input of selected HDMI port tmdspll_lck_a_raw, IO, Address 0x6A[7] (Read Only) This readback indicates the raw status of the Port A TMDS PLL lock signal.
7.18 DEEP COLOR MODE SUPPORT The ADV7850 supports HDMI streams with 24 bits per sample and deep color modes of 30 or 36 bits per sample. The addition of a video FIFO (refer to Section 7.19) allows for the robust support of these modes.
Page 159
• The ADV7850 can be configured to trigger an interrupt when deep_color_chng_raw changes from 0 to 1. In that configuration, the interrupt status deep_color_chng_st indicates that deep_color_chng_raw has changed from 0 to 1. Refer to Section additional information on the configuration of interrupts.
12-bit color per channel 16-bit color per channel 7.19 VIDEO FIFO The ADV7850 contains a FIFO located between the incoming TMDS data and the CP core (refer to Figure 55). Data arriving over the HDMI link will be at 1X for non deep color mode (24 bits), and 1.25X, 1.5X, or 2X for deep color modes (30, 36 and 48 bits respectively).
In HDMI mode, video formats with TMDS rates below 25 Mpixels/s require pixel repetition in order to be transmitted over the TMDS link. When the ADV7850 receives this type of video format, it discards repeated pixel data automatically, based on the pixel repetition field available in the AVI InfoFrame.
Page 162
ADV7850 When hdmi_pixel_repetition is non zero, video pixel data is discarded and the pixel clock frequency is divided by (hdmi_pixel_repetition) + 1. hdmi_pixel_repetition[3:0], Addr 68 (HDMI), Address 0x05[3:0] (Read Only) This readback provides the current HDMI pixel repetition value decoded from the AVI InfoFrame received. The HDMI receiver automatically discards repeated pixel data and divides the pixel clock frequency appropriately as per the pixel repetition value.
1010 - 1111 Reserved 7.21 ARC SUPPORT The ADV7850 supports four single mode ARC channels. The input for the ARC transmitters is supplied by the SPDIF_IN pin. The ARC transmitters can be powered down using the following controls. arc_pwrdn_a[1], IO, Address 0xAC[0] This control is used to power down the ARC transmitter.
Page 164
ADV7850 transmitter using the following controls. zero_spdif_in_a, IO, Address 0xAD[0] This control is used to zero the SPDIF input to the ARC transmitter. Function zero_spdif_in_a Description Zero SPDIF input to ARC Tx channel A zero_spdif_in_b, IO, Address 0xAD[1] This control is used to zero the SPDIF input to the ARC transmitter.
The ADV7850 receiver can support all mandatory HDMI 1.4a 3D formats, and many more. The 3D video format is indicated using the Video Identification Code (VIC) in the AVI InfoFrame (indicating the video format of one of the 2D pictures, as defined in CEA-861-D) in conjunction with the 3D_Structure field in the HDMI Vendor Specific InfoFrame (indicating the 3D structure).
Page 166
The ADV7850 supports the 1.1_features, fast_reauthentication, and fast_i2c speed HDCP features. The bcaps register must be initialized appropriately if these features are to be supported by the application integrating the ADV7850. For example, bcaps[0] is set to 1 to support fast_reauthentication.
After a power up, the ADV7850 reads the KSV from the internal HDCP ROM (refer to Figure • After a KSV update from an HDCP transmitter, the ADV7850 reads the KSV and all keys in order to carry out the link verification response (refer to Figure The host processor can read the hdcp_keys_read and hdcp_key_error flags to check that the ADV7850 successfully accessed the HDCP ROM.
ADV7850 while it reads the HDCP keys and/or the KSV from the internal HDCP ROM. • A hardware reset (that is, reset via the RESET pin) does not lead the ADV7850 to read the KSV or the keys from the HDCP ROM.
Page 170
ADV7850 de_regen_filter_locked, Addr 68 (HDMI), Address 0x07[5] (Read Only) This readback displays the DE regeneration filter lock status. It indicates if the DE regeneration section has locked to the received DE and if the horizontal synchronization parameter measurements are valid for readback.
ADV7850 Function hsync_pulse_width[12: Description xxxxxxxxxxx Total number of pixels in HSync pulse hsync_back_porch[12:0], Addr 68 (HDMI), Address 0x24[4:0]; Address 0x25[7:0] (Read Only) This readback displays the total number of pixels in the back porch. The HSync back porch width is a horizontal synchronization measurement.
Vertical Filters and Measurements 7.24.5 The ADV7850 integrates an HDMI vertical filter which performs measurements on the VSync of the HDMI stream on the selected port. The ADV7850 also performs vertical measurements on the background port as selected by bg_meas_port_sel[2:0].These measurements are available in the HDMI Map and can be used to determine the resolution of the incoming video data streams.
Page 173
ADV7850 vert_filter_locked, Addr 68 (HDMI), Address 0x07[7] (Read Only) This readback indicates whether or not the vertical filter is locked and the vertical synchronization parameter measurements are valid for readback. Function vert_filter_locked Description 0 Vertical filter not locked Vertical filter locked v_locked_raw, IO, Address 0x74[1] (Read Only) This readback indicates the raw status of the vertical sync filter locked signal.
ADV7850 field0_vs_back_porch[13:0], Addr 68 (HDMI), Address 0x32[5:0]; Address 0x33[7:0] (Read Only) This readback displays the total number of half lines in the VSync back porch of Field 0. The Field 0 VSync back porch width is a vertical synchronization measurement. The unit for this measurement is half lines.
Page 175
ADV7850 Function field1_total_height[13: Description 00000000000000 Total number of half lines in Field 1 (divide readback by 2 to get number of lines) xxxxxxxxxxxxxx Total number of half lines in Field 1 (divide readback by 2 to get number of lines) field1_height[12:0], Addr 68 (HDMI), Address 0x0B[4:0];...
ADV7850 Function field1_vs_back_porch[1 Description 3:0] 00000000000000 Number of half lines in VSync back porch of Field 1 (divide readback by 2 to get number of lines) xxxxxxxxxxxxxx Number of half lines in VSync back porch of Field 1 (divide readback by 2 to get number of...
(that is, audio sample, DSD, DST or HBR packets) encapsulated inside the HDMI data stream. The ADV7850 also regenerates an audio master clock along with the extraction of the audio data. The clock regeneration is performed by an integrated DPLL. The regenerated clock is used to output audio data from the 127 stereo sample depth FIFO to the audio interface configuration pins.
TMDS PLL is locked (refer to tmds_pll_locked) • ADV7850 has received an ACR packet with the N and CTS parameters within a valid range The audio DPLL lock status can be monitored via audio_pll_locked. audio_pll_locked, Addr 5C (audio_codec), Address 0x0D[0] (Read Only) This readback indicates the audio PLL locking status.
ADV7850 Audio DPLL Coast Feature 7.25.4 The audio DPLL incorporates a coast feature that allows it to indefinitely output a stable audio master clock when selectable events occur. The coast feature allows the audio DPLL to provide an audio master clock when the audio processor mutes the audio following a mute condition (refer to Section 7.31).
Page 180
ADV7850 fifo_underflo_raw, IO, Address 0x7E[6] (Read Only) This readback indicates the status of audio FIFO underflow interrupt signal. When set to 1, it indicates the Audio FIFO read pointer has reached the write pointer causing the audio FIFO to underflow. Once set, this bit remains high until it is cleared.
DST packets • HBR packets The following flags are provided to monitor the type of audio packets received by the ADV7850. Figure 63 shows the algorithm that can be implemented to monitor the type of audio packet processed by the ADV7850.
Page 182
DST sample rate equals transfer rate DST sample rate doubles transfer rate Notes: • The ADV7850 processes only one type of audio packet at a time. • The ADV7850 processes the latest type of audio packet that it received. •...
H B R pa cke ts ar e be ing r e ce ive d Figure 63: Monitoring Audio Packet Type Processed by ADV7850 7.28 AUDIO OUTPUT INTERFACE The ADV7850 has a dedicated eight pin audio output interface. The output pin names and descriptions are shown in Table Table 14: Audio Outputs and Clocks...
ADV7850 The audio output interface can be adjusted into numerous configurations for the different audio formats. This flexibility helps to increase interconnectivity with downstream audio devices and HDMI transmitters. Table 15 shows the default configurations for the various possible output interfaces.
Page 185
Right justified Left justified Raw SPDIF (IEC60958) Mode Notes: i2soutmode is effective when the ADV7850 is configured to output I2S streams or AES3 streams. This is the case in the following situations: • The ADV7850 receives audio sample packets. •...
DSD Audio Interface and Output Controls 7.28.2 The ADV7850 incorporates a 6-DSD channel interface used to output the audio stream extracted from DSD packets. Each of the DSD channels carries an over-sampled 1-bit representation of the audio signal as delivered on Super Audio CDs (SACDs).
Where xx is the channel, for example, 0A, 0B By default, the ADV7850 automatically enables the DSD interface if it receives DSD packets. The ADV7850 also automatically enables the I2S interface if it receives audio sample packets or if it does not receive any audio packets. However, it is possible to override the audio...
DST Audio Interface and Output Controls 7.28.3 The ADV7850 incorporates a DST interface that outputs audio data extracted from DST packets. The transfer rate of the DST packets is indicated via dst_double. dst_double, Addr 68 (HDMI), Address 0x19[2] (Read Only) This readback indicates when the DST audio is double data rate.
Figure 72: DST Timing Diagram for DST_DOUBLE = 1 HBR Interface and Output Controls 7.28.4 The ADV7850 can receive HBR audio stream packets. The ADV7850 outputs HBR data over five of the audio output pins in any of the following formats: •...
ADV7850 Function ovr_mux_hbr Description 0 Automatic HBR output control Manual HBR output control mux_hbr_out, Addr 68 (HDMI), Address 0x01[1] This control is used to manually select the audio output interface for HBR data. It is valid when ovr_mux_hbr is set to 1.
7.31 AUDIO MUTING The ADV7850 integrates an advanced audio mute function that is designed to remove all extraneous noise and pops from a 2-channel L- PCM audio stream at sample frequencies up to 192 kHz. The audio mute controller takes in event detection signals that can be used to determine when an audio mute is needed.
ADV7850 audio_mute_speed[4:0], Addr 68 (HDMI), Address 0x0F[4:0] This control is used to define the number of samples between each volume change of 1.5 dB when muting and unmuting. Function audio_mute_speed[4:0] Description xxxxx Number of samples between each volume change of 1.5 dB not_auto_unmute, Addr 68 (HDMI), Address 0x1A[0] This control is used to disable the auto unmute feature.
The ADV7850 discards audio sample packets that have an incorrect parity bit. When these samples are received, the ADV7850 repeats the previous audio sample with a valid parity bit. The audio stream out of the ADV7850 can be muted in this situation if the audio mute mask mt_msk_parity_err is set.
Audio mute occurs if audio sample packet is received with incorrect parity bit. 7.32 AUDIO CLOCK REGENERATION PARAMETERS The ADV7850 recreates an internal audio master clock using Audio Clock Regeneration (ACR) values transmitted by the HDMI source. ACR Parameters Readbacks 7.32.1...
ADV7850 Function change_n_raw Description 0 Audio clock regeneration N value not changed Audio clock regeneration N value changed cts_pass_thrsh_raw, IO, Address 0x7E[4] (Read Only) This readback indicates the status of the ACR CTS value exceed threshold interrupt signal. When set to 1, it indicates the CTS value of the ACR packets has exceeded the threshold set by cts_change_threshold.
ADV7850 Start Enable the CS_DATA_VALID_ST Initialization interrupt CS_DATA_VALID_S T set to 1 ? Check if the CS_DATA_VALID Set CS_DATA_VALID_CLR to 1 interrupt has triggered CS_DATA_VALID_R AW set to 1 Read the channel status bits in HDMI The channel status bits previously...
ADV7850 cs_data[2], Copyright, HDMI Map, Address 0x36, [2] Function cs_data[2] Description 0 << Software for which copyright is asserted Software for which no copyright is asserted cs_data[5:3], Emphasis, HDMI Map, Address 0x36, [5:3] Function cs_data[5:3] Description 000 << Two audio channels without pre-emphasis...
7.34 PACKETS AND INFOFRAMES REGISTERS In HDMI, auxiliary data is carried across the digital link using a series of packets. The ADV7850 automatically detects and stores the following HDMI packets: •...
InfoFrame Collection Mode 7.34.2 The ADV7850 has two modes for storing the InfoFrame packet sent from the source into the internal memory. By default, the ADV7850 only stores the InfoFrame packets received if the checksum is correct for each InfoFrame.
ADV7850 Function spd_inf_cks_err_raw Description 0 No SPD InfoFrame checksum error occurred SPD InfoFrame checksum error occurred ms_inf_cks_err_raw, IO, Address 0x88[7] (Read Only) This readback indicates the status of the MPEG source InfoFrame checksum error interrupt signal. When set to 1, it indicates that a checksum error was detected for an MPEG source InfoFrame.
ADV7850 InfoFrame Access Type Register Name Byte Name Map Address 0x13 avi_inf_pb_0_20 Data Byte 19 0x14 avi_inf_pb_0_21 Data Byte 20 0x15 avi_inf_pb_0_22 Data Byte 21 0x16 avi_inf_pb_0_23 Data Byte 22 0x17 avi_inf_pb_0_24 Data Byte 23 0x18 avi_inf_pb_0_25 Data Byte 24...
ADV7850 SPD InfoFrame Registers 7.34.6 Table 27 provides a list of readback registers available for the Source Product Descriptor (SPD) InfoFrame. Refer to the EIA/CEA-861D specifications for a detailed explanation of the SPD InfoFrame fields. Table 27: SPD InfoFrame Registers...
ADV7850 Table 28: MPEG InfoFrame Registers InfoFrame Access Register Name Byte Name Map Address Type 0xE9 ms_packet_id[7:0] Packet Type Value 0xEA ms_inf_vers InfoFrame version number 0xEB ms_inf_len InfoFrame length 0x46 ms_inf_pb_0_1 Checksum 0x47 ms_inf_pb_0_2 Data Byte 1 0x48 ms_inf_pb_0_3 Data Byte 2...
HDMI specification defines only one Vendor Specific InfoFrame (VSI) per frame. For support of some inputs which use THX Media Director, it is required to be able to receive three VSIs at the same time. The ADV7850 can detect the number of incoming VSIs and select which VSI to decode, load it into the buffer, read it in the system, and then select another VSI to be decoded and loaded into the buffer.
ADV7850 Function en_pkt_cnt_sel Description 0 Disabled, collect every packet as it is received Enable selectively collecting one of multiple packets per frame of the same type pkt_cnt_sel[3:0], Addr 7C (InfoFrame), Address 0xFE[3:0] This control selects which one of the multiple received packets per frame of type pkt_cnt_id is to be collected. It must be enabled with en_pkt_cnt_sel.
ADV7850 The ISRC2 packet registers are considered valid if, and only if, isrc2_pckt_raw is set to 1. isrc2_pckt_raw, IO, Address 0x60[7] (Read Only) This readback indicates the raw status signal of the International Standard Recording Code 2 (ISRC2) Packet detection signal. This bit resets to 0 after an HDMI packet detection reset or upon writing to isrc2_packet_id.
The packet type value of each set of packet and InfoFrame registers in the InfoFrame Map is programmable. This allows the user to configure the ADV7850 to store the payload data of any packet and InfoFrames sent by the transmitter connected on the selected HDMI port.
Page 212
ADV7850 ms_packet_id[7:0], Addr 7C (InfoFrame), Address 0xE9[7:0] This control is used to set the MPEG source InfoFrame ID. Function ms_packet_id[7:0] Description 0xxxxxxx Packet type value of packet stored in InfoFrame Map, Address 0x46 to 0x53 1xxxxxxx Packet type value of InfoFrame stored in InfoFrame Map, Address 0x46 to 0x53 vs_packet_id[7:0], Addr 7C (InfoFrame), Address 0xEC[7:0] This control is used to set the Vendor Specific InfoFrame ID.
• 0x09: HBR Audio Stream Packet 7.37 BACKGROUND PORT INFOFRAME AND PACKET SUPPORT The ADV7850 can provide limited information on the packets received on the background port via the following controls and readback registers. bg_header_requested[7:0], Addr 68 (HDMI), Address 0xEF[7:0] This control is used to select the type of InfoFrame/packet to be provided for readback in the background port header and packet registers (0xF0 to 0xF5).
The ADV7850 incorporates an E-EDID/Repeater controller that provides all the features required for a receiver front end of a fully HDCP 1.3 compliant repeater system. The ADV7850 has a RAM that can store up to 128 KSVs, which allows it to handle up to 128 downstream devices in repeater mode.
Repeater Actions Required by External Controller 7.38.2 The external controller must set the bcaps register and notify the ADV7850 when the KSV list is updated, as described in the following actions Note that many more routines must be implemented into the external controller driving the ADV7850 to implement a full repeater. Such...
Detected write access to AKSV register on Port D Second and Subsequent AKSV Updates When the upstream transmitter writes its AKSV for the second time or more into the ADV7850 HDCP registers, the external controller driving the ADV7850 should set ksv_list_ready to 1.
Page 217
ADV7850 auto_hdcp_map_enable, Addr 64 (Repeater), Address 0x79[3] This control is used to select the port to be accessed for HDCP addresses, i.e. the HDMI active port (selected by hdcp_port_select in the HDMI Map), or the port selected in hdcp_map_select. Function...
All registers specified in table are located in the Repeater Map Refer to HDCP Protection System Standards The ADV7850 supports up to 25 KSVs (0 through to 24). The complete set of bytes is listed below. Each KSV is 40bits long and the first KSV starts at address 0x80.
ADV7850 KSV Byte Register Name Address ksv_byte106 ksv_byte107 ksv_byte108 ksv_byte109 ksv_byte110 ksv_byte111 ksv_byte112 ksv_byte113 ksv_byte114 ksv_byte115 ksv_byte116 ksv_byte117 ksv_byte118 ksv_byte119 ksv_byte120 ksv_byte121 ksv_byte122 ksv_byte123 ksv_byte124 ksv_byte125 ksv_byte126 ksv_byte127 All registers specified in table are located in the Repeater Map. 7.39 INTERFACE TO DCM SECTION The video data from the HDMI section is sent to the CP section via the DCM block.
ADV7850 / Cb / Cr / Cb / Cr / Cb / Cr / Cb / Cr / Cb / Cr Component Channel Bit 12-0 Bit 12-0 Bit 12-0 Figure 75: Video Stream Output by HDMI Core for YC 4:2:2 Input and UP_CONVERSION = 0 up_conversion_mode, Addr 68 (HDMI), Address 0x1D[5] This control is used to select linear or interpolated 4:2:2 to 4:4:4 conversion.
Returns 1 if latest general control packet received has av_mute asserted. Reset to 0 following a packet detection flag reset condition. (Refer to Section 7.43.) internal_mute_raw Returns 1 if ADV7850 has internally muted the audio data. Additional information available on page 194. cs_data_valid_raw 7 (MSB) Returns 1 if channel status bit readback registers in HDMI Map, Address 0x36 to 0x3A are valid.
ADV7850 Table 41: HDMI Flags in IO Map Register 0x79 Bit Name Bit Position new_avi_info_raw 0 (LSB) new_audio_info_raw new_spd_info_raw new_ms_info_raw new_vs_info_raw new_acp_pckt_raw new_isrc1_pckt_raw new_isrc2_pckt_raw 7 (MSB) Table 42: HDMI Flags in IO Map Register 0x7E Bit Name Description Position new_gamut_mdata_raw 0 (LSB) When set to 1, indicates that Gamut Metadata packet with new content received.
1. 7.43 HDMI PACKET DETECTION FLAG RESET A packet detection flag reset is triggered when any of the following events occur: • The ADV7850 is powered up. • The ADV7850 is reset. • A TMDS clock is detected after a period of no clock activity on the selected HDMI port.
ADV7850 8 DECIMATION CONTROLS, COLOR SPACE CONVERSION, AND COLOR CONTROLS 8.1 DCM CONFIGURATION The DCM is a fully automated block which can fully configure its inputs based on the primary mode and video standard settings. The configuration of the primary mode and video standard are described in Section 4.
CVBS 8.2 MANUAL FILTER COEFFICIENT PROGRAMMING The ADV7850 allows the user to fully program the DCM filters on each of the channels. The user can select between a 19/20 tap or 39/40 tap filter. Follow these steps to manually program a channel. (In this example, Channel 2 is programmed with a 39 tap filter.) Enable the selection of a manual filter by setting dcm_filt_en.
Page 228
ADV7850 dcm_filt_sel[2:0], Addr A0 (VFE), Address 0x21[2:0] This control is used to manually select a filter for the DCM filter block. The particular channel should be selected by filt_sel before this control is set. Function dcm_filt_sel[2:0] Description 000 Reserved...
DCM Channel Power Down Control 8.2.1 The ADV7850 allows for individual control of the DCM channels. The power-down controls are enabled by dcm_ch_en. dcm_ch_enable, Addr A0 (VFE), Address 0x23[7] This control is used to provide manual control of the DCM channels.
The CP also provides color controls for brightness, contrast, saturation and hue adjustments. The CP CSC is the main color space converter. The CPP block also has an automatic non programmable CSC. The ADV7850 will automatically configure the fixed CSC for certain modes, depending on the input and output formats and the use of the color control feature.
Reserved The CSC configuration mode is automated in the ADV7850. Automatic or manual CSC mode can be selected by setting the csc_coeff_sel[3:0] bits. When csc_coeff_sel[3:0] is set to 0b1111, the CSC mode is automatically selected, based on the input color space and output color space required and set through the following registers: •...
ADV7850 Table 47: Automatic Input Color Space Selection prim_mode[3:0] vid_std[5:0] Input Color Space Input Range Comments 0001 ≤ 1001 YcrCb601 0:255 Analog SD/ED modes 0001 > 1001 YcrCb709 0:255 Analog HD modes 0010 xxxx 0:255 Analog GR modes 0101 xxxx...
8.3.4 The CP CSC matrix in the ADV7850 is a 3 x 3 matrix with full programmability of all coefficients in the matrix in manual mode. Each coefficient is 12-bits wide to ensure signal integrity is maintained in the CP CSC section. The CP CSC contains three identical processing channels, one of which is shown in Figure 77.
ADV7850 Table 50: CSC Coefficients Control CP Map Address Reset Value (Hex) Description A1[12:0] 0x57 [4:0], 0x58 [7:0] 0x800 Coefficient for channel A A2[12:0] 0x55 [1:0], 0x56 [7:0] 0x57 [7:5] 0x000 Coefficient for channel A A3[12:0] 0x54 [6:0], 0x55 [7:2]...
Page 235
ADV7850 Function rb_a3[12:0] Description xxxxxxxxxxxxx Readback value rb_a4[12:0], Addr 44 (CP), Address 0x0B[4:0]; Address 0x0C[7:0] (Read Only) This readback displays the CSC coefficient A4 modified by the video adjustment block. Function rb_a4[12:0] Description xxxxxxxxxxxxx Readback value rb_b1[12:0], Addr 44 (CP), Address 0x17[4:0]; Address 0x18[7:0] (Read Only) This readback displays the CSC coefficient B1 modified by the video adjustment block.
ADV7850 Function rb_c2[12:0] Description xxxxxxxxxxxxx Readback value rb_c3[12:0], Addr 44 (CP), Address 0x1B[6:0]; Address 0x1C[7:2] (Read Only) This readback displays the CSC coefficient C3 modified by the video adjustment block. Function rb_c3[12:0] Description xxxxxxxxxxxxx Readback value rb_c4[12:0], Addr 44 (CP), Address 0x19[4:0]; Address 0x1A[7:0] (Read Only) This readback displays the CSC coefficient C4 modified by the video adjustment block.
ADV7850 To support larger coefficients, the csc_scale[1:0] function should be used. Determine the setting for csc_scale[1:0] and adjust coefficients, if necessary. Program the coefficient values. Convert the float point coefficients into 12-bit fixed decimal format. Convert into binary format, using twos complement for negative values.
A1 = B2 = C3 = 0x800 (default value) Note: The DPP CSC is always in pass-through mode unless the ADV7850 is processing an RGB input, outputting this input in the RGB color space and vid_adj_en is enabled.
Page 239
ADV7850 Function vid_adj_en Description 0 Disable color controls Enable color controls cp_contrast[7:0], Addr 44 (CP), Address 0x3A[7:0] This control is used to set the contrast. It is an unsigned value represented in a 1.7 binary format. The MSB represents the integer part of the contrast value, which is either 0 or 1.
Page 240
ADV7850 ⋅ − Equation 9: Hue in Degree Unit Applied to Chroma via cp_hue[7:0] Control Rev. A May 2012...
H S y n c De p th Figure 78: Component Processor Block Diagram 9.1 INTRODUCTION TO COMPONENT PROCESSOR A simplified block diagram of the CP on the ADV7850 is shown in Figure 78. Data is supplied to the CP from the Data Preprocessor (DPP).
ADV7850 9.2 CLAMP OPERATION For analog signals that enter the CP block, there are two clamp methods applied to the video signal: • An analog voltage clamp block prior to the ADCs • A digital fine clamp that operates after the DPP block The analog voltage clamp signal operates on the input video prior to digitization.
Page 243
ADV7850 clmp_a_man, Addr 44 (CP), Address 0x6C[7] This control is used to enable manual clamping for channel A. Function clmp_a_man Description 0 Use digital fine clamp value determined by on-chip clamp loop Ignore internal digital fine clamp loop result, use clmp_a[11:0] clmp_a[11:0], Addr 44 (CP), Address 0x6C[3:0];...
The ADV7850 provides a special filter option for the auto clamp mode. The purpose of this filter is to provide a smoothening mechanism when the clamping value for each channel is being changed continuously in significant amounts by the autoclamping mechanism.
ADV7850 • Manual Gain Configuration This configuration is enabled by setting agc_mode_man to 1 and gain_man to 1. In this case the gain applied to the video data processed by the CP core is configured via the control registers a_gain[9:0], b_gain[9:0] and c_gain[9:0].
Page 246
ADV7850 is the floor function that returns the largest integer not greater than its input parameter floor X refers to A, B, and C Equation 10: CP Manual Gain Example: Example Gain a_gain[9:0] 0x80 0.98887 0xFD 0x280 gain_man, Addr 44 (CP), Address 0x73[7] This control is used to enable the gain factor to be set by the AGC or manually.
9.3.5 The ADV7850 provides a special filter option for the manual gain mode. This is functional only when manual gain is enabled. The purpose of this filter is to be a smoothing mechanism when the manual gain value is updated continuously by an external system based on either external or readback conditions in the ADV7850.
Page 248
ADV7850 An error signal is derived from the comparison of the measured synchronization depth and the target value. The error signal is weighted by a factor that allows different response times to be selected (agc_tim[2:0] is used to select different time constants). The resulting gain value is applied to all three channels A, B, and C.
ADV7850 Function agc_tim[2:0] Description 000 100 lines 1 frame 0.5 sec 1 sec 2 sec 3 sec 5 sec 7 sec 9.3.6.1 Readback Signals from AGC Block The following readback signals are provided: • Presently used gain value can be read back through cp_agc_gain[9:0] •...
ADV7850 Function hsd_chb[9:0] Description xxxxxxxxxx Readback for measured value of HSync depth on channel B hsd_chc[9:0], Addr 44 (CP), Address 0xE7[5:4]; Address 0xEA[7:0] (Read Only) This readback displays the measured value of the HSync depth on channel C before the gain multiplier. The value is presented in 1.9 binary format.
Page 251
CP Peak Active Video Readback The ADV7850 provides circuitry that monitors the active CP video on a field basis and records the largest value encountered during this time. It is intended to be used in a peak-white type AGC for signals that do not have an embedded horizontal synchronization pulse, and to provide feedback on the accurate function of the built-in AGC loop.
The actual offset used can come from two different sources: The ADV7850 includes an automatic selection of the offset value, dependent on the CSC mode that is programmed by the user. agc_tar_man op_656_range are used to derive offset values.
9.5.1 To compensate for signal attenuation in the analog front end of the ADV7850 and input buffer gain, a pregain block is provided in the CP path. The pregain block is controlled by cp_mode_gain_adj[7:0], which represents an unsigned value in a 1.7 binary format. The range of cp_mode_gain_adj[7:0] is 0 to 1.99.
Page 254
ADV7850 cp_mode_gain_adj[7:0], Addr 44 (CP), Address 0x40[7:0] This control is used for pregain adjustment to compensate for the gain of the Analog Front End. It stores a value in a 1.7 binary format. Function cp_mode_gain_adj[7:0] Description 0xxxxxxx Gain of (0 + (xxxxxxx / 128)) 10000000 Default pregain (pregain of 1.0)
9.6.1 The ADV7850 has two sync slicers. Each sync slicer can slice one of the four possible embedded sync signals: SYNC1, SYNC 2, SYNC 3 and SYNC 4. The sliced signals are output on the internal sliced signals, EMB_SYNC_SEL1 and EMB_SYNC_SEL2 (see ain_sel[2:0]).
9.6.2.1 Signals Routing to Synchronization Channels The ADV7850 has two synchronization channels. Each channel consists of one SSPD and one STDI section. When an HDMI input is applied, the HDMI core will generate HSync, VSync, and DE signals and supply them as input to each synchronization channel shown in Figure 86.
ADV7850 Two muxes are used to select HSync /CSync 1 and HSync /CSync 2 from the three possible HSync signals. Similarly, two muxes are used to select VSync 1 and VSync 2 from the three possible VS signals. These muxes are controlled by sync_ch1_hs_sel[1:0], sync_ch1_vs_sel[1:0], sync_ch2_hs_sel[1:0], and sync_ch2_vs_sel[1:0].
ADV7850 each input. Each output has two instances, one with the same name as the input, and one with _GR at the end of the name. The _GR signals are latched by the XTAL clock and have a digital filter applied to them, whereas the output signals with the same name as the input signals are true bypass versions of the input signals;...
TO CP CORE FILTER Figure 87: Final Sync Muxing Stage 9.7 SYNCHRONIZATION PROCESSING CHANNEL MUX The ADV7850 has two synchronization processing channels, as shown in Figure 86. These contain SSPD and the STDI functionality that receives synchronization, as described in Section 9.6.2.1.
ADV7850 sync_ch_auto_mode, IO, Address 0x07[7] This control is used to set automatic synchronization channel selection to the CP core. Auto mode selects which synchronization channel drives the CP based on the free run status of each channel. The priority of selection is determined by SYNC_CH1_PRIORITY when both channels are in free run mode.
ADV7850 The ADV7850, by default, tries to use separate HSync/VSync signals even if there are embedded sync signals also available. The user can change this behavior by using ch1_sspd_pp_en and ch2_sspd_pp_en. By enabling these registers, the first preference for SSPD will be the...
Page 265
ADV7850 ch2_sspd_cont, Addr 44 (CP), Address 0x41[1] This control is used to set the synchronization source polarity detection mode for sync channel 2 SSPD. Function ch2_sspd_cont Description Sync channel 2 SSPD works in one-shot mode (triggered by a 0 to 1 transition on ch2_trig_sspd bit) 1 ...
Page 266
ADV7850 Function ch1_pol_man_en Description 0 Use result from sync channel 1 SSPD polarity autodetection Manual override, use ch1_pol_vs and ch1_pol_hs ch2_pol_man_en, Addr 44 (CP), Address 0x41[7] This control is used to override the polarity detection by sync channel 2 SSPD.
ADV7850 emb_sync_on_all, Addr 44 (CP), Address 0x67[5] This control is used to alter the gain computed by the AGC based on the presence of an embedded synchronization on channels A, B and C. It is used only in the case of RGB input and RGB output with color controls enabled.
Page 268
ADV7850 Function ch2_sspd_dvalid Description 0 Sync channel 2 SSPD results not valid for readback Sync channel 2 SSPD results valid (detection finished) ch1_cur_sync_src[1:0], Addr 44 (CP), Address 0xB5[1:0] (Read Only) This readback displays the current synchronization source detected by sync channel 1 SSPD.
Page 269
ADV7850 • ch1_hs_act is set to 1 if the SSPD has detected eight edges or four periods on the HSync signal • ch1_hs_act is set to 0 if the SSPD has detected less than eight edges or four periods on the HSync signal ch2_hs_act, Addr 44 (CP), Address 0x4F[4] (Read Only) This readback displays activity on the HSync/CSync input to sync channel 2 SSPD.
ADV7850 Function ch2_vs_act Description 0 No activity detected on VSync input to sync channel 2 SSPD VSync input to sync channel 2 SSPD carries an active signal The SSPD section continuously monitors the VSync input signal over timing windows of 2...
ADV7850 Function sspd_rslt_chngd_ch1_st Description 0 No SSPD result changed for sync channel 1 interrupt event occurred SSPD result changed for sync channel 1 interrupt event occurred sspd_rslt_chngd_ch1_raw, IO, Address 0x5B[0] (Read Only) Status of the SSPD Result Changed on sync channel 1 interrupt signal. When set to 1 it indicates a change in SSPD result of the currently selected sync channel.
Page 272
The four parameters should only be read after the chx_stdi_dvalid flag has gone high for the continuous/single shot mode. In real-time continuous mode, the ADV7850 allows the user to monitor the real-time timing measurement regardless of the chx_stdi_dvalid flag.
Page 273
ADV7850 bypass_stdi1_locking, Addr 44 (CP), Address 0xF5[1] This control is used to bypass STDI locking for sync channel 1. Function bypass_stdi1_locking Description 0 Update ch1_bl, ch1_lcf and ch1_lcvs. Only sync channel 1 STDI locks and ch1_stdi_dvalid set to 1.
ADV7850 ch2_sdti_dvalid is set to 1 only after four fields with the same length are recorded. As a result, STDI measurements can take up to five fields to finish. Function ch2_stdi_dvalid Description 0 Sync channel 2 STDI measurement not valid...
Page 276
ADV7850 Function ch1_lcvs[4:0] Description xxxxx Readback value ch2_lcvs[4:0], Addr 44 (CP), Address 0x4B[7:3] (Read Only) This readback displays the sync channel 2 line count in a VSync. It displays the number of lines in a VSync period measured on sync channel 2.
ADV7850 Function ch1_stdi_intlcd Description 0 Indicates video signal on sync channel 1 with non interlaced timing Indicates signal on sync channel 1 with interlaced timing ch2_stdi_intlcd, Addr 44 (CP), Address 0x49[6] (Read Only) This readback displays interlaced versus progressive mode detected by sync channel 2 STDI. The readback is valid if ch2_stdi_dvalid is set to 1.
As shown in Figure 95, the ADV7850 CP can output the following three primary and two secondary synchronization signals, which are controlled by the output control block in the CP block. These timing signals are sent to the HDMI Tx section.
ADV7850 Secondary: • CS timing reference output shared with the HS pin • DE (indicates active region) shared with the FIELD pin The user can program the primary and secondary synchronization signals, repositioning them in order to control the display area, as...
ADV7850 All of these parameters are given as signed values. This means that rather than adjusting the absolute position of a signal, these adjustments allow the user to advance (negative value) or delay (positive value) the respective timing reference signals.
ADV7850 Figure 97: HSync Timing Rev. A May 2012...
Page 282
ADV7850 start_hs[9:0], Addr 44 (CP), Address 0x7C[3:2]; Address 0x7E[7:0] This control is used to shift the position of the leading edge of the HSync output by the CP core. It stores a signed value in a twos complement format. This control is the number of pixel clocks by which the leading edge of the HSync is shifted (e.g. 0x3FF corresponds to a shift of one pixel clock away from the active video, 0x005 corresponds to a shift of five pixel clocks towards the active video).
ADV7850 Examples of how to control the end of the HSync timing signal: end_hs[9:0] Result Note 0000000000 0x000 No move (default) sec shift later than default 0000000001 0x001 Minimum → 256 x sec shift later than default 0100000000 0x100...
Page 284
ADV7850 Examples of how to control the start of the VS timing signal: start_vs[3:0] Result Note 0000 No move (default) 0001 1 HSync shift later than default Minimum → 0011 3 HSync shift later than default 0111 7 HSync shift later than default Maximum →...
ADV7850 end_vs[3:0] Result Note 0111 7 HSync shift later than default Maximum → 1111 1 HSync shift earlier than default Minimum ← 1101 3 HSync shift earlier than default 1000 8 HSync shift earlier than default Maximum ← Closer to start of active video...
Page 286
ADV7850 Function de_v_end[5:0] Description 100000 -32 lines of shift 1111 11 -1 line of shift 000000 Default 000001 +1 line of shift 011111 +31 lines of shift de_v_start_even[5:0], Addr 44 (CP), Address 0x87[5:0] This control is used to vary the start position of the VBI region in an even field. It stores a signed value represented in a twos complement format.
ADV7850 de_v_start_even_r[3:0], Addr 44 (CP), Address 0x31[7:4] This control is used to vary the position of the start of the extra VBI region between L and R fields during the even field in the field alternative packing in 3D TV video format through HDMI. It stores a signed value represented in a twos complement format. The unit of de_v_end_even[9:0] is one line.
Page 288
ADV7850 start_fe[3:0] Result Note 1111 1 HSync shift earlier than default Minimum ← 1101 3 HSync shift earlier than default 1000 8 HSync shift earlier than default Maximum ← Closer to active video Away from active video start_fo[3:0], Addr 44 (CP), Address 0x80[3:0] This control is used to shift the position of the start of the odd field edge of the FIELD signal output by the CP core.
Default 9.9 CP DATA PROCESSING DELAY CONTROLS The ADV7850 provides controls to delay data by 1 pixel after CP CSC. dly_a, Addr 44 (CP), Address 0xBE[7] This control is used to delay the data on channel A by one pixel clock cycle.
ADV7850 video signal HS detection threshold as per ISD_THR[7:0] ISD[8:0] value represents area value Figure 105: Synchronization Lock Robustness Measurement The measurements are performed on a line-by-line basis on all video lines but not during the VBI. For video lines during the VBI, the result of the last active video line is kept.
NOISE AND CALIBRATION The ADV7850 provides hardware for a noise and calibration measurements. The two measurements share some hardware control (window). However, they are different in the way they examine the input data. The measurements are executed during a time window.
C register CALIB[10:0]. The number format is signed with a possible range of -1024 to +1024. It is envisaged to provide the ADV7850 with a flat gray field and to position the window in the middle of active video for a meaningful measurement.
Page 300
ADV7850 Function ch1_f_run_thr[2:0] Description Minimum difference to switch into free run is 2. Maximum difference to switch out of free run is 1. Minimum difference to switch into free run is 256. Maximum difference to switch out of free run is 200.
ADV7850 Function ch2_fr_ll[10:0] Description 0x000 Actually used internal free run line length decoded from prim_mode[3:0] and vid_std[5:0]. All other values Number of crystal clocks in ideal line length. Used to enter or exit free run mode. Notes: This parameter has no effect on the video decoding.
Page 302
ADV7850 Function ch2_fl_fr_threshold[2:0] Description Minimum difference to switch into free run is 36 lines. Maximum difference to switch out of free run is 31 lines. Minimum difference to switch into free run is 18 lines. Maximum difference to switch out of free run is 15 lines.
9.12.3 In the event of loss of input signal, the ADV7850 may enter free run and can be configured to output a color rather than noise. By default, the ADV7850 is configured to output a blue screen. The default color values are provided in...
ADV7850 cp_def_col_auto, Addr 44 (CP), Address 0xBF[1] This control is used to enable the insertion of the default color when the CP free runs. Function cp_def_col_auto Description Disable automatic insertion of default color 1 Output default colors when CP free runs cp_def_col_man_val, Addr 44 (CP), Address 0xBF[2] This control is used to enable the manual selection of the color used when the CP core free runs.
This bit must be set to allow a user programmable PLL divide ratio to be used. • pll_div_ratio[12:0] The PLL divide ratio is equal to the number of samples per line. The ADV7850 multiplies the incoming HSync frequency by the PLL divide ratio to generate the sampling clock. •...
Page 306
ADV7850 ch1_fr_ll[10:0]/ch2_fr_ll[10:0] specifies the expected line length of the incoming video. If the actual line length is different from the expected line length by more than a programmable threshold, the decoder will free run. • cp_lcount_max[11:0]/ch2_fr_field_length[11:0] interlaced cp_lcount_max[11:0] ch2_fr_field_length[11:0] specify the expected number of lines per frame. If the actual number of lines per frame is different from the expected number by more than a programmable threshold, the decoder will free run.
Page 307
ADV7850 Function cp_end_vbi_even[11:0] Description 0x000 << Default value The following controls are intended only for use with HDMI 3D standards. cp_start_vbi_r[11:0], Addr 44 (CP), Address 0x2A[7:0]; Address 0x2B[7:4] This control is used to manually set the value for the start position of the VBI region. This is the extra blank region preceding the odd right (R) field in the 3D TV field alternative packing format supported by HDMI.
ADV7850 cp_end_hs[12:0], Addr 44 (CP), Address 0x24[4:0]; Address 0x25[7:0] This control is used to set the position of the end of the HSync output signal in the CP core in autographics mode only. Programming of this control is optional and should only be performed when the part is set in autographics mode. The value is unsigned.
Page 309
ADV7850 ignr_clmp_vs_mar_start[4:0], Addr 44 (CP), Address 0x8A[0]; Address 0x8B[7:4] This control is used to set the start of the window during which the clamp is ignored. It stores the unsigned number of pixel clocks between the start position of the window relative to the leading edge of the VSync. This control should only be used if vid_std[5:0] is set for autographics mode.
ADV7850 10 VBI DATA PROCESSOR The VBI Data Processor (VDP) is capable of processing multiple VBI data standards on analog video. For low data rate VBI standards like Closed Captioning (CCAP), Wide Screen Signaling (WSS), or Copy Generation Management System (CGMS), the user can read the decoded data bytes from dedicated I C registers for different standards.
ADV7850 525i 625i 525p 625p 720p 1080i Line Default Line Default Line Default Line default Line Default Line Default vbi_data_st vbi_data_ vbi_data_std vbi_data_std vbi_data_std vbi_data_std [3:0] [3:0] [3:0] [3:0] [3:0] [3:0] VDP Manual Configuration 10.1.2 Table 63 shows default standards decoded by the VDP. However decoded standard(s) on specific line(s) can be manually reconfigured by...
ADV7850 Register Line Numbers in which VBI Data is Inserted Location Control Names 525i 625i 1080i 525p, 625p, 720p vdp_man_line_16_36[7:4] 0x73 21 + Full Field vdp_man_line_17_37[7:4] 0x74 vdp_man_line_18_38[7:4] 0x75 vdp_man_line_19_39[7:4] 0x76 vdp_man_line_20_40[7:4] 0x77 25 + Full Field 25 + Full Field...
ADV7850 Function vdp_ttxt_type_man_en Description 0 Manual programming of teletext disabled Manual programming of teletext enabled vdp_ttxt_type[1:0], Addr 48 (VDP), Address 0x60[1:0] This readback indicates the teletext type detected. It is functional only if vdp_ttxt_type_man_en is set to 1. Function...
ADV7850 Function vdp_status_wss_cgms Description 0 WSS or CGMS type A data not detected WSS or CGMS type A data detected vdp_cgms_wss_data[23:0], Addr 48 (VDP), Address 0x43[7:0]; Address 0x44[7:0]; Address 0x45[7:0] (Read Only) This readback displays decoded data for CGMS type A and WSS.
ADV7850 vdp_status_ccap, Addr 48 (VDP), Address 0x40[0] (Read Only) This readback displays the closed caption data detection status. Function vdp_status_ccap Description 0 Closed caption data not detected Closed caption data detected vdp_status_ccap_even_field, Addr 48 (VDP), Address 0x40[1] (Read Only) This readback displays the closed caption data in the even field status.
ADV7850 status_clear_vitc, Addr 48 (VDP), Address 0x78[6] (Self-Clearing) This control is used to refresh the VITC status registers. This is a self-clearing bit. Function status_clear_vitc Description 0 Do not refresh VITC status registers Refresh VITC status registers vdp_vitc_calc_crc[7:0], Addr 48 (VDP), Address 0x5E[7:0] (Read Only) This readback indicates the calculated CRC value for decoded VITC data.
ADV7850 gs_vps_pdc_utc_cgmstb[2:0], Addr 48 (VDP), Address 0x9C[2:0] The readback registers for VPS, PDC, UTC and CGMS type B are shared. This control is used to identify which type of data is to be written to the shared registers. Function gs_vps_pdc_utc_cgmst...
ADV7850 Gemstar The Gemstar decoded data is made available in the ancillary stream and through the fast I C port. For evaluation purposes only one line of Gemstar can be made available VDP readback registers. Gemstar must be selected via gs_vps_pdc_utc_cgmstb[2:0].
ADV7850 CGMS Type B Readback Registers VDP Map Address vdp_gs_vps_pdc_utc_cgmstb_data[31:24] 0x4A vdp_gs_vps_pdc_utc_cgmstb_data[39:32] 0x4B vdp_gs_vps_pdc_utc_cgmstb_data[47:40] 0x4C vdp_gs_vps_pdc_utc_cgmstb_data[55:48] 0x4D vdp_gs_vps_pdc_utc_cgmstb_data[63:56] 0x4E vdp_gs_vps_pdc_utc_cgmstb_data[71:64] 0x4F vdp_gs_vps_pdc_utc_cgmstb_data[79:72] 0x50 vdp_gs_vps_pdc_utc_cgmstb_data[87:80] 0x51 vdp_gs_vps_pdc_utc_cgmstb_data[95:88] 0x52 vdp_gs_vps_pdc_utc_cgmstb_data[103:96] 0x53 10.4 READBACK REGISTERS C readback registers have separate registers for CCAP, CGMS, WSS, Gemstar, VPS, PDC/UTC, and VITC. The details of these registers and their access procedure are described in Section 10.5.
The user can select between triggering an interrupt request each time sliced data is available or triggering an interrupt request only when the sliced data has changed. For more information on using the VDP interrupts, refer to Section and the ADV7850 Software Manual. Rev. A May 2012...
SPI Data Formats – Slave Mode 10.7.1 The ADV7850 will always be configured in SPI master mode when transferring to the ADV8003. However, the ADV7850 can also output VBI data over SPI in slave mode. The format of these packets is shown in...
Two bytes are sent that are not transmitted when the ADV7850 SPI Tx is in master mode. These are the dummy byte and the byte indicating more data in the FIFO. More data in FIFO: Because of being in slave mode, the ADV7850 must indicate to the master that there is more data to read. Hence, it transmits: •...
No more data in FIFO SPI Data Formats – Master Mode 10.7.2 In master mode, the ADV7850 outputs the data according to the ancillary data packet format. The format for ancillary data packets is shown in Table 76 (considering 8-bit (byte) ancillary data only).
ADV7850 User Data Word N-1 VBI Word N-1[7:0] Padding ���� 6 Padding Checksum Checksum Ancillary packet data is composed of the following: • Ancillary Data Preamble: First 3 bytes are the ancillary data preamble which indicates the start of a data packet. It will always be 0x00, 0xFF, 0xFF.
In the VDP Map (0x48), set Register 0x62 to 0x95. This control inserts the decoded VBI data into the ancillary data stream. • In the IO Map (0x40), set Register 0x1E to 0x7E. This control ensures the VBI SPI Tx on the ADV7850 is set as the master since the SPI Rx on the ADV8003 is always a slave.
Page 327
ADV7850 Function enable_vdp_data_over Description _spi 0 << VDP FIFO is not cleared by SPI logic VDP FIFO fast registers are cleared when one byte read. spi_slave_in_burst_mode, IO, Address 0x1E[5] This is valid when SPI is in slave mode. Function spi_slave_in_burst_mo...
ADV7850 Function vdp_data_packet_size[ Description 5:0] 111111 default value chip_select_polarity, IO, Address 0xE4[2] A control to decide polarity of the chip select for SPI during slave configuration. Function chip_select_polarity Description 0 << Active low Active high clock_polarity, IO, Address 0xE4[1] A control to adjust the clock polarity for the SPI Interface(CPOL).
Page 329
ADV7850 Function vdp_fast_vbi_std[3:0] Description 0001 Teletext 0010 0011 VITC 0100 WSS/CGMS type A 0101 Gemstar 1X 0110 Gemstar 2X 0111 CCAP 1000 CGMS type B 1001 Reserved 1010 Reserved 1011 Reserved 1100 Reserved 1101 Custom 1 1110 Custom 2 1111...
10.7.5 The ADV7850 generates a VBI data interrupt when the VBI data is received and when the line counter reaches a predetermined value. This ensures that only one VBI data interrupt can occur once per field, regardless of which lines the VBI data is on, and regardless if the VBI data is on concurrent lines or not.
128 bytes SOC starts additional block read of 128 bytes by keeping Chip Select low and continuing to clock data out of ADV7850. SOC interrogates previous block of 128 bytes. Was FIFO_STATUS nibble set to 0xFX in...
Page 332
ADV7850 Byte No Contents Description TTXT Data Byte 41 0x00 Framing Code 0x00 Framing Code 0x27 Framing Code 0xFX More data in FIFO 0x2F Number of bytes in this block (= 47) VBI standard and field information TTXT Data Byte 0...
AUDIO CODEC OVERVIEW The ADV7850 supports an audio CODEC comprising a stereo ADC and a stereo DAC. A 5:1 stereo mux is located in front of the ADC input. The DAC output is available as a line level output, and is also passed through an internal headphone amplifier. The integrated headphone amplifier eliminates the need for an external amplifier when driving headphones.
Using these controls, it is also possible to achieve mono in to stereo out functionality. The audio mux output is enabled using muxout_en. The ADV7850 audio codec provides a stereo output mux. The mux output hardware configuration is shown in Figure 115.
11.2.3 The ADV7850 is designed to use a combination of internal and external resistances. Measured from the system audio input connector, the total nominal input impedance is 32.1 kΩ. All system audio inputs are designed to support 2.8 V rms audio input.
ADV7850 Note: The analog audio input pins of the ADV7850 only see 880 mV RMS signals. However, the ADV7850 incorporates a gain stage to restore the mux output level to 1.0 V rms. An external line driver is required to restore the audio output signals to the SCART specification of 2.8 V rms.
11.3.3 The ADV7850 has an audio DAC output and a headphone output. The stereo DAC output is available as a line level output, and is also passed through an internal headphone amplifier. The integrated headphone amplifier eliminates the need for an external amplifier when driving headphones.
ADV7850 capacitors. Figure 120: Audio Codec Headphone Output Hardware Configuration To use the headphone output, the left and right headphone amplifiers must be powered up using hp_left_amp_pu and hp_right_amp_pu. The HPOUT_L and HPOUT_R pins are tristated by default. When the headphone output is in use, this tristate condition must be...
ADV7850 hp1_atten[4:0], Addr 5C (audio_codec), Address 0x06[4:0] This control is used to set headphone amplifier attenuation (0 dB to -46.5 dB in -1.5 dB steps). Function hp1_atten[4:0] Description 00000 0dB ... hp_scp, Addr 5C (audio_codec), Address 0x05[3] This control is used to enable short circuit protection.
ADV7850 11.4 AUDIO POWER UP/DOWN CONTROLS The audio Codec includes power up and power down controls. eng_dig_pu, Addr 5C (audio_codec), Address 0x01[3] This control is used to power up the digital engine. Function eng_dig_pu Description 0 Power down digital engine...
Page 342
ADV7850 Function dac_ana_stdby_dis Description DACs in standby mode 1 DACs in normal mode left_dac_1_ana_stdby, Addr 5C (audio_codec), Address 0x09[0] This control is used to set the DAC left channel into standby mode. Function left_dac_1_ana_stdby Description 0 Full power...
Page 343
ADV7850 Function right_adc_1_pu Description 0 Power down ADC right channel Power up ADC right channel hp_left_amp_pu, Addr 5C (audio_codec), Address 0x05[4] This control is used to power up the headphone left amplifier. Function hp_left_amp_pu Description 0 Power down headphone left amplifier...
12.1 MEMORY REQUIREMENTS The ADV7850 supports a DDR2 memory interface. Depending on the feature required, the appropriate memory device can be selected. The external memory is required for 3D comb and Frame TBC operation only. The ADV7850 requires the following memory specifications: •...
Output DRIVE STRENGTH CONTROLS 12.3 The drive strength of signals from the ADV7850 memory interface can be configured with the following controls. The clock and the DQS outputs have independent drive strength controls. dqs_drv_str[7:0], XMEM_GAMMA, Address 0x39[7:0] This control is used to adjust the drive strength setting for the upper DQS outputs to the DDR2 memory.
ADV7850 32-bit Data Address Address DDR2 Loopback 512M x 16 Controller Control Test Logic Control External DDR2 Memory 16-bit Data 32-bit Data Figure 121: DDR2 BIST Test Architecture A DDR2 BIST test is initialized and started via the following writes:...
12.5 EXTERNAL MEMORY LAYOUT GUIDELINES The ADV7850 should be placed as close to and on the same side as the external DDR2 memories. Balanced T-routing should be used for all shared connections between the ADV7850 and the external DDR2 memories.
Page 348
The DDR2 reference voltage (DDR_VREF) should be routed as far away as possible from other the signals to avoid any variations in the voltage. This trace should be wide. There should be a 100 nF decoupling cap close to the DDR2 reference voltage pins as well as the ADV7850 reference pin. Rev. A May 2012...
ADV7850 interrupts). The ADV7850 also features a status bit, rx_sense, which can be used to detect the presence of TMDS clock terminations from the sink. If the ADV7850 detects a voltage level higher than 1.8 V on the clock lines of its TMDS output port,...
13.3 HDMI DVI SELECTION The HDMI Tx core supports the transmission of both HDMI and DVI streams. The type of stream the ADV7850 transmits is set via hdmi_mode_sel. In DVI transmission mode, no packets will be sent and all registers relating to packets and InfoFrames will be disregarded.
13.5 TX SQUELCH FEATURE The ADV7850 provides a squelch feature to mute the video clock when there is no input connected to the HDMI Input. This feature ensures that no spurious clocks signals are output to the backend device when a cable is disconnected or an input source switches off.
ADV7850 video_clock_detect, Addr B8 (Main), Address 0xEF[2] This control is used to enable the HDMI Tx Squelch feature. This should be set to 0 in all analog input modes. Function video_clock_detect Description Disable TMDS Clock detection (and HSync activity Detect) 0 ...
SPD Data Byte 27 13.7 SPARE PACKETS The user can configure the ADV7850 to send any type of packets or InfoFrames via the spare packets controls and associated configuration registers. The ADV7850 features two such spare packets that can be enabled via the...
Spare Packet Data Byte 27 13.8 SYSTEM MONITORING General Status and Interrupts 13.8.1 The ADV7850 utilizes both interrupts and status bits to indicate the status of internal operations and errors in the Tx core. These interrupt and status are listed in Table Table...
13.10 EDID/HDCP CONTROLLER ERROR CODES If an HDCP authentication occurs between the ADV7850 and the downstream sink, the ADV7850 can trigger an interrupt to notify this error to the user or the controlling CPU. The EDID/HDCP controller will then report the HDCP error code via the...
13.11.1 The HDMI Tx core of the ADV7850 receives video data from the ADV7850 digital core via a 36-bit wide bus and four synchronization signals; the pixel clock, the data enable, the horizontal and the vertical synchronization signals. The HDMI Tx core always receives the video data in a 4:4:4 and SDR format.
Pixel repetition is used in HDMI to increase the amount of blanking period available to send packets or to increase the pixel clock to meet the minimum TMDS clock rate of 25 MHz. The ADV7850 offers three choices for the user to implement pixel repetition in the Tx core.
ADV7850 must be programmed in ext_target_pr[1:0]. Refer to the latest HDMI specification for more details on valid pixel repetition formats. Max mode: Max mode works in the same way as automatic mode, except that it always selects the highest pixel repetition factor the Tx core is capable of.
The MPEG InfoFrame is defined in the latest CEA 861 specification. Currently, the specification does not recommend using this InfoFrame. The transmission of MPEG InfoFrames can be enabled by setting mpeg_pkt_en. When the transmission of MPEG InfoFrames is enabled, the ADV7850 transmits an MPEG InfoFrame once every two video fields. Table 90 provides a list of registers that can be used to configure MPEG InfoFrames.
When the transmission of GMP is enabled, the ADV7850 transmits a GMP once every two video fields. The ADV7850 transmits the GMP data starting 400 pixel clock cycles after the leading edge of VSync. In order to avoid corrupting the GMP data during transmission, it is recommended that the user synchronizes all I C writes to the GMP registers so that the write begins 512 pixel clock cycles after the VSync leading edge.
ADV7850 Function gm_pkt_en Description 0 Disable gamut metadata packet Enable gamut metadata packet Falling edge of last DE of last field Rising edge of first DE of next field VSync GMP sending window 400 pixel 112 pixel Initiate I2C...
ADV7850 13.12 AUDIO SETUP Input Format 13.12.1 The ADV7850 is capable of receiving audio data in I2S, SPDIF, DSD or High Bit Rate (HBR) formats for packetization and transmission over the HDMI output interface. audio_sel[2:0], audio_mode[1:0] i2sformat[1:0] must be used to configure the Tx core according to the incoming audio input.
13.12.2 I2S Audio The ADV7850 can accommodate the reception of up to four stereo channels of I2S audio at up to a 192 kHz sampling rate. The number of I2S channels the Tx processes can be selected with audioif_cc[2:0]. The selection of the active I2S channels is done via i2senable[3:0]. The audio sampling frequency of the input stream must be set appropriately via i2s_sf[3:0].
Page 364
The ADV7850 also supports the reception of an I2S stream in both 64-bit and 32-bit modes, so either 32- or 16- bit clock (that is, the signal input through SCLK pin) edges or cycles per channel are valid. The ADV7850 will adapt to 32- or 64-bit modes automatically, and the current mode can be read in i2s_32bit_mode.
Page 365
ADV7850 Function audioif_cc[2:0] Description 000 Refer to stream header 2 channels 3 channels 4 channels 5 channels 6 channels 7 channels 8 channels i2senable[3:0], Addr B8 (Main), Address 0x0C[5:2] This control is used to enable the I2S pins. Function...
Page 366
ADV7850 Function subpkt0_r_src[2:0] Description 001 Default subpkt1_l_src[2:0], Addr B8 (Main), Address 0x0F[5:3] This control is used to specify the source of the sub packet 1, left channel. Function subpkt1_l_src[2:0] Description 010 Default subpkt1_r_src[2:0], Addr B8 (Main), Address 0x0F[2:0] This control is used to specify the source of the sub packet 1, right channel.
User Data Channel Status Block Start Flag Figure 126: AES3 Stream Format Input to ADV7850 LRCLK LEFT RIGHT SCLK DATA 32 Clock Slots 32 Clock Slots Figure 127: Timing of Standard I2S Stream Input to ADV7850 Rev. A May 2012...
SPDIF stream and must be programmed in i2s_sf[3:0]. Note that the sampling frequency that is used in the Audio Sample packets sent to the downstream sink can be read from spdif_sf[3:0]. The ADV7850 is capable of accepting SPDIF with or without an audio master clock input on the MCLK pin. When the ADV7850 does Rev. A May 2012...
ADV7850 not receive an audio master clock, the ADV7850 uses the bit clock input via the SCLK pin to internally generate an audio master clock and determine the CTS value. spdif_sf[3:0], Addr B8 (Main), Address 0x04[7:4] (Read Only) This readback displays the SPDIF audio sampling frequency decoded by the hardware.
HBR stream input to a non ADI HDMI receiver device. Refer to Table 93 for additional details on the HBR modes supported by the ADV7850. papb_sync, Addr B8 (Main), Address 0x47[6] For HBR audio this synchronizes the Pa and Pb syncwords with subpacket 0.
The result can be read from cts_internal. Automatic mode is good for incoherent audio or video, where there is no simple integer ratio between the audio and video clock. The 20-bit N value used by the Tx core of the ADV7850 can be programmed in the field N. cts_sel, Addr B8 (Main), Address 0x0A[7] This control is used to select the CTS option;...
ADV7850 Function cts_sel Description 0 Internally generated Set by user cts_manual[19:0], Addr 72 (Main), Address 0x07[3:0]; Address 0x08[7:0]; Address 0x09[7:0] Cycle Time Stamp (CTS) manually set. This parameter is used with the N parameter to regenerate the audio clock in the receiver.
Audio Sample packets sent across the HDMI link to the downstream sink and corresponding ADV7850 fields located in the Tx Main register map. Note that the mapping shown in...
Page 374
ADV7850 Function audioif_ca[7:0] Description 00000000 Default cr_bit, Addr B8 (Main), Address 0x12[5] This control is used to set the copyright protection. Function cr_bit Description 0 Copyright Not copyright protected a_info[2:0], Addr B8 (Main), Address 0x12[4:2] This control is used to select the pre-emphasis on the audio output channels. Refer to IEC 60958 for more details.
This control is used to set the channel status bits[0] and [1]. Bit 0 = 0 indicates consumer use. Bit 1 = 0 indicates LPCM audio. Function cs_bit_1_0[1:0] Description 00 Default Table 98: I S Channel Status ADV7850 Register Map Location of Fixed Value Channel Status Channel Status Bit Name Main Map Bit Main Map Bit Name or Fixed Value Consumer use...
Page 376
ADV7850 Channel Status Channel Status Bit Name Main Map Bit Main Map Bit Name or Fixed Value Channel number Figure 133 Figure 133 Channel number Figure 133 Figure 133 Channel number Figure 133 Figure 133 Sampling frequency 0x15[4] i2s_sf[0] Sampling frequency...
The ADV7850 can be configured to transmit audio InfoFrame by setting audioif_pkt_en to 1. When the transmission of audio InfoFrame is enabled, the ADV7850 transmits an audio InfoFrame once every two video fields. Table 99 provides a list of the registers that can be used to configure audio InfoFrames.
100. The user can enable the transmission of an ACP packet to the downstream sink by setting acp_pkt_en to 1. When the transmission of ACP packets is enabled, the ADV7850 transmits an APC packets once every two video fields. acp_pkt_en, Addr B8 (Main), Address 0x40[4] This control is used to enable an ACP packet.
The ADV7850 can be configured to transmit ISRC packet by setting isrc_pkt_en to 1. When the transmission of an ISRC packet is enabled, the ADV7850 transmits an ISRC packet once every two video fields. Table 101 Table 102 provide a list of the registers that can be used to configure ISRC packets.
DDC lines, TX_DDC_SCL and TX_DDC_SDA. This EDID/HDCP controller begins buffering segment 0 of the downstream sink EDID once the sink hot plug detect (HPD) is detected and the Tx core of the ADV7850 is powered up. The system can request additional segments by programming the EDID segment pointer edid_segment[7:0].
EDID storage device (that is, EEPROM, RAM, and so on). The ADV7850 is capable of accessing up to 256 segments from EDID of the sink as allowed by the EDID specification. By writing the desired segment number to edid_segment[7:0], the ADV7850 will automatically access the correct portion of the sink EDID over the Tx DDC lines and load the 256 bytes into the EDID/HDCP memory.
0. This could be used if a sink asserts high its HPD signal before the DDC bus is ready, resulting in several NACKs as the ADV7850 attempts to read the EDID. edid_trys[3:0], Addr B8 (Main), Address 0xC9[3:0] This control is used to set the maximum number of times that the EDID read will be attempted if unsuccessful.
Page 383
ADV7850 Function bksv_flag_intr Description 0 << Interrupt not active Interrupt active. The KSVs from the downstream sink have been read and available in the Memory Map hdcp_desired, Addr B8 (Main), Address 0xAF[7] This control is used to enable input A/V content encryption.
13.14.2 When connecting the ADV7850 as a source to an HDMI input of a repeater, it is necessary to read all BKSVs from downstream devices. These BKSVs must be checked against a revocation list, which will be provided on the source content.
BKSV list read from the sink with the revocation list. Once the host controller has verified none of the BKSVs read from the sink are revoked, the ADV7850 can be configured to send content down to the sink.
13.14.4 AV mute can be enabled once HDCP authentication is completed between the ADV7850 and the downstream sink. This can be used to maintain HDCP synchronization while changing video resolutions. While the KSVs for the downstream devices are being collected, an active HDCP link capable of sending encrypted video is established, but video should not be sent across the link until the KSVs have been Rev.
Page 387
Tx. It requests the function from the sink device. The best way to avoid sending unauthorized audio and video is to not send data to the Tx core of the ADV7850 until authentication between the ADV7850 and the downstream sink is complete.
C PORT Register Access 14.1.1 The ADV7850 has fifteen 256-byte maps that can be accessed via the main I C ports, SDA and SCL. Each map has its own I C address and acts as a standard slave device on the I C bus.
A logic 1 on the LSB of the first byte means that the master will read information from the peripheral. Each of the ADV7850 maps 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.
ADV7850 ADV7850 stores an address counter for each DDC port that maintains the value of the subaddress that was last accessed. The address counter is incremented by 1 every time a read or a write access is requested on the DDC port.
ADV7850 DDC Port C 14.2.5 The DDC lines of the HDMI port C comprise the DDCC_SCL and DDCC_SDA pins. An HDMI host connected to the DDC port C accesses the internal E-EDID at address 0xA0 in read-only mode, and the HDCP registers at address 0x74 in read/write mode (refer to Figure 142).
INTERRUPT ARCHITECTURE OVERVIEW The ADV7850 has a comprehensive set of interrupt registers located in the IO Map and the HDMI Tx Map. These interrupts can be used to indicate certain events in the HDMI Rx section, the CP, the SDP, and also the HDMI Tx.
ADV7850 intrq_op_sel[1:0], IO, Address 0x40[1:0] This control is used to configure an interrupt signal for INT1. Function intrq_op_sel[1:0] Description 00 Open drain Drive low when active Drive high when active Disabled intrq2_op_sel[1:0], IO, Address 0x41[1:0] This control is used to configure an interrupt signal for INT2.
If an interrupt event occurs, and then a second interrupt event occurs before the system controller has cleared or masked the first interrupt event, the ADV7850 does not generate a second interrupt signal. The system controller should check all unmasked interrupt status bits as more than one may be active.
Page 395
ADV7850 of an edge event that happened in the past. This is the definition of an edge-sensitive raw bit. All raw bits, with the exceptions of intrq_raw and intrq2_raw, have corresponding status bits. The status bits always work in the same manner whether the raw bit is edge or level-sensitive.
ADV7850 Function avi_info_mb1 Description 0 Disable AVI InfoFrame detection interrupt for INT1 Enable AVI InfoFrame detection interrupt for INT1 avi_info_mb2, IO, Address 0x63[0] This control is used to set the INT2 interrupt mask for the AVI InfoFrame detection interrupt. When set, an AVI InfoFrame detection event causes avi_info_st to be set and an interrupt generated on INT2.
ADV7850 AVI infoFrame Detection Internal Flag No AVI AVI InfoFrame InfoFrame Detected Detected AVI_INFO_RAW AVI_INFO_ST AVI_INFO_CLR AVI_INFO_CLR set to 1 set to 1 Time taken by Time taken by the CPU to clear the CPU to clear AVI_INFO_ST AVI_INFO_ST Figure 145: AVI_INFO_RAW and AVI_INFO_ST Timing...
DESCRIPTION OF RX INTERRUPT BITS This section lists all the raw bits in the IO Map of the ADV7850 by category, and states whether the bit is an edge- or level-sensitive bit. A basic explanation for each bit is provided in the software manual and/or in the corresponding section of this manual. For certain interrupts that require additional explanations, these are provided in the subsections of this section.
ADV7850 START (AFE_INTERRUPT received) Set variable “X” = 1 Read TRIX_INT_STATUS[1:0] TRIX_INT_STATUS[1:0] =0b00 ? Interrupt on TRIX Read TRIX_READBACK[1:0] to determine current status of No interrupt on TRIX TRIX input and perform appropriate action Increment variable “X” X = 9 ?
ADV7850 stdi_data_valid_raw 15.5.2 stdi_data_valid_raw is programmable as either an edge-sensitive bit or a level-sensitive bit using stdi_data_valid_edge_sel. Note that this control also configures whether an interrupt is generated only on the rising edge of stdi_data_valid_raw, or on both edges. stdi_data_valid_edge_sel, IO, Address 0x41[4] This control is used to configure the functionality of the stdi_data_valid interrupt.
15.5.5 All HDMI interrupts have a set of conditions that must be taken into account for validation in the display firmware. When the ADV7850 interrupts the display controller for an HDMI interrupt, the host must check that all validity conditions for that interrupt are met before processing that interrupt.
ADV7850 • VIDEO_PLL_LOCKED_RAW is set to 1 Table 107: HDMI Interrupts Group 3 Interrupts isrc2_pckt isrc1_pckt acp_pckt vs_info ms_info spd_info audio_info avi_info cs_data_valid av_mute audio_ch_md audio_mode_change gen_ctl_pckt audio_c_pckt gamut_mdata hdmi_mode hdmi_encrpt new_isrc2_info new_isrc1_info new_acp_info new_vs_info new_ms_info new_spd_info new_audio_info new_avi_info fifo_near_ovfl...
Page 405
ADV7850 tri1_int_status[1:0], AFE, Address 0x1B[7:6] (Read Only) This readback displays the Tri1 interrupt status. Function tri1_int_status[1:0] Description 00 No signal change detected Signal crossed lower slice level Signal crossed upper slice level Signal crossed both slice levels tri2_int_status[1:0], AFE, Address 0x1B[5:4] (Read Only) This readback displays the Tri2 interrupt status.
Page 406
ADV7850 tri6_int_status[1:0], AFE, Address 0x1C[5:4] (Read Only) This readback displays the Tri6 interrupt status. Function tri6_int_status[1:0] Description 00 No signal change detected Signal crossed lower slice level Signal crossed upper slice level Signal crossed both slice levels tri7_int_status[1:0], AFE, Address 0x1C[3:2] (Read Only) This readback displays the Tri7 interrupt status.
Page 407
ADV7850 Function mv_ps_det_st Description 0 No Macrovision pseudo sync detection interrupt event occurred Macrovision pseudo sync detected interrupt event occurred stdi_data_valid_st, IO, Address 0x43[4] (Read Only) This readback indicates the latched signal status of the STDI valid interrupt signal. Once set, this bit remains high until the interrupt is cleared via stdi_data_valid_clr.
Page 408
ADV7850 Function mv_cs_det_st Description 0 Macrovision color stripe detected interrupt event not occurred Macrovision color stripe detected interrupt event occurred cp_cgms_chngd_st, IO, Address 0x48[2] (Read Only) This readback indicates the latched signal status of the CP CGMS changed interrupt signal. Once set, this bit remains high until the interrupt is cleared via cp_cgms_chngd_clr.
Page 409
ADV7850 Function vitc_avl_st Description 0 No VITC data available interrupt event occurred VITC data available interrupt event occurred gs_data_type_st, IO, Address 0x52[5] (Read Only) This readback indicates the latched status of the Gemstar type available interrupt signal. Once set, this bit remains high until the interrupt is cleared via gs_data_type_clr.
Page 410
ADV7850 Function ccap_avl_st Description 0 No closed captioning data available interrupt event occurred Closed captioning data available interrupt event occurred The interrupt_status_5 register consists of the following fields. sdp_progressive_st, Addr 40 (IO), Address 0x57[7] (Read Only) Function sdp_progressive_st Description 0 <<...
Page 411
ADV7850 Function stdi_dvalid_ch2_st Description 0 No STDI valid for sync channel 2 interrupt occurred STDI valid for sync channel 2 interrupt occurred cp_lock_ch1_st, IO, Address 0x5C[3] (Read Only) This readback indicates that STDI channel 1 has changed from an unlocked state to a locked state.
Page 412
ADV7850 Function isrc1_pckt_st Description 0 No interrupt generated isrc1_packet_raw changed, interrupt generated acp_pckt_st, IO, Address 0x61[5] (Read Only) This readback indicates the latched status of the audio content protection packet detected interrupt signal. Once set, this bit remains high until the interrupt is cleared via acp_info_clr. This bit is only valid if enabled via the corresponding INT1 or INT2 mask bit.
Page 413
ADV7850 The HDMI Lvl INT Status 2 register consists of the following fields. cs_data_valid_st, IO, Address 0x66[7] (Read Only) This readback indicates the latched status of the channel status data valid interrupt signal. Once set, this bit remains high until the interrupt is cleared via cs_data_valid_clr.
Page 414
ADV7850 gen_ctl_pckt_st, IO, Address 0x66[2] (Read Only) This readback indicates the latched status of the general control packet interrupt signal. Once set, this bit remains high until the interrupt is cleared via gen_ctl_pckt_clr. This bit is only valid if enabled via the corresponding INT1 or INT2 interrupt mask bit.
Page 415
ADV7850 tmdspll_lck_c_st, IO, Address 0x6B[5] (Read Only) This readback indicates the latched status of the Port C TMDS PLL lock interrupt signal. Once set, this bit remains high until the interrupt is cleared via tmdspll_lck_c_clr. This bit is only valid if enabled via the corresponding INT1 or INT2 interrupt mask bit.
Page 416
ADV7850 Function tmds_clk_d_st Description 0 tmds_clk_d_raw not changed, interrupt not generated tmds_clk_d_raw changed, interrupt generated The HDMI Lvl INT Status 4 register consists of the following fields. hdmi_encrpt_a_st, IO, Address 0x70[7] (Read Only) This readback indicates the latched status of the Port A encryption detection interrupt signal. Once set, this bit remains high until the interrupt is cleared via hdmi_encrpt_a_clr.
Page 417
ADV7850 Function cable_det_a_st Description 0 cable_det_a_raw not changed, interrupt not generated cable_det_a_raw changed, interrupt generated . cable_det_b_st, IO, Address 0x70[2] (Read Only) This readback indicates the latched status for the Port B +5 V cable detection interrupt signal. Once set, this bit remains high until the interrupt is cleared via cable_det_b_clr.
Page 418
ADV7850 Function v_locked_st Description 0 v_locked_raw not changed, interrupt not generated v_locked_raw changed, interrupt generated de_regen_lck_st, IO, Address 0x75[0] (Read Only) This readback indicates the latched status of the DE regeneration lock interrupt signal. Once set, this bit remains high until the interrupt is cleared via de_regen_lck_clr.
Page 419
ADV7850 Function new_vs_info_st Description 0 No new VS packet received, interrupt not generated VS packet with new content received, interrupt generated new_ms_info_st, IO, Address 0x7A[3] (Read Only) This readback indicates the latched status for the New MPEG Source InfoFrame interrupt. Once set, this bit remains high until the interrupt is cleared via new_ms_info_clr.
Page 420
ADV7850 Function fifo_underflo_st Description 0 Audio FIFO not underflowed Audio FIFO underflowed fifo_overflo_st, IO, Address 0x7F[5] (Read Only) This readback indicates the latched status for the audio FIFO overflow interrupt. Once set, this bit remains high until the interrupt is cleared via fifo_overflo_clr.
Page 421
ADV7850 new_gamut_mdata_st, IO, Address 0x7F[0] (Read Only) This readback indicates the latched status for the new gamut metadata packet interrupt. Once set, this bit remains high until the interrupt is cleared via new_gamut_mdata_pckt_clr. This bit is only valid if enabled via the corresponding INT1 or INT2 interrupt mask bit.
Page 422
ADV7850 new_samp_rt_st, IO, Address 0x84[3] (Read Only) This readback indicates the latched status of the new sample rate interrupt. Once set, this bit remains high until the interrupt is cleared via new_samp_rt_clr. This bit is only valid if enabled via the corresponding INT1 or INT2 interrupt mask bit...
Page 423
ADV7850 spd_inf_cks_err_st, IO, Address 0x89[6] (Read Only) This readback indicates the latched status of the SPD InfoFrame checksum error interrupt. Once set, this bit remains high until the interrupt is cleared via spd_inf_cks_err_clr. This bit is only valid if enabled via the corresponding INT1 or INT2 interrupt mask bit.
Page 424
ADV7850 Function aksv_update_c_st Description 0 No AKSV updates on Port C Detected a write access to the AKSV register on Port C aksv_update_d_st, IO, Address 0x89[0] (Read Only) This readback indicates the latched status of Port D AKSV update interrupt. Once set, this bit remains high until the interrupt is cleared via aksv_update_d_clr.
These interrupts are located in AFE Map, addresses 0x1B and 0x1C. Each interrupt signal has a separate mask and clear signal available to the user. These are located in the AFE Map, addresses 0x17 to 0x1A. Refer to the ADV7850 Software Manual, AFE Map section, for more details.
Figure 148: Processing Trilevel Interrupts 15.6 TX CORE This section describes the interrupt support provided for the Tx core of the ADV7850.The Tx interrupts are available on INT1 pin only. Interrupt Architecture Overview 15.6.1 This section describes the available HDMI Tx interrupts: •...
ADV7850 15.6.1.1 Interrupt Bits Interrupt bits are used to notify if a specific event has occurred or is active. When an interrupt bit become active, it is set to 1 until the user clears it by setting it to 0. The Tx interrupt bits are described here.
ADV7850 15.6.1.2 Interrupt Mask Bits The interrupts mask bits are used to selectively activate an interrupt bit on the interrupt out pin INT0. The interrupt output pin is active when one or more interrupts bits are set and their corresponding interrupt mask bit is also set. Note that any given mask bit does not affect its corresponding interrupt bit but only affects the level on the interrupt output pin INT0.
PCB LAYOUT RECOMMENDATIONS The ADV7850 is a high precision, high speed, mixed signal device. It is important to have a well designed PCB board in order to achieve the maximum performance from the part. The following sections are a guide for designing a board using the ADV7850.
Note: In this case, care must be taken to ensure that a lower rated supply does not go above a higher rated supply level, as the supplies are being established. 16.3.1.2 Power Down Sequence The ADV7850 supplies may be de-asserted simultaneously as long as a higher rated supply does not go below a lower rated supply. Rev. A May 2012...
Adding a series resistor of a value between 50 to 200 ohms can suppress reflections, reduce EMI, and reduce the current spikes inside the ADV7850. If series resistors are used, they should be placed as close as possible to the ADV7850 pins and the trace impedance for these signals should match that of the termination resistors selected.
Page 432
C is usually 2 to 3 pF, depending on board traces and C (pin-to-ground-capacitance) is 4 pF for the ADV7850. stray Example: = 30 pF, C1 = 50 pF, C2 = 50 pF (in this case, 47 pF is the nearest real-life cap value to 50 pF) load Rev.
HDCP keys. An ATV motherboard is also required to process the ADV7850 digital outputs and achieve video output. An ATV video output board is optional to evaluate performance through an HDMI transmitter and video encoder.
ADV7850 19 APPENDIX D 19.1 RECOMMENDED UNUSED PIN CONFIGURATIONS Table 108: Recommended Configuration of Unused Pins Location Mnemonic Type Recommended Configuration if Not Used Ground Ground Ground Ground Ground Ground RXB_2+ HDMI Input Float this pin RXB_1+ HDMI Input Float this pin...
Page 442
ADV7850 Location Mnemonic Type Recommended Configuration if Not Used Ground Ground Ground Ground Ground Ground Ground Ground VDD_EEPROM Power This pin must be decoupled to GND with a 100nF capacitor. TVDD Power This pin is always connected to Terminator supply voltage (3.3 V)
Page 443
ADV7850 Location Mnemonic Type Recommended Configuration if Not Used RXB_5V HDMI Input This pin should be tied to 5 V PLL_LF Miscellaneous Analog This pin is always connected to the external PLL loop filter circuit Ground Ground ACMUXIN_4R Analog Audio Input...
Page 444
ADV7850 Location Mnemonic Type Recommended Configuration if Not Used Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground AC_AVDD Power This pin is always connected to the Audio block supply (3.3V) Ground Ground ISET Miscellaneous analog...
Page 445
ADV7850 Location Mnemonic Type Recommended Configuration if Not Used Miscellaneous digital This pin is always connected to the I2C clock line of a control processor Power This pin is always connected to Digital core supply voltage (1.8 V) Ground Ground...
Page 446
ADV7850 Location Mnemonic Type Recommended Configuration if Not Used Ground Ground Ground Ground Ground Ground TTX_SCLK Miscellaneous digital Float this pin TTX_MOSI Miscellaneous digital Float this pin TTX_MISO Miscellaneous digital Float this pin TTX_CSB Miscellaneous digital Float this pin Power This pin is always connected to Digital core supply voltage (1.8 V)
Page 447
ADV7850 Location Mnemonic Type Recommended Configuration if Not Used Ground Ground Ground Ground Ground Ground AVIN13 Analog Video Input Float this pin AVIN12 Analog Video Input Float this pin AVIN11 Analog Video Input Float this pin AVIN10 Analog Video Input...
Page 448
ADV7850 Location Mnemonic Type Recommended Configuration if Not Used AA10 Ground Ground AA11 SDRAM Interface Tie to ground via a 4k7 resistor AA12 SDRAM Interface Tie to ground via a 4k7 resistor AA13 SDRAM Interface Tie to ground via a 4k7 resistor...
Page 449
ADV7850 Location Mnemonic Type Recommended Configuration if Not Used AC18 AVIN1 Analog Video Input Float this pin AC19 AVIN2 Analog Video Input Float this pin AC20 Ground Ground AC21 AVIN4 Analog Video Input Float this pin AC22 AVIN5 Analog Video Input...
ADV7850 LIST OF TABLES Table 1: Function Descriptions ..................................20 Table 2: Primary Mode and Video Standard Selection ..........................36 Table 3: Vertical Frequencies Supported in HD Modes ..........................40 Table 4: Manual Input Muxing ..................................48 Table 5: Recommended Video Signal to ADC Routing ..........................49 Table 6: Available Inputs on Aout1 and Aout2 ...............................
Page 455
Table 97: Recommended N and Expected CTS Values for 48 kHz and Multiples .................. 373 Table 98: I S Channel Status ADV7850 Register Map Location of Fixed Value ..................375 Table 99: Audio InfoFrame Configuration Registers ........................... 378 Table 100: ACP Packet Configuration Registers ............................378 Table 101: ISRC1 Packet Configuration Registers ............................
Page 456
ADV7850 Table 103: KSV Fields Accessed From EDID Map ............................384 Table 104: Register Maps and I C Addresses ..............................388 Table 105: HDMI Interrupts Group 1 ................................403 Table 106: HDMI Interrupts Group 2 ................................403 Table 107: HDMI Interrupts Group 3 ................................404 Table 108: Recommended Configuration of Unused Pins ..........................
ADV7850 LIST OF EQUATIONS Equation 1: SDP Luma Gain Formula ................................83 Equation 2: SDP Chroma Gain Formula ................................. 84 Equation 3: TMDS Frequency in MHz (Measured After TMDS PLL) ...................... 155 Equation 4: Unit Time of Horizontal Filter Measurements ........................169 Equation 5: Relationship Between MCLKOUT, MCLKFS_N, and f ......................
ADV7850 REVISION HISTORY February 2012 Rev. 0 Initial version May 2012 Rev.A Removed Confidential from the document Updated CP FreeRun controls Removed Section 13.15 Rev. A May 2012...
Need help?
Do you have a question about the ADV7850 and is the answer not in the manual?
Questions and answers