STV82x7 ® Digital Audio Decoder/Processor for A2 and NICAM Television/Video Recorders DATASHEET Key Features ■ Full-Automatic Multi-Standard Demodulation B / G / I / L / M / N / D / K Standards Mono AM and FM ● FM 2-Carrier (German and Korean Zweiton) and NICAM ● ● ■ Multi-Channel Capability 3 I²S digital inputs, S/PDIF (pass-thru/out) 1 I²S digital output (shared with one of the I²S digital inputs) ● 5.1 analog outputs ● Dolby ® Pro Logic® ● Dolby ® Pro Logic II® ● ● The STV82x7 family, based on audio digital signal processors (DSP), performs high quality and advanced dedicated digital audio processing.These devices provide all of the necessary resources for automatic detection and demodulation of analog audio transmissions for European and Asian terrestrial TV broadcasts. Virtual or true, multi-channel capabilities and easy digital links make them ideal for digital audio low cost consumer applications. Starting from enhanced stereo up to independent control of 5 loudspeakers and a subwoofer (5.1 channels), the STV82x7 family offers standard and advanced features plus sound enhancements, spatial and virtual effects to enhance television viewer comfort and entertainment. ■ Sound Processing: Loudspeaker ST royalty-free processing: ST WideSurround, ST OmniSurround (Virtual Dolby® Surround and Virtual Dolby® Digital compliant) and ST Dynamic Bass ● SRS ® WOW™, SRS® TruSurround XT™ (Virtual Dolby ® Surround and Virtual Dolby® Digital compliant) ● Independent Volume / Balance ● Smart Volume Control (SVC), 5-band equalizer and loudness ● Typical Applications Analog and digital TV with virtual surround sound ● Analog and digital TV with multi-channel surround sound ● DVD and HDD recorders ● “Palm size” portable TV ● ST 7 2x 8 V ® ■ Sound Processing: Headphone Smart Volume Control (SVC), Bass-Treble, Loudness and SRS® TruBass™ ● Independent Volume / Balance ● ■ Analog Audio Matrix 4 stereo inputs ● 3 stereo outputs ● THRU mode ● 2 V RMS capability ● ■ Audio Delay for Audio Video Synchronization © 2004 SRS Labs, Inc. All rights reserved, SRS and the SRS logo are registered trademarks of SRS Labs, Inc. Embedded stereo delay up to 90 ms when processing at 32KHz (demodulator input mode) and up to 60 ms when processing at 48KHz (SCART only input mode) ● Independent delay on headphone and loudspeaker channels ● “Dolby”, “Pro Logic”, and the double-D symbol are trademarks of Dolby Laboratories. Rev. 4.1 January 2006 1/156 2/156 SCART Inputs SDA Pre-scaler I²C SCL I²C Interface Audio A/D Clock Generator Digital Audio Matrix SC4_IN_L SC4_IN_R SC3_IN_L SC3_IN_R Input Analog Audio Matrix A/D Digital FM/AM NICAM FM 2-carrier Demodulation Volume, Balance, Loudness, Smart Volume Control, Bass/Treble, SRS Trubass Headphone Digital Audio Processing ® SC2_IN_L SC2_IN_R S_CLK ™ SC1_IN_L SC1_IN_R AGC PCM_CLK Control Logic ®® Mono Input MONO_IN IRQ Headphone Detection Sound IF SIF Loudspeakers Digital Audio Processing Volume, Equalizer, Balance, Dolby Pro Logic Dolby Pro Logic II , ST WideSurround, ST Dynamic Bass, ST OmniSurround, Loudness,Smart Volume Control, Bass Management, Beeper SRS WOW or TruSurround XT ®® CLK_SEL ™ XTALIN Volume Balance Mute Matrix Output Analog Audio Matrix Stereo Audio DAC XTALOUT DATA_0 DATA_1 DATA_2 LR_CLK I²S Interface I²S Inputs/Output SC3_OUT_L SC3_OUT_R 2 VRMS SCART Outputs SC2_OUT_L SC2_OUT_R SC1_OUT_L SC1_OUT_R S/PDIF In S/PDIF Out HP_LSS_L HP_LSS_R LS_C LS_SUB Headphone / Surround LS_L LS_R Loudspeakers 2 VRMS 2 VRMS Stereo Audio DAC Stereo Audio DAC Stereo Audio DAC STV82x7 Block Diagram ™ ® STV82x7 Table of Contents Chapter 1 1.1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 STV82x7 Overview .............................................................................................................. 9 1.1.1 Core Features ............................................................................................................................................9 1.1.2 Software Information ...............................................................................................................................10 1.1.3 Device Input Modes .................................................................................................................................10 1.1.4 Electrical Features ...................................................................................................................................11 1.2 Typical Applications ........................................................................................................... 11 1.3 Pin Descriptions and Application Diagrams ....................................................................... 15 Chapter 2 System Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 Chapter 3 Digital Demodulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 3.1 Sound IF Signal .................................................................................................................. 22 3.2 Demodulation ..................................................................................................................... 23 Chapter 4 Dedicated Digital Signal Processor (DSP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 4.1 Back-end Processing ......................................................................................................... 25 4.2 Audio Processing ............................................................................................................... 26 4.3 ST WideSurround ............................................................................................................... 30 4.4 ST OmniSurround .............................................................................................................. 30 4.5 Dolby Pro Logic II Decoder ................................................................................................ 30 4.6 Bass Management ............................................................................................................. 30 4.6.1 Bass Management Configuration 0 .........................................................................................................31 4.6.2 Bass Management Configuration 1 .........................................................................................................32 4.6.3 Bass Management Configuration 2 .........................................................................................................33 4.6.4 Bass Management Configuration 3 .........................................................................................................34 4.6.5 Bass Management Configuration 4 .........................................................................................................35 4.7 SRS WOW and TruSurround XT ...................................................................................... 35 4.7.1 SRS TruSurround ....................................................................................................................................35 4.7.2 SRS WOW ...............................................................................................................................................36 4.8 Smart Volume Control (SVC) ............................................................................................. 36 4.9 ST Dynamic Bass .............................................................................................................. 37 4.10 5-Band Audio Equalizer ..................................................................................................... 37 4.11 Bass/Treble Control ........................................................................................................... 37 4.12 Automatic Loudness Control .............................................................................................. 38 4.13 Volume/Balance Control .................................................................................................... 38 4.14 Soft Mute Control ............................................................................................................... 39 3/156 STV82x7 4.15 Beeper ................................................................................................................................ 39 4.16 Internal Audio/Video Delay (Lip Sync) ............................................................................... 40 Chapter 5 Analog Audio Matrix (In / Out) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 Chapter 6 I²S Interface (In / Out) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 6.1 I²S Inputs ............................................................................................................................ 42 6.2 I²S Output ........................................................................................................................... 44 Chapter 7 S/PDIF Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 Chapter 8 Power Supply Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47 8.1 Standby Mode (Loop-through mode) ................................................................................. 47 8.2 Power on Reset .................................................................................................................. 47 Chapter 9 Additional Controls and Flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 9.1 Headphone Detection ........................................................................................................ 48 9.2 IRQ Generation .................................................................................................................. 48 9.3 I²C Bus Expander ............................................................................................................... 48 Chapter 10 STV82x7 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 Chapter 11 I²C Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 11.1 I²C Address and Protocol ................................................................................................... 50 11.2 Start-up and Configuration Change Procedure .................................................................. 51 11.3 Process Flow during Patch Loading and DSP Initialization ............................................... 53 11.4 Input Configuration Change ............................................................................................... 54 Chapter 12 4/156 Register List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 12.1 I²C Register Map ................................................................................................................ 56 12.2 STV82x7 General Control Registers .................................................................................. 62 12.3 Clocking 1 .......................................................................................................................... 64 12.4 Demodulator ....................................................................................................................... 66 12.5 Demodulator Channel 1 ..................................................................................................... 69 12.6 Demodulator Channel 2 ..................................................................................................... 73 12.7 NICAM Registers ............................................................................................................... 78 STV82x7 12.8 Stereo Mode ....................................................................................................................... 80 12.9 Analog Control ................................................................................................................... 81 12.10 Clocking 2 .......................................................................................................................... 83 12.11 DSP Control ....................................................................................................................... 84 12.12 Automatic Standard Recognition ........................................................................................ 88 12.13 Audio Preprocessing and Selection Registers ................................................................... 92 12.14 Matrixing ........................................................................................................................... 100 12.15 Audio Processing ............................................................................................................. 105 12.16 5-Band Equalizer / Bass-Treble for Loudspeakers .......................................................... 117 12.17 Headphone Bass-Treble .................................................................................................. 119 12.18 Volume ............................................................................................................................. 122 12.19 Beeper .............................................................................................................................. 132 12.20 Mute ................................................................................................................................. 133 12.21 S/PDIF .............................................................................................................................. 134 12.22 Headphone Configuration ................................................................................................ 134 12.23 DAC Control ..................................................................................................................... 135 12.24 AutoStandard Coefficients Settings ................................................................................. 137 Chapter 13 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140 13.1 Absolute Maximum Ratings ............................................................................................ 140 13.2 Thermal Data .................................................................................................................. 140 13.3 Power Supply Data .......................................................................................................... 140 13.4 Crystal Oscillator ............................................................................................................. 141 13.5 Analog Sound IF Signal .................................................................................................. 141 13.6 SIF to I²S Output Path Characteristics ............................................................................. 142 13.7 SCART to SCART Analog Path Characteristics .............................................................. 142 13.8 SCART and MONO IN to I²S Path Characteristics .......................................................... 143 13.9 I2S to LS/HP/SUB/C Path Characteristics ....................................................................... 143 13.10 I²S to SCART Path Characteristics .................................................................................. 144 13.11 MUTE Characteristics ...................................................................................................... 144 13.12 Digital I/Os Characteristics ............................................................................................... 144 13.13 I²C Bus Characteristics 13.14 I2S Bus Interface .............................................................................................................. 146 Chapter 14 Input/Output Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .148 .................................................................................................. 145 5/156 STV82x7 Chapter 15 6/156 Package Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153 STV82x7 1 General Description General Description The STV82x7 is a multistandard TV sound demodulator and audio processor which integrates SRS® WOW ™, SRS® TruSurround XT ™, Dolby® Pro Logic®, Dolby® Pro Logic II® ,Virtual Dolby® Surround (VDS) and Virtual Dolby® Digital (VDD) capability. ST advanced algorithms such as ST OmniSurround, ST WideSurround, ST Dynamic Bass are also available in this audio sound processor. ST OmniSurround is a certified Dolby® algorithm for the Virtual Dolby® Digital (VDD) and the Virtual Dolby® Surround (VDS). When using VDD or VDS, either a Dolby® Digital or a Pro Logic® (or Pro Logic II® ) decoder is mandatory respectively. This chip performs automatic multistandard analog TV stereo sound identification and demodulation (no specific I²C programming is required). It offers various audio processing functions such as equalization, loudness, beeper, volume, balance, and surround effects. It provides a cost-effective solution for analog and digital TV designs. The STV82x7 is perfectly suited to current and future digital TV platforms, based on audio/video digital chips (STD2000, DTV100 platform) which include an internal digital decoder (MPEG, Dolby® Digital...). In the case where a Dolby® Digital decoder is embedded in the audio/video digital chip, Virtual Dolby® Digital can be obtained. For the CTV100/120 platforms, this device is offered as an alternative solution to the first-generation chassis that uses the STV82x6. 7/156 General Description STV82x7 Table 1: STV82x7 Version List STV8247 S T V 8 2 6 7 D S X S T V 8 2 7 7 D S T V 8 2 7 7 D S X S T V 8 2 8 7 D S T V 8 2 8 7 D S X X X X X X X X X X 2.1 2.1 2.1 2.1 5.1 5.1 5.1 5.1 5.1 5.1 1 1 3 3 3 1 1 3 3 3 3 1 1 1 1 1 1 1 1 1 1 1 X X X X X X X X VDS PLII VDS PLII X X X X X X DPLI DPLI DPLII DPLII X X 2.1 2.1 2.1 I²S In (exclusive with I²S Out) 1 1 S/PDIF (Pass-thru or Output) 1 1 Analog loudspeakers output number STV8287 S T V 8 2 6 7 D X X STV8277 S T V 8 2 5 7 S X S T V 8 2 4 7 D S X S T V 8 2 3 7 STV8267 S T V 8 2 5 7 D S X S T V 8 2 4 7 D S T V 8 2 1 7 STV8257 S T V 8 2 5 7 D Demodulation FM 2 Carrier and NICAM Multi-Channel Capabilities Virtual Dolby ® Surround Virtual Dolby ® Digital capability1 Dolby Dolby ® Pro Logic® (DPLI) or ® Pro Logic II® (DPLII) X DPLI DPLI DPLI DPLI (internal) (internal) (internal) (internal) DPLI DPLI Audio Processing ® WOW™ (WOW) SRS® TruSurround XT™ SRS ST Voice, ST Dynamic Bass ST WideSurround, ST OmniSurround2 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 1. Dolby® Digital Bypass capability or Virtual Dolby® Digital are obtained with the use of an external Dolby® Digital decoder (for example STD2000). 2. When using Virtual Dolby® Digital or Virtual Dolby® Surround with ST OmniSurround or SRS ® TruSurround XT™ a Dolby® Digital or a Pro Logic ® (or Pro Logic II®) decoder is mandatory. Figure 1: Package Ordering Information Order Code: STV82x7 (Tray) STV82x7/T (Tape & Reel) FP TQ 80 ® For Example: STV8257DSX/T will be delivered in Tape & Reel conditioning 8/156 STV82x7 General Description 1.1 STV82x7 Overview 1.1.1 Core Features ● Single audio source processing: — IF source and/or analog stereo input (SCART) — one digital source with a maximum of 6 synchronous channels (5.1 is obtained across three I²S) ● SIF input signal with Automatic Gain Control (AGC) ● Digital Demodulator with automatic standard detection and demodulation for AM, FM mono, FM 2 carriers (German or Korean FM 2-carrier) and NICAM ● Audio processor working at 32 kHz, 44.1 kHz or 48 kHz with specific features: — For Loudspeakers (L, R, LS, R S, SubW, C): Dolby ® Pro Logic II ® Decoder with Bass Management SRS® WOW™ or TruSurround XT ™ including Virtual Dolby® Surround and Virtual Dolby ® Digital ST WideSurround ST OmniSurround ST Dynamic Bass 5-band Equalizer or Bass-Treble Loudness Smart Volume Control Volume/Balance/Soft-mute Beeper Video Processing Delay Compensation — For Headphone: SRS® TruBass™ Smart Volume Control Bass-Treble Loudness Volume/Balance/Soft-mute Beeper Video Processing Delay Compensation ● Shared outputs for headphone and loudspeakers surround channels: ● Analog matrix with: — five external inputs: four SCART inputs (2 VRMS capable) one analog mono input (0.5 VRMS) — one internal input from a digital matrix via a DAC — three external outputs (2 VRMS capable) — one internal output for the digital matrix (using an internal ADC) ● Digital matrix with: — three input modes (Demodulator/SCART, SCART only and I²S) — three stereo outputs (Loudspeakers, Headphone and SCART) ● High-end audio DAC ● S/PDIF pass-thru/output for connection with an external amplifier/decoder ● Internal multiplexer for the S/PDIF output (to share the internal S/PDIF output and the S/PDIF output generated by the external decoder of the digital broadcast) 9/156 General Description 1.1.2 STV82x7 ● Specific stand-by mode (Loop-through) ● Control by I²C bus (two I²C addresses) ● System PLL and Clock Generation using either a single quartz oscillator or a differential clock input Software Information The different software combinations are listed in Table 2. Table 2: Input/Output Software Configurations Output (Number of Channels) Input (Number of Channels) 2 (+1) 4 (+1) 1 ST WideSurround or SRS WOW 2 (L and R) ST WideSurround or SRS WOW 2 (LT and RT) ST WideSurround or SRS TruSurround XT or ST OmniSurround or Dolby Pro Logic + SRS TruSurround XT or Dolby Pro Logic + ST OmniSurround ® 5 (+1) ™ ® ™ ® ™ ® ® ® ® ™ ® ® ™ ® ™ 4 (+1) SRS TruSurround XT or ST OmniSurround or Downmix 5 (+1) SRS TruSurround XT or ST OmniSurround or Downmix ® Pro Logic® Dolby No processing Downmix No processing Note: 1 In addition to the above sound processing, it is always possible to add ST Voice and also ST Dynamic Bass algorithms. 2 The SRS® TruSurround® and ST OmniSurround are approved by Dolby as Virtual Dolby Surround (VDS) and Virtual Dolby Digital (VDD). The SRS® TruSurround XT™ system is composed of: ● ● SRS ® TruSurround® SRS ® WOW™ The SRS® WOW™ system includes: ● ● ● 1.1.3 10/156 SRS ® 3D Mono/Stereo™ SRS ® Dialog Clarity™ SRS ® TruBass™ Device Input Modes ● Demodulator only mode (with output fS = 32 kHz) ● Demodulator and SCART mode (with output fS = 32 kHz) ● SCART only mode (with output fS = 48 kHz) STV82x7 ● General Description I²S mode (with output fS = 32, 44.1 or 48 kHz) — External audio input interface using 3 x I²S (for decoded streams such as Dolby® Digital and/or standard stereo streams) 1.1.4 Electrical Features Multi Power Supply: 1.8 V, 3.3 V and 8 V. Power Consumption: 1.2 ● lower than 1 W in Functional mode (full features) ● 200 mW in Loop-through mode corresponding to Switch-off of all digital blocks Typical Applications The STV82x7 is specified to enable flexible, analog and digital TV chassis design (refer to Figure 2, Figure 3, Figure 4 and Figure 5). The main considerations are: ● all necessary connections between devices can be provided through the TV set, ● pseudo stand-by mode used to copy to VCR or the DVD sources when the TV set is OFF, ● possible application compatibility with STV82x6 (TQFP80 package) TV design, ● pin-to-pin compatibility with STV82x8 (TQFP80 package) TV design. The STV82x7 is used to process a single audio source (analog or digital). However, it is possible to process two audio sources simultaneously using an STV82x7 interconnection (two chips can be easily connected). In the case of a single audio source, it is possible to hear and record in the same time: the same audio stream can be simultaneously output on headphone, loudspeakers, S/PDIF and the SCART connectors. Note: Headphone and loudspeakers can be used simultaneously for dual-language purposes or for different sound settings (e.g. volume). In this case, certain restrictions occur (see Section 4.2: Audio Processing). For more connections, the SCART-to-SCART path can be used. The use of these full analog paths implies that the sound is not digitally processed. 11/156 General Description STV82x7 Figure 2: STV8237 Typical Application (Enhanced Stereo) R Tuner STV8237 SubW Multistandard Demodulation - FM 2-carrier and NICAM Sound Processing - Volume, Balance, 5-Band Equalizer - ST WideSurround - SRS® WOW™ or L Left Right Figure 3: STV8247 Typical Application (Analog Virtual Sound) R Tuner STV8247DSX or Multistandard Demodulation - FM 2-carrier and NICAM Sound Processing - Volume, Balance, 5-Band Equalizer - SRS® TruSurround XT™ - ST OmniSurround - Virtual Dolby® Surround1 Left Right 1. When using VDS with ST OmniSurround or SRS TruSurround XTTM, a Pro Logic 12/156 ® decoder is mandatory. SubW L STV82x7 General Description Figure 4: STV8257 Typical Application (Digital: Virtual Sound) Multi-Channel Digital Decoder (Dolby ® Digital) R I²S S/PDIF Pass-thru SubW STV8257DSX Tuner Multistandard Demodulation - FM 2-carrier and NICAM or L Audio Processing - Volume, Balance, 5-Band Equalizer - SRS® TruSurround XT™ - ST OmniSurround - Virtual Dolby® Surround1 - Virtual Dolby® Digital2 Left Right 1. When using VDS with ST OmniSurround or SRS TruSurround XTTM, a Pro Logic® decoder is mandatory. 2. When using VDD with ST OmniSurround or SRS TruSurround XTTM, a Dolby® Digital decoder is mandatory. Figure 5: STV8277 Typical Application (Digital TV: Multi-Channel and Virtual Sound) Multi-Channel Digital Decoder (Dolby ® Digital) RS I²S Tuner or R S/PDIF Pass-thru SubW STV8287DSX C Multistandard Demodulation - FM 2-carrier and NICAM Audio Processing - Volume, Balance, 5-Band Equalizer - Dolby® Pro Logic II ® - 5.1 Analog Outputs - SRS® TruSurround XT ™ - ST OmniSurround - Virtual Dolby ® Surround1 - Virtual Dolby ® Digital2 Left Right LS L Shared with surround LS/RS 1. When using VDS with ST OmniSurround or SRS TruSurround XTTM, a Pro Logic TM , 2. When using VDD with ST OmniSurround or SRS TruSurround XT ® decoder is mandatory. ® Digital decoder is mandatory. a Dolby 13/156 General Description STV82x7 Figure 6: STV8217 Typical Application (Digital Recorder) MPEG Codec I²S Tuner or STV8217 Multistandard Demodulation - FM 2-carrier and NICAM Left Right 14/156 STV82x7 1.3 General Description Pin Descriptions and Application Diagrams ● AP = Analog Power ● DP = Digital Power ● I = Input ● O = Output ● OD = Open-Drain ● B = Bi-Directional ● A = Analog Table 3: TQFP80 Pin Description (Sheet 1 of 3) Pin No. STV82x7 Pin Name Type (STV82x7) Function for STV82x7 (Function for STV82x6 in italic characters) STV82x6 Pin Name 1 SC1_OUT_L A SCART1 Audio Output Left AO1L 2 SC1_OUT_R A SCART1 Audio Output Right AO1R 3 VCC_H AP 8 V Power for Audio I/O & ESD Not connected 4 GND_H AP High Current Ground for Audio Outputs Connected to Ground 5 SC3_OUT_L A SCART3 Audio Output Left Not connected 6 SC3_OUT_R A SCART3 Audio Output Right Not connected 7 VCC33_SC AP 3.3 V Power for Audio Buffers & DAC / ADC VDDC 8 GND33_SC AP Ground for Audio Buffers & DAC / ADC GNDC 9 SC1_IN_L A SCART1 Audio Input Left AI1L 10 SC1_IN_R A SCART1 Audio Input Right AI1R 11 VREFA A Audio Bias Voltage Decoupling 1.55 V (Switched VREF decoupling pin for Audio Converters (VMCP)) VMC1 12 GND_SA Ground for DACs Connected to Ground 13 VBG A Bandgap Voltage Reference Decoupling 1.2 V (V REF decoupling pin for Audio Converters (VMC)) VMC2 14 SC2_IN_L A SCART2 Audio Input Left AI2L 15 SC2_IN_R A SCART2 Audio Input Right AI2R 16 VCC33_LS AP 3.3 V Power for Audio DACs (3.3 V Power Supply for Audio Buffers and SCART) VDDA 17 GND33_LS AP Ground for Audio DACs (Ground for Audio Buffers and SCART) GNDAH 18 SC2_OUT_L A SCART2 Audio Output Left AO2L 19 SC2_OUT_R A SCART2 Audio Output Right AO2R 20 VCC_NISO AP Polarization of the NISO (connected to 3.3 V) (8 V / 5 V Power supply for SCART & Audio buffers) VDDH 21 VSS33_CONV AP Ground for DAC 1.8 to 3.3 V Converters Connected to Ground 22 VDD33_CONV AP 3.3 V Power for DAC 1.8 to 3.3 V Converters (Voltage Reference for Audio buffers) VREFA AP 15/156 General Description STV82x7 Table 3: TQFP80 Pin Description (Sheet 2 of 3) Pin No. STV82x7 Pin Name Type (STV82x7) Function for STV82x7 (Function for STV82x6 in italic characters) STV82x6 Pin Name 23 SC3_IN_L A SCART3 Audio Input Left AI3L 24 SC3_IN_R A SCART3 Audio Input Right AI3R 25 SCL_FLT A SCART Filtering Left Not connected 26 SCR_FLT A SCART Filtering Right (Bandgap Voltage Source Decoupling) BGAP 27 LS_C A Center Output Not connected 28 LS_L A Left Loudspeaker Output LSL 29 LS_R A Right Loudspeaker Output LSR 30 LS_SUB A Subwoofer Output SW 31 HP_LSS_L A Left Headphone Output or Left Surround Output HPL 32 HP_LSS_R A Right Headphone Output or Right Surround Output HPR 33 VSS18_CONV DP Ground for Digital part of the DAC/ADC (Substrate Analog/Digital Shield) GNDSA 34 VDD18_CONV DP 1.8 V Power for Digital part of the DAC/ADC Not connected 35 HP_DET I Headphone Detection HPD 36 ADR_SEL I Hardware Address selection for I²C Bus ADR 37 VSS18 DP Ground for Digital part Connected to Ground 38 VDD18 DP 1.8 V Power for Digital part Not connected 39 SCL OD I²C Clock Input SCL 40 SDA OD I²C Data I/O SDA 41 VSS18 DP Ground for Digital part Connected to Ground 42 VDD18 DP 1.8 V Power for Digital part (5 V Power Regulator Control) REG 43 RST I Main Reset Input RESET 44 S/PDIF_IN I Serial Audio Data Input (System Clock output) SYSCK 45 S/PDIF_OUT O Serial Audio Data Output (I²S Master Clock output) MCK 46 VDD33_IO1 DP 3.3 V Power for Digital part VDD1 47 VSS33_IO1 DP Ground for Digital part GND1 48 CK_TST_CTRL To be Grounded Not connected 49 VSS18 DP Ground for Digital part GNDSP 50 VDD18 DP 1.8 V Power for Digital part Not connected 51 CLK_SEL I Clock Input Format Selection Not connected 52 XTALIN_CLKXTP I Crystal Oscillator Input or Differential Input Positive (Crystal Oscillator Input) XTI 16/156 D STV82x7 General Description Table 3: TQFP80 Pin Description (Sheet 3 of 3) Pin No. STV82x7 Pin Name Type (STV82x7) Function for STV82x7 (Function for STV82x6 in italic characters) STV82x6 Pin Name 53 XTALOUT_CLKXTM O Crystal Oscillator Output or Differential Input Negative (Crystal Oscillator Output) 54 VCC18_CLK1 AP 1.8 V Power for Clock PLL Analog & Crystal Oscillator 1/2 VDDP (3.3 V Power supply for Analog PLL Clock) 55 GND18_CLK1 AP Ground for Clock PLL Analog & Crystal Oscillator 1/2 GNDP 56 GND18_CLK2 DP Ground for Clock PLL Digital 1/2 GND2 57 VCC18_CLK2 DP 1.8 V Power for Clock PLL Digital 1/2 (3.3 V Power supply for Digital core, DSPs & IO Cells) VDD2 58 VSS33_IO2 DP Ground for Digital IO pins 60 to 69 Connected to Ground 59 VDD33_IO2 DP 3.3 V power for Digital IO pins 60 to 69 Not connected 60 I2S_PCM_CLK I/O I²S Slave Clock Input/Output Channel 1, 2 & 3 Not connected 61 I2S_SCLK I/O I²S Clock Input/Output Channel 1, 2 & 3 (I²S bus data output) SDO 62 I2S_LR_CLK I/O I²S Word Select Input/Output Channel 1,2 & 3 (Stereo Detection output / I²S Bus Data input) ST/SDI 63 I2S_DATA0 I/O I²S Data Input/Output Stereo Channel 1 (I²S Bus Word Select output) WS 64 I2S_DATA1 I I²S Data Input Stereo Channel 2 (I²S Bus Clock output) SCK 65 I2S_DATA2 I I²S Data Input Stereo Channel 3 (Bus Expander Output 1) BUS1 66 VDD18 DP 1.8 V Power for Digital Core & I/O Cells Pin Not connected 67 VSS18 DP Ground for Digital Core & I/O Cells Pin Connected to Ground 68 BUS_EXP O Bus Expander Function (Bus Expander Output 2) BUS0 69 IRQ O Interrupt Request to Microprocessor IRQ 70 GND_PSUB AP Ground Substrate Connection Connected to Ground 71 VDD18_ADC DP VDD 1.8 V for ADC (Digital Part) Not connected 72 VSS18_ADC DP Ground to Complement 1.8 V VDD for ADC Connected to Ground 73 SIF_P A Sound IF input (positive) SIF 74 SIF_N A Sound IF input (negative) (ADC VTOP Decoupling pin) VTOP 75 GNDPW_IF AP Polarization for the IF block (Voltage Reference for AGC Decoupling pin) VREFIF 76 VCC18_IF AP 1.8 V Power for IF AGC & ADC VDDIF 77 GND18_IF AP Ground for IF AGC & ADC GNDIF 78 MONO_IN A Mono Input (for AM Mono) MONOIN 79 SC4_IN_L A SCART4 Audio Input Left Not connected 80 SC4_IN_R A SCART4 Audio Input Right Not connected XTO 17/156 1.8V 1.8V 1.8V +1.8V +3.3V SPDIF OUT SPDIF IN +3.3V SDA SCL 10µH L6 27pF C22 27pF C21 10µH L4 Headphone detection +1.8V + C17 10µF XT1 27MHz CRYSTAL 470K R1 Reset 47µF + C23 C16 470nF L2 10µH C18 100nF C26 100nF C25 100nF 100nF C27 100nF C15 +3.3V C19 100nF 100nF C12 + C9 330µF 1 3 1 C10 L18 100µH 100nF C13 L17 C68 100µH 33nF 100nF Address select 2 SL1 C69 33nF VSS18 VDD18 RST_N SPDIF_IN SPDIF_OUT VDD33_IO VSS33_IO CK_TST_CTRL VSS18 VDD18 CLK_SEL XTALIN/CLKXTP XTALOUT/CLKXTM VCC18_CLK1 GND18_CLK1 GND18_CLK2 VCC18_CLK2 VSS33_IO VDD33_IO I2S_PCM_CLK C29 100nF 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 3 100µH 100µH L14 L15 L16 100µH C67 33nF TQFP80 IC1 STV82x7 C30 100nF C32 220nF C33 100nF VCC_NISO SC2_OUT_R SC2_OUT_L GND33_LS VCC33_LS SC2_IN_R SC2_IN_L VBG GND_SA VREFA SC1_IN_R SC1_IN_L GND33_SC VCC33_SC SC3_OUT_R SC3_OUT_L GND_H VCC_H SC1_OUT_R SC1_OUT_L C14 100nF C62 33nF 100µH L13 C66 33nF C4 1µF C43 47µF 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 10µH +1.8V R4 220 22nF C34 R6 R5 220 C64 33nF C42 100nF L10 C58 100nF C63 33nF C65 33nF C3 1µF 330pF 220 220 +8V C70 C74 330pF L1 10µH 220 C73 R8 R9 330pF 100pF C35 C71 10µH C72 330pF L12 R7 C41 10µF 220 100nF C57 C59 47µF 330pF C36 1µF C40 10µF C39 10µF C44 100nF 330pF C75 +3.3V + C61 1µF C60 1µF C45 1µF 1µF 1µF C38 C48 C51 10µF 100nF 10µF 10µF C47 C37 C46 1µF C53 1µF C54 1µF C52 C56 10µF C55 10µF + C5 1µF + 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 SDA SCL VDD18 VSS18 ADR_SEL HP_DET VDD18_CONV VSS18_CONV HL_LSS_R HP_LSS_L LS_SUB LS_R LS_L LS_C SCR_FLT SCL_FLT SC3_IN_R SC3_IN_L VDD33_CONV VSS33_CONV I2S_SCLK I2S_LR_CLK I2S_DATA0 I2S_DATA1 I2S_DATA2 VDD18 VSS18 BUS_EXP IRQ GND_PSUB VDD18_ADC VSS18_ADC SIF_P SIF_N GND_PWIF VCC18_IF GND18_IF MONO_IN SC4_IN_L SC4_IN_R 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 + C6 1µF 560 + + C7 1µF + C8 1µF L11 + + HP Right/LS surround Right + + + + HP Left/LS surround Left 10µH + + + Subwoofer 10µF C49 C50 100nF + + LS Right + + LS Left + + + 18/156 + + + LS Center I2S PCM CLK I2S SCLK I2S LR CLK I2S DATA 0 I2S DATA 1 I2S DATA 2 BUS EXPANDER IRQ SIF Mono IN SC4 IN Left SC4 IN Right SC1 OUT Left SC1 OUT Right SC3 OUT Left SC3 OUT Right SC1 IN Left SC1 IN Right SC2 IN Left SC2 IN Right SC2 OUT Left SC2 OUT Right SC3 IN Left SC3 IN Right General Description STV82x7 Figure 7: STV82x7 Application Diagram R3 Note : 1.8V +1.8V +1.8V +1.8V +3.3V SPDIF OUT SPDIF IN +3.3V SDA SCL 10µH L7 0 R18 Reset 47µF + C23 270k R2 C16 470nF L8 10µH components with * are only mandatory 10µH L6 2 C22 XT1 27MHz CRYSTAL SL3 2 + C17 10µF C21 470K R1 SL2 Headphone detection +1.8V 0 R16 100nF C27 C26 100nF C25 100nF 100nF C19 100nF 100nF C12 1 3 C29 100nF 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 C10 100nF 100µH 100nF C13 L18 C68 33nF C7 1µF Address select 2 SL1 C69 33nF C8 1µF in case of DOLBY certification 0 R15 0 C18 100nF R14 C15 +3.3V + C9 330µF 1 3 HP Right/LS surround Right 1 3 1 * * 100µH L17 100µH L15 * 100µH * VSS18 VDD18 RST_N SPDIF_IN SPDIF_OUT VDD33_IO VSS33_IO CK_TST_CTRL VSS18 VDD18 CLK_SEL XTALIN/CLKXTP XTALOUT/CLKXTM VCC18_CLK1 GND18_CLK1 GND18_CLK2 VCC18_CLK2 VSS33_IO VDD33_IO I2S_PCM_CLK TQFP80 IC1 STV82x6 / STV82x7 C30 100nF C32 220nF L13 C14 100nF C62 33nF 100nF VCC_NISO SC2_OUT_R SC2_OUT_L GND33_LS VCC33_LS SC2_IN_R SC2_IN_L VBG GND_SA VREFA SC1_IN_R SC1_IN_L GND33_SC VCC33_SC SC3_OUT_R SC3_OUT_L GND_H VCC_H SC1_OUT_R SC1_OUT_L C33 C31 100nF C4 1µF * C66 33nF 100µH C5 1µF L14 * C67 33nF L16 100µH C6 1µF 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 SDA SCL VDD18 VSS18 ADR_SEL HP_DET VDD18_CONV VSS18_CONV HL_LSS_R HP_LSS_L LS_SUB LS_R LS_L LS_C SCR_FLT SCL_FLT SC3_IN_R SC3_IN_L VDD33_CONV VSS33_CONV I2S_SCLK I2S_LR_CLK I2S_DATA0 I2S_DATA1 I2S_DATA2 VDD18 VSS18 BUS_EXP IRQ GND_PSUB VDD18_ADC VSS18_ADC SIF_P SIF_N GND_PWIF VCC18_IF GND18_IF MONO_IN SC4_IN_L SC4_IN_R 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 0 22nF R17 C34 C79 47µF 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 C58 100nF C63 C65 33nF C64 33nF C42 100nF R6 L4 10µH L3 R7 220 0 R19 330pF 100pF C35 +1.8V +3.3V C71 R11 220 220 330pF 0 R8 R9 L1 10µH C70 C73 +8V C76 10µF C59 47µF 10µH C72 330pF R13 330pF C43 10µF 220 10µH L5 R4 220 0 +8V 100nF C57 L2 10µH R5 220 C77 10µF 10µF + C78 C3 1µF C36 C40 10µF C39 10µF C44 100nF C74 330pF C75 +3.3V 1µF 330 R10 C41 10µF 330pF R12 82 +8V C61 1µF C60 1µF 10µF 10µF C47 C37 C46 1µF 1µF 1µF C38 C48 C51 10µF 100nF STV82x7 10µH Not Connected 10µH Not Connected 10µH 10µH 100µH * 100µH * 100µH * Not Connected Not Connected 0 ohm Not Connected 0 ohm Not Connected Not Connected 0 ohm 0 ohm Not Connected 0 ohm 1 µF 330 µF 100 nF 100 nF 27 pF 47 µF 100 nF 100 nF Not Connected Not Connected 100 nF 10 µF 47 µF 33 nF 33 nF 33 nF 33 nF 330 pF 330 pF 330 pF Not Connected Not Connected 47 µF between 1-2 between 1-2 with C53 1µF C54 1µF C52 C56 10µF C55 10µF C45 1µF +8V + + + HP Left/LS surround Left 560 + + Subwoofer + with STV82x6 Not Connected 10µH Not Connected 10µH Not Connected Not Connected strap strap strap 270K 330 Not Connected 82 Not Connected 0 ohm 0 ohm Not Connected Not Connected 0 ohm Not Connected Not Connected Not Connected Not Connected Not Connected 22 pF Not Connected Not Connected Not Connected 100 nF 10 µF Not Connected Not Connected 10 µF 100 nF Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected 10 µF 10 µF 10 µF between 2-3 between 2-3 + + + + LS Right + + 3 + + + Part L1 L2 L3 L4 L5,L6 L8 L13,L14 L15,L16 L17,L18 R2 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 C3 C9 C10,C13 C15,C18 C21,C22 C23 C27,C29 C30 C31 C41 C42 C43 C59 C63 C64,C65 C66,C67 C68,C69 C70,C71 C72,C73 C74,C75 C76,C77 C78 C79 SL2 SL3 10µF C49 C50 100nF + + LS Left L11 + + + + LS Center + + + + + R3 + + + 10µH I2S PCM CLK I2S SCLK / SDO I2S LR CLK / SDI I2S DATA 0 / WS I2S DATA 1 / SCK I2S DATA 2 / BUS1 BUS EXPANDER / BUS IRQ SIF Mono IN SC4 IN Left SC4 IN Right SC1 OUT Left SC1 OUT Right SC3 OUT Left SC3 OUT Right SC1 IN Left SC1 IN Right SC2 IN Left SC2 IN Right SC2 OUT Left SC2 OUT Right SC3 IN Left SC3 IN Right STV82x7 General Description Figure 8: STV82x6/STV82x7 Compatible Application Electrical Diagram 19/156 1.8V 1.8V 1.8V +1.8V +3.3V SPDIF OUT SPDIF IN +3.3V SDA SCL + C17 10µF XT1 27MHz CRYSTAL 470K R1 Reset 47µF + C23 C16 470nF C18 100nF C26 100nF C25 100nF 100nF C27 100nF C15 +3.3V C19 100nF 100nF C12 + C9 330µF 1 3 100µH 100nF 100nF C13 Note 2 : C35 value is 100 pF for STV82x7 and 150pF for STV82x8 100µH L17 * L18 * C68 33nF VSS18 VDD18 RST_N SPDIF_IN SPDIF_OUT VDD33_IO VSS33_IO CK_TST_CTRL VSS18 VDD18 CLK_SEL XTALIN/CLKXTP XTALOUT/CLKXTM VCC18_CLK1 GND18_CLK1 GND18_CLK2 VCC18_CLK2 VSS33_IO VDD33_IO I2S_PCM_CLK C29 100nF 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 C10 Address select 2 SL1 C69 33nF Note 1 : components with * are only mandatory in case of Dolby certification 10µH L6 27pF C22 27pF C21 10µH L4 Headphone detection L2 10µH 1 3 +1.8V 100µH L15 * 100µH L14 * C67 33nF L16 * 100µH TQFP80 IC1 STV82x7 or STV82x8 C30 100nF C32 220nF C14 100nF C62 33nF 100µH L13 * C66 33nF C33 100nF VCC_NISO SC2_OUT_R SC2_OUT_L GND33_LS VCC33_LS SC2_IN_R SC2_IN_L VBG GND_SA VREFA SC1_IN_R SC1_IN_L GND33_SC VCC33_SC SC3_OUT_R SC3_OUT_L GND_H VCC_H SC1_OUT_R SC1_OUT_L 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 SDA SCL VDD18 VSS18 ADR_SEL HP_DET VDD18_CONV VSS18_CONV HL_LSS_R HP_LSS_L LS_SUB LS_R LS_L LS_C SCR_FLT SCL_FLT SC3_IN_R SC3_IN_L VDD33_CONV VSS33_CONV I2S_SCLK I2S_LR_CLK I2S_DATA0 I2S_DATA1 I2S_DATA2 VDD18 VSS18 BUS_EXP IRQ GND_PSUB VDD18_ADC VSS18_ADC SIF_P SIF_N GND_PWIF VCC18_IF GND18_IF MONO_IN SC4_IN_L SC4_IN_R 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 C43 47µF 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 C58 100nF C63 33nF C65 33nF L10 10µH 22nF C34 +1.8V R4 220 R5 220 R6 330pF 220 C35 C71 Table 1 : SL1 configuration STV82x7 : between 2 and 3 (pin 20 connected to 3.3V) +8V 330pF 220 C70 C74 330pF L1 10µH 220 C73 R8 R9 330pF C36 1µF C40 10µF C39 10µF C44 100nF 330pF C75 +3.3V C45 1µF R12 10K 1µF 1µF C38 C48 C51 10µF 100nF 10µF 10µF C47 C37 C46 1µF C53 1µF C54 1µF C52 C56 10µF C55 10µF C61 1µF C60 1µF STV82x8 : between 1 and 2 (pin 20 connected to ground) C59 47µF 10µH C72 330pF L12 R7 C41 10µF 220 100nF C57 SL1 ( see Table 1) C64 33nF C42 100nF 2 C3 1µF 3 1 C4 1µF R3 C5 1µF + + + C6 1µF 560 + C7 1µF + + + C8 1µF L11 + + 10K R11 HP Right/LS surround Right + + + + HP Left/LS surround Left 10µH + + + Subwoofer 10µF C49 C50 100nF + + LS Right + + LS Left + + + 20/156 + + + LS Center I2S PCM CLK I2S SCLK I2S LR CLK I2S DATA 0 I2S DATA 1 I2S DATA 2 BUS EXPANDER IRQ SIF Mono IN SC4 IN Left SC4 IN Right SC1 OUT Left SC1 OUT Right SC3 OUT Left SC3 OUT Right SC1 IN Left SC1 IN Right SC2 IN Left SC2 IN Right SC2 OUT Left SC2 OUT Right SC3 IN Left SC3 IN Right General Description STV82x7 Figure 9: STV82x7/STV82x8 Compatible Application Electrical Diagram (TQFP80) STV82x7 2 System Clock System Clock The System Clock integrates 2 independent frequency synthesizers. The first frequency synthesizer can be used in one of two modes: ● In Mode 1, it is used by the demodulator, and the frequecy is 49.152 MHz. ● In Mode 2, it is used by the I²S input and is synchronous with the input frequency (fS = 32, 44.1 or 48 kHz) and the frequency is 49.152 MHz (for fS = 32 or 48 kHz) or 45.1584 MHz (for fS = 44.1 kHz). The second frequency synthesizer is used by the DSP core and can be adjusted between 100 and 150 MHz depending on the application (around 106 MHz at reset value). In I²S output mode, clocks are generated by synthesizer 1. The default values are designed for a standard 27 MHz reference frequency provided by a stable single crystal or an external differential clock signal (for example, from the STV35x0) depending on the CLK_SEL pin configuration (CLK_SEL = 1 means a single crystal, 0 means an external differential clock). The 27 MHz value is the recommended frequency for minimizing potential RF interference in the application. The sinusoidal clock frequency, and any harmonic products, remain outside the TV picture and sound IFs (PIF/SIF) and Band-I RF. Note: A change in the reference frequency is compatible with other default I²C programming values, including those of the built-in Automatic Standard Recognition System. 21/156 Digital Demodulator 3 STV82x7 Digital Demodulator The Digital Demodulator (see Figure 10) is composed of two channels. The first channel demodulates an FM or an AM signal. The second channel demodulates FM 2-carrier or NICAM signals (stereo demodulation). All channel parameters are programmed automatically by the built-in Automatic Standard Recognition System (Autostandard) in order to find the correct sound standard. Channels can also be programmed manually via the I²C interface for very specific standards not included among the known standards. Figure 10: Demodulator Block Diagram Channel 1 = Mono Left AM Demodulator DCO1+ Mixer AM Channel Filter AM/FM Mono FIR1 (To Sound Preprocessing) CAROFFSET1 (22h) FM Demodulator FML AUTOSTD_STATUS (8Eh) SIF AGC Amp A/D AUTOSTD DEMOD_STAT(0Dh) ZWT_STAT (42h) NICAM_STAT(3Fh) AGC Control AUTOSTD_TIMERS (8Dh) AUTOSTD_CTRL (8Ah) AUTOSTD_STANDARD_DETECT (8Bh) AUTOSTD_STEREO_DETECT (8Ch) AGC_CTRL (0Eh) AGC_GAIN (0Fh) Zweiton Decoder FM Demodulator DCO2 + Mixer FM Stereo (To Sound Preprocessing) Channel Filter FIR2 DQPSK Demodulator CAROFFSET2 (3Ah) NICAM Decoder NICAM L NICAM R (To Sound Preprocessing) Channel 2 = Stereo/Mono Right 3.1 Sound IF Signal The Analog Sound Carrier IF is connected to the STV82x7 via the SIF pin. Before Analog-to-Digital Conversion (ADC), an Automatic Gain Control (AGC) is performed to adjust the incoming IF signal to the full scale of the ADC. A preliminary video rejection is recommended to optimize conversion and demodulation performances. The AGC system provides a gain value allowing for a wide range of SIF input levels and is activated for all standards, except L/L’. In this particular case, the sound carrier is AM-modulated and an automatic level adjustment would only damage the transmitted audio signal. A preset I²C parameter is provided to define the gain of the AGC used in Manual mode (Registers AGC_CTRL and AGC_GAIN). Note: 22/156 For optimum AM demodulation performance, it is recommended to use the MONO Input. STV82x7 3.2 Digital Demodulator Demodulation The demodulation system operates by default in Automatic mode. In this mode, the STV82x7 is able to identify and demodulate any TV sound standard including NICAM and A2 systems (see Table 4) without any external control via the I²C interface. It consists of the two demodulation channels (Channel 1 = Mono Left and Channel 2 = Mono Right/Stereo) to simultaneously process two sound carriers in order to handle all transmission modes (stereo and up to three mono languages). The built-in Automatic Standard Recognition System (Autostandard) automatically programs the appropriate bits in the I²C registers which are forced to Read-only mode for users (see Section 12.1). The programming is optimized for each standard to be identified and demodulated. Each mono and stereo standard can be removed (or added) from the List of Standards to be recognized by programming registers AUTOSTD_STANDARD_DETECT and AUTOSTD_STEREO_DETECT, respectively. The identified standard is displayed in register AUTOSTD_STATUS and any change to standard is flagged to the host system via pin IRQ. This flag must be reset by re-programming the MSBs of register AUTOSTD_CTRL while checking the detected standard status by reading registers AUTOSTD_STATUS, NICAM_STAT and ZWT_STAT. Moreover, the detection of Stereo mode during demodulation is also flagged in register AUTOSTD_STATUS. Important: L/L’ and D/K standards cannot be automatically processed because the same frequency is used for the MONO carrier. An exclusive L/DK selection must programmed in register AUTOSTD_CTRL. This may be externally controlled by detecting the RF modulation sign, which is negative for all TV standards except L/L’. To recover out-of standard FM deviations or the Sound Carrier Frequency Offset, additional I²C controls are provided without interfering with the Automatic Standard Recognition System (Autostandard). DK-NICAM Overmodulation Recovery: Four different FM deviation ranges can be selected (via register AUTOSTD_CTRL) for the DK standard while the Autostandard system remains active. The maximum FM deviation is 500 kHz in DK Mono mode and 350 kHz in DK NICAM mode (limited by overlapping FM and NICAM spectrum values). The demodulated signal peak level (proportional to the FM deviation) is detected by the Peak Detector and written to registers PEAK_DET_L and PEAK_DET_R. This value is used to implement Automatic Overmodulation Detection via an external I²C control. Important: Only the selection of the 50 kHz FM deviation standard is compatible with the other DKA2* standards (DK1, DK2 or DK3). These standards must be removed from the list of standards (registers AUTOSTD_STANDARD_DETECT and AUTOSTD_STEREO_DETECT) when programming larger FM deviations reserved only for DK-NICAM standards. Table 4: Recognized Standards System B/G Sound Type Type Name Carrier 1 (MHz) Carrier 2 (MHz) FM Deviation Roll Pilot De-off Frequency emphasis (%) (kHz) Nom. Max. Over FM Mono 5.5 FM/NICAM 5.5 5.850 27 50 80 J17 5.5 5.742 27 50 80 50 µs 27 50 80 J17 FM 2-Carrier A2 FM Mono 6.5 FM/NICAM 6.5 5.850 6.5 6.258 40 54.6875 D/K D/K1 FM 2-Carrier A2* 50 µs 40 54.6875 23/156 Digital Demodulator STV82x7 Table 4: Recognized Standards (Continued) System Sound Type Type Name Carrier 1 (MHz) Carrier 2 (MHz) FM Deviation Roll Pilot De-off Frequency emphasis (%) (kHz) Nom. Max. Over D/K2 FM 2-Carrier A2* 6.5 6.742 50 µs 54.6875 D/K3 FM 2-Carrier A2* 6.5 5.742 50 µs 54.6875 FM Mono 6.0 FM/NICAM 6.0 6.552 AM/NICAM 6.5 5.850 FM Mono 4.5 I L 27 50 80 J17 100 J17 40 15 27 50 75 µs 15 27 50 75 µs M/N FM 2-Carrier A2+ 4.5 4.724 55.069 For Chinese TV transmissions (DK-NICAM) which are subject to overmodulation, different FM deviations are proposed for sound demodulation. Sound Carrier Frequency Offset Recovery: Both Mono and Stereo IF Carrier frequencies can be adjusted independently (registers CAROFFSET1 and CAROFFSET2) within a large range (up to 120 kHz for standard mono FM deviations) while the Automatic Standard Recognition System remains active. The frequency offset estimation is written in registers DC_REMOVAL_L and DC_REMOVAL_R (Mono Left / Channel 1 and Mono Right / Channel 2, respectively) and can be used to implement the Automatic Frequency Control (AFC) via an external I²C control. Manual Mode: If required, the Automatic Standard Recognition System system can be disabled (Manual mode) and the user can control all registers including those only controlled by the Automatic Standard Recognition System function when active. Manual mode is selected in register AUTOSTD_STANDARD_DETECT (bit LDK_SCK, I_SCK, BG_SCK and MN_SCK set to 0). 24/156 STV82x7 4 Dedicated Digital Signal Processor (DSP) Dedicated Digital Signal Processor (DSP) A dedicated Digital Signal Processor (DSP) takes charge of all audio processing features and the low frequency signal processing features of the demodulator. The internal 24-bit architecture will ensure a high quality signal treatment and an excellent dynamic. 4.1 Back-end Processing The “back-end” processing corresponds to the low frequency signal processing (32 kHz or higher frequencies) of the demodulator and other inputs (I²S, ADC). Figure 11 shows a flowchart of the back-end processing tasks. However, the figure shows that the processing is only a SINGLE SOURCE PROCESSING flow (no processing is possible with “Demod + SCART” and I²S inputs simultaneously) and that the selection of a headphone output restricts the loudspeakers configuration to 2+1 instead of 5+1. Figure 11: Back-end Audio Processing “Demod + SCART” or “SCART only” Input Modes Autostandard NICAM R NICAM De-emphasis DC Removal FM Prescale NICAM Prescale FM Dematrix NICAM Dematrix 2 Digital Audio Matrix NICAM L Stereo Peak Detector: 9D, bit 7 = 1 FM Channel2 FM De-emphasis DC Removal Stereo Peak Detector: 9D, bit 7 = 0 FM Channel1 LS (L and R) 2 HP (L and R) 2 SCART (L and R) SCART L DC Removal SCART Prescale I2S in 2 I2S in 3 SRC X2/X4 I²S Prescale 2 to 6 LS (L,R,C,LFE,Ls,Rs) DownMix I2S in 1 Stereo Peak Detector: 9D, bit 7 = 0 “I2S” Input Mode Stereo Peak Detector: 9D, bit 7 = 1 SCART R 2 HP (L and R) 2 SCART (L and R) 25/156 Dedicated Digital Signal Processor (DSP) STV82x7 The main features depend on the path: ● FM Channel — DC Removal — Prescaling — De-emphasis (50 or 75 us) — Stereo Dematrix ● NICAM Channel — DC Removal — Prescaling — De-emphasis (J17) — Dematrix ● Input SCART Channel — DC Removal — Prescaling ● Input I²S Channel — I²S Prescaling ● Digital Audio Matrix — Audio Channel Multiplexer between the different sources (IF, I²S, SCART) towards all outputs (S/PDIF, LS, HP or SCART). ● Autostandard management — device configuration depending on the standard to be detected — freeze the device when a standard is detected — once a standard detected, check that there is no change in the detection status — set the correct action depending on any change in the detection status (mono backup or mute setup and new standard detection) ● SCART — Downmixing: LT / RT or L0 / R0 (see AC-3 specification) — Soft Mute 4.2 Audio Processing The following software is provided for main loudspeakers (L, R, C, LS, RS, SubW): ● ● ● Downmix Dolby ® Pro Logic II® Decoder (LT, RT → L, R, C, Ls, Rs, SubW) with Bass Management ST WideSurround, ST OmniSurround, SRS® WOW ™ or SRS® TruSurround XT® (certified Virtual Dolby 26/156 ® Surround and Virtual Dolby® Digital) ● ST Dynamic Bass ● Smart Volume Control (SVC) ● 5-band Equalizer or Bass-Treble ● Loudness ● Volume with independent channels (Smooth Volume Control) ● Master Volume Control ● Mute/soft-mute STV82x7 Dedicated Digital Signal Processor (DSP) ● Balance ● Beeper ● Pink Noise Generator (used to position the loudspeakers) ● Programmable Delay for each loudspeaker ● Adjustable Delay for “lip sync” to compensate audio/video latency up to 60 ms in SCART Only Mode (processing at 48 KHz) and up to 90 ms in Demodulator and SCART Mode (processing at 32 KHz) The following software is provided for the headphone or auxiliary output: ● Downmix ● SRS ® TruBass™ ● Smart Volume Control (SVC) ● Bass/Treble ● Loudness ● Independent Volume for each channel (Smooth Volume Control) ● Soft Mute ● Balance ● Beeper ● Adjustable Delay for “lip sync” up to 120 ms (to compensate audio/video latency) in SCART Only Mode and up to 180 ms in Demodulator and SCART Mode The following software is provided for SCART or S/PDIF outputs: ● Downmix ● Soft Mute 27/156 IF I2S 28/156 SCART DC Removal SCART Prescale I2S Prescale NICAM Dematrix NICAM NICAM Deemphasis Prescale DC Removal SRC x2 x4 FM Dematrix FM FM Deemphasis Prescale DC Removal AutoStd Audio Matrix for Demod/SCART input DownMix for I2S inputs Peak Detector 90ms / R HP 60ms L HP L 90ms / R 60ms C LFE Ls Rs R SCART L SCART L R C Ls Rs Dolby Prologic I Decoder 2 to N Noise Generator L R C LFE Ls Rs R HP L HP L SRS TruSurround XT R ST Wide Surround Virtualiser N to 2 L R C Ls Rs L R C LFE Ls Rs Dedicated Digital Signal Processor (DSP) STV82x7 Figure 12: STV82x7 Audio Processing Flowchart (Front End) L HP Rs Ls LFE C R L R HP R SCART L SCART TruBass XT TruBass XT SVC 2/0 and 3/2 SVC Bass/ Treble Bass / Treble or 5 bands Equalizer Loudness Loudness Bass Mgmt S/PDIF Copy Digital Soft Mute Digital Soft Mute Digital Volume Soft Balance Mute Digital Volume Soft Balance Mute Volume Volume Volume Digital Balance Soft Mute Volume Digital Balance Soft Mute Digital Soft Mute Beeper S S Headphone Output Surround Output Subwoofer Output Center Output LS Output SCART Output S/PDIF Output I2S Out Select STV82x7 Dedicated Digital Signal Processor (DSP) Figure 13: STV82x7 Audio Processing Flowchart (Back End) 29/156 Output Select Dedicated Digital Signal Processor (DSP) 4.3 STV82x7 ST WideSurround STV82x7 offers three preset ST WideSurround Sound effects on the Loudspeakers path: ● Music, a concert hall effect ● Movie, for films on TV ● Simulated Stereo, which generates a pseudo-stereo effect from mono source “ST WideSurround Sound” is an extension of the conventional stereo concept which improves the spatial characteristics of the sound. This could be done simply by adding more speakers and coding more channels into the source signal as is done in the cinema, but this approach is too costly for normal home use. The ST WideSurround system exploits a method of phase shifting to achieve a similar result using only two speakers. It restores spatiality by adding artificial phase differences. The Surround/Pseudo-stereo mode is automatically selected by the Automatic Standard Recognition System (Autostandard) depending on the detected stereo or mono source. By default, “Movie” is selected for Surround mode. This value may be changed to “Music” by the STSRND_MODE bit in the STSRND_CONTROL register. Additional user controls are provided to better adapt the spatial effect to the source. The ST WideSurround Gain (STSRND_LEVEL) and ST WideSurround Frequency (STSRND_FREQ) registers can be used to enhance Music Predominancy in Music mode and Theater effect and Voice Predominancy in Movie mode. 4.4 ST OmniSurround STV82x7 offers a spatial virtualizer to output any multi-channel input in stereo on the Loudspeakers path: “ST OmniSurround” will recreate a multi-channel spatial sound environment using only the Left and Right front speakers. It can be adapted to any input configuration (OMNISRND_INPUT_MODE). ST Voice will allow you to enhance the voice content of your program to increase the intellegibility and the presence of the sound. 4.5 Dolby Pro Logic II Decoder Dolby® Pro Logic II® is a matrix decoder that decodes the five channels of surround sound that have been encoded onto the stereo sound tracks of Dolby® Surround program material such as DVD movies and TV shows. It is even possible to decode standard stereo signals like music or non encoded movies. Furthermore, it is an active process designed to enhance sound localization through the use of very high-separation decoding techniques. The Dolby® Pro Logic II® decoder is also able to emulate the former Dolby® Pro Logic® decoder in a specific mode. 4.6 Bass Management This processing will generate the subwoofer signal and adjust all loudspeakers channels gain and bandwidth. Speakers capable of reproducing the entire frequency range will be referred to as “full range speakers”, then signals sent to full range speaker will be full bandwidth (no filtering). 30/156 STV82x7 Dedicated Digital Signal Processor (DSP) Speakers that have limited bass handling capabilities will be referred to as “satellite speakers”, then signals sent to satellite speaker will be high-pass filtered to remove bass information below 100 Hz. In the STV82x7, five output configuration modes have been implemented according to “Dolby Digital Consumer Decoder” specifications. They are described below. 4.6.1 Bass Management Configuration 0 In some cases, the bass management filters are available in the decoder itself, so there is no need to reproduce these filters. The output configuration shown in Figure 14 offers this possibility. Figure 14: Bass Management Configuration 0 (with Pro Logic switch indicating its reset state) L L R R C C Pro Logic OFF Switch Ls Ls Rs Rs -15 dB LFE -5 dB + SubW 31/156 Dedicated Digital Signal Processor (DSP) 4.6.2 STV82x7 Bass Management Configuration 1 Configuration 1, shown in Figure 15, assumes that all five speakers are not full range and that all of the bass information will be redirected to and reproduced by a single subwoofer. This configuration is intended for use with 5 satellite speakers. To prevent signal overload, the five main channels are attenuated by 15 dB, while the LFE channel is attenuated by 5 dB to maintain the proper mixing ratio. Figure 15: Bass Management Configuration 1 (with Pro Logic switch indicating its reset state) L L R R C C Pro Logic OFF Switch Ls Ls Rs Rs -15 dB LFE 32/156 -5 dB + SubW STV82x7 4.6.3 Dedicated Digital Signal Processor (DSP) Bass Management Configuration 2 Configuration 2 assumes that the left and right speakers, are full range while the center and surround speakers are smaller speakers. Also, all bass data is redirected to the left and right speakers. This configuration include output level adjustment that allows 12 dB attenuation for the 3 smaller speakers (C, Ls, Rs). When the level adjustment will be disabled the decoder boosts by 12 dB the full range speakers (Left, Right). Figure 16: Bass Management Configuration 2 (all switches indicate their reset state) Level Adjustment OFF Switch -12 dB L L + +12 dB -1.5 dB -12 dB C C R -12 dB Pro Logic OFF Switch R + +12 dB Subwoofer ON Switch -1.5 dB -12 dB Ls Ls + -12 dB Rs Rs -15 dB LFE -5 dB + SubW 33/156 Dedicated Digital Signal Processor (DSP) 4.6.4 STV82x7 Bass Management Configuration 3 The third configuration, shown in Figure 17, assumes that all speakers except the center are full range, then all bass information will be directed to and reproduced by the front left and front right and both surround speakers. In order to provide more flexibility to this configuration, a switch will offer an option which will produce a subwoofer channel by the LFE channel. When the Subwoofer Switch is OFF, the input channels will be attenuated by 8 dB. Configuration 3 is required in certain high-end products. Figure 17: Bass Management Configuration 3 (all switches indicate their reset state) Level Adjustment OFF Switch + -8dB L + +8dB -4dB C L +4dB -8dB +8dB -4dB +4dB C -4.5 dB R -8dB + R + +8dB -4dB Ls +4dB + -8dB +8dB -4dB Rs +4dB + -8dB -4dB LFE +8dB Rs +4dB -8dB +10dB -4dB Subwoofer ON Switch 34/156 Ls Subwoofer ON Switch SubW STV82x7 4.6.5 Dedicated Digital Signal Processor (DSP) Bass Management Configuration 4 This configuration implements the Simplified Dolby configuration. The center, left surround and right surround channels are summed and then filtered by the LPF. The composite bass information is either summed back into the left and right channels or summed with the LFE channel and sent to the subwoofer output, see Figure 18. Figure 18: Implementation of the Bass Management Configuration 4 (Simplified Configuration) L + L C C R + R Pro Logic OFF Switch Ls Ls Rs Rs -4.5dB Subwoofer ON Switch + -5dB LFE 4.7 -10.5dB + SubW SRS WOW and TruSurround XT The SRS® TruSurround XT™ is a processing system that can accept from 1 to 6 channels on input and that will generate a 2-channel output signal. This processing system includes the latest SRS® algorithms: ● ● 4.7.1 SRS ® WOW™ SRS ® TruSurround® (Multi-channel signal virtualizer) SRS TruSurround The SRS® TruSurround® is a processing that can accept from 2 to 5 channels on input and that will generate a 2-channel output signal. SRS® TruSurround® uses Head-Related Transfer Function (HRTF) -based frequency tailoring of (L/R) difference signals to extend the sound image out past the physical boundaries of the speaker placements to surround channel information. These rear channel HRTF curves have much greater peak to valley differences at center frequencies. These were chosen to cause rear channel difference signals to virtualize farther behind the listener and directed to a different virtual position as compared to front channel signals. Information that is equal (L+R) in the rear surround channels 35/156 Dedicated Digital Signal Processor (DSP) STV82x7 is processed by an identical HRTF curve but mixed in at a much lower amount. This HRTF processing of equal (L/R) signals was again used to virtualize information to the rear of the listener. The SRS® TruSurround® is certified by Dolby Laboratories to be a Virtual Dolby® Digital and Virtual Dolby® Surround. 4.7.2 SRS WOW The SRS® WOW™ is an a sound processing system including: ● ● ● SRS ® 3D Mono/Stereo™ SRS ® Dialog Clarity™ SRS ® TruBass™ 4.7.2.1 SRS 3D Mono/Stereo This system is used to create a pseudo-stereo signal for mono inputs or a three-dimensional spatial signal for stereo inputs. 4.7.2.2 SRS Dialog Clarity This system is used to enhance dialog perception. 4.7.2.3 SRS TruBass The SRS® TruBass ™ audio enhancement technology provides deep, rich bass to small speaker systems without the need for a subwoofer or additional extra physical components. For systems with a subwoofer, TruBass™ complements and enhances bass performance. Psycho-acoustically, when the human ear is presented with a low frequency sound signal that is missing the fundamental harmonic, it will fill in the fundamental frequency based on the higher harmonics that are present. By accentuating the second and higher frequency harmonics of the bass portion of a signal, TruBass™ gives the perception of greatly improved bass response. SRS® TruBass™ is implemented on loudspeakers path, headphone path or on both in parallel. 4.8 Smart Volume Control (SVC) The Smart Volume Control regulates the audio signal level before audio processing. This regulation is necessary in order for the signal level to be independent from the source (terrestrial channels, I2S or SCART), its modulation (AM, FM or NICAM) and annoying volume changes (advertising, etc.). The Smart Volume Control works as an audio compressor/expander; i.e. when the input signal exceeds the threshold level, a very rapid attenuation (-2 dB/ms) is applied to rescale the signal down to the threshold value. When the input signal is below the threshold level, the previous attenuation is reduced slowly in order to retrieve the original input level (0 dB gain). If the input signal is too low, an addition gain of 6 dB can be provided. To personalize the action of the SVC, five parameters are available: 1. Threshold: Maximum quasi-peak level that can be expected on output 2. Peak measurement mode: Select the channel on which the peak measurement must be performed (Left, Right, Center...) 3. Release time: Gain slope applied to the amplification phase 4. Expander switch: To allow a +6dB amplification of small signals in order to reduce the output dynamic range 5. Make up gain: Allows compensation of the signal amplitude limitation thanks to a 0 to 24 dB adjustable gain. 36/156 STV82x7 Dedicated Digital Signal Processor (DSP) The SVC is implemented on the loudspeakers path, headphone path or on both in parallel (independent settings). Also, the SVC can be applied in six-channel mode (L, R, LS, RS, C and SubW). 4.9 ST Dynamic Bass STV82x7 offers dynamic bass boost processing on the Loudspeakers path: ST Dynamic Bass is a bass boost process that can dramatically increase the bass content of any program without any output level saturation. 3 cutoff frequencies (BASS_FREQ) can be chosen, 100 Hz, 150 Hz and 200 Hz to adapt the effect to your loudspeakers. The amount of bass (BASS_LEVEL) can also be fine tuned in order to adapt the effect loudness. 4.10 5-Band Audio Equalizer The loudspeakers audio spectrum is split into 5 frequency bands and the gain of each of band can be adjusted within a range from -12 dB to +12 dB in steps of 0.25 dB. The Audio Equalizer may be used to pre-define frequency band enhancement features dedicated to various kinds of music or to attenuate frequency resonances of loudspeakers or the listening environment. The Equalizer is enabled by the LS_EQ_ON bit in the LS_EQ_BT_CTRL register. The gain value for Band X is programmed in register EQ_BANDX_GAIN. The 5-Band Audio Equalizer is exclusive with Bass-Treble control. Bit LS_EQ_BT_SW in register LS_EQ_BT_CTRL is used to select either the 5-Band Audio Equalizer or the Bass-Treble control for the Loudspeakers path. Depending on the LS Equalizer or LS Bass-Treble value, the volume level can be clamped to the LS output to prevent any possible signal clipping from occuring using the ANTICLIP_LS_VOL_CLAMP bit in the VOLUME_MODES (D7h) register. Figure 19: Equalizer f1 = 100 Hz, f2 = 330 Hz, f3 = 1 kHz, f4 = 3.3 kHz and f5 = 10 kHz 4.11 Bass/Treble Control The gain of bass and treble frequency bands for Headphone can be also tuned within a range from -12 dB to +12 dB in steps of 0.25 dB. It may be used to pre-define frequency band enhancement features dedicated to various kinds of music. The Headphone Bass/Treble feature is enabled by setting the HP_BT_ON bit in the HP_BT_CONTROL register. The Bass and Treble gain values are adjusted in registers HP_BASS_GAIN and HP_TREBLE_GAIN, respectively. Depending on the HP Bass-Treble value, the volume level can be clamped to the HP output to prevent any possible signal clipping from occuring using the ANTICLIP_HP_VOL_CLAMP bit in the VOLUME_MODES (D7h) register. 37/156 Dedicated Digital Signal Processor (DSP) 4.12 STV82x7 Automatic Loudness Control As the human ear does not hear the audio frequency range the same way depending on the power of the audio source, the Loudness Control corrects this effect by sensing the volume level and then boosting bass and treble frequencies proportionally to middle frequencies at lower volume. While maintaining the amplitude of the 1 kHz components at an approximately constant value, the gain values of lower and higher frequencies are automatically progressively amplified up to +18 dB when the audio volume level decreases.The maximum treble amplification can be adjusted from 0 dB (first order loudness) to +18 dB (second order loudness) in steps of 3 dB. As the volume is proportional to the external audio amplification power, the loudness amplification threshold is programmable in order to tune the absolute level. The Loudspeakers Loudness function is enabled by setting the LS_LOUD_ON bit in register LS_LOUDNESS. The Loudspeakers Loudness Threshold and Maximum Treble Gain values are also programmed in this register. The Headphone Loudness function is enabled by setting the HP_LOUD_ON bit in register HP_LOUDNESS. The Headphone Loudness Threshold and Maximum Treble Gain values are also programmed in this register. The loudness cut-off frequency is 100 Hz. 4.13 Volume/Balance Control The STV82x7 provides a Volume/Balance Control for all output channels configuration (except for S/PDIF) with different volume level per channel (L, R, C, LS, R S, SubW, SCART). Its wide range (from +11.875 to -116 dB, in a dB linear scale with a 0.125 dB step) largely covers typical home applications (approx. 60 dB) while maintaining a good S/N ratio. Output Gain Figure 20: Volume Control +11.875 dB -116 dB Mute 00h I²C Control 3FFh An extra Master Volume Control can apply an extra gain/attenuation on L, R, C, LS, R S and SubW channels. The Volume/Balance Control can operate in one of two different modes: ● 38/156 In Differential mode (default value), the volume control is a common volume value for both the Left and Right Loudspeakers or Headphone channels (see Figure 20) and complimentary balance control is used (see Figure 21). STV82x7 ● Dedicated Digital Signal Processor (DSP) In Independent mode, the volume for the Left and Right channels for Loudspeakers or Headphone is controlled independently. nn el 100% el R nn ig h ha tC C ft ha Le Output Gain Figure 21: Differential Balance Mute 000h 200h 1FFh I²C Control (10 bits) Note: Each step is 0.25 dB 4.14 Soft Mute Control The Digital Soft Mute is applied smoothly (20 ms for 120 dB range) to avoid any switch noise on output. It is available on all output channels pairs: ● S/PDIF channel (Left/Right) ● SCART channels (Left/Right) ● Loudspeakers channels (Left/Right) ● Center ● Subwoofer ● Headphone/Surround channels (Left/Right) Another soft mute (analog) is also available on each DAC output. 4.15 Beeper The beeper is used to generate a tone on the Loudspeakers or/and Headphone outputs. The beeper sound (square wave) is added to the audio signal which is attenuated by 20 dB. The beep sound amplitude includes a smooth attack and decay to avoid any parasitic noise when starting and stopping. It can be used for various applications such as beep sounds for remote control, alarm clock or other features. The Beeper operates in one of two modes: ● Pulse mode (beep applications): A tone with a programmable short duration (0.1, 0.25, 0.5 and 1.0 s) is generated. Afterwards, the beeper is automatically disabled and the output is switched back to the audio signal, see Figure 22. ● Continuous mode (alarm application): A tone with a programmable long duration is generated. Its start and stop controls must be programmed by I²C, see Figure 23. The Beeper function is enabled by setting the BEEPER_ON bit in register BEEPER_ON. Beeper parameters are controlled in register BEEPER_MODE. 39/156 Dedicated Digital Signal Processor (DSP) STV82x7 The beeper tone level and frequency are programmed in register BEEPER_FREQ_VOL. The level (or volume) ranges between 0 dB and -93 dB in steps of 3 dB and the tone frequency ranges between 62.5 Hz and 8 kHz in steps of 1 octave. A beep generator is shared only by the Loudspeakers or Headphone outputs. Therefore, in the event of simultaneous beeps when in Pulse mode, only the first beep will define the effective duration that will be the same for both outputs. Figure 22: Pulse Mode BEEP_ON = 1 BEEP_ON = 0 0.1, 0.25, 0.5 and 1.0 s T predefined 62.5 Hz < f < 8 kHz Figure 23: Continuous Mode BEEP_ON = 1 BEEP_ON = 0 T defined by I²C write 62.5 Hz < F < 8 kHz 4.16 Internal Audio/Video Delay (Lip Sync) Since increasing processing on the video signal implies more delay compared to the audio signal, there is a possibility inside the device of compensating by inserting a delay on the audio path in order to resynchronize the two signals: ● 60ms with 48 KHz sampling frequency (SCART only input mode) ● 90ms with 32 KHz sampling frequency (demodulator input mode) The same delay is available for the LS path and/or the HP path. 40/156 STV82x7 5 Analog Audio Matrix (In / Out) Analog Audio Matrix (In / Out) The analog part of the audio matrix can be divided into two parts: the SCART input matrix and the SCART output matrix. Figure 24: SCART Input Matrix S1in S2in S3in S4in Digital Matrix Audio ADC 2 MONO_in Select The SCART input matrix is an input for the digital matrix (after the ADC) which select which source will be sent to the DSP. Figure 25: SCART1/2/3 Output Matrix S1in S2in S3in S4in 2 Soft mute S1out Stereo DAC MONO_in Select or Mute The SCART output matrix selects the sound to output, which can be directly a SCART input or the output of the DSP. A mute function is provided to switch off the outputs. A soft-mute function is provided to avoid all spurious sounds when switching from one position to another position. The SCART 2 and 3 output matrices have the same functions as the SCART 1 output matrix. The particularity of the matrix is to accept input signal of 2 VRMS and to have the capability to output such level. In this case, the power supply must be 8 V. The Mono audio input is able to accept signals with a 0.5 VRMS amplitude. 41/156 I²S Interface (In / Out) 6 STV82x7 I²S Interface (In / Out) The STV82x7 offers three input/output choices: one I²S input, three I²S inputs or one I²S output. 6.1 I²S Inputs The STV82x7 can interface with a digital sound decoder. In this case, the digital data can be input at a speed of 0.384 Mbytes/s (3.072 MHz for a 48 kHz sampling frequency with 32 bits of data).In compliance with Dolby® specifications, only the sampling frequency is subject to restrictions. All other requirements are extracted from other various specifications. Table 5: I²S Characteristics Sampling Frequency (kHz) 8, 11.025, 12,16, 22.05, 24, 32, 44.1 and 48 Data Size 16, 18*, 20*, 24*, 32 PCMCLK 512 x fS1 2 1. means that the number is the number of effective bits but the transmission is with 32 bits. 2. 512 x fs is used by the DACs if 512 x fs is present. The PCMCLK (possible clock for upsampling) is provided by the master which is the digital sound decoder. A sample rate conversion (SRC) will be necessary in the second case (STV82x7 slave) in order to have a fixed frequency output from this block (either 32 kHz, 44.1 kHz or 48 kHz). Note: The SRC function is only available in single I²S input mode. The I²S interface is used in two ways depending on the package: 1. The interface with one I²S (I²S_DATA0) connection (only stereo or stereo-coded Dolby ® Pro Logic ®); 2. One interface with three I²S connections connected to the DSP to allow the processing of a multi-channel signal (maximum of 6 channels). 42/156 STV82x7 I²S Interface (In / Out) Figure 26: I²S Block Diagram SRC x 2 I²S_DATA0 fS Input = 8 to 48 kHz SRC x 4 I²S_DATA1 Audio Processing fS Input = 32 to 48 kHz I²S_DATA2 fS Input = 32 to 48 kHz I2S_SCLK fS Input * 64 I2S_LR_CLK fS Input = 32 to 48 kHz Note: 1 The I²S input and output modes are exclusive (this means that the I2S_DATA0 can be used as input or as output). 2 Simultaneous processing of I²S inputs and SIF inputs and/or ADC inputs (SCART or MONO inputs) is NOT possible with the device. 3 I2S_PCM_CLK is not needed for the device. Table 6: I²S Frequency Configuration I²S (Max. Number of Channels) fS Input (kHz) fS Output (kHz) after SRC SRC Use 1 (I²S_DATA0) 8 32.0 x4 1 (I²S_DATA0) 16 32.0 x2 3 32 32.0 No 1 (I²S_DATA0) 11.025 44.1 x4 1 (I²S_DATA0) 22.05 44.1 x2 3 44.1 44.1 No 1 (I²S_DATA0) 12 48.0 x4 1 (I²S_DATA0) 24 48.0 x2 3 48 48.0 No Both standard and non-standard modes are available, see Figure 29. 43/156 I²S Interface (In / Out) 6.2 STV82x7 I²S Output A digital stereo output (I²S compatible) is also available for routing the demodulated signal or a converted input audio signal to an external device. In this case, the I2S_DATA0 signal and all clock signals are set as outputs by setting bit D6 in register RESET to 1. The STV82x7 I²S drives the serial bus (SCLK, LR_CLK, I²S_DATA0) in master mode in 64.fs format with a sampling frequency (fs) of 32 kHz. The I²S_PCM_CLK signal can be used as a master clock in 512.fs format if required for the slave interface. Both standard and non-standard modes are available, see Figure 29. Figure 27: TQFP 80 I²S Output Block Diagram I2S_DATA0 fS Output = 32 kHz I2S_SCLK Audio Processing fS Output * 64 48 kHz DSP I2S_LR_CLK Processing fS Output = 32 kHz I2S_PCM_CLK fS Output * 512 Note: The I²S input and output modes are exclusive (this means that the I2S_DATA0 can be used as input or as output). Figure 28: I²S Output Selection LS Output C/Sub Output I2S_DATA0 Srnd/HP Output SCART Output 44/156 Register 56h: Bits[7:6] STV82x7 I²S Interface (In / Out) Figure 29: I²S Data Format: Lch = LOW, Rch = HIGH (I²S Input or Output mode) 1/f s Lch I²S_LR_CLK Rch I²S_SCLK (= 64fs) 1 I²S_DATAx (standard mode) 2 3 22 23 MSB I²S_DATAx (non-standard mode) 1 2 MSB 3 1 24 23 1 24 LSB 3 22 23 24 MSB LSB 22 2 2 MSB 3 1 2 2 3 LSB 22 23 1 24 LSB 45/156 S/PDIF Input/Output 7 STV82x7 S/PDIF Input/Output An S/PDIF output is available for connection with an external A/V decoder/amplifier. The signal on this S/PDIF output is selected by an on chip Multiplexer between the internal signal and an external signal present on S/PDIF bypass input (Pin 44) with SPDIF_MUX bit in the DAC_CONTROL register. The outputted internal signal can be selected from: ● L/R ● C/Subwoofer ● HP or Surround L/R ● SCART L/R The external signal is for example the signal provided by an external Dolby® Digital decoder (STD2000). Mute facility is also provided on the S/PDIF output. Note: 46/156 The S/PDIF_IN pin (Pin 44) is a CMOS digital pin and input signals on this pin must fulfill the characteristics as mentioned in Section 13.12: Digital I/Os Characteristics on page 144 (±0.5 VPP standard S/PDIF input level is not directly supported by the device and needs external circuitry). STV82x7 8 Power Supply Management Power Supply Management A mixed supply voltage environment requires the following voltages: ● 3.3 V capable inputs/outputs for digital pins; ● 1.8 V digital core; ● 8 V capable inputs/outputs for analog audio interfaces (capability to output 2 V RMS for SCART requirements); ● 3.3 V for stereo ADC and DAC (analog part); ● 1.8 V for stereo ADC and DAC (digital part); ● 1.8 V for IF ADC and AGC. These voltages will be delivered by the application with an accuracy of ±5%. For more information, refer to Section 13.3: Power Supply Data. Other specific DC voltages or features are provided: 8.1 ● Voltage Reference and Biasing Generation (AGC, ADCs, DACs), ● Bandgap reference. Standby Mode (Loop-through mode) The STV82x7 provides a Loop-through mode configuration that bypasses IC functions via a SCART I/O pin (Full Analog Path only). In this case, only a minimum power of 200 mW is required. In Standby mode, the digital and analog power supplies are switched off, except for pins VCC_H, VCC33_LS, VCC33_SC, and VCC_NISO which are used to maintain the SCART path with the last configuration programmed by analog matrixing (register SCART1_2_OUTPUT_CTRL and SCART3_OUTPUT_CTRL). When switching back to normal Full Power mode, all I²C registers are reset except for those used in Standby mode to maintain the original configuration. In Standby mode, the I²C bus does not operate. However, the bus can still be used by other ICs since the I²C I/O pins (SDA and SCL) of the STV82x7 are forced into a high-impedance configuration. 8.2 Power on Reset The following supply voltages are involved for Power on Reset for the STV82x7: ● for 1.8 V: VDD18 on pins 38, 42, 50 and 66, VCC18_CLK1 on pin 54 and VCC18_CLK2 on pin 57. ● for 3.3 V: VDD33_IOI on pin 46 and VDD33_IO2 on pin 59. The first condition for a valid reset is that all 1.8 V supply voltages involved have reached a minimum valid voltage of 1.7 V and that all 3.3 V supply voltages involved have reached a minimum valid voltage of 3.1 V. When this is the case and starting from this point, the reset must be maintained at a low level (<1 V) for at least 100 µs then put to a high level. 47/156 Additional Controls and Flag 9 STV82x7 Additional Controls and Flag This logic contains: 9.1 ● the headphone detection, ● the IRQ generation, signal to be output to the MCU, ● the I²C bus expander output pin. Headphone Detection For headphone, the HP_DET input can be used to automatically mute the Loudspeakers and Subwoofer outputs when the HP_LS_MUTE bit is set in register HEADPHONE_CONFIG (active low). When a headphone is detected (the HP_DET pin is set to 0) and the Mute function is enabled. Each change on the HP_DET pin generates an IRQ request to the microprocessor on the IRQ pin. 9.2 IRQ Generation Four IRQs are generated by the STV82x7. On each IRQ generation, the IRQ pin is set to 1. The pending IRQ status must be read at the I²2S address 81h and the acknowledge is done by writing 0 to this register. The four availables IRQs are: IRQ0: The identified TV sound standard is displayed in register AUTOSTD_STATUS. Each change in the detected standard is flagged to the host system via hardware pin IRQ. The flag must be reset by re-programming the IRQ bit in register AUTOSTD_CTRL and then checking the detected standard status by reading registers AUTOSTD_STATUS, NICAM_STAT, and ZWT_STAT. IRQ1: This IRQ is enabled only in digital input mode. In case of I2S synchronisation loss, this IRQ is set to 1. IRQ2: This IRQ is set to 1 when the device detects any change on the HP Detection pin (Headphone connection or deconnection). IRQ3: On the STV82x7, same pins are used for both Headphone and Surround loudspeaker signal output. A change in the Headphone configuration (HP active or not active) will lead to a signal switch on those hardware pins. In order to ensure a smooth audio transition, the output is soft muted before the signal is switched. The IRQ3 is then set to 1 to advise the master processor that the signal has been switched and to request a HP/Srnd Ouput Un-Mute. 9.3 I²C Bus Expander Pin BUS_EXP can be used to control external switchable IF SAW filters or audio switches. This pin can be directly programmed by register RESET. 48/156 STV82x7 10 STV82x7 Reset STV82x7 Reset All STV82x7 features are controlled via the I²C bus. The STV82x7 can be "reset" in 2 ways: 1. By Software via the I²C bus: This clears all synchronous logic, except for the I²C bus registers. 2. By Hardware via the RESET pin: In addition to clearing all synchronous logic, the RESET input (active on the low level) resets all the I²C bus registers to the default values listed below. Table 7: RESET Default Values Function Default mode Demodulation Auto-standard ON Scanned Standards M/N, B/G, I, L/L’ FM Deviation ± 125 kHz (Max.) Audio Outputs Automatic Mute Mode ON Loudspeaker Source Demodulated Sound Loudspeaker Volume -40 dB, differential mode, muted Loudspeaker L/R Balance L/R = 100% Subwoofer -40 dB / OFF Headphone Source Demodulated Sound Headphone Automatic Detection ON Headphone Volume -40 dB, differential mode, muted Headphone L/R Balance L/R = 100% SCART-1 out Demodulated Sound SCART-2 out SCART1 Source SCART Volume -5.5 dB, independent mode, muted I²S out OFF Audio Processing Loudspeaker/Headphone SVC OFF, 0 dB Reference Value Loudspeaker Surround OFF Loudspeaker 5-Band Equalizer OFF, 0 dB (Flat Band) Loudspeaker Loudness OFF Headphone Bass/Treble OFF, 0 dB (Flat Band) Loudspeaker/Headphone Beeper -40 dB / OFF 49/156 I²C Interface STV82x7 11 I²C Interface 11.1 I²C Address and Protocol The STV82x7 I²C interface works in Slave mode and is fully compliant with I²C standards in Fast mode (maximum frequency of 400 kHz). Two pairs of I²C chip addresses are used to connect two STV82x7 chips to the same I²C serial bus. The device address pairs are defined by the polarity of the ADR_SEL pin and are listed in the following table: Table 8: I²C Read/Write Addresses ADR Write Address (W) Read Address (R) LOW (connected to GND1) 80h 81h HIGH (connected to VDD1) 84h 85h Protocol Description ● Write Protocol Start ● A Sub-address A Sub-address A Data A .... A Data Start R A A Stop Read Protocol Start 50/156 W W A Stop Data A .... A Data N ● W = Write address, ● R = Read address, ● A = Acknowledge, ● N = No acknowledge, ● Sub-address is the register address pointer; this value auto-increments for both write and read. STV82x7 11.2 I²C Interface Start-up and Configuration Change Procedure The DSP running loop is: ● Read IC registers and update internal structures (memory variables) ● Process sound samples ● Write I²C registers with new updated values The step “process sound sample” duration is 1ms. This is shown in Figure 30. Figure 30: Simplified DSP Processing Flow Load Patch File HW_RESET bit = 1 (bit 2 in HOST_CMD register) INIT_MEM bit status? (bit 0 in DSP_STATUS register (DSP RUN) 0 (DSP Initialization) 1 HOST_RUN bit = 1 (bit 0 in DSP_RUN register) (Start DSP Processing) I²C Registers (HW space) 80h 81h Read I²C Registers, Update internal Structures (Simultaneously read the 128 I²C registers) 82h 83h 84h DSP Processing (DSP processing time = 1ms) ... ... (Simultaneously write the 128 I²C registers) FEh FFh Update I²C Registers When programming I²C read/write register with addresses between 80h and FFh this flow has to be taken into account. For example, if two different values are written in the same register in less than 2 ms, it is possible that the DSP doesn’t see the first value (because the second value over-writes the first one during the “DSP processing” phase, before DSP can read the registers again). In the same way, when waiting for a register value change, the software programme must wait for at least 2 ms in order to allow sufficient time for the DSP to update the register values. 51/156 I²C Interface STV82x7 Figure 31: Initialization Procedure at Startup Power ON Hardware Reset Pin LOW Delay > 100 us Hardware Reset Pin HIGH Clock PLL programmation (Note 1) Load Patch File see Figure 32 (HW_RESET bit = 1 is done by patch file at the end of patch loading) Note 2 INIT_MEM bit ? (bit 0 in DSP_STATUS register) (Duration of init phase < 1ms) =0 =1 Check Patch version (FFh register) =0 =1 Device Input Configuration Set-up (if needed) see Figure 33 HOST_RUN bit = 1 (bit 0 in DSP_RUN register) Delay 2 ms Initialization Procedure NOTE 1: Only when the crystal frequency is not 27 MHz. NOTE 2: The customer can also set bit HW_RESET = 1 here. 52/156 (If input configuration has to be changed, it has to be done here) (Start DSP processing) STV82x7 11.3 I²C Interface Process Flow during Patch Loading and DSP Initialization Patch loading and DSP firmware initialization are shown in Figure 32 Figure 32: Patch Loading and DSP Initialization (Software launch patch loading) Patch Loading HW_RESET bit = 0 (bit 2 in HOST_CMD register) (DSP STOP) Load patch file in memory HW_RESET bit = 1 (bit 2 in HOST_CMD register) (This action is included in the Patch load file) NOTE 1 Firmware Initialization Firmware Init phase (Duration of Firmware initialization is less than 1ms) Write patch version (reg FFh = xxh) Firmware Initialization finished (INIT_MEM = 1) (Firmware set INIT_MEM = 1 (done inside patch file) (bit 0 in DSP_STATUS register)) (Software must test INIT_MEM = 1 before continuing) NOTE 1: The customer can also set HW_RESET = 1 here. (bit 2 in HOST_CMD register) 53/156 I²C Interface 11.4 STV82x7 Input Configuration Change The input configuration change must be programmed as shown in Figure 33: Figure 33: Input Configuration change Configuration Change DACs Mute & Wait 50 ms for complete mute Set bit INIT_MEM = 0 & Stop DSP Firmware (HOST_RUN bit = 0 in DSP_RUN register) & Wait 5 ms INIT_MEM bit ? (bit 0 in DSP_STATUS register) =1 Change input configuration Restart DSP Firmware (HOST_RUN bit = 1 in DSP_RUN register) DACs Unmute END 54/156 =0 STV82x7 Register List 12 Register List Note: The unused bits (defined as ‘Reserved’) in the I²C registers must be kept to zero. The system clock registers (from address 08h to 0Bh and from address 5Ah to 5Dh) do not need to be modified if a standard 27 MHz quartz crystal oscillator is used. The default values of the demodulator registers (from address 0Ch to 55h) are for optimum performances and any change is not recommended, except for: ● AGC_GAIN (0Fh) to adjust AGC gain for AM carrier in L/L' standard (AGC used in open loop). ● CAROFFSET1 (22h) and CAROFFSET2 (3Ah) to compensate IF carrier frequency with an out-of-standard offset. ● Soundlevel Prescaling PRESCALE_AM (94h), PRESCALE_FM (95h), PRESCALE_NICAM (96h) and PRESCALE_SCART (97h) to equalize demodulated or external audio signal before audio processing. Peak detector registers PEAK_DET_INPUT (9Dh), PEAK_DET_L (9Eh), PEAK_DET_R (9Fh), PEAK_DET_L_R (A0h) can be used to measure internal sound level. Sound source selection for each audio output channel Loudspeakers, Headphone and SCART to be done using AUDIO_MATRIX_INPUT (A2h). In Multi-lingual mode, AUDIO_MATRIX_LANGUAGE (A4h) selects separately the language for each audio output channel. Register AUTOSTD_CTRL (8Ah) is used to select between L/L' or D/K/K1/K2/K3 standard which can be discriminated automatically. To be used also to change maximum FM deviation (125 kHz, by default) in case of wide overmodulation. AUTOSTD_STANDARD_DETECT (8Bh) and AUTOSTD_STEREO_DETECT (8Ch) to define the list of mono and stereo standards to be recognized automatically. Note: () used in reset value column means that the bit or the byte is read-only. (S) symbol indicates that the field value is represented in signed binary format. (*) The field AGC_ERR[4:0] (AGC_GAIN) can be written by user if the bit AGC_CMD (AGC_CTRL) is set to one (by default controlled by Automatic Standard Recognition System). To be used to adjust manually the input gain of analog AGC amplifier for AM carrier (L/L'). 55/156 Register List 12.1 STV82x7 I²C Register Map By default, all I²C registers controlled by Automatic Standard Recognition System (Autostandard) are forced to Read-only mode for the user. These registers and bits are shaded in Table 9. Table 9: List of I²C Registers (Sheet 1 of 6) Name Addr. Reset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 CUT_ID 00h (0000 0001) 0 0 RESET 01h 0000 0000 BUS_EXP I²S_OUTPUT 0 I2S_CTRL 04h 0000 0000 SYNC_OFF SYNC_SIGN 0 LOCK_TH[1:0] I2S_STAT 05h (0000 0000) 0 0 0 0 I2S_SYNC_OFFSET 06h 0000 0000 SYS_CONFIG 07h 0000 0000 FS1_DIV 08h 0001 0010 EN_PROG 0 FS1_MD 09h 0001 0001 0 0 FS1_PE_H 0Ah 0011 0110 PE_H1[7:0] FS1_PE_L 0Bh 0000 0000 PE_L1[7:0] DEMOD_CTRL 0Ch 0000 0110 0 0 DEMOD_STAT 0Dh (0000 0000) 0 0 0 AGC_CTRL 0Eh 0001 0001 AGC_ CMD 0 0 AGC_GAIN 0Fh (0000 0000) 0 DC_ERR_IF 10h (0000 0000) DC_ERR[7:0] CARFQ1H 12h 0011 1110 CARFQ1[23:16] CARFQ1M 13h 1000 0000 CARFQ1[15:8] CARFQ1L 14h 0000 0000 CARFQ1[7:0] FIR1C0 15h 0000 0000 FIR1C0[7:0] (S) FIR1C1 16h 1111 1110 FIR1C1[7:0] (S) FIR1C2 17h 1111 1100 FIR1C2[7:0] (S) FIR1C3 18h 1111 1101 FIR1C3[7:0] (S) FIR1C4 19h 0000 0010 FIR1C4[7:0] (S) FIR1C5 1Ah 0000 1101 FIR1C5[7:0] (S) FIR1C6 1Bh 0001 1000 FIR1C6[7:0]6 (S) FIR1C7 1Ch 0001 1111 FIR1C7[7:0] (S) ACOEFF1 1Dh 0010 0011 ACOEFF1[7:0] BCOEFF1 1Eh 0001 0010 BCOEFF1[7:0] CRF1 1Fh (0000 0000) CRF1[7:0] (S) CETH1 20h 0010 0000 CETH1[7:0] Bit 2 Bit 1 Bit 0 SOFT_ LRST1 SOFT_RST IC General Control CUT_NUMBER[5:0] EN_STBY 0 0 SOFT_ LRST2 LOCK_MODE 0 SYNC_CST[1:0] LR_OFF LOCK_ FLAG I2S_SFO[7:0] Clocking 1 I2S_CH_NB[1:0] INPUT_FREQ[3:0] NDIV1[1:0] INPUT_CONFIG[1:0] 0 0 SDIV1[2:0] MD1[4:0] Demodulator FAR_MODE GAP_MODE AM_SEL QPSK_LK FM2_CAR AGC_REF[2:0] AGC_ERR[4:0] Demodulator Channel 1 56/156 DEMOD_MODE[2:0] FM2_SQ FM1_CAR FM1_SQ AGC_CST[1:0] SIG_OVER SIG_ UNDER STV82x7 Register List Table 9: List of I²C Registers (Sheet 2 of 6) Name Addr. Reset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SQTH1 21h 0011 1100 SQTH1[7:0] CAROFFSET1 22h 0000 0000 CAROFFSET1[7:0] (S) IAGCR 25h 1000 1000 IAGC_REF[7:0] IAGCC 26h 0000 0011 IAGCS 27h (0000 0000) IAGC_CTRL[7:0] CARFQ2H 28h 0100 0100 CARFQ2[23:16] CARFQ2M 29h 0100 0000 CARFQ2[15.8] CARFQ2L 2Ah 0000 0000 CARFQ2[7:0] FIR2C0 2Bh 0000 0000 FIR2C0[7:0] (S) FIR2C1 2Ch 0000 0000 FIR2C1[7:0] (S) FIR2C2 2Dh 0000 0000 FIR2C2[7:0] (S) FIR2C3 2Eh 0000 0000 FIR2C3[7:0] (S) FIR2C4 2Fh 1111 1111 FIR2C4[7:0] (S) FIR2C5 30h 0000 0100 FIR2C5[7:0] (S) FIR2C6 31h 0001 0100 FIR2C6[7:0] (S) FIR2C7 32h 0010 0101 FIR2C7[7:0] (S) ACOEFF2 33h 1001 0000 ACOEFF2[7:0] BCOEFF2 34h 1010 1100 BCOEFF2[7:0] SCOEFF 35h 0001 1100 SCOEFF[7:0] SRF 36h (0000 0000) SRF[7:0] (S) CRF2 37h (0000 0000) CRF2[7:0] (S) CAROFFSET2 3Ah 0000 0000 CAROFFSET2[7:0] (S) NICAM_CTRL 3Dh 0000 0000 NICAM_BER 3Eh (0000 0000) NICAM_STAT 3Fh (0000 0000) NIC_DET F_MUTE ZWT_CTRL 40h 0011 0001 LRST_ TONE_OFF STD_MODE ZWT_TIME 41h 0000 0100 0 0 0 0 ZWT_STAT 42h (0000 0000) 0 0 0 0 ZW_STAT_ RDY ADC_CTRL 56h 0000 1000 0 0 ADC_ POWER_UP ADC_INPUT_SEL[2:0] SCART1_2_OUTPUT_CTRL 57h 1010 1000 SC2_MUTE SC1_MUTE SC1_OUTPUT_SEL[2:0] SCART3_OUTPUT_CTRL 58h 0000 1011 0 SC3_MUTE SC3_OUTPUT_SEL[2:0] 5Ah 0001 0001 0 0 SDIV2[2:0] Demodulator Channel 2 IAGC_ OFF FAR_FLT_EN MONO_FLT _EN BG_SEL MONO_PRO G IAGC_CST[2:0] NICAM 0 0 0 0 0 DIF_POL ECT MAE ERROR[7:0] LOA CBI[3:0] NIC_MUTE Stereo FM THRESH[3:0] TSCTRL[1:0] ZWT_TIME[2:0] 0 ZW_DET ZW_ST ZW_DM Analog Control I2S_DATA0_CTRL[1:0] SC2_OUTPUT_SEL[2:0] 0 0 0 Clocking 2 FS2_DIV NDIV2[1:0] 57/156 Register List STV82x7 Table 9: List of I²C Registers (Sheet 3 of 6) Name Addr. Reset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FS2_MD 5Bh 0001 0001 0 0 0 FS2_PE_H 5Ch 0101 1100 PE_H2[7:0] FS2_PE_L 5Dh 0010 1001 PE_L2[7:0] HOST_CMD 80h 0000 0000 IT_IN_DSP 0 0 0 0 0 0 IRQ_STATUS 81h 0000 0000 0 0 0 0 IRQ3 (HP/Srnd unmute ready) SOFT_VERSION 82h (0000 0002) ONCHIP_ALGOS 83h (0000 0000) 0 PRO_LOGIC _SELECT NICAM I2S_INPUT TRUBASS TRU SURROUND PRO_LOGIC MULTICHANE L DSP_STATUS 84h 0000 0000 0 0 0 0 0 0 0 INIT_MEM DSP_RUN 85h 0000 0000 0 0 0 0 0 0 HOST_ NO_INIT HOST_RUN I2S_IN_CONFIG 86h 1000 1110 LOCK_ MODE_EN 0 SYNC LRCLK_STA RT LRCLK_ POLARITY SCLK_ POLARITY DATA_CFG I2S_MODE AV_DELAY 89h 0000 0000 MD2[4:0] DSP Control HW_RESET IRQ2 IRQ1 (HP detected) (I2S sync lost) IRQ0 (autostd) SOFT_VERSION[7:0] DELAY_TIME[6:0] DELAY_ON Automatic Standard Recognition System AUTOSTD_CTRL 8Ah 0000 0001 0 0 0 FORCE_ SQUELCH SINGLE_ SHOT AUTOSTD_STANDARD_DETECT 8Bh 0010 1111 0 NICAM_ C4_OFF NICAM_GA P_MODE NICAM_ MONO_IN LDK_SCK I_SCK BG_SCK MN_SCK AUTOSTD_STEREO_DETECT 8Ch 0001 1111 LDK_ZWT3 LDK_ZWT2 LDK_SWT1 LDK_ NICAM I_NICAM BG_ZWT BG_NICAM MN_ZWT AUTOSTD_TIMERS 8Dh 1010 0100 AUTOSTD_STATUS 8Eh (0000 0000) STEREO_ ID STEREO_ OK MONO_ OK AUTOSTD_O N 0 0 0 0 FM_TIME[1:0] DK_DEV[1:0] NICAM_TIME[2:0] LDK_SW ZWEITON_TIME[2:0] STEREO_SID[1:0] MONO_SID[1:0] Audio Preprocessing & Selection DC_NICAM DC_ DEMOD 0 0 AM_FM_ SELECT 90h 0000 0111 DC_REMOVAL_L 91h (0000 0000) DC_REMOVAL_L[7:0] (S) DC_REMOVAL_R 92h (0000 0000) DC_REMOVAL_R[7:0] (S) PRESCALE_SELECT 93h 0000 0000 0 PRESCALE_AM 94h 0000 0000 0 PRESCALE_AM[6:0] (S) PRESCALE_FM 95h 0000 1100 0 PRESCALE_FM[6:0] (S) PRESCALE_NICAM 96h 0001 1010 0 PRESCALE_NICAM[6:0] (S) PRESCALE_SCART 97h 0000 0000 0 0 PRESCALE_SCART[5:0] (S) PRESCALE_I2S_0 98h 0000 0000 0 0 PRESCALE_I2S_0[5:0] (S) PRESCALE_I2S_1 99h 0000 0000 0 0 PRESCALE_I2S_1[5:0] (S) PRESCALE_I2S_2 9Ah 0000 0000 0 0 PRESCALE_I2S_2[5:0] (S) DEEMPHASIS_DEMATRIX 9Bh 0000 0000 0 0 PEAK_DET_INPUT 9Dh 0000 0000 PEAK_ LOCATION 0 58/156 0 0 NICAM_ DEMATRIX 0 DC_SCART DC_REMOVAL_INPUT 0 0 NICAM_ DEEMPH_ BYPASS FM_DEMATRIX[1:0] PEAK_L_R_RANGE FM_DEEMPH FM_DEEMPH _BYPASS _SW PEAK_DET_INPUT[1:0] STV82x7 Register List Table 9: List of I²C Registers (Sheet 4 of 6) Name Addr. Reset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PEAK_DET_L 9Eh 0(0000 0000) OVERLOAD_L [7:0] PEAK_L[6:0] PEAK_DET_R 9Fh 0(0000 0000) OVERLOAD_ R[7:0] PEAK_R[6:0] PEAK_DET_L_R A0h 0(0000 0000) OVERLOAD_L _R[7:0] PEAK_L_R[6:0 AUDIO_MATRIX_INPUT A2h 0000 0000 0 0 0 0 SCART_ INPUT_ SOURCE HP_INPUT_ SOURCE LS_INPUT_ SOURCE AUDIO_MATRIX_CONFIG A3h 0000 0000 0 0 0 SCART_ MATRIX AUDIO_MATRIX_LANGUAGE A4h 0000 0000 MUTE_ STEREO MUTE_ ALL DOWNMIX_IN_MODE A6h 0000 0010 0 0 DOWNMIX_OUT_MODE A7h 0100 1010 0 HP_MODE[1:0] DOWNMIX_DUAL_MODE A8h 0000 0000 0 DUAL_ON LS_DUAL_SELECT[1:0] SCART_DUAL_SELECT [1:0] DOWNMIX_CONFIG A9h 0000 0001 0 0 SRND_FACTOR[1:0] CENTER_FACTOR[1:0] PRO_LOGIC2_CONTROL AAh 0011 1010 PL2_LFE PCM_SRND_DELAY ABh 0000 0000 PCM_CENTER_DELAY ACh PRO_LOGIC2_CONFIG Matrixing 0 SCART_LANGUAGE[1:0] 0 0 DEMOD_MATRIX[3:0] HP_LANGUAGE[1:0] LS_LANGUAGE[1:0] LFE_IN MIX_IN_MODE[2:0] SCART_MODE[1:0] MIX_OUT_MODE[2:0] HP_DUAL_SELECT[1:0] LR_UPMIX NORMALIZE Audio Processing PL2_OUTPUT_DOWNMIX[2:0] PL2_MODES[2:0] 0 0 0 SNRD_DELAY[4:0] 0000 0000 0 0 0 ADh 0000 0000 0 0 0 PRO_LOGIC2_DIMENSION AEh 0000 0000 0 PRO_LOGIC2_LEVEL AFh 0000 0000 NOISE_GENERATOR B0h 0000 0000 10_DB_ ATTENUATE SRIGHT_ NOISE TRUSRND_CONTROL B1h 0000 0000 0 TRUSRND_ MONO_ SRND TRUSRND_INPUT_GAIN B6h 0000 0000 TRUSRND_HP_DCL B7h 0000 0000 TRUSRND_DC_ELEVATION B8h 0000 1100 TRUBASS_LS_CONTROL BAh 0000 0110 TRUBASS_LS_LEVEL BBh 00001 1001 TRUBASS_HP_CONTROL BCh 0000 0110 TRUBASS_HP_LEVEL BDh 0000 1001 SVC_LS_CONTROL BEh 0000 0010 SVC_LS_TIME_TH BFh 1001 1000 SVC_HP_CONTROL C0h 0000 0010 SVC_HP_TIME_TH C1h 1001 1000 0 PL2_ACTIVE CENTER_DELAY[3:0] PL2_RS_ POLARITY PL2_SRND_FILTER PL2_C_WIDTH 0 PL2_ PANORAMA PL2_AUTO BALANCE PL2_DIMENSION PL2_LEVEL SLEFT_ NOISE SUB_ NOISE CENTER_ NOISE RIGHT_ NOISE TRUSRND_INPUT_MODE[3:0] LEFT_ NOISE NOISE_ON TRUSRND_ MODE TRUSRND_ ON TRUSRND_INPUT_GAIN[7:0] 0 0 0 0 0 DIALOG_ HEADPHONE CLARITY_ON _ON 0 TRUSRND_DC_ELEVATION[7:0] 0 0 0 TRUBASS_ LS_ON TRUBASS_LS_SIZE[3:0] TRUBASS_LS_LEVEL[7:0] 0 0 0 TRUBASS_ HP_ON TRUBASS_HP_SIZE[3:0] TRUBASS_HP_LEVEL[7:0] 0 0 0 0 SVC_LS_TIME[2:0] 0 0 SVC_HP_TIME[2:0] SVC_LS_INPUT[1:0] SVC_ LS_AMP SVC_ LS_ON SVC_LS_THRESHOLD[4:0] (S) 0 0 0 0 SVC_ LHP_AMP SVC_ HP_ON SVC_HP_THRESHOLD[4:0] (S) 59/156 Register List STV82x7 Table 9: List of I²C Registers (Sheet 5 of 6) Name Addr. Reset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 SVC_LS_GAIN C2h 0000 0000 0 0 0 SVC_LS_MAKE_UP_GAIN[4:0] SVC_HP_GAIN C3h 0000 0000 0 0 0 SVC_HP_MAKE_UP_GAIN[4:0] STSRND_CONTROL C4h 0000 0000 STSRND_FREQ C5h 0001 0101 STSRND_LEVEL C6h 1000 0000 OMNISURROUND_CONTROL C7h 0000 0000 ST_DYNAMIC_BASS C8h 0000 0000 LS_EQ_BT_CTRL C9h 0000 0000 LS_EQ_BAND1 CAh 0000 0000 EQ_BAND1[7:0] (S) LS_EQ_BAND2 CBh 0000 0000 EQ_BAND2[7:0] (S) LS_EQ_BAND3 CCh 0000 0000 EQ_BAND3[7:0] (S) LS_EQ_BAND4 CDh 0000 0000 EQ_BAND4[7:0] (S) LS_EQ_BAND5 CEh 0000 0000 EQ_BAND5[7:0] (S) LS_BASS_GAIN CFh 0000 0000 LS_BASS[7:0] (S) LS_TREBLE_GAIN D0h 0000 0000 LS_TREBLE[7:0] (S) HP_BT_CONTROL D1h 0000 0000 HP_BASS_GAIN D2h 0000 0000 HP_BASS[7:0] (S) HP_TREBLE_GAIN D3h 0000 0000 HP_TREBLE[7:0] (S) OUTPUT_BASS_MNGT D4h 0000 0000 BASS_ MANAGE_ON LS_LOUDNESS D5h 0000 0100 0 LS_LOUD_THRESHOLD[2:0] LS_LOUD_GAIN_HR[2:0] LS_ LOUD_ON HP_LOUDNESS D6h 0000 0100 0 HP_LOUD_THRESHOLD[2:0] HP_LOUD_GAIN_HR[2:0] HP_ LOUD_ON VOLUME_MODES D7h 1100 0111 ANTCLIP_HP _VOL_CLAMP LS_L_VOLUME_MSB D8h 1001 1000 LS_L_VOLUME_LSB D9h 0000 0000 LS_R_VOLUME_MSB DAh 0000 0000 LS_R_VOLUME_LSB DBh 0000 0000 LS_C_VOLUME_MSB DCh 1001 1000 LS_C_VOLUME_LSB DDh 0000 0000 LS_SUB_VOLUME_MSB DEh 1001 1000 LS_SUB_VOLUME_LSB DFh 0000 0000 LS_SL_VOLUME_MSB E0h 1001 1000 LS_SL_VOLUME_LSB E1h 0000 0000 LS_SR_VOLUME_MSB E2h 0000 0000 LS_SR_VOLUME_LSB E3h 0000 0000 STSRND_ STEREO 0 0 STSRND_BASS[1:0] STSRND_MEDIUM[1:0] Bit 1 STSRND_ MODE Bit 0 STSRND_ ON STSRND_TREBLE[1:0] STSRND_GAIN[7:0] ST_VOICE OMNISRND_INPUT_MODE OMNISRND_ ON BASS_FREQ DYN_BASS_ ON BASS_LEVEL 0 0 0 0 0 0 0 SUB_ ACTIVE 0 0 GAIN_ SWITCH 0 0 0 LS_EQ_BT_ SW LS_EQ_ON 0 0 HP_BT_ON 0 OCFG_NUM[2:0] Volume 60/156 ANTICLIP_ LS_VOL_ CLAMP 0 0 SCART_ VOLUME_ MODE SRND_ VOLUME_ MODE HP_ VOLUME_ MODE LS_ VOLUME_ MODE LS_L_VOLUME_MSB[7:0] 0 0 0 0 0 0 LS_L_VOLUME_LSB[1:0] 0 LS_R_VOLUME_LSB[1:0] 0 LS_C_VOLUME_LSB[1:0] 0 LS_SUB_VOLUME_LSB[1:0] 0 LS_SL_VOLUME_LSB[1:0] 0 LS_SR_VOLUME_LSB[1:0] LS_R_VOLUME_MSB[7:0] 0 0 0 0 0 LS_C_VOLUME_MSB[7:0] 0 0 0 0 0 LS_SUB_VOLUME_MSB[7:0] 0 0 0 0 0 LS_SL_VOLUME_MSB[7:0] 0 0 0 0 0 LS_SR_VOLUME_MSB[7:0] 0 0 0 0 0 STV82x7 Register List Table 9: List of I²C Registers (Sheet 6 of 6) Name Addr. Reset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LS_MASTER_VOLUME_MSB E4h 1110 1000 LS_MASTER_VOLUME_LSB E5h 0000 0000 HP_L_VOLUME_MSB E6h 1001 1000 HP_L_VOLUME_LSB E7h 0000 0000 HP_R_VOLUME_MSB E8h 0000 0000 HP_R_VOLUME_LSB E9h 0000 0000 SCART_L_VOLUME_MSB EAh 1101 1101 SCART_L_VOLUME_LSB EBh 0000 0000 SCART_R_VOLUME_MSB ECh 1101 1101 SCART_R_VOLUME_LSB EDh 0000 0000 0 0 0 0 BEEPER_ON EEh 0000 0000 0 0 0 0 BEEPER_MODE EFh 0000 0011 0 0 0 BEEPER_FREQ_VOL F0h 0111 0000 F1h 1001 1111 AUTOSTD_ MUTE_ON 0 0 SCART_ D_MUTE SRND_HP_ D_MUTE SUB_ D_MUTE F2h 0000 0100 0 0 0 0 0 SPDIF_OUT_ MUTE F3h 0000 001(0) 0 0 0 0 HP_FORCE HP_LS_ MUTE HP_DET_ ACTIVE HP_ DETECTED DAC_CONTROL F4h 0001 1111 0 0 S/PDIF_ MUX DAC_SCART _MUTE DAC_SHP_ MUTE DAC_CSUB_ MUTE DAC_LSLR_ MUTE POWER_ UP DAC_SW_CHANNELS F5h 0000 0000 SPDIF_SW_CHANNELS F6h 0000 0000 SPDIF_CHANNEL_STATUS F9h 0000 0000 LS_MASTER_VOLUME_MSB[7:0] 0 0 0 0 0 LS_MASTER_VOLUME_ LSB[1:0] 0 HP_L_VOLUME_LSB[1:0] 0 HP_R_VOLUME_ LSB[1:0] 0 SCART_L_VOLUME_ LSB[1:0] 0 0 SCART_R_VOLUME_ LSB[1:0] 0 0 0 HP_L_VOLUME_MSB[7:0] 0 0 0 0 0 HP_R_VOLUME_MSB[7:0] 0 0 0 0 0 SCART_L_VOLUME_MSB[7:0] 0 0 0 0 0 SCART_R_VOLUME_MSB[7:0] Beeper BEEPER_ PULSE BEEPER_DURATION[1:0] BEEPER_FREQ[2:0] BEEPER_ ON 0 BEEPER_PATH[1:0] BEEPER_VOLUME[4:0] Mute MUTE_DIGITAL C_ D_MUTE LS_ D_MUTE S/PDIF S/PDIF_OUT_CONFIG S/PDIF_OUT_SELECT[2:0] Headphone Configuration HEADPHONE_CONFIG DAC Control SUR_HP_SW 0 C_SUB_SW 0 0 CHANNEL_STATUS LS_L_R_SW 0 0 EMPHASIS SCART_SW 0 COPYRIGHT SPFI_SW NON_AUDIO PRO_CON AutoStandard Coefficients Settings AUTOSTD_COEFF_CTRL FBh 0000 0001 0 0 0 0 0 0 AUTOSTD_COEFF_INDEX_MSB FCh 0000 0000 0 0 0 0 0 0 AUTOSTD_COEFF_INDEX_LSB FDh 0000 0000 AUTOSTD_COEFF_INDEX_LSB[7:0] AUTOSTD_COEFF_VALUE FEh 0000 0000 AUTOSTD_COEFF_VALUE[7:0] PATCH_VERSION FFh 0000 0000 PATCH_VERSION[7:0] AUTOSTD_COEFF_ CTRL[1:0] 0 AUTOSTD_ COEFF_ INDEX_MSB 61/156 Register List 12.2 STV82x7 STV82x7 General Control Registers CUT_ID Version Identification Address: 00h Type: R Bit 7 Bit 6 0 0 Bit Name Bit 5 Bit 4 Bit 3 00 CUT_NUMBER[5:0] Bit 1 Bit 0 Bit 1 Bit 0 CUT_NUMBER[5:0] Reset Bits[7:6] Bit 2 Function Reserved 000001 Dice Version Identification RESET Software Reset Register Address: 01h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 BUS_EXP I²S_OUTPUT 0 EN_STBY 0 Bit 2 SOFT_LRST2 SOFT_LRST1 SOFT_RST Description The built-in Automatic Standard Recognition System (Autostandard) can be disabled. In this case, the Software Reset function (bits SOFT_LRST1 and SOFT_LRST2) can be used to implement the Automatic Standard Recognition by I²C Software. This is not required if the built-in Automatic Standard Recognition System function is used (default). Bit Name Reset Function BUS_EXP 0 Static control by I2C of hardware pin BUS_EXP I²S_OUTPUT 0 0: I²S Input (I2S_DATA0 , I2S_SCLK, I2S_LR_CLK, I2S_PCM_CLK in input mode) 1: I²S Output (I2S_DATA0 , I2S_SCLK, I2S_LR_CLK, I2S_PCM_CLK in output mode, 512 x Fs will be provided on the I2S_PCM_CLK pin) Bit[5] 0 Reserved. EN_STBY 0 Standby mode enabling 0: Normal mode 1: To lock the digital signals before to settle the device in standby mode Bit 3 0 Reserved. SOFT_LRST2 0 Softreset (active high) of Channel 2 detectors only. SOFT_LRST1 0 Softreset (active high) of Channel 1 detectors only. SOFTR_RST 0 General softreset (active high) to reset all hardware registers except for I²C data. 62/156 STV82x7 Register List I2S Synchronization Control Register I2S_CTRL Address: 04h Type: R/W Bit 7 Bit 6 Bit 5 SYNC_OFF SYNC_SIGN 0 Bit Name Bit 4 Bit 3 Bit 2 LOCK_TH[1:0] Bit 1 LOCK_MODE Reset Bit 0 SYNC_CST[1:0] Function SYNC_OFF 0 Open the loop of synchronization - External PCM clock is used internally and must be equal to 512 x fSOUT SYNC_SIGN 0 Sign of the loop reversion (to be used in case of gain inversion of the Frequency Synthesizer) Bit 5 0 Reserved Lock Detector Threshold Programming LOCK_TH[ 1:0] 00: ±1 CLK period error of accumulation 01: ±2 CLK period error of accumulation 10: ±4 CLK period error of accumulation 11: ±8 CLK period error of accumulation 00 Lock Detector Mode LOCK_MOD E 0: Lock when accumulation error within lock threshold and LR detected (period counter not saturated) 1: Lock when only accumulation error within lock threshold. Don’t care about the LR detection 0 Synchronization Time Constant Defines the measurement period of LR SYNC_CST[ 1:0] 00: Half period measured (lowest accuracy) 01: One full period measured 10: Two full periods measured 11: Four full periods measured (highest accuracy) 01 I2S_STAT I²S Synchronization Status Register Address: 05h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 LR_OFF LOCK_FLAG Bit Name Reset Function Bits[7:2] 0 Reserved. LR_OFF 0 LR Signal Detection 0: LR signal detected and correct 1: Missing LR pulses detected LOCK_FLAG 0 Lock Flag allowing unmute of Audio Output 63/156 Register List STV82x7 I2S_SYNC_OFFSET I²S Synchronization Offset Frequency Register Address: 06h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 I2S_SFO[7:0] Bit Name I2S_SFO[7:0] 12.3 Reset 0000 0000 Function I²S synchronization frequency offset (±450 ppm full scale) Clocking 1 A low-jitter PLL Clock is integrated and can be fully reprogrammed using the registers described below. By default, the programming is defined for a 27-MHz quartz crystal frequency, which is the frequency recommended for reducing potential RF interference in the application. However, if necessary, the PLL Clock can be re-programmed for other quartz crystal frequencies within a range from 23 to 30 MHz. Other quartz crystal frequencies can be programmed on your demand. Note: A Crystal Frequency change is compatible with other default I²C programming including the built-in Automatic Standard Recognition System. SYS_CONFIG System Configuration Control Register Address: 07h Type: R/W Bit 7 Bit 6 Bit 5 I2S_CH_NB[1:0] Bit Name I2S_CH_NB[1:0] Bit 4 Bit 3 Bit 2 INPUT_FREQ[3:0] Reset 00 0000 Function Number of I2S channels input I2S Input frequency 0000 : 32 kHz 0001: 44.1 kHz 0010: 48 kHz 0011: 8 kHz (I2S input, 2 channels only) 0100 : 11.025 kHz (I2S input, 2 channels only) 0101 : 12 kHz (I2S input, 2 channels only) 0110 : 16 kHz (I2S input, 2 channels only) 0111 : 22.05 kHz (I2S input, 2 channels only) 1000 : 24 kHz (I2S input, 2 channels only) 64/156 Bit 0 INPUT_CONFIG[1:0] 00: N/A 01: 2 channels 10: 4 channels 11: 6 channels INPUT_FREQ[3:0] Bit 1 STV82x7 Register List Bit Name Reset INPUT_CONFIG[1:0] 0 Function Input stream to process 0 : SIF & SCART input (32 kHz) 1 : SCART input only (48 kHz) 2 : I2S input only FS1_DIV FS1 I/O Divider Programming Register Address: 08h Type: R/W Bit 7 Bit 6 EN_PROG 0 Bit Name Bit 5 Bit 4 NDIV1[1:0] Bit 3 0 Reset EN_PROG 0 Bit 2 Bit 1 Bit 0 SDIV1[2:0] Function FS1 programmation enable 0: FS1 I2C registers programmation ignored by system - FS1 pre-programmed automatically by SYS-CONFIG register (normal use with standard quartz of 27 MHz) 1: FS1 I2C registers programmation used by system - FS1 pre-programmation by SYS-CONFIG desactivated (to be used in case of no standard quartz, different from 27 MHz) Bit 6 0 Reserved. NDIV1[1:0] 01 FS1 Input clock divider selection Bit 3 0 Reserved. SDIV1[2:0] 010 FS1 Output clock divider selection FS1_MD FS1 Coarse Selection Register Address: 09h Type: R/W Bit 7 Bit 6 Bit 5 0 0 0 Bit Name Reset Bits[7:5] 000 MD1[4:0] 10001 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 MD1[4:0] Function Reserved. FS1 Coarse Selection 65/156 Register List STV82x7 FS1_PE_H FS1 Fine Selection Register (MSBs) Address: 0Ah Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PE_H1[7:0] Bit Name PE_H1[7:0] Reset 0011 0110 Function FS1 Fine Selection (MSBs) FS1_PE_L FS1 Fine Selection Register (LSBs) Address: 0Bh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PE_L1[7:0] Bit Name PE_L1[7:0] 12.4 Reset 0000 0000 Function FS1 Fine Selection (LSBs) Demodulator DEMOD_CTRL Demodulator Control Register Address: 0Ch Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 FAR_MODE GAP_MODE AM_SEL Bit Name bit [7:6] Reset 000 Bit 2 Bit 1 Bit 0 DEMOD_MODE[2:0] Function Reserved FAR_MODE 0 1: Farrow and Mono filter for NICAM active GAP_MODE 0 Defines the clock gapping mode of the demodulator 0: (default), the FS1 freq is controlled by stl-error (clock-pll mode) to align the instantaneous value of the internal clock with respect to the received NICAM clock 1: the FS1 freq is fixed and the mean value of the internal clock is aligned by variable gapping (src-error) with respect to the received NICAM clock 66/156 STV82x7 Register List Bit Name Reset AM_SEL 0 Function Demodulator Configuration Select 0: FM configuration of demodulator (Default) 1: AM configuration of demodulator DEMOD_MODE[2:0] 110 Demodulator Mode Select 000: 001: 010: 011: 100: 101: 110: 111: CH1 FM CH2 FM/QPSK Normal Wide Normal Wide Normal Wide Normal Wide FM Normal FM Wide QPSK System QPSK System FM Wide FM Normal QPSK System QPSK System DEMOD_STAT B/G/L/D/K B/G/L/D/K I I Demodulator Detection Status Register Address: 0Dh Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 QPSK_LK FM2_CAR FM2_SQ FM1_CAR FM1_SQ Bit Name Bit [7:5] Reset 000 QPSK_LK 0 Function Reserved. QPSK Lock Detection Flag 0: Not detected 1: Detected FM2_CAR 0 Channel 2 FM/AM Carrier Detection Flag 0: Not detected 1: Detected FM2_SQ 0 Channel 2 FM Squelch Detection Flag 0: Not detected 1: Detected FM1_CAR 0 Channel 1 FM/AM Carrier Detection Flag 0: Not detected 1: Detected FM1_SQ 0 Channel 1 FM Squelch Detection Flag 0: Not detected 1: Detected Note: These registers allow direct access to the demodulator signal detectors. 67/156 Register List STV82x7 AGC_CTRL IF AGC Control Register Address: 0Eh Type: R/W Bit 7 Bit 6 Bit 5 AGC_CMD 0 0 Bit Name AGC_CMD Bit 4 Bit 3 Bit 1 AGC_REF[2:0] Reset 0 Bit 2 Bit 0 AGC_CST[1:0] Function Automatic Gain Control Command Mode Normally set to 0 enabling automatic mode. For L/L’ standards, the AGC should be switched off due to the presence of the AM sound carrier. In this case, a fixed gain value should be set using the AGCS register. 0: Automatic mode. AGC controlled by the Autostandard function. (Default) 1: Manual/Forced mode Bits[6:5] 00 Reserved. AGC_REF[2:0] 100 This bitfield is used to defines the clipping level which adjusts the allowable proportion of samples at the input of the ADC which will be clipped. The AGC tries to maximize the use of the full scale range of the ADC. The default setting gives a ratio of 1/256. Clipping Ratio 000: 001: 010: 011: AGC_CST[1:0] 01 1/16 (Single carrier) 1/32 1/64 1/128 Clipping Ratio 100: 101: 110: 111: 1/256 (Default) 1/512 1/1024 1/2048 (Multiple carriers) AGC Time Constant This is the time constant between each step of 1.5 dB by the AGC. Step Duration (ms) 00 01 10 11 1.33 2.66 5.33 10.66 AGC_GAIN IF AGC Control and Status Register Address: 0Fh Type: R/W Bit 7 Bit 6 Bit 5 0 Bit Name Bit 7 68/156 Bit 4 Bit 3 Bit 2 AGC_ERR[4:0] Reset 0 Function Reserved. Bit 1 Bit 0 SIG_OVER SIG_UNDER STV82x7 Register List Bit Name Reset AGC_ERR[4:0] 00000 Function Amplifier Gain Control This is the Gain Control value of AGC. There are 20 steps of +1.5 dB (see Note below). 00000: Gain-min 10100: Gain-min + 30 db 11111: Gain-min + 30 db SIG_OVER 0 AGC Input SIgnal Upper Threshold 0: Normal signal 1: Signal too large and AGC is overloaded SIG_UNDER 0 AGC Input SIgnal Lower Threshold 0: Normal signal 1: Signal too small and AGC is underloaded When the AGC is in Automatic mode (AGC_CMD = 0), bits SIG_OVER and SIG_UNDER indicate if the input signal is too small/large and the AGC is under/overloaded. This is useful when setting the STV82x7 SIF input level. Note: When AGC_CMD = 0, AGC_ERR[4:0] can be read -- indicating the input level. It can also be written to -- presetting the AGC level which will then adjust itself to the final value. When AGC_CMD = 1, the AGC is off and writing to AGC_ERR[4:0] directly controls the AGC amplifier gain. Reading AGC_ERR just confirms the fixed value. DC_ERR_IF DC Offset Status for IF ADC Address: 10h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DC_ERR[7:0] Bit Name DC_ERR[7:0] 12.5 Reset 00000000 Function DC offset error of IF ADC output Demodulator Channel 1 CARFQ1H, CARFQ1M, CARFQ1L Channel 1 Carrier DCO Frequency Address: 12h to 14h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CARFQ1[23:16], CARFQ1[15:8], CARFQ1[7:0] 69/156 Register List STV82x7 Bit Name Reset CARFQ1[23:16] CARFQ1[15:8] CARFQ1[7:0] 00111110 10000000 00000000 Function Channel 1 DCO Carrier Frequency (8 MSBs) Channel 1 DCO Carrier Frequency Channel 1 DCO Carrier Frequency (8 LSBs), see Table 10. Table 10: Mono Carrier Frequencies by System System Mono Carrier Freq. (MHz) CARFQ1[23:0] (dec) CARFQ1[23:0] M/N 4.5 3072000 2EE000h B/G 5.5 3754667 394AABh I 6.0 4096000 3E8000h L 6.5 4453717 43F555h D/K/K1/K2 6.5 4437333 43B555h Note: Carrier Freq: CARFQ1(dec).fS / 224 with fS = 24.576 MHz (crystal oscillator frequency independent) FIR1C[0:7] Channel 1 FIR Coefficients Address: 15h to 1Ch Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FIR1C0[7:0] to FIR1C7[7:0] Table 11: Channel 1 FIR Coefficients Bitfield Description FM 27 kHz 1 FM 50 kHz2 FM 75 kHz FM 100 kHz FM 200 kHz FM 350 kHz FM 500 kHz AM FIR1C0[7:0] FFh 00h 01h FFh 00h 02h 01h 00h FIR1C1[7:0] FEh FEh 03h 00h 01h 01h 00h FEh FIR1C2[7:0] FEh FCh 02h 05h 01h FCh 04h FDh FIR1C3[7:0] 00h FDh FCh 02h FCh 03h FAh FEh FIR1C4[7:0] 06h 02h F8h F8h 08h 04h 05h 04h FIR1C5[7:0] 0Eh 0Dh 01h F9h F6h F2h 00h 0Dh FIR1C6[7:0] 16h 18h 18h 15h F8h 06h F2h 16h FIR1C7[7:0] 1Bh 1Fh 2Dh 35h 4Ah 43h 4Dh 1Dh 1. Default mode for M/N standard. 2. Default mode for B/G/I/D/K standards 70/156 STV82x7 Register List ACOEFF1 Channel 1 Baseband PLL Loop Filter Proportional Coefficient Address: 1Dh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ACOEFF1[7:0] Bit Name ACOEFF1[7:0] Reset 00100011 Function Used to program the Proportional Coefficient of the baseband PLL loop filter (Channel 1) Defines the damping factor of the loop. For values, refer to Table 12. BCOEFF1 C h a n n e l 1 B a s e b a n d P L L L o o p F ilt e r In t e g ra l C o e f fic ie n t & D C O G a in Address: 1Eh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 BCOEFF1[7:0] Bit Name BCOEFF1[7:0] Reset 00010010 Function Used to program the Integral Coefficient of the baseband PLL loop filter and DCO gain Defines the bandwidth of the loop. For values, refer to Table 12. Table 12: Baseband PLL Loop Filter Adjustment (FM Mode) Small Standard Medium Wide1 A2 Standard ACOEFF 10h 22h 2Ch 2Ch 10h BCOEFF 1Ah 12h 0Ah 0Ah 11h FM_DEV max (kHz) 62.5 125 250 500 125 96 192 384 768 192 FM Mode DCO Range (kHz) 1. Refer to DEMOD_MODE[2:0] bits in the DEMOD_CTRL register. Note: 1 FM Pre-scale has to be adjusted depending on the chosen FM Mode. 2 FM squelch threshold has to be adjusted depending on the chosen FM Mode. 71/156 Register List STV82x7 CRF1 Channel 1 Baseband PLL Demodulator Offset Address: 1Fh Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CRF1[7:0] Bit Name CRF1[7:0] Reset Function (00000000) Channel 1 Carrier Recovery Frequency Displays the instantaneous frequency offset of the Channel 1 Baseband PLL Demodulator. CETH1 Channel 1 FM/AM Carrier Level Threshold Address: 20h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CETH1[7:0] Bit Name CETH1[7:0] Reset Function 00100000 This register is used to compare the carrier level in the channel and the threshold value. This level is measured after the channel filter and is relative to the full scale reference level (0 dB). This is used as part of the validation of an FM signal, if the carrier level is below the threshold, the signal is considered to be non-valid. CETH FFh 80h 40h 20h SQTH1 Threshold (dB) -6 -12 -18 -24 (Default) CETH 10h 08h 00h Threshold (dB) -32 (Recommended Value) -38 OFF (all carrier levels are accepted) Channel 1 FM Squelch Threshold Register Address: 21h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 SQTH1[7:0] 72/156 Bit 2 Bit 1 Bit 0 STV82x7 Bit Name SQTH1[7:0] Register List Reset Function 00111100 The Squelch Detector measures the level of high frequency noise (> 40 kHz) and compares it to the threshold level (SQTH). If the level is below this value, the S/N of the FM signal is considered to be acceptable. Values are given for FM with standard deviation. SQTH S/N (dB) FAh 77h 3Ch 23h 19h Note: 0 10 15 (Default) 20 25 FM squelch threshold has to be adjusted depending on the chosen FM Mode. CAROFFSET1 Channel 1 DCO Carrier Offset Compensation Address: 22h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CAROFFSET1[7:0] (S) Bit Name Reset CAROFFSET1[7:0] 00000000 Function This value is used to correct the carrier frequency offset of the incoming IF signal. Automatic frequency control in FM mode can be implemented by registers DC_REMOVAL_L and DC_REMOVAL_R. A DCO frequency offset (in two’s complement format) is added to the pre-programming value by AUTOTSD in the CARFQ1 registers (corresponding to the standard IF carrier frequency). The programmable carrier offset ranges from -192 kHz to +190.5 kHz with a resolution of 1.5 kHz. For standard FM deviation, the value displays by DC_REMOVAL_L and DC_REMOVAL_R can be directly loaded in CAROFFSET1 to exactly compensate the carrier offset on Channel 1. 12.6 Demodulator Channel 2 IAGCR Channel 2 Internal AGC Reference for QPSK Address: 25h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 IAGC_REF[7:0] Bit Name Reset IAGC_REF[7:0] 10001000 Function Sets the mean value of the internal AGC, used for QPSK demodulation. The default setting corresponds to half full scale amplitude at the baseband PLL input. 73/156 Register List STV82x7 IAGCC Channel 2 Internal AGC Time Constant for QPSK Address: 26h Type: R/W Bit 7 IAGC_OFF Bit 6 Bit 5 FAR_FLT_EN Bit Name MONO_FLT_EN Bit 4 BG_SEL Bit 3 Bit 2 Bit 0 IAGC_CST[2:0] MONO_PROG Reset Bit 1 Function IAGC_OFF 0 AGC Disable 0: Internal AGC is active 1: Internal AGC is disabled FAR_FLT_EN 0 1: Enable Farrow filter for NICAM MONO_FLT_EN 0 1: Enable Mono filter for NICAM BG_SEL 0 1: BG NICAM Mono filter selected MONO_PROG 0 1: Enable programmation of Mono filter IAGC_CST[2:0] 011 Internal AGC Programmable Step Constant. These bits control the time per step (values given for QPSK mode). The default value defines the optimum trade-off between fast settling time (for the fastest NICAM identification) and the noise immunity (minimum BER degradation) Step time (us) Time Response (ms) 000 001 010 011 100 101 110 111 703 352 176 88 44 22 11 5.5 IAGCS 128 64 32 16 8 4 2 0.82 Channel 2 Internal AGC Status for QPSK Address: 27h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 IAGC_CTRL[7:0] Bit Name IAGC_CTRL[7:0] 74/156 Reset 00000000 Function Indicates the value of the internal AGC gain control Bit 1 Bit 0 STV82x7 Register List CARFQ2H, CARFQ2M, CARFQ2L Channel 2 Carrier DCO Frequency Address: 28H to 2Ah Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CARFQ2[23:16], CARFQ2[15.8], CARFQ2[7:0] Bit Name Reset CARFQ2[23:16] CARFQ2[15.8] CARFQ2[7:0] Function 01000100 01000000 00000000 Channel 2 DCO Carrier Frequency (8 MSBs) Channel 2 DCO Carrier Frequency Channel 2 DCO Carrier Frequency (8 LSBs) See Table 13. Table 13: Stereo Carrier Frequencies by System System Stereo Carrier Freq. (MHz) CARFQ2[23:0] (Dec) CARFQ2[23:0] M/N A2+ 4.724212 3225062 3135E6h B/G NICAM 5.85 3993600 3CF000h BG A2 5.7421875 3920000 3BD080h I NICAM 6.552 4472832 444000h L NICAM 5.85 3993600 3CF000h DK NICAM 5.85 3993600 3CF000h DK1 A2* 6.258125 4272000 412F80h DK2 A2* 6.7421875 4602667 463B2Bh DK3 A2* 5.7421875 3920000 3BD080h FIR2C[0:7] Channel 2 FIR Coefficients Address: 2Bh to 32h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FIR2C0[7:0] to FIR2C7[7:0] Table 14: Channel 2 FIR Coefficients Description Bitfield FM 27 kHz FM 50 kHz QPSK 40% (reset state) QPSK100% FIR2C0[7:0] FFh 00h 00h 00h FIR2C1[7:0] FEh FEh 00h 00h FIR2C2[7:0] FEh FCh FFh 00h 75/156 Register List STV82x7 Table 14: Channel 2 FIR Coefficients Description Bitfield FM 27 kHz FM 50 kHz QPSK 40% (reset state) QPSK100% FIR2C3[7:0] 00h FDh 03h 00h FIR2C4[7:0] 06h 02h 00h FFh FIR2C5[7:0] 0Eh 0Dh F4h 04h FIR2C6[7:0] 16h 18h 0Ah 14h FIR2C7[7:0] 1Bh 1Fh 3Dh 25h ACOEFF2 Channel 2 Baseband PLL Loop Filter Proportional Coefficient Address: 33h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ACOEFF2[7:0] Bit Name ACOEFF2[7:0] Reset Function 10010000 This value defines the loop clamping factor used to program the Proportional Coefficient of the baseband PLL loop filter (Channel 2). See Table 15 and Table 16. BCOEFF2 Channel 2 Baseband PLL Loop Filter Integral Coefficient & DCO Gain Address: 34h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 BCOEFF2[7:0] Bit Name BCOEFF2[7:0] Reset 10101100 Function This value defines the loop bandwidth used to program the Integral Coefficient of the Baseband PLL loop filter and DCO gain. See Table 15 and Table 16. Table 15: Baseband PLL Loop Filter Adjustments (FM Mode) FM mode 76/156 Small Standard Mid Wide A2 standard ACOEFF 10h 22h 2Ch 2Ch 10h BCOEFF 1Ah 12h 0Ah 0Ah 11h STV82x7 Register List Table 15: Baseband PLL Loop Filter Adjustments (FM Mode) FM mode FM_DEV max (kHz) DCO Range (kHz) Small Standard Mid Wide A2 standard 62.5 125 250 500 125 96 192 384 768 192 Table 16: Baseband PLL Loop Filter Adjustments (QPSK Mode) QPSK mode Small Medium Large Extra-large ACOEFF 90h 90h 90h 90h BCOEFF ACh A3h 9Ah 91h 2.84375 5.6875 11.375 22.75 DCO_DEV max (kHz) SCOEFF Channel 2 Symbol Tracking Loop Coefficients Address: 35h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SCOEFF[7:0] Bit Name Reset SCOEFF[7:0] Function 00011100 This value is used to program the proportional and integral coefficients of the QPSK Symbol tracking loop. See Table 17 and Table 18. Table 17: QPSK System - BG/L/DK Standards (40% Roll-off) Extra-Small Small Medium Large Extra-Large Open Loop 1Eh 25h 24h 26h 2Ah 80h SCOEFF Table 18: QPSK System - I Standard (100% Roll-off) SCOEFF Extra-Small Small Medium Large Extra-Large 16h 1Dh 1Ch 23h 22h SRF Channel 2 Symbol Tracking Loop Frequency Address: 36h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SRF[7:0] 77/156 Register List Bit Name SRF[7:0] STV82x7 Reset 00000000 Function Displays in two’s complement format the frequency deviation between the incoming NICAM bitstream and the quartz clocks. The maximum error is ±250 ppm. CRF2 Channel 2 Baseband PLL Demodulator Offset Address: 37h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CRF2[7:0] Bit Name CRF2[7:0] Reset 00000000 Function Channel 2 Carrier Recovery Frequency. Displays the instantaneous frequency offset of the Channel 2 Baseband PLL CAROFFSET2 Channel 2 DCO Carrier Offset Compensation Address: 3Ah Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CAROFFSET2[7:0] (S) Bit Name Reset CAROFFSET2[7:0] 00000000 Function This value is used to correct the carrier frequency offset of the incoming IF signal. Automatic frequency control in FM mode can be implemented by registers DC_REMOVAL_L and DC_REMOVAL_R. A DCO frequency offset (in two’s complement format) is added to the pre-programming value by AUTOTSD in the CARFQ2 registers (corresponding to the standard IF carrier frequency). The programmable carrier offset ranges from -192 kHz to +190.5 kHz with a resolution of 1.5 kHz. For standard FM deviation, the value displayed by register DC_REMOVAL_R can be directly loaded in register CAROFFSET2 to exactly compensate the carrier offset on Channel 2. 12.7 NICAM Registers NICAM_CTRL NICAM Decoder Control Register Address: 3Dh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 DIF_POL ECT MAE 78/156 STV82x7 Register List Bit Name Reset Function Bits[7:3] 00000 Reserved. DIF_POL 0 0: No polarity inversion (Default) 1: Polarity inversion of the differential decoding ECT 0 Error Counter Timer: Defines the NICAM error measurement period 0: 128 ms (Default) 1: 64 ms MAE 0 Max. Allowed Errors. Defines the NICAM error decoding for mute function. 0: 511 Max (Default) 1: 255 Max NICAM_BER NICAM Bit Error Rate Register Address: 3Eh Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 1 Bit 0 ERROR[7:0] Bit Name ERROR[7:0] Reset 00000000 Function NICAM Error Counter Value NICAM_STAT NICAM Detection Status Register Address: 3Fh Type: R Bit 7 Bit 6 Bit 5 NIC_DET F_MUTE LOA Bit Name NIC_DET Bit 4 Bit 3 Reset 0 Bit 2 CBI[3:0] NIC_MUTE Function NICAM Signal Detect 0: NICAM signal no detected 1: NICAM signal detected F_MUTE 0 Frame Mute 0: No mute 1: Mute due to Superframe Alignment Loss LOA 0 Loss of Frame Alignment Word (FAW) 0: No Alignment Lost 1: Frame Alignment Word Lost CBI[3:0] 0000 Indicates the received NICAM control bits NIC_MUTE 0 Indicates the NICAM decoder mute 79/156 Register List 12.8 STV82x7 Stereo Mode ZWT_CTRL Zweiton Detector Control Register Address: 40h Type: R/W Bit 7 LRST_TONE_OFF Bit Name Bit 6 Bit 5 Bit 4 STD_MODE Bit 3 0 Bit 1 THRESH[3:0] Reset LRST_TONE_OFF Bit 2 Bit 0 TSCTRL[1:0] Function Control of the reset of the tone detector 0: Periodical reset of tone detection enabled 1: Periodical reset of tone detection disabled STD_MODE_C THRESH[3:0] 0 1100 0: German standard (Default) 1: Korean standard Defines the threshold of the detector for pilot and tone frequencies. Level (% of the mid scale) 0000 0001 0010 0011 0100 0101 0110 0111 TSCTRL[1:0] 00 Level (% of the mid scale) 0 6.25 12.5 18.75 25 31.25 37.5 43.75 1000 1001 1010 1011 1100 (Default) 1101 1110 1111 50 56.25 62.5 68.75 75 81.25 87.5 93.75 Defines both the detection time and the error probability (reliability of the detection). Sample Accumulation Decision Count Time (ms) Error Probability 00 1024 2 256 10-4 01 (Default) 1024 3 384 10-6 10 2048 2 512 10-7 11 2048 3 768 10-9 ZWT_TIME Zweiton Detector Timing Register Address: 41h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 0 0 0 Bit Name Bit [7:3] 80/156 Reset 00000 Bit 2 ZWT_TIME[2:0] Function Reserved. Bit 1 Bit 0 STV82x7 Bit Name Register List Reset ZWT_TIME[2:0] 100 Function Defines the period (duration) of the reset tone used for tone detection system reset. 000: 256 ms 001: 512 ms 010: 768 ms 011: 1024 ms ZWT_STAT 100: 1280 ms 101: 1536 ms 110: 1792 ms 111: 2040 ms Zweiton Status Register Address: 42h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LRST_TONE_ OFF 0 0 0 ZW_STAT_ RDY ZW_DET ZW_ST ZW_DM Bit Name Reset LRST_TONE_OFF 0 Function Indicates the status of the control bit programmed in the reg ZWT-CTRL 0: Periodical reset of tone detection enabled 1: Periodical reset of tone detection disabled Bits[6:4] 000 Reserved. ZW_STAT_RDY 0 Periodic flag indicating when the tone detection flags are updated and ready to be read ZW_DET 0 Pilot Detection Flag ZW_ST 0 Stereo Tone Detection Flag ZW_DM 0 Dual Mono Tone Detection Flag 12.9 Analog Control ADC_CTRL Address: 56h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 ADC_POWER _UP I2S_DATA0_CTRL[1:0] Bit Name I2S_DATA0_CTRL[1:0] Bits[7:4] Reset 00 0000 Bit 2 Bit 1 Bit 0 ADC_INPUT_SEL[2:0] Function 00 01 10 11 = SCART = L, R = HP or Srnd = C/Sub Reserved. 81/156 Register List STV82x7 Bit Name Reset ADC_POWER_UP 1 Function Control of the power up of the Audio ADC 0: ADC in power down mode 1: Wake up of the ADC ADC_INPUT_SEL [2:0] 000 Selection of the ADC input signal 000: SCART 1 (Default) 001: SCART 2 010: SCART 3 011: SCART 4 100: Mono input Other: reserved SCART1_2_OUTPUT_CTRL Address: 57h Type: R/W Bit 7 Bit 6 SC2_MUTE Bit 5 Bit 4 SC2_OUTPUT_SEL[2:0] Bit Name Bit 3 SC1_MUTE Reset SC2_MUTE 1 Bit 2 Bit 1 Bit 0 SC1_OUTPUT_SEL[2:0] Function Mute command for the output SCART 2 0: output not muted 1: output muted 010 Selection of the output SCART 2 configuration: 000: DSP 001: Mono input 010: Input SCART 1 (Default) 011: Input SCART 2 SC2_OUTPUT_SEL[2:0] 1 SC1_MUTE 100: Input SCART 3 101: Input SCART 4 Other: Reserved Mute command for the output scart 1 0: output not muted 1: output muted SC1_OUTPUT_SEL[2:0] 000 Selection of the output SCART 1 configuration: 000: DSP (Default) 001: Mono input 010: Input SCART 1 011: Input SCART 2 100: Input SCART 3 101: Input SCART 4 Other: Reserved SCART3_OUTPUT_CTRL Address: 58h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 0 0 SC3_MUTE 82/156 Bit 2 Bit 1 SC3_OUTPUT_SEL[2:0] Bit 0 STV82x7 Register List Bit Name Reset Bits[7:4] 0000 1 Function Reserved. Mute command for the output SCART 3 SC3_MUTE 0: output not muted 1: output muted SC3_OUTPUT_SEL[2:0] 011 Selection of the output SCART 3 configuration: 000: DSP 001: Mono input 010: Input SCART 1 011: Input SCART 2 (Default) 100: Input SCART 3 101: Input SCART 4 Other: Reserved 12.10 Clocking 2 FS2_DIV FS2 I/O Divider Programming Register Address: 5Ah Type: R/W Bit 7 Bit 6 0 0 Bit Name Bit 5 Bit 4 Bit 3 Bit 2 NDIV2[1:0] Bit 1 Bit 0 SDIV2[2:0] Reset Function Bit [7:6] 0 Reserved. NDIV2[1:0] 01 FS2 Input clock divider selection Bit 4 0 Reserved. SDIV2[2:0] 001 FS2 Output clock divider selection FS2_MD FS2 Coarse Selection Register Address: 5Bh Type: R/W Bit 7 Bit 6 Bit 5 0 0 0 Bit Name Reset Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 MD2[4:0] Function Bits[7:5] 000 Reserved. MD2[4:0] 10000 FS2 Coarse Selection 83/156 Register List STV82x7 FS2_PE_H FS2 Fine Selection Register (MSBs) Address: 5Ch Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PE_H2[7:0] Bit Name PE_H2[7:0] Reset 0101 1100 Function FS2 Fine Selection (MSBs) FS2_PE_L FS2 Fine Selection Register (LSBs) Address: 5Dh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 1 Bit 0 PE_L2[7:0] Bit Name PE_L2[7:0] Reset 0010 1001 Function FS2 Fine Selection (LSBs) 12.11 DSP Control HOST_CMD DSP Hardware Control Register Address: 80h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 IT_IN_DSP 0 0 0 0 HW_RESET Bit Name IT_IN_DSP Bits[6:3] Reset 0 0000 Function Valid I2C table. Reserved. HW_RESET 0 DSP Hardware run when set, see Figure 31 Bits[1:0] 00 Reserved. 84/156 STV82x7 Register List IRQ_STATUS IRQ Status Register Address: 81h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 IRQ7 IRQ6 IRQ5 IRQ4 IRQ3 IRQ2 IRQ1 IRQ0 Bit Name Reset Bits[7:4] 0000 Function Reserved. IRQ3 0 Unmute HP/Srnd DAC IRQ IRQ2 0 HP connection/deconnection IRQ IRQ1 0 I2S lock lost IRQ IRQ0 0 Auto-Standard IRQ SOFT_VERSION Embedded Software Version Register Address: 82h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SOFT_VERSION[7:0] Bit Name Reset SOFT_VERSION[7:0] 0000 0002 Function Version of the Embedded software. ONCHIP_ALGOS Address: 83h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 PRO_LOGIC_ SELECT NICAM I2S_INPUT TRUBASS TRU SURROUND Bit Name Bit 7 PRO_LOGIC_SELECT NICAM Reset Bit 1 Bit 0 PRO_LOGIC MULTICHANNEL Function 0 Reserved. 0 0: Dolby Pro Logic I 1: Dolby Pro Logic II 0 NICAM Demodulator is present when set. 85/156 Register List STV82x7 Bit Name Reset I2S_INPUT Function 0 0: 1 I2S input 1: 3 I2S inputs DIALOG_CLARITY 0 SRS Dialog Clarity algorithm is present when set. TRUBASS 0 SRS Trubass algorithm is present when set. TRUSURROUND 0 SRS Trusurround algorithm is present when set. PRO_LOGIC 0 Dolby Pro Logic algorithm is present when set. MULTICHANNEL 0 Multichannels output is present when set. DSP_STATUS DSP Status Register Address: 84h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 0 INIT_MEM Bit Name Bits[7:1] Reset Function 0000000 Reserved. INIT_MEM DSP Initialization 0 0: DSP is not initialized. 1: DSP is initialized. DSP_RUN Address: 85h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 HOST_ NO_INIT HOST_RUN Bit Name Reset Function Bits[7:6] 00 Reserved Bits[5:4] 00 Reserved Bits[3:2] 00 Reserved HOST_ NO_INIT 0 0: I2C register table is initialized when we soft reset 1: I2C register table is not initialized when we soft reset HOST_RUN 0 0: soft reset DSP 1: start DSP processing 86/156 STV82x7 Register List I2S_IN_CONFIG I²S Configuration Register Address: 86h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LOCK_MODE _EN 0 SYNC LRCLK_START LRCLK_ POLARITY SCLK_ POLARITY DATA_CFG I2S_MODE Bit 1 Bit 0 Bit Name LOCK_MODE_EN Reset Function 1 0: Disable Lock Mode for external I2S input 1: Enable Lock Mode for external I2S input Bit 6 0 Reserved. SYNC 0 I2S synchronisation: LRCLK_START LRCLK_POLARITY SCLK_POLARITY DATA_CFG I2S_MODE 0: Capture directly 1: Wait for synchro according to LRCLK POLARITY, first data take: 0 0: Left 1: Right 0 Polarity of the left data 1 0: Falling edge 1: Rising edge 1 0: LSB First 1: MSB First 0 0: Non standard mode 1: Standard mode (Refer to Figure 29) AV_DELAY Audio/Video Delay Register Address: 89h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 DELAY_TIME Bit Name Reset DELAY_TIME DELAY_ON Function Audio Delay Time (see Table 19) 0000000: 0 ms 0000000 ... 0111100: 60 ms (48 kHz) ... 1011010: 90 ms (32 kHz) DELAY_ON 0 Audio/video delay is enabled when set. 87/156 Register List Note: STV82x7 AV_DELAY acts on both LS and HP paths simultaneously (same delay) Table 19: Audio/Video Delay (LipSync) Configuration Register Value PCM_SRND _DELAY(ABh) AV_DELAY(89h) Input source DELAY_TIME[6:0] Output PCM_CENTER _DELAY(ACh) LS_R LS_L HP_L/R Scart_L Scart_R CENTER DELAY Source Source Source Source Source Source Source Source Source Source SNRD_DELAY[4:0] _DELAY[3:0] _ON SIF Scart SIF Scart SIF Scart SIF Scart SIF Scart SIF or Scart (32Khz) 10110100 10110100 10110100 10110100 90 90 90 90 1 1 1 1 xxx00000 xxx00000 xxx11110 xxx11110 0 0 30 30 xxxx0000 0 xxxx1010 10 xxxx0000 0 xxxx1010 10 90 60 60 60 90 60 60 60 90 60 60 60 90 60 60 60 90 60 60 60 90 60 60 60 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Scart only (48Khz) 01111000 01111000 01111000 01111000 60 60 60 60 1 1 1 1 xxx00000 xxx00000 xxx11110 xxx11110 0 0 30 30 xxxx0000 0 xxxx1010 10 xxxx0000 0 xxxx1010 10 - 60 30 30 30 - 60 30 30 30 - 60 30 30 30 - 0 0 0 0 - 0 0 0 0 Note: All audio delay values are in milliseconds. 12.12 Automatic Standard Recognition AUTOSTD_CTRL Automatic Standard Recognition Control Register Address: 8Ah Type: R/W Bit 7 Bit 6 Bit 5 0 0 0 Bit Name Bits[7:5] Bit 4 Bit 3 FORCE_SQUE SINGLE_SHOT LCH Reset 000 FORCE_SQUELCH Bit 2 Bit 1 DK_DEV[1:0] Bit 0 LDK_SW Function Reserved. Allow to force squelch detection 0 0: FM squelch is taken into consideration for MONO detection 1: FM squelch is not taken into consideration for MONO detection SINGLE_SHOT Single Shot Mode Selection 0 0: Single Shot mode is not selected 1: Single Shot mode is selected1 DK_DEV[1:0] Selects FM deviation configuration to take into account of overmodulation in DK_NICAM standard. 00 LDK_SW 10: FM 350 kHz 11: FM 500 kHz Makes exclusive the auto search of DK/K1/K2/K3 and L/L’ standard 1 88/156 00: FM 50 kHz (Default) 01: FM 200 kHz 0: DK/K1/K2/K3 standard auto-search / L/L’ disabled 1: L/L’ standard auto-search DK/K1/K2/K3 disabled STV82x7 Register List 1. Single_Shot mode can be used before disabling the Automatic Standard Recognition (Autostandard) to pre-program demodulator registers in a defined standard and reduce I²C programming in Manual mode Note: Only standard deviation FM 50K kHz is compatible with other D/K1/K2/K3 standards in Automatic Standard Recognition Search mode. FM deviation superior to 350 kHz will degrade strongly NICAM reception due to overlapping of FM and QPSK IF spectrum in DK-NICAM standard. L/L’ and DK/K1/K2/K3 standard cannot be discriminated in Automatic Standard Recognition Search mode because the same frequency is used for the mono IF carrier. AUTOSTD_STANDARD_DETECT Auto Standard Check Standard Register Address: 8Bh Type: R/W Bit 7 Bit 6 Bit 5 NICAM_C4_O NICAM_GAP_ NICAM_MON FF MODE O_IN 0 Bit Name NICAM_C4_OFF NICAM_GAP_MODE NICAM_MONO_IN Bit 3 Bit 2 Bit 1 Bit 0 LDK_SCK I_SCK BG_SCK MN_SCK Reset Function 0 0: Autostandard will consider the C4 bit for MONO backup 1: Autostandard will ignore the C4 bit for MONO backup 1 0: NICAM, fast search 1: NICAM, slow search (no perturbations on LEFT channel in search mode) 0 0: the MONO backup for NICAM comes from internal demodulator 1: the MONO backup for NICAM comes from MONO input LDK_SCK L/L’ or D/K Mono Standard Enable 1 I_SCK 0: Disabled 1: Enabled I Mono Standard Enable 1 BG_SCK 0: Disabled 1: Enabled B/G Mono Standard Enable 1 MN_SCK 0: Disabled 1: Enabled M/N Mono Standard Enable 1 Note: Bit 4 0: Disabled 1: Enabled Autostandard is off when all mono standards are disabled (LDK_SCK = 0, I_SCK = 0, BG_SCK = 0 and MN_SCK = 0). 89/156 Register List STV82x7 AUTOSTD_STEREO_DETECT Auto Standard Check Stereo Register Address: 8Ch Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LDK_ZWT3 LDK_ZWT2 LDK_ZWT1 LDK_NIC I_NIC BG_ZWT BG_NIC MN_ZWT Bit Name Reset LDK_ZWT3 Function D/K3 Zweiton (A2*) Stereo Standard Enable 0 LDK_ZWT2 0: Disabled 1: Enabled D/K2 Zweiton (A2*) Stereo Standard Enable 0 LDK_ZWT1 0: Disabled 1: Enabled D/K1 Zweiton (A2*) Stereo Standard Enable 0 LDK_NIC 0: Disabled 1: Enabled D/K NICAM Stereo Standard Enable 1 I_NIC 0: Disabled 1: Enabled I NICAM Stereo Standard Enable 1 BG_ZWT 0: Disabled 1: Enabled B/G Zweiton (A2) Standard Enable 1 BG_NIC 0: Disabled 1: Enabled B/G NICAM Standard Enable 1 MN_ZWT M/N Zweiton (A2+) Standard Enable 1 Note: 0: Disabled 1: Enabled 0: Disabled 1: Enabled Stereo standard covers all transmission modes (stereo or multi-language) of the NICAM or Zweiton (A2, A2* or A2+) system. AUTOSTD_TIMERS Detection Time Out Register Address: 8Dh Type: R/W Bit 7 Bit 6 FM_TIME[1:0] 90/156 Bit 5 Bit 4 NICAM_TIME[2:0] Bit 3 Bit 2 Bit 1 ZWEITON_TIME[2:0] Bit 0 STV82x7 Register List Bit Name Reset FM_TIME[1:0] FM/AM Detection Time-out 10 NICAM_TIME[2:0] 00 : 16 ms 01: 32 ms 10: 48 ms (Default) 11: 64 ms NICAM Detection Time-out 100 ZWEITON_TIME[2:0] 000: 96 ms 001: 128 ms 010: 160 ms 011: 192 ms 100: 224 ms (Default) 101: 256 ms 110: 288 ms 111: 320 ms Zweiton Detection Time-out 100 Note: Function 000: forbidens 001: 512 ms 010: 768 ms 011: 1024 ms 100: 1280 ms (Default) 101: 1536 ms 110: 1792 ms 111: 2040 ms The time-out default value is optimum and does not normally need to be changed. AUTOSTD_STATUS Detection Standard Status Register Address: 8Eh Type: R Bit 7 Bit 6 Bit 5 Bit 4 STEREO_ID STEREO_OK MONO_OK AUTOSTD_ON Bit Name Reset STEREO_ID Bit 3 Bit 2 STEREO_SID[1:0] Bit 1 Bit 0 MONO_SID[1:0] Function Stereo Mode Detection flag activated when all of the following conditions are true: 0 AUTOSTD_ON 1. Stereo standard coming from the demodulator is selected on the Loudspeakers output 2. Stereo transmission modes are: - Zweiton Stereo Carrier AND Stereo Modulation (indifferently German or Korean standard) - NICAM stereo with backup (CBI = 1000) - NICAM stereo with no backup (CBI = 0000) 3. Stereo is selected for loudspeaker ouput (bit LS_LANGUAGE[1:0]) Automatic Standard Recognition System Status 0 0: Automatic Standard Recognition System is OFF 1: Automatic Standard Recognition System is ON STEREO_SID[1:0] 00 MONO_SID[1:0] 00 STEREO_OK 0 STEREO STANDARD DETECTED MONO_OK 0 MONO STANDARD DETECTED Identification of the detected TV sound standard. See Table 20. 91/156 Register List STV82x7 Table 20: TV Sound Standards Mono Sound (MHz) MONO_SID [1:0] LDK_SW DK_DEV [1:0] Stereo Sound (MHz) STEREO_SID [1:0] M/N 4.5 (FM 27k) 00 X XX 4.724 (Zweiton A2+) 00 X XX 5.85 (NICAM 40%) 00 B/G 5.5 (FM 50k) 01 X XX 5.742 (Zweiton A2) 01 X XX 6.552 (NICAM 100%) 00 1 XX 5.85 (NICAM 40%) 00 5.85 (NICAM 40%) 00 System I 6.0 (FM 50k) L 6.5 (AM) 10 6.5 (FM 50k) 00 6.5 (FM 200k) 01 D/K 0 6.5 (FM 350k) 10 6.5 (FM 500k) D/K1/K2/ K3 Note: 11 11 0 XX 5.85 (NICAM 40%) 00 0 XX 6.258 (Zweiton A2*) 01 0 XX 6.742 (Zweiton A2*) 10 0 XX 5.742 (Zweiton A2*) 11 6.5 (FM 50k) X means don’t care. 12.13 Audio Preprocessing and Selection Registers DC_REMOVAL_INPUT DC Removal Register Address: 90h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 DC_SCART DC_NICAM DC_DEMOD Bit Name Bits[7:3] DC_SCART DC_NICAM DC_DEMOD 92/156 Reset 00000 1 1 1 Function Reserved. 0: SCART input, DC removal inactive 1: SCART input, DC removal active 0: NICAM input, DC removal inactive 1: NICAM input, DC removal active 0: FM input, DC removal inactive 1: FM input, DC removal active STV82x7 Register List DC_REMOVAL_L FM DC Offset Left Registerl Address: 91h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DC_REMOVAL_L[7:0] Bit Name Reset Function DC_REMOVAL_L[7:0] Displays (in two’s complement format) the FM (or AM) DC offset level after demodulation on channel 1 (and removed automatically). 0000 0000 In FM mode, the DC offset value gives a direct value of the carrier frequency offset which is used to compensate the DCO with the CAROFFSET1 value in the event of an out-of-standard offset. The range and the resolution depend upon the FM bandwidth programmed defined in register BCOEFF1. See Table 21. DC_REMOVAL_R FM DC Offset Right Register Address: 92h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DC_REMOVAL_R[7:0] Bit Name Reset Function DC_REMOVAL_R[7:0] Displays (in two’s complement format) the FM (or AM) DC offset level after demodulation on channel 2 (and removed automatically). 0000 0000 In FM mode, the DC offset value gives a direct value of the carrier frequency offset which is used to compensate the DCO with the CAROFFSET2 value in the event of an out-ofstandard offset. The range and the resolution depend upon the FM bandwidth programmed defined in register BCOEFF2. See Table 21. Table 21: DC_REMOVAL_L/R Range and Resolution FM mode Range (kHz) Resolution (kHz) Small ± 96 0.750 Standard & A2 Standard ± 192 1.5 Medium ± 384 3 Large ± 768 6 93/156 Register List STV82x7 PRESCALE_SELECT AM/FM Prescaling Select Register Address: 93h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 0 AM_FM_ SELECT Bit 2 Bit 1 Bit 0 Bit Name Reset Function Bits[7:1] 0000000 Reserved. AM_FM_SELECT 0 0: FM prescale is applied to demodulator channels 1: AM prescale is applied to demodulator channels PRESCALE_AM AM Prescaling Register Address: 94h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 Bit 3 PRESCALE_AM Bit Name Reset Function Bit 7 0 Reserved. PRESCALE_AM[6:0] 0000000 -12 to + 24 dB AM prescaling to normalize the AM demodulated signal level before audio processing. Auto level control can be implemented by I2C software using the Peak Level Detector. (Default value = 0 dB) 0110000 0101111 0101110 0101101 0101100 PRESCALE_FM G (dB) +24 +23.5 +23 +22.5 +22 etc. 1101100 1101011 1101010 1101001 1101000 G (dB) -10 -10.5 -11 -11.5 -12 FM Prescaling Register Address: 95h Type: R/W Bit 7 0 94/156 Bit 6 Bit 5 Bit 4 Bit 3 PRESCALE_FM Bit 2 Bit 1 Bit 0 STV82x7 Register List Bit Name Bit 7 Reset 0 Function Reserved. PRESCALE_FM[6:0] 0001100 -12 to + 24 dB FM prescaling to normalize the FM demodulated signal level before audio processing. Auto level control can be implemented by I2C software using the Peak Level Detector. (Default value = +6 dB) 0110000 0101111 0101110 0101101 0101100 PRESCALE_NICAM G (dB) +24 +23.5 +23 +22.5 +22 etc. G (dB) -10 -10.5 -11 -11.5 -12 1101100 1101011 1101010 1101001 1101000 NICAM Prescaling Register Address: 96h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 Bit 3 Bit 2 Bit 1 Bit 0 PRESCALE_NICAM Bit Name Reset Bit 7 0 PRESCALE_NICAM[6:0] 011010 Function Reserved. -6 to + 24 dB NICAM prescaling to normalize the NICAM demodulated signal level before audio processing. Auto level control can be implemented by I2C software using the Peak Level Detector. (Default value = +13 dB) 0110000 0101111 0101110 0101101 0101100 PRESCALE_SCART G (dB) +24 +23.5 +23 +22.5 +22 etc. 1111000 1110111 1110110 1110101 1110100 G (dB) -4 -4.5 -5 -5.5 -6 SCART Prescaling Register Address: 97h Type: R/W Bit 7 Bit 6 0 0 Bit Name Bit [7:6] Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PRESCALE_SCART Reset 00 Function Reserved. 95/156 Register List STV82x7 Bit Name Reset PRESCALE_ SCART[5:0] Function 0000000 -12 to + 12 dB SCART prescaling to normalize the SCART signal level before audio processing. Auto level control can be implemented by I2C software using the Peak Level Detector. (Default value = 0 dB) 011000 010111 010110 010101 010100 PRESCALE_I2S_0 G (dB) +12 +11.5 +11 +10.5 +10 etc. 101100 101011 101010 101001 101000 G (dB) -10 -10.5 -11 -11.5 -12 I2S_0 Prescaling Register Address: 98h Type: R/W Bit 7 Bit 6 0 0 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PRESCALE_I2S_0[5:0] Bit Name Reset Function Bits [7:6] 00 Reserved. PRESCALE_I2S_0[5:0] 000000 -12 to + 12 dB I2S_0 prescaling to normalize the I2S_0 signal level before audio processing. Auto level control can be implemented by I2C software using the Peak Level Detector. (Default value = 0 dB) 011000 010111 010110 010101 010100 PRESCALE_I2S_1 G (dB) +12 +11.5 +11 +10.5 +10 etc. 101100 101011 101010 101001 101000 G (dB) -10 -10.5 -11 -11.5 -12 I2S_1 Prescaling Register Address: 99h Type: R/W Bit 7 Bit 6 0 0 Bit Name Bits [7:6] 96/156 Bit 5 Bit 4 Bit 3 Bit 2 PRESCALE_I2S_1[5:0] Reset 00 Function Reserved. Bit 1 Bit 0 STV82x7 Register List Bit Name Reset PRESCALE_I2S_1[5:0] 000000 Function -12 to + 12 dB I2S_1 prescaling to normalize the I2S_1 signal level before audio processing. Auto level control can be implemented by I2C software using the Peak Level Detector. (Default value = 0 dB) 011000 010111 010110 010101 010100 PRESCALE_I2S_2 G (dB) +12 +11.5 +11 +10.5 +10 etc. G (dB) -10 -10.5 -11 -11.5 -12 101100 101011 101010 101001 101000 I2S_2 Prescaling Register Address: 9Ah Type: R/W Bit 7 Bit 6 0 0 Bit Name Bit 5 Bit 4 Bit 3 Bit 1 Bit 0 PRESCALE_I2S_2[5:0] Reset Bits [7:6] Bit 2 00 Function Reserved. PRESCALE_I2S_2[5:0] 000000 -12 to + 12 dB I2S_2 prescaling to normalize the I2S_2 signal level before audio processing. Auto level control can be implemented by I2C software using the Peak Level Detector. (Default value = 0 dB) 011000 010111 010110 010101 010100 DEEMPHASIS_DEMATRIX G (dB) +12 +11.5 +11 +10.5 +10 etc. G (dB) -10 -10.5 -11 -11.5 -12 101100 101011 101010 101001 101000 Deemphasis-Dematrix Register Address: 9Bh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 0 NICAM_ DEMATRIX NICAM_ DEEMPH_BY PASS Bit Name Bits [7:6] Reset 00 Bit 3 Bit 2 FM_DEMATRIX Bit 1 Bit 0 FM_DEEMPH _BYPASS FM_DEEMPH _SW Function Reserved. 97/156 Register List STV82x7 Bit Name Reset NICAM_DEMATRIX 0 Function Dematrixing for NICAM demodulator input: 00: L=ch0, R=ch1 01: L=ch1, R=ch0 NICAM_DEEMPH_ 0 BYPASS 0: NICAM deemphasis is not bypassed. 1: NICAM deepmhasis is bypassed. FM_DEMATRIX[3:2] 00 Dematrixing for FM demodulator input: 00: L=ch0, R=ch1 01: L=ch0+ch1, R=ch0-ch1 10: L=2ch0-ch1, R=ch1 11: L=(ch0+ch1)/2, R=(ch0-ch1)/2 FM_DEEMPH_ BYPASS 0 0: FM deemphasis is not bypassed. 1: FM deepmhasis is bypassed. FM_DEEMPH_SW 0 0: 50 µs FM deemphasis.| 1: 75 µs FM deepmhasis. PEAK_DET_INPUT Peak Detector Input source Register Address: 9Dh Type: R Bit 7 Bit 6 PEAK_LOCATION 0 Bit Name Bit 5 Bit 4 Bit 3 Bit 2 PEAK_L_R_RANGE Reset Bit 1 Bit 0 PEAK_DET_INPUT[1:0] Function PEAK_LOCATION 0 Peak detector location : 0: Peak detector placed between FM/NICAM Dematrix and Audio Matrix or between I²S Prescale and DownMix 1: Peak detector placed before DC removal (For input saturation detection) Bit 6 0 Reserved. PEAK_L_R_RANGE 0000 Peak L-R range. 0000 : 0 dBFS to -42 dBFS 0001 : -6 dBFS to -48 dBFS 0010 : -12 dBFS to -54 dBFS 0011 : -18 dBFS to -60 dBFS ... PEAK_DET_INPUT[1:0] 00 Peak Level Detector Source Selection 00: AM/FM or I2S 0 01: NICAM or I2S 1 PEAK_DET_L 10: SCART or I2S 2 Peak Level Detector Status Register (L channel) Address: 9Eh Type: R Bit 7 OVERLOAD_L 98/156 Bit 6 Bit 5 Bit 4 Bit 3 PEAK_L[6:0] Bit 2 Bit 1 Bit 0 STV82x7 Register List Bit Name Reset Function OVERLOAD_L[7] 0 Memorise overload on the peak detection. This field can be reset. PEAK_L[6:0] 00000000 Displays the Absolute Peak Level of the audio source selected. The measured value is updated continuously every 64 ms. The range varies linearly from the full scale (0 dB) down to 1/ 256 of the full scale (-48 dB). In AM/FM Mono mode, only the PEAK_L[7:0] value must be taken into account. In FM Mono mode, the audio peak level range depends upon the programmed FM bandwidth. The unique difference is that the measurement is done after Sound pre-processing (DC offset removal, Prescaling, De-emphasis and Dematrixing). In FM Stereo mode, the maximum value may be used to check if the incoming signal level is correctly adjusted by the prescaling factor or if there are no FM overmodulation problems (clipping). Programmable values are listed in Table 21. PEAK_DET_R Peak Level Detector Status Register (R channel) Address: 9Fh Type: R Bit 7 Bit 6 Bit 5 Bit 4 OVERLOAD_R Bit 3 Bit 2 Bit 1 Bit 0 PEAK_R[6:0] Bit Name Reset Function OVERLOAD_R[7] 0 Memorise overload on the peak detection. This field can be reset. PEAK_R[7:0] 0000000 Displays the Absolute Peak Level of the audio source selected. The measured value is updated continuously every 64 ms. The range varies linearly from the full scale (0 dB) down to 1/256 of the full scale (-48 dB). For more information, refer to register PEAK_DET_L. PEAK_DET_L_R Peak Level Detector Status Register (L - R) Address: A0h Type: R Bit 7 Bit 6 OVERLOAD_L_R Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PEAK_L_R[6:0] Bit Name Reset OVERLOAD_L_R[7] 0 PEAK_L_R[7:0] Bit 5 0000000 Function Memorise overload on the peak detection. This field can be reset. Displays the Difference between L and R (L - R) channels for the audio source selected. For more information, refer to register PEAK_DET_L. 99/156 Register List STV82x7 12.14 Matrixing AUDIO_MATRIX_INPUT Audio Matrix Input Selection Register Address: A2h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 SCART_ INPUT_ SOURCE HP_INPUT_ SOURCE LS_INPUT_ SOURCE Bit 1 Bit 0 Bit Name Reset Function Bits [7:3] 00000 Reserved. SCART_INPUT_ SOURCE 0 Select input source for SCART output: HP_INPUT_ SOURCE 0 LS_INPUT_ SOURCE 0 0: Demod 1: SCART input Select input source for HP output: 0: Demod 1: SCART input Select input source for LS output: 0: Demod 1: SCART input AUDIO_MATRIX_CONFIG Address: A3h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 0 0 SCART_ MATRIX Bit Name Reset Bit 3 Bit 2 DEMOD_MATRIX[3:0] Function Bits [7:5] 000 Reserved. SCART_MATRIX 0 Indicates the SCART input signal matrixing (see Table 23) DEMOD_MATRIX [3:0] 0000 Indicates the demod input signal matrixing (see Table 22) 100/156 STV82x7 Register List Table 22: Demod Matrix Input Mode Language -> Stereo demod_mx L R Mono A Mono B Mono C L L L R R R Mono AM/FM with backup 0000 FM FM FM FM Mono AM/FM no backup 0001 - - - FM Zwt St Zwt Dual NICAM Mn, backup NICAM St, backup NICAM Mn, no backup FM_L FM_R (FM_L + FM_R)/2 (FM_L + FM_R)/2 (FM_L + FM_R)/2 0101 FM_M1 FM_M2 FM_M1 FM_M2 (FM_M1 + FM_M2)/2 NIC_M1 NIC_M1 FM Mono AM/FM with backup NIC_M1 1001 NIC_M1 NIC_M2 NIC_M1 NIC_M2 FM Mono AM/FM with backup 1010 NIC_L NIC_R (NIC_L + NIC_R)/2 (NIC_L + NIC_R)/2 FM Mono AM/FM with backup NIC_M1 NIC_M1 FM Mono AM/FM no backup 1100 NICAM Dual, no backup NICAM St, no backup Note: 0100 1000 NICAM Dual backup Backup mode NIC_M1 1101 NIC_M1 NIC_M2 NIC_M1 NIC_M2 FM Mono AM/FM no backup 1110 NIC_L NIC_R (NIC_L + NIC_R)/2 (NIC_L + NIC_R)/2 FM Mono AM/FM no backup Switching between Stereo and Forced Mono modes can be done using (FM_L + FM_R)/2 or (NIC_L + NIC_R)/2 configurations. Table 23: SCART Matrix Stereo Mono A Mono B Mono C SCART_MX Left Right Left Right Left Right Left Right 0 SCART_L SCART_R SCART_L SCART_R (SCART_L + SCART_R)/2 1 SCART_R SCART_L SCART_R SCART_L (SCART_L + SCART_R)/2 AUDIO_MATRIX_LANGUAGE Address: A4h Type: R/W Bit 7 Bit 6 MUTE_STEREO MUTE_ALL Bit 5 Bit 4 SCART_LANGUAGE[1:0] Bit 3 Bit 2 HP_LANGUAGE[1:0] Bit 1 Bit 0 LS_LANGUAGE[1:0] 101/156 Register List STV82x7 Bit Name Reset Function MUTE_STEREO 0 Mute outputs with stereo signal input MUTE_ALL 0 Mute all outputs SCART_ LANGUAGE[1:0] 00 Select language for SCART output HP_LANGUAGE[1:0] 00 Select language for HPoutput 00 Select language for LS output 00: stereo 01: mono A 10: mono B 11: mono C LS_LANGUAGE[1:0] DOWNMIX_IN_MODE Address: A6h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 0 0 LFE_IN Bit Name Reset Bit 2 MIX_IN_MODE[2:0] Function Bits[7:4] 0000 Reserved LFE_IN 0 0: LFE signal is not inputed throught Downmix Block 1: LFE signal is inputed throught Downmix Block MIX_IN_MODE[2:0] 010 Bit 1 see Table 24 Table 24: DownMix IN modes 102/156 Parameter Coding (Decimal Format) Parameter Field Lebel 0 MODE11 Mode not used in STV82x7 1 MODE10 1/0 (C) 2 MODE20 2/0 (L,R) 3 MODE30 3/0 (L,R,C) 4 MODE21 2/1 (L,R,S) 5 MODE31 3/1 (L,R,C,S) 6 MODE22 2/2 (L,R,Ls,Rs) 7 MODE32 3/2 (L,R,C,Ls,Rs) Function Bit 0 STV82x7 Register List DOWNMIX_OUT_MODE Address:A7h Type: R/W Bit 7 Bit 6 0 Bit 5 Bit 4 HP_MODE[1:0] Bit Name Bit 3 SCART_MODE[1:0] Reset Bit 1 Bit 0 LS_OUT_MODE[2:0] Function Bit 7 0 Reserved. HP_MODE[1:0] 10 see Table 25 SCART_MODE[1:0] 01 see Table 25 LS_OUT_MODE [2:0] 010 Bit 2 see Table 26 Table 25: DownMix SCART/HP modes Parameter Coding (Decimal Format) Parameter Field Label Function 0 MIX_VCR_OFF Switch off the VCR table setup 1 MIX_VCR_PROLOGIC VCR table setup for Tape outputs (for later decoding by a Dolby Prologic decoder - Lt,Rt) 2 MIX_VCR_STEREO VCR table setup for Stereo and headphone listening (Lo,Ro) 3 MIX_COSTOM reserved Table 26: DownMix LS OUT modes Parameter Coding (Decimal Format) Parameter Field Label 0 MODE20t 2/0 Dolby Surround (Lt,Rt) 1 MODE10 1/0 (C) 2 MODE20 2/0 (L,R) 3 MODE30 3/0 (L,R,C) 4 MODE21 2/1 (L,R,S) 5 MODE31 3/1 (L,R,C,S) 6 MODE22 2/2 (L,R,Ls,Rs) 7 MODE32 3/2 (L,R,C,Ls,Rs) Function 103/156 Register List STV82x7 DOWNMIX_DUAL_MODE Address: A8h Type: R/W Bit 7 Bit 6 Bit 5 0 DUAL_ON Bit 4 LS_DUAL_SELECT[1:0] Bit Name Bit 3 SCART_DUAL_SELECT[1:0] Reset 0 Reserved. DUAL_ON 0 0: Dual mode disable 1: Dual mode enable LS_DUAL_SELECT[1:0] 00 Dual Mono Mode on LS output 00: LS dual stereo 00: LS dual left mono 00 Bit 0 HP_DUAL_SELECT[1:0] 10: LS dual right mono 11: LS dual mixed Dual Mono Mode on SCART output 00: SCART dual stereo 01: SCART dual left mono HP_DUAL_SELECT[1:0] Bit 1 Function Bit 7 SCART_DUAL_SELECT[1:0] Bit 2 00 10: SCART dual right mono 11: SCART dual mixed Dual Mono Mode on HP output 00: HP dual stereo 01: HP dual left mono 10: HP dual right mono 11: HP dual mixed DOWNMIX_CONFIG Address: A9h Type: R/W Bit 7 Bit 6 0 0 Bit 5 Bit 4 SRND_FACTOR[1:0] Bit Name Bit 3 CENTER_FACTOR[1:0] Reset Function Bits[7:6] 00 SRND_FACTOR [1:0] 00 00: -3 dB 01: -4.5 dB 10: -6 dB 11: -6 dB CENTER_FACTOR [1:0] 00 00: -3 dB 01: -4.5 dB 10: -6 dB 11: -4.5 dB LR_UPMIX 0 0: Disable upmixing 1: Enable upmixing (DTS specified) NORMALIZE 1 0: Disable normalization 1: Enable normalization 104/156 Bit 2 Bit 1 Bit 0 LR_UPMIX NORMALIZE STV82x7 Register List 12.15 Audio Processing PRO_LOGIC2_CONTROL Address: AAh Type: R/W Bit 7 Bit 6 PL2_LFE Bit 5 Bit 4 Bit 3 Bit 2 PL2_OUTPUT_DOWNMIX[2:0] Bit Name PL2_MODES[2:0] Reset 0: Reset the LFE channel 1: Bypass the LFE channel 000 000: not applicable 001: not applicable 010: not applicable 011: 3/0 output mode (L,R,C) 100: 2/1 output mode (L,R,Ls - phantom) 101: 3/1 output mode (L,R,C,Ls) 110: 2/2 output mode (L,R,Ls,Rs - phantom) 111: 3/2 output mode (L,R,C,Ls,Rs) PL2_MODES[2:0] 000 000: Pro Logic 1 Emulation (forced if DPL version) 001: Virtual (DPL2 version only) 010: Music (DPL2 version only) 011: Movie (standard) (DPL2 version only) 100: Matrix (DPL2 version only) 101: Custom (DPL2 version only) 110: not applicable (DPL2 version only) 111: not applicable (DPL2 version only) PL2_ACTIVE 0 0: Dolby Prologic 2 is not active 1: Dolby Prologic 2 is active PL2_OUTPUT_ DOWNMIX[2:0] Bit 0 PL2_ACTIVE Function 0 PL2_LFE Bit 1 Table 27: Prologic II Decode Mode Configuration PL2 Mode Decode Mode Dimension Center Width AutoBalance Panorama Surround Coherence SUR Filtering 0 Pro Logic Emulation 3 0 1 0 0 2 1 Virtual 3 0 1 0 1 0 2 Music x x 0 x 1 1 3 Movie/ Standard 3 0 1 0 0 0 4 Matrix 3 0 0 0 1 1 5 Custom x x x x x x 105/156 Register List Note: STV82x7 (x = user defined parameter) PCM_SRND_DELAY Address: ABh Type: R/W Bit 7 Bit 6 Bit 5 0 0 0 Bit Name Bits[7:5] Bit 3 000 Bit 2 Bit 1 Bit 0 Bit 1 Bit 0 SNRD_DELAY[4:0] Reset SNRD_DELAY[4:0] 00000 Note: Bit 4 Function Reserved. Surround Channel Delay range: 0 to 30 (in ms) See Table 19 for audio/video delay configuration. PCM_CENTER_DELAY Address: ACh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 0 0 0 Bit Name Bits[7:4] 0000 Bit 2 CENTER_DELAY[3:0] Reset CENTER_DELAY[3:0] 0000 Note: Bit 3 Function Reserved. Center Channel Delay range: 0 to 10 (in ms) See Table 19 for audio/video delay configuration. PRO_LOGIC2_CONFIG Address: ADh Type: R/W Bit 7 Bit 6 Bit 5 PL2_LFE 0 0 106/156 Bit 4 Bit 3 PL2_SRND_FILTER[1:0] Bit 2 Bit 1 Bit 0 PL2_RS_ POLARITY PL2_ PANORAMA PL2_ AUTOBALANCE STV82x7 Register List Bit Name Reset Bits[7:6] 00 Function Reserved. PL2_SRND_FILTR[1:0] 00 00: 0: Off 01: 1: Shelf Filter (for music and matrix modes) 10: 2: 7 kHz LP 11: 3: not applicable PL2_RS_POLARITY 0 0: Rs polarity normal 1: Rs polarity inverted PL2_PANORAMA 0 0: Panorama Off 1: Panorama On PL2_AUTOBALANCE 0 0: Autobalance Off 1: Autobalance On See Table 27: Prologic II Decode Mode Configuration for programmation of these bits depending on the decode mode. PRO_LOGIC2_DIMENSION Address: AEh Type: R/W Bit 7 Bit 6 0 Bit 5 Bit 4 PL2_C_WIDTH Bit Name Bit 7 Reset Bit 2 0 Bit 1 Bit 0 PL2_DIMENSION Function 0 Reserved. PL2_C_WIDTH[2:0] 000 000: 0, No Spread = OFF 001: 20 010: 28 011: 36 Bit 3 0 Reserved. PL2_DIMENSION[2:0] 000 Bit 3 100: 54 101: 62 110: 69 111: 90, Phantom 000: -3, most surround 001: -2 010: -1 011: 0, neutral = OFF 100: 1 101: 2 110:3, most center 111: not applicable See Table 27: Prologic II Decode Mode Configuration for programmation of these bits depending on the decode mode. 107/156 Register List STV82x7 PRO_LOGIC2_LEVEL Address: AFh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PL2_LEVEL Bit Name Reset Function Input Gain attenuation: 0000 0000: 0 dB 00000000 0000 0001: -0.5 dB ... 1111 1111: -127.5 dB PL2_LEVEL[7:0] NOISE_GENERATOR Address: B0h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 10_DB_ ATTENUATE SRIGHT_ NOISE SLEFT_ NOISE SUB_ NOISE CENTER_ NOISE RIGHT_ NOISE LEFT_ NOISE NOISE_ON Bit 1 Bit 0 TRUSRND_ MODE TRUSRND_ ON Bit Name Reset Function 10_DB_ATTENUATE 0 0: noise is outputed with full range 1: noise is outputed with a 10 dB attenuation SRIGHT_NOISE 0 1: Generates noise on LS right surround output SLEFT_NOISE 0 1: Generates noise on LS left surround output SUB_NOISE 0 1: Generates noise on LS subwoofer output CENTER_NOISE 0 1: Generates noise on LS center output RIGHT_NOISE 0 1: Generates noise on LS right output LEFT_NOISE 0 1: Generates noise on LS left output NOISE_ON 0 0: Noise Generation not active 1: Noise Generation is active TRUSRND_CONTROL Address: B1h Type: R/W Bit 7 Bit 6 0 TRUSRND_ MONO_SRND 108/156 Bit 5 Bit 4 Bit 3 TRUSRND_INPUT_ MODE[3:0] Bit 2 STV82x7 Register List Bit Name Bit 7 Reset 0 Function Reserved. TRUSRND_MONO 0 _SRND 0: Left mono Srnd mode 1: Right mono Srnd mode TRUSRND_ INPUT_ MODE[3:0] 0000 0000: Mono 0001: L/R stereo (SRS mode) 0010: L/R/S (SRS mode, Prologic 1 Process) 0011: L/R/Ls/Rs (SRS mode) 0100: L/R/C (TruSurround mode) 0101: L/R/C/S (TruSurround mode, Prologic 1 Process) 0110: L/R/C/Ls/Rs (TruSurround mode) 0111: Lt/Rt (TruSurround mode) 1000: L/R/C/Ls/Rs (SRS mode, BS Digital Broadcast) 1001: L/R/C/Ls/Rs (TruSurround, Prologic 2 Music mode) 0 0: TruSurround mode 1: Bypass mode 0 0: TruSurround OFF 1: TruSurround ON TRUSRND_MODE TRUSRND_ON Note: How to useTruSurround XT: - Implementation of TruSurround XT is done by setting the TRUSRND_ON bit to 1. - TruSurround XT mode must be selected by TRUSRND_ INPUT_ MODE[3:0] bits. - Activation or non-activation of TruSurround XT must be done by using the TRUSRND_MODE bit. TRUSRND_INPUT_GAIN Address: B6h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 2 Bit 1 Bit 0 TRUSRND_INPUT_GAIN[7:0] Bit Name Reset TRUSRND_INPUT_ 0000 GAIN[7:0] 0000 Function Input Gain attenuation: 0000 0000: 0 dB 0000 0001: -0.5 dB ... 1111 1111: -127.5 dB TRUSRND_HP_DCL Address: B7h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 0 0 0 DIALOG_ HEADPHONE CLARITY_ON _ON 0 109/156 Register List Bit Name Bits[7:2] STV82x7 Reset 00000 Function Reserved. DIALOG_ CLARITY_ON 0 0: Dialog Clarity OFF 1: Dialog Clarity ON HEADPHONE_ON 0 Activate HP mode in TruSurround XT: 0: HP mode OFF 1: HP mode ON Bit [0] 0 Reserved. TRUSRND_DC_ELEVATION Address: B8h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 2 Bit 1 Bit 0 TRUSRND_DC_ELEVATION[7:0] Bit Name TRUSRND_DC_ ELEVATION[7:0] Reset 0000 1100 Function Dialog Calrity Elevation: 0000 0000: 0 dB 0000 0001: -0.5 dB ... 1111 1111: -127.5 dB TRUBASS_LS_CONTROL Address: BAh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 0 0 0 Bit Name Bits[7:3] Reset TRUBASS_LS_ON 110/156 TRUBASS_ LS_ON TRUBASS_LS_SIZE[2:0] Function 00000 Reserved. 011 000: LF response 001: LF response 010: LF response 011: LF response 0 0: LS TruBass OFF 1: LS TruBass ON TRUBASS_LS_SIZE[2:0] Bit 3 at 40 Hz at 60 Hz at 100 Hz at 150 Hz 100: LF 101: LF 110: LF 111: LF response at 200 response at 250 response at 300 response at 400 Hz Hz Hz Hz STV82x7 Register List TRUBASS_LS_LEVEL Address: BBh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 1 Bit 0 TRUBASS_LS_LEVEL[7:0] Bit Name TRUBASS_LS_ LEVEL[7:0] Reset 0000 1001 Function Define the amount of SRS TruBass effect for LS outputs: 0000 0000: 0 dB 0000 0001: -0.5 dB ... 1111 1111: -127.5 dB TRUBASS_HP_CONTROL Address: BCh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 0 0 0 Bit Name Bits[7:3] TRUBASS_HP_ SIZE[2:0] TRUBASS_HP_ON Bit 3 Bit 2 TRUBASS_HP _ON TRUBASS_HP_SIZE[2:0] Reset Function 00000 Reserved. 011 000: LF response at 40 Hz 001: LF response at 60 Hz 010: LF response at 100 Hz 011: LF response at 150 Hz 0 0: HP TruBass OFF 1: HP TruBass ON 100: LF response at 200 Hz 101: LF response at 250 Hz 110: LF response at 300 Hz 111: LF response at 400 Hz TRUBASS_HP_LEVEL Address: BDh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TRUBASS_HP_LEVEL[7:0] 111/156 Register List Bit Name TRUBASS_HP_ LEVEL[7:0] STV82x7 Reset 0000 1001 Function Define the amount of SRS TruBass effect for HP outputs: 0000 0000: 0 dB 0000 0001: -0.5 dB ... 1111 1111: -127.5 dB SVC_LS_CONTROL Address: BEh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 0 0 0 Bit Name Bits[7:4] Bit 3 Bit 2 SVC_LS_INPUT[1:0] Reset 0000 SVC_LS_INPUT[1:0] Bit 1 Bit 0 SVC_LS_AMP SVC_LS_ON Bit 1 Bit 0 Function Reserved. Select input for peak detection in multichannel mode: 00 00: Left/Right 01: Center 10: Left/Right/Center SVC_LS_AMP 1 0: 0 dB amplification in auto-mode 1: +6 dB amplification in auto-mode SVC_LS_ON 0 0: Manual mode(simple prescaler) 1: Automatic mode SVC_LS_TIME_TH Address: BFh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 SVC_LS_TIME[2:0] Bit Name Reset SVC_LS_TIME[2:0] 112/156 Bit 2 SVC_LS_THRESHOLD[4:0] (S) Function Time constant for the amplification (6 dB gain step) in automatic mode: 100 SVC_LS_ THRESHOLD[4:0] Bit 3 11000 000: 30 ms 001: 200 ms 010: 500 ms 011: 1 s See Table 28 and Table 29. 100: 16 s 101: 32 s 110: 64 s 111: 128 s STV82x7 Register List Table 28: Gain (threshold field) values in Manual mode Manual Mode Gain (dB) Manual Mode Gain (dB) 00101 +15.5 11101 -8.5 00100 +12 11100 -12 00011 +9.5 11011 -14.5 00010 +6 11010 -18 00001 +3.5 11001 -20.5 00000 0 11000 -24 11111 -2.5 10111 -26.5 11110 -6 10110 -30 Table 29: Threshold values in Automatic mode Automatic Mode Threshold (dB) Automatic Mode Threshold (dB) 11111 -2.5 11010 -18 11110 -6 11001 -20.5 11101 -8.5 11000 -24 11100 -12 10111 -26.5 11011 -14.5 10110 -30 SVC_HP_CONTROL Address: C0h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 SVC_ LHP_AMP SVC_HP_ON Bit Name Bits[7:2] SVC_LHP_AMP SVC_HP_ON Reset Function 000000 Reserved. 1 0: 0 dB amplification in auto-mode 1: +6 dB amplification in auto-mode 0 0: Manual mode (simple prescaler) 1: Automatic mode 113/156 Register List STV82x7 SVC_HP_TIME_TH Address: C1h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 SVC_HP_TIME[2:0] Bit Name Bit 1 Bit 0 Function Time constant for the amplification (6 dB gain step) in automatic mode: 000: 30 ms 001: 200 ms 010: 500 ms 011: 1 s 11000 Bit 2 SVC_HP_THRESHOLD[4:0] (S) Reset SVC_HP_TIME[2:0] 100 SVC_HP_ THRESHOLD[4:0] Bit 3 100: 16 s 101: 32 s 110: 64 s 111: 128 s see Table 28 and Table 29 SVC_LS_GAIN Address: C2h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 Bit 3 Bit 2 Bit 1 Bit 0 Bit 2 Bit 1 Bit 0 SVC_LS_GAIN[6:0] Bit Name Reset Function Bit 7 0 Reserved. SVC_LS_GAIN[6:0] Set “make-up” gain applied at SVC LS output: 0000000: +0 dB 0000001: +0.5 dB 0000000 ... 0101110: +23 dB 0101111: +23.5 dB 0110000: +24 dB SVC_HP_GAIN Address: C3h Type: R/W Bit 7 Bit 6 Bit 5 0 114/156 Bit 3 SVC_HP_GAIN[6:0] Bit Name Bit 7 Bit 4 Reset 0 Function Reserved. STV82x7 Register List Bit Name SVC_HP_GAIN[6:0] Reset Function Set “make-up” gain applied at SVC HP output: 0000000: +0 dB 0000001: +0.5 dB 0000000 ... 0101110: +23 dB 0101111: +23.5 dB 0110000: +24 dB STSRND_CONTROL ST WideSurround Control Register Address: C4h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 STSRND_ STEREO STSRND_ MODE STSRND_ON Bit Name Bits[7:3] Reset 00000 STSRND_STEREO 0 Function Reserved. ST WideSurround Mode 0: ST WideSurround Sound in Mono mode (Default) 1: ST WideSurround Sound in Stereo mode STSRND_MODE 0 ST WideSurround Sound Stereo Mode 0: Movie Mode 1: Music Mode STSRND_ON 0 ST WideSurround Sound Enable 0: ST WideSurround Sound is disabled 1: ST WideSurround Sound is enabled STSRND_FREQ ST WideSurround Sound Frequency Address: C5h Type: R/W Bit 7 Bit 6 0 0 Bit Name Bit 5 Bit 4 STSRND_BASS[1:0] Reset Bit 3 Bit 2 STSRND_MEDIUM[1:0] Bit 1 Bit 0 STSRND_TREBLE[1:0] Function Bits[7:6] 00 Reserved. STSRND_BASS[1:0] 01 Defines the bass frequency effect for ST WideSurround Sound. Programmable values are listed in Table 30. STSRND_MEDIUM[1:0] 01 Defines the medium frequency effect for ST WideSurround Sound in Movie or Mono mode (no effect in Music mode). Programmable values are listed in Table 30. 115/156 Register List STV82x7 Bit Name Reset STSRND_TREBLE[1:0] 01 Function Defines the treble frequency effect for ST WideSurround Sound in Movie or Mono mode (no effect in Music mode). Programmable values are listed in Table 30. Table 30: Phase Shifter Center Frequencies Phase Shifter Center Frequency BASS_FREQ[1:0] MEDIUM_FREQ[1:0] TREBLE_FREQ[1:0] 00 40 Hz 202 Hz 2 kHz 01 (Default) 90 Hz 416 Hz 4 kHz 10 120 Hz 500 Hz 5 kHz 11 160 Hz 588 Hz 6 kHz STSRND_LEVEL ST WideSurround Gain Register Address: C6h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 STSRND_GAIN[7:0] Bit Name Reset STSRND_GAIN[7:0] 10000000 Function Defines the ST WideSurround Sound component gain in linear scale. Level (%) Level (%) 1000 0000 (Default) 0111 1111 0111 1110 0111 1101 ........ 100% 99.2% 98.4% 97.6% 0000 0100 0000 0011 0000 0010 0000 0001 0000 0000 3.1% 2.3% 1.6% 0.8% 0% OMNISURROUND_CONTROL Address: C7h Type: R/W Bit 7 Bit 6 LFE ST_VOICE[1:0] Bit Name LFE 116/156 Bit 5 Bit 4 FRONT_ BYPASS Reset 0 Bit 3 Bit 2 OMNI_SURND_INPUT_MODE[3:0] Function 0: Do not use LFE channel 1: Generate LFE channel Bit 1 Bit 0 OMNISRND_ON STV82x7 Register List Bit Name Reset Function ST_VOICE[1:0] 00 00: OFF 01: Low FRONT_BYPASS 0 Forced to 0 0000 000: Mono 001: L/R stereo 010: L/R/S 011: L/R/Ls/Rs 0 0: OmniSurround OFF 1: OmniSurround ON OMNISRND_ INPUT_ MODE[3:0] OMNISURND_ON 10: Mid 11: High 100: L/R/C 101: L/R/C/S 110: L/R/C/Ls/Rs 111: Lt/Rt (Passive matrix) ST_DYNAMIC_BASS Address: C8h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 BASS_FREQ[1:0] BASS_LEVEL[4:0] Bit Name Bit 1 Reset Bit 0 DYN_BASS_ ON Function BASS_LEVEL[4:0] 00000 Set ST Dynamic Bass effect level: 00000: +0 dB 00001: +0.5 dB ... 11101: +14.5 dB 11110: +15 dB 11111: +15.5 dB BASS_FREQ[1:0] 00 00: 100 Hz Cut-Off frequency 01: 150 Hz Cut-Off frequency 10: 200 Hz Cut-Off frequency 11: Reserved DYN_BASS_ON 0 0: ST Dynamic Bass OFF 1: ST Dynamic Bass ON 12.16 5-Band Equalizer / Bass-Treble for Loudspeakers LS_EQ_BT_CTRL Loudspeakers Equalizer Control Register Address: C9h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 LS_EQ_BT_ SW LS_EQ_ON 117/156 Register List STV82x7 Bit Name Reset Function Bits[7:2] 000000 Reserved. LS_EQ_BT_SW 0 5-Band Equalizer or Bass-Treble selection 0: 5-Band Equalizer is selected for Loudspeakers. 1: Bass-Treble is selected for Loudspeakers. LS_EQ_ON 1 5-Band Equalizer/Bass-Treble for loudspeakers Enable 0: 5-Band Equalizer/Bass-Teble is disabled 1: 5-Band Equalizer/Bass-Teble is enabled (Default) EQ_BANDX_GAIN Loudspeakers Equalizer Gain Register for BandX Address: CAh to CEh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 EQ_BANDX Bit Name EQ_BANDX[7:0] Note: Reset 0000 0000 Function BandX gain adjustment within a range from -12 dB to +12 dB in steps of 0.25 dB. Band1: 100 Hz, Band2: 330 Hz, Band3: 1 kHz, Band4: 3.3 kHz, Band5: 10 kHz, see Table 31. With positive equalizer settings, internal clipping may occur even with an overall volume of less than 0 dB. This will lead to a clipped output signal. Therefore, it is not recommended to set equalizer bands to a value that, in conjunction with volume, would result in an overall positive gain. Table 31: Loudspeakers Equalizer/Bass-Treble Gain Values (and Headphone Bass-Treble Gain Values) 118/156 Value Gain G (dB) 00110000 +12 00101111 +11.75 00101110 +11.50 ................ ..... 00000000 (Default) 0 ................ ..... 11010010 -11.50 11010001 -11.75 11010000 -12 STV82x7 Register List LS_BASS_GAIN Loudspeakers Bass Gain Register Address: CFh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LS_BASS[7:0] Bit Name LS_BASS[7:0] Note: Reset 0000 0000 Function Bass gain adjustment within a range from -12 dB to +12 dB in steps of 0.25 dB. With positive bass/treble settings, internal clipping may occur even with an overall volume of less than 0 dB. This will lead to a clipped output signal. Therefore, it is not recommended to set bass/ treble bands to a value that, in conjunction with volume, would result in an overall positive gain. LS_TREBLE_GAIN Loudspeakers Treble Gain Register Address: D0h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LS_TREBLE Bit Name LS_TREBLE[7:0] Note: Reset 0000 0000 Function Treble gain adjustment within a range from -12 dB to +12 dB in steps of 0.25 dB. With positive bass/treble settings, internal clipping may occur even with an overall volume of less than 0 dB. This will lead to a clipped output signal. Therefore, it is not recommended to set bass/ treble bands to a value that, in conjunction with volume, would result in an overall positive gain. 12.17 Headphone Bass-Treble HP_BT_CONTROL Headphone Bass-Treble Control Register Address: D1h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 0 HP_BT_ON 119/156 Register List STV82x7 Bit Name Reset Function Bits [7:1] 0000000 Reserved. HP_EQ_ON 1 Bass-Treble for headphone Enable 0: Bass-Teble is disabled 1: Bass-Teble is enabled (Default) HP_BASS_GAIN Headphone Bass Gain Address: D2h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 HP_BASS_GAIN[7:0] Bit Name HP_BASS_ GAIN[7:0] Note: Reset Function 00000000 Gain Tuning of Headphone Bass Frequency Gain may be programmed within a range between +12 dB and -12 dB in steps of 0.25 dB. Programmable values are listed in Table 31. With positive bass/treble settings, internal clipping may occur even with an overall volume of less than 0 dB. This will lead to a clipped output signal. Therefore, it is not recommended to set bass/ treble bands to a value that, in conjunction with volume, would result in an overall positive gain. HP_TREBLE_GAIN Headphone Treble Gain Address: D3h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 HP_TREBLE_GAIN[4:0] Bit Name HP_TREBLE_ GAIN[7:0] Note: 120/156 Reset Function 00000000 Gain Tuning of Headphone Treble Frequency Gain may be programmed within a range between +12 dB and -12 dB in steps of 0.25 dB. Programmable values are listed in Table 31. With positive bass/treble settings, internal clipping may occur even with an overall volume of less than 0 dB. This will lead to a clipped output signal. Therefore, it is not recommended to set bass/ treble bands to a value that, in conjunction with volume, would result in an overall positive gain. STV82x7 Register List OUTPUT_BASS_MNGT Address: D4h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 BASS_ MANAGE_ON 0 SUB_ACTIVE GAIN_ SWITCH 0 Bit 2 Reset BASS_MANAGE_ON 1 0: BassManagement disables 1: BassManagement enabled Bit 6 0 Reserved. SUB_ACTIVE 0 0: Subwoofer output is disabled (only in config 2,3,4) 1: Subwoofer output is active GAIN_ SWITCH 0 0: Level adjustment ON 1: Level adjustment OFF Function 000 Bit 3 Bit 0 OCFG_NUM[2:0] Bit Name OCFG_NUM Bit 1 000: Bass Management Configuration 0 (refer to Figure 14) 001: Bass Management Configuration 1 (refer to Figure 15) 010: Bass Management Configuration 2 (refer to Figure 16) 011: Bass Management Configuration 3 (refer to Figure 17) 100: Bass Management Configuration 4 (refer to Figure 18) 0 Reserved. LS_LOUDNESS Address: D5h Type: R/W Bit 7 0 Bit Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 LS_LOUD_THRESHOLD[2:0] Reset 0 LS_LOUD_ THRESHOLD[2:0] 000 LS_LOUD_GAIN_ HR[2:0] 010 Bit 1 LS_LOUD_GAIN_HR[2:0] Bit 0 LS_ LOUD_ON Function Reserved. Define the volume threshold level since which loudness effect is applied : 000: 0 dB 001: -6 dB 010: -12 dB 011: -18 dB 100: -24 dB 101: -32 dB 110: -36 dB 111: -42 dB Define the amount of Treble added by loudness effect: 000: 0 dB 001: 3 dB 010: 6 dB 011: 9 dB 100: 12 dB 101: 15 dB 110: 18 dB 111: 21 dB 121/156 Register List STV82x7 Bit Name Reset LS_LOUD_ON 0 Function 0: Loudness is not active on LS output 1: Loudness is active on LS output HP_LOUDNESS Address: D6h Type: R/W Bit 7 Bit 6 0 Bit 5 Bit 4 Bit 3 Bit 2 HP_LOUD_THRESHOLD[2:0] Bit Name 0 HP_LOUD_ THRESHOLD[2:0] 000 HP_LOUD_GAIN_ HR[2:0] 010 Function Reserved. Define the volume threshold level since which loudness effect is applied : 000: 0 dB 001: -6 dB 010: -12 dB 011: -18 dB 100: -24 dB 101: -32 dB 110: -36 dB 111: -42 dB Define the amount of Treble added by loudness effect: 000: 0 dB 001: 3 dB 010: 6 dB 011: 9 dB HP_LOUD_ON 0 Bit 0 HP_ LOUD_ON HP_LOUD_GAIN_HR[2:0] Reset Bit 7 Bit 1 100: 12 dB 101: 15 dB 110: 18 dB 111: 21 dB 0: Loudness is not active on HP output 1: Loudness is active on HP output 12.18 Volume VOLUME_MODES Set the Volume Modes Address: D7h Type: R/W Bit 7 Bit 6 ANTICLIP_HP ANTICLIP_LS _VOL_CLAMP _VOL_CLAMP Bit Name Reset ANTICLIP_HP_VOL _CLAMP 1 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 SCART_ VOLUME_ MODE SRND_ VOLUME_ MODE HP_ VOLUME_ MODE LS_ VOLUME_ MODE Function The output level is clamped depending on the HP Bass-Treble value to avoid any possible signal clipping on HP output. 0: Volume clamp on HP output is not active 1: Volume clamp on HP output is active 122/156 STV82x7 Register List Bit Name Reset ANTICLIP_LS_VOL _CLAMP 1 Function The output level is clamped depending on the LS Equalizer or LS Bass-Treble value to avoid any possible signal clipping on LS output. 0: Volume clamp on LS output is not active 1: Volume clamp on LS output is active Bits[5:4] 00 Reserved. SCART_VOLUME_ MODE 0 Volume mode for SCART output: SRND_VOLUME_ MODE 1 HP_VOLUME_ MODE 1 0: independent 1: Differential Volume mode for Headphone output: 0: independent 1: Differential Volume mode for Surround output: 0: independent 1: Differential 1 LS_VOLUME_ MODE Volume mode for LS output: 0: independent 1: Differential Note: 1 For the use of volume and balance control please refer to Figure 20 and Figure 21. 2 In differential mode the left register is used for volume control and the right register is used for balance control. LS_L_VOLUME_MSB Address: D8h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LS_L_VOLUME_MSB[7:0] Bit Name LS_L_VOLUME_ MSB[7:0] Reset 1001 1000 Function LS 10 bits volume Left channel 8 MSB in independent mode or LS 10 bits volume Left and Right channels 8 MSB in differential mode. See Figure 20: Volume Control on page 38 for range values. LS_L_VOLUME_LSB Address: D9h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit 1 Bit 0 LS_L_VOLUME_LSB[1:0] 123/156 Register List Bit Name Bits[7:2] STV82x7 Reset Function 000000 Reserved. LS_L_VOLUME_ LSB[1:0] 00 LS 10 bits volume Left channel 2 LSB in independent mode or LS 10 bits volume Left and Right channels 2 LSB in differential mode. See Figure 20: Volume Control on page 38 for range values. The volume value is defined by the following formula: Vol (dB) = Decimal value of LS_L_VOLUME_MSB x 0.5 + Decimal value of LS_L_VOLUME_LSB x 0.125 - 116 dB (each step is 0.125 dB). LS_R_VOLUME_MSB Address: DAh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LS_R_VOLUME_MSB[7:0] Bit Name LS_R_VOLUME_ MSB[7:0] Reset Function 0000000 LS 10 bits volume Right channel 8 MSB in independent mode or LS 10 bits Left and Right balance 0 8 MSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. LS_R_VOLUME_LSB Address: DBh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] LS_R_VOLUME_ LSB[1:0] Reset Bit 1 Bit 0 LS_R_VOLUME_LSB[1:0] Function 000000 Reserved. 00 LS 10 bits volume Right channel 2 LSB in independent mode or LS 10 bits Left and Right balance 2 LSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. 124/156 STV82x7 Register List LS_C_VOLUME_MSB Address: DCh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 1 Bit 0 LS_C_VOLUME_MSB[7:0] Bit Name LS_C_VOLUME_ MSB[7:0] Reset 1001 1000 Function LS 10 bits volume Center channel 8 MSB See Figure 20: Volume Control on page 38 for range values. LS_C_VOLUME_LSB Address: DDh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] Reset LS_C_VOLUME_LSB[1:0] Function 000000 Reserved. LS_C_VOLUME_ LSB[1:0] 00 LS 10 bits volume Center channel 2 LSB See Figure 20: Volume Control on page 38 for range values. The volume value is defined by the following formula: Vol (dB) = Decimal value of LS_C_VOLUME_MSB x 0.5 + Decimal value of LS_C_VOLUME_LSB x 0.125 - 116 dB (each step is 0.125 dB). LS_SUB_VOLUME_MSB Address: DEh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LS_SUB_VOLUME_MSB[7:0] Bit Name Reset LS_SUB_ VOLUME_MSB[7:0] 1001 1000 Function LS 10 bits volume Subwoofer channel 8 MSB See Figure 20: Volume Control on page 38 for range values. 125/156 Register List STV82x7 LS_SUB_VOLUME_LSB Address: DFh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] Reset Bit 1 Bit 0 LS_SUB_VOLUME_LSB[1:0] Function 000000 Reserved. LS_SUB_ VOLUME_LSB[1:0] 00 LS 10 bits volume Subwoofer channel 2 LSB See Figure 20: Volume Control on page 38 for range values. The volume value is defined by the following formula: Vol (dB) = Decimal value of LS_SUB_VOLUME_MSB x 0.5 + Decimal value of LS_SUB_VOLUME_LSB x 0.125 - 116 dB (each step is 0.125 dB). LS_SL_VOLUME_MSB Address: E0h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LS_SL_VOLUME_MSB[7:0] Bit Name LS_SL_VOLUME_ MSB[7:0] Reset Function 1001 1000 LS 10 bits volume Left surround channel 8 MSB in independent mode or LS 10 bits Left and Right surround volume 8 MSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. 126/156 STV82x7 Register List LS_SL_VOLUME_LSB Address: E1h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] Reset Bit 1 Bit 0 LS_LS_VOLUME_LSB[1:0] Function 000000 Reserved. LS_LS_VOLUME_ LSB[1:0] 00 LS 10 bits volume Left surround channel 2 LSB in independent mode or LS 10 bits Left and Right surround volume 2 LSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. The volume value is defined by the following formula: Vol (dB) = Decimal value of LS_SL_VOLUME_MSB x 0.5 + Decimal value of LS_SL_VOLUME_LSB x 0.125 - 116 dB (each step is 0.125 dB). LS_SR_VOLUME_MSB Address: E2h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LS_SR_VOLUME_MSB[7:0] Bit Name LS_SR_VOLUME_ MSB[7:0] Reset Function 00000000 LS 10 bits volume Right channel 8 MSB in independent mode or LS 10 bits surround Left and Right balance 8 MSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. LS_SR_VOLUME_LSB Address: E3h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] Reset Bit 1 Bit 0 LS_SR_VOLUME_LSB[1:0] Function 000000 Reserved. 127/156 Register List STV82x7 Bit Name Reset Function LS_SR_VOLUME_ LSB[1:0] 00 LS 10 bits volume Right channel 8 MSB in independent mode or LS 10 bits surround Left and Right balance 2 LSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. The volume value is defined by the following formula: Vol (dB) = Decimal value of LS_SR_VOLUME_MSB x 0.5 + Decimal value of LS_SR_VOLUME_LSB x 0.125 - 116 dB (each step is 0.125 dB). LS_MASTER_VOLUME_MSB Address: E4h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 1 Bit 0 LS_MASTER_VOLUME_MSB[7:0] Bit Name Reset Function LS_MASTER_ 1110100 LS 10 bits volume Master channel 8 MSB VOLUME_MSB[7:0] 0 See Figure 20: Volume Control on page 38 for range values. LS_MASTER_VOLUME_LSB Address: E5h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] LS_MASTER_ VOLUME_LSB[1:0] Reset LS_MASTER_VOLUME _LSB[1:0] Function 000000 Reserved. 00 LS 10 bits volume Master channel 2 LSB See Figure 20: Volume Control on page 38 for range values. The volume value is defined by the following formula: Vol (dB) = Decimal value of LS_MASTER_VOLUME_MSB x 0.5 + Decimal value of LS_MASTER_VOLUME_LSB x 0.125 - 116 dB (each step is 0.125 dB). 128/156 STV82x7 Register List HP_L_VOLUME_MSB Address: E6h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 HP_L_VOLUME_MSB[7:0] Bit Name HP_L_VOLUME_ MSB[7:0] Reset Function 1001 1000 HP 10 bits volume Left channel 8 MSB in independent mode or HP 10 bits Left and Right volume 8 MSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. HP_L_VOLUME_LSB Address: E7h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] Reset Bit 1 Bit 0 HP_L_VOLUME_LSB[1:0] Function 000000 Reserved. HP_L_VOLUME_ LSB[1:0] 00 HP 10 bits volume Left channel 2 LSB in independent mode or HP 10 bits Left and Right volume 2 LSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. The volume value is defined by the following formula: Vol (dB) = Decimal value of HP_L_VOLUME_MSB x 0.5 + Decimal value of HP_L_VOLUME_LSB x 0.125 - 116 dB (each step is 0.125 dB). HP_R_VOLUME_MSB Address: E8h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 HP_R_VOLUME_MSB[7:0] Bit Name HP_R_VOLUME_ MSB[7:0] Reset Function 0000000 HP 10 bits volume Right channel 8 MSB in independent mode or HP 10 bits Left and Right balance 0 8 MSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. 129/156 Register List STV82x7 HP_R_VOLUME_LSB Address: E9h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] Reset Bit 1 Bit 0 HP_R_VOLUME_LSB[1:0] Function 000000 Reserved. HP_R_VOLUME_ LSB[1:0] 00 HP 10 bits volume Right channel 2 LSB in independent mode or HP 10 bits Left and Right balance 2LSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. SCART_L_VOLUME_MSB Address: EAh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SCART_L_VOLUME_MSB[7:0] Bit Name Reset Function SCART_L_ 1101110 1 SCART 10 bits volume Left channel 8 MSB in independent mode or SCART10 bits Left and Right VOLUME_MSB[7:0] volume 8 MSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. 130/156 STV82x7 Register List SCART_L_VOLUME_LSB Address: EBh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] Reset Bit 1 Bit 0 SCART_L_VOLUME_LSB[1:0] Function 000000 Reserved. SCART_L_ VOLUME_LSB[1:0] 00 SCART 10 bits volume Left channel 2 LSB in independent mode or SCART10 bits Left and Right volume 2 LSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. The volume value is defined by the following formula: Vol (dB) = Decimal value of SCART_L_VOLUME_MSB x 0.5 + Decimal value of SCART_L_VOLUME_LSB x 0.125 116 dB (each step is 0.125 dB). SCART_R_VOLUME_MSB Address: ECh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SCART_R_VOLUME_MSB[7:0] Bit Name Reset Function SCART_R_ 11011101 SCART 10 bits volume Right channel 8 MSB in independent mode or SCART10 bits Left and Right VOLUME_MSB[7:0] balance 8 MSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. SCART_R_VOLUME_LSB Address: EDh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits[7:2] Reset Bit 1 Bit 0 SCART_R_VOLUME_LSB[1:0] Function 000000 Reserved. 131/156 Register List STV82x7 Bit Name Reset Function SCART_R_ VOLUME_LSB[1:0] 00 SCART 10 bits volume Right channel 2 LSB in independent mode or SCART10 bits Left and Right balance 2 LSB in differential mode. See Figure 20: Volume Control on page 38 or Figure 21: Differential Balance on page 39. 12.19 Beeper BEEPER_ON Beeper Activation Register Address: EEh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 0 BEEPER_ON Bit 1 Bit 0 Bit Name Reset Function Bits [7:1] 0000000 Reserved. BEEPER_ON 0 Beeper Enable 0: Beeper muted (Default.) 1: Beeper enabled. BEEPER_MODE Beeper Control Register Address: EFh Type: R/W Bit 7 Bit 6 Bit 5 0 0 0 Bit Name Bit 4 Bit 3 Bit 2 BEEPER_ PULSE BEEPER_DURATION Reset Function Bits [7:5] 000 Reserved. BEEPER_ DURATION [4:3] 00 Define beeper duration when set to pulse mode. BEEPER_PULSE 0 Set beeper pulse mode 0: Pulse mode selected. 1: Continuous mode selected. BEEPER_PATH [1:0] 11 Set the output channels when beeper is active 00: no channels. 01: Loudspeakers only. 10: Headphone only. 11: Loudspeakers and Headphone selected. 132/156 BEEPER_PATH STV82x7 Register List BEEPER_FREQ_VOL Beeper Frequency and Volume Settings Register Address: F0h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 BEEP_FREQ[2:0] Bit Name BEEP_FREQ[2:0] Function Defines the frequency of the beeper tone from 62.5 Hz to 8 kHz in octaves 000: 62.5 Hz 001: 125 Hz 010: 250 Hz 011: 500 Hz (Default) BEEP_VOL[4:0] Bit 0 BEEP_VOL[4:0] Reset 011 Bit 1 10000 100: 1 kHz 101: 2 kHz 110: 4 kHz 111: 8 kHz Defines the Beeper volume from 0 to -93 dB in steps of 3 dB. 11111: 0 dB (1 VRMS) 11110: -3 dB 11101: -6 dB ... 10000: -48 dB (Default) ... 00011: -84 00010: -87 00001: -90 00000: -93 dB dB dB dB 12.20 Mute MUTE_DIGITAL Address: F1h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 AUTOSTD_ MUTE_ON 0 0 SCART_ D_MUTE SRND_HP_D_ MUTE SUB_ D_MUTE C_ D_MUTE LS_ D_MUTE Bit Name AUTOSTD_MUTE_ON Bit s[6:5] Reset 1 0: autostandard can not mute outputs 1: autostandard can mute outputs when no signal is detected 00 1 SCART_D_MUTE SCART left/right digital soft mute 0: signal un-muted 1: signal muted 1 SRND_HP_D_MUTE LS Surround/HP left/right digital soft mute 0: signal un-muted 1: signal muted 1 SUB_D_MUTE Function LS Subwoofer digital soft mute 0: signal un-muted 1: signal muted 133/156 Register List STV82x7 Bit Name Reset 1 C_D_MUTE Function LS Center digital soft mute 0: signal un-muted 1: signal muted 1 LS_D_MUTE LS left/right digital soft mute 0: signal un-muted 1: signal muted 12.21 S/PDIF S/PDIF_OUT_CONFIG S/PDIF Output Configuration Register Address: F2h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 S/PDIF_OUT_ MUTE Bit Name Reset Bit 1 Bit 0 S/PDIF_OUT_SELECT Function Bits [7:3] 00000 Reserved. S/PDIF_OUT_ MUTE 1 S/PDIF Output Mute: S/PDIF_OUT_ SELECT[1:0] 00 0: S/PDIF Output unmuted. 1: S/PDIF Output muted. S/PDIF Output channel selection: 00: output SCART signal 01: output LS L-R signal 10: output C/SUB signal 11: ouptut Sur/HP signal 12.22 Headphone Configuration HEADPHONE_CONFIG Headphone Configuration Register Address: F3h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 HP_FORCE HP_LS_ MUTE HP_DET_ ACTIVE HP_ DETECTED Bit Name Bits [7:4] 134/156 Reset 0000 Function Reserved. STV82x7 Register List Bit Name HP_FORCE HP_LS_MUTE Reset 0 1: force output of the HP signal (bypass surround) 0 0: when HP is detected and active, LS are not muted 1: when HP is detected and active, LS are muted 1 0: HP detection is not active 1: HP detection is active, when HP detected, Surround signal is bypassed and HP signal is output on HP 0 1: When a signal is detected on HP_DET pin (STATUS) HP_DET_ACTIVE HP_DETECTED Function 12.23 DAC Control DAC_CONTROL DAC Control Register Address: F4h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 S/PDIF_MUX DAC_SCART_ MUTE DAC_SHP_ MUTE DAC_CSUB_ MUTE DAC_LSLR_ MUTE POWER_UP Bit Name Bits [7:6] Reset 00 Reserved. 0 redirect external or internal S/PDIF source to S/PDIF output : S/PDIF_MUX 0: internal S/PDIF 1: external S/PDIF 1 DAC_SCART_MUTE SCART left/right analog soft mute 0: signal un-muted 1: signal muted 1 DAC_SHP_MUTE Surround/HP left/right analog soft mute 0: signal un-muted 1: signal muted 1 DAC_CSUB_MUTE Center/Subwoofer analog soft mute 0: signal un-muted 1: signal muted 1 DAC_LSLR_MUTE POWER_UP Function LS left/right analog soft mute 0: signal un-muted 1: signal muted 1 0: DACs Power OFF 1: Power ON 135/156 Register List STV82x7 DAC_SW_CHANNELS DAC Switch Channels Register Address: F5h Type: R/W Bit 7 Bit 6 Bit 5 SUR_HP_SW Bit Name Bit 4 Bit 3 C_SUB_SW 00 Bit 1 LS_L_R_SW Reset SUR_HP_SW Bit 2 Bit 0 SCART_SW Function HP/Surround DAC: 00: Left/Right channels non inverted 11: Left/Right channels inverted Center/SubDAC: C_SUB_SW 00 00: Left/Right channels non inverted 11: Left/Right channels inverted 00 LS Left-Right DAC: LS_L_R_SW 00: Left/Right channels non inverted 11: Left/Right channels inverted 00 SCART_SW SCART DAC: 00: Left/Right channels non inverted 11: Left/Right channels inverted SPDIF_SW_CHANNELS SPDIF Switch Channels Register Address: F6h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Reset Bits [7:2] 000000 SPDIF_SW 00 Bit 1 Bit 0 SPDIF_SW Function Reserved. SPDIF output: 00: Left/Right channels non inverted 11: Left/Right channels inverted SPDIF_CHANNEL_STATUS Address: F9h Type: R/W Bit 7 Bit 6 CHANNEL_STATUS 136/156 Bit 5 Bit 4 EMPHASIS Bit 3 Bit 2 Bit 1 Bit 0 COPYRIGHT NON_AUDIO PRO_CON STV82x7 Register List Bit Name Reset Function CHANNEL_STATUS[7:6] 00 00: Mode zero other values: reserved EMPHASIS[5:3] 000 Emphasis: according to IEC60958 specification Channel status mode: Copyright: COPYRIGHT 0 NON_AUDIO 0 PRO_CON 0 0: Asserted 1: Not asserted Non-audio: 0: Linear PCM 1: Non-audio signal Select Professional or Consumer modes: 0: Consumer 1: Professional 12.24 AutoStandard Coefficients Settings AUTOSTD_COEFF_CTRL Address: FBh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 Bit Name Bits [7:2] Reset 000000 AUTOSTD_COEFF 01 _CTRL[1:0] Bit 1 Bit 0 AUTOSTD_COEFF_ CTRL[1:0] Function Reserved. Control the Demod filter coeff table settings 00: No action 01: Init Coeffecients to ROM values 10: Update Coeffecients with I2C values (set to 0 by DSP to acknowledge) AUTOSTD_COEFF_INDEX_MSB Address: FCh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 0 0 AUTOSTD_ COEFF_ INDEX_MSB 137/156 Register List Bit Name Bits [7:2] STV82x7 Reset Function 0000000 Reserved. AUTOSTD_COEFF _INDEX_MSB 0 FIR Coefficients table index (MSB) AUTOSTD_COEFF_INDEX_LSB Address: FDh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 2 Bit 1 Bit 0 AUTOSTD_COEFF_INDEX_LSB[7:0] Bit Name Reset AUTOSTD_COEFF _INDEX_LSB[7:0] 0000 0000 Function FIR Coefficients table index (LSB) AUTOSTD_COEFF_VALUE Address: FEh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 AUTOSTD_COEFF_VALUE[7:0] Bit Name Reset AUTOSTD_COEFF _VALUE[7:0] 0000 0000 Note: 138/156 Function Reserved These four registers (AUTOSTD_COEFF_CTRL, AUTOSTD_COEFF_INDEX_MSB, AUTOSTD_COEFF_INDEX_LSB and AUTOSTD_COEFF_VALUE) can be used to change parameter settings for the following parts of channel 1 or channel 2: - Channel carrier DCO frequency (register CARFQxx) - Channel filter coefficients (registers FIRxCx) - PLL baseband AM/FM demodulators proportional and integral coefficients (registers ACOEFFx or BCOEFFx) - Demodulator mode selection (register DEMOD_CTRL) - IF AGC control (AGC_CTRL) - Channel 2 symbol tracking loop parameters (register SCOEFF) - Zweiton control (register ZWT_CTRL) While keeping the AUTOSTANDARD function always active. New values for all parameters mentioned above are kept instead of the values automatically sent by the AUTOSTANDARD function. STV82x7 Register List One application is for example to implement OVERMODULATION recovery mode for any sound standard supported by the device (B/G, I, M/N, DK1, DK2, or DK3). See Technical Note for instructions on how to update the coefficient table settings. PATCH_VERSION Address: FFh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PATCH_VERSION[7:0] Bit Name Reset Function PATCH_VERSION[ 7:0] 0000 0000 Indicate the patch version which has been loaded in the device (can be used to check if the patch has been correctly loaded) 139/156 Electrical Characteristics 13 STV82x7 Electrical Characteristics Test Conditions: TOPER = 25° C, VCC_H = 8 V, VXX_18 = 1.8 V, VXX_33 = 3.3 V, Oscillator at 27 MHz, default register values for synthesizer, otherwise specified. 13.1 Absolute Maximum Ratings Symbol VXX_18 VXX_33 Parameter 4.0 V 8.8 V 4 kV 0, +70 °C -55 to +150 °C (V CC33_SC, V CC33_LS, V DD33_IO1, VDD33_IO2 , VDD33_CONV, VCC_NISO) Capacitor 100 pF discharged via 1.5 kΩ serial resistor (Human Body Model) TOPER Operating Ambient Temperature TSTG Storage Temperature Thermal Data Symbol RthJA Parameter Value Units 42 °C/W Junction-to-Ambient Thermal Resistance Power Supply Data Symbol VXX_33 V Analog and Digital 3.3 V Supply Voltage VESD VXX_18 2.5 (V CC18_CLK1, VCC18_CLK2, VCC18_IF, VDD18, VDD18_CONV, VDD18_ADC) Analog Supply High Voltage (VCC_H) 13.3 Units Analog and Digital 1.8 V Supply Voltage HVCC 13.2 Value Parameter Min. Typ. Max. Units 1.70 1.80 1.90 V 3.13 3.30 3.47 V 7.6 8.0 8.4 V Analog and Digital 1.8 V Supply Voltage (V CC18_CLK1, VCC18_CLK2, VCC18_IF, VDD18, V DD18_CONV, VDD18_ADC) Analog and Digital 3.3 V Supply Voltage (V CC33_SC, VCC33_LS, VDD33_IO1 , VDD33_IO2, VDD33_CONV, VCC_NISO) HVCC Analog Supply High Voltage (VCC_H) IVDD18 Current Consumption for Digital 1.8 V Supply (VCC18_CLK2, VDD18 , VDD18_CONV, VDD18_ADC ) 230 280 mA IVDD33 Current Consumption for Digital 3.3 V Supply ( V DD33_IO1, V DD33_IO2) 10 12 mA IVCC18 Current Consumption for Analog 1.8 V Supply (V CC18_CLK1, VCC18_IF) 50 60 mA IVCC33 Current Consumption for Analog 3.3 V Supply (V CC33_SC, V CC33_LS, VDD33_CONV, VCC_NISO) 65 78 mA IVCC_H Current Consumption for Analog Supply High Voltage (8 V) 4 7 mA PDTOT Total Power Dissipation 780 965 mW 140/156 STV82x7 13.4 Electrical Characteristics Crystal Oscillator Symbol fP Parameter Min. Crystal Series Resonance Frequency (at C21 = C22 = 27 pF load capacitor) Typ. Max. 27 Units MHz DF/F P Frequency Tolerance at 25 °C -30 +30 ppm DF/FT Frequency Stability versus Temperature within a range from 0 to 70 °C -30 +30 ppm C1 Motional Capacitor 15 fF RS Serial Resistance 30 Ω CS Shunt Capacitance 7 pF Typ. Max. Units 0.6 3 dB 72 85 kΩ 13.5 Analog Sound IF Signal Symbol BANDSIF RINSIF DCINSIF CINSIF Parameter Test Conditions Min. AGC_ERR at 0, frequency range from 4 to 7 MHz SIF Frequency Flatness SIF Input Resistance 60 SIF Input DC Level SIF Input Capacitance 0.9 V 3 pF FM Carrier VSIFFM SNR 40dB RMS unweighted, 20 Hz-15 kHz, Standard B/G 27 kHz FM Deviation,1 kHz SIF Input Sensitivity FM50k (Standard) FM200k DEVFM FM Maximum Deviation FM350k ±15 Signal Lost, DK mode, FM prescale at 0 Standard (FM50k) DFSIFFM RFM/QPSK Shifted Standard (FM50k with DCO compensation) Carrier Ratio FM/QPSK for NICAM System NICAM mute, FAR_MODE is active, standard BG, 100 mVPP level for FM carrier SIF Input Sensitivity Unmodulated, -3 dB at output amplitude AGC_ERR at 21d Standard L, 54% AM Depth, 1 kHz ±50 ±115 ±200 ±320 ±350 ±560 ±500 ±700 ±1 ±5 kHz ±120 kHz 40 dB kHz FM500k SIF Carrier Accuracy for FM µVPP 350 AM Carrier VSIFAM VMAX_SIFAM SIF Maximum Input Level DEVAM Modulation Depth for AM Unmodulated, THD at 1%, 54% AM Depth, AGC_ERR at 0 THD at 1% mVPP 19 0 1.3 VPP 100 % 141/156 Electrical Characteristics Symbol STV82x7 Parameter Test Conditions DFSIFAM SIF Carrier Accuracy for AM RAM/QPSK AM/QPSK Carrier Ratio for NICAM System Min. Typ. Max. Units ±1 ±5 kHz 36 dB NICAM Mute, 100 mVPP AM carrier AGC AGCstep IF AGC Step AGCdyn Relative maximum gain to step 0 13.6 Valid from step 21 to step 31 1.4 1.5 1.6 dB 29 30 31 dB Typ. Max. Units ±0.7 dB SIF to I²S Output Path Characteristics Test Conditions: SIF amplitude = 10 mVpp, otherwise specified, I²S output. Symbol Parameter Test Conditions Min. FM Demodulation BANDFM Frequency Response SNRFM Signal to Noise THDFM Total Harmonic Distortion SEPFM Stereo Channel Separation 20 Hz - 15 kHz RMS unweighted, 20 Hz-15k Hz, Standard B/G 27 kHz FM Deviation,1 kHz Standard B/G stereo A2, 27 kHz FM deviation, 1 kHz 66 dB 0.05 48 % dB NICAM Demodulation BANDNIC Frequency Response 20 Hz - 15 kHz ±0.2 SNR NIC Signal to Noise THDNIC Total Harmonic Distortion 200 Hz - 60 dBFS, trap filter 200 Hz RMS unweighted, 20 Hz-15 kHz, Standard B/G mono NICAM,1 kHz 74 dB dB 0.04 % ±0.5 dB AM Demodulation BANDAM Frequency Response 20 Hz - 15 kHz SNRAM Signal to Noise RMS unweighted 2 0 Hz-15 kHz, Standard L, 54% AM Depth, 1 kHz THDAM Total Harmonic Distortion AGC: 13d 13.7 60 dB 0.4 % SCART to SCART Analog Path Characteristics Test Conditions: RloadMAX = 10kΩ, CloadMAX = 330pF, MONO_IN voltage = 0.5 VRMS Symbol Parameter Test Conditions Min. Typ. Max. Units 29 34 39 kΩ 40 75 Ω 1.45 1.57 1.65 V 3.4 3.64 3.8 V Analog-to-Analog STEREO and MONO RINSCART SCART Input Resistance ROUTSCART Output Resistance for SCARTs VDCINSCART SCART Input DC Level VDCOUTSCART SCART Output DC Level 142/156 STV82x7 Electrical Characteristics Symbol CLIPSCART THDSCART SNRSCART BANDSCART Parameter Test Conditions Clipping input level from SCART input Clipping SCART THD SCART Max. Units 2.0 VRMS 0.5 VRMS THD from SCART input 1 VRMS, at 1 kHz 0.02 0.05 % THD from MONO_IN input 0.25 VRMS, at 1 kHz 0.02 0.05 % SCART input 1 VRMS, 20 Hz to 20 kHz Bandwidth, RMS unweighted 82 90 dB MONO_IN input 0.25 VRMS, 20 Hz to 20 kHz Bandwidth, RMS unweighted 82 90 dB SCART input 20 Hz to 20 kHz -0.5 0 0.5 dB MONO_IN input 20 Hz to 20 kHz 11.5 12 12.5 dB 80 90 dB 80 90 dB 80 90 dB Signal to Noise Ratio Frequency Flatness 1 VRMS @ 1 kHz on ref signal, the other one grounded Left/Right Crosstalk XTALKIN Audio Crosstalk from Input Channel n to 1 VRMS @ 1 kHz on ref signal, all Input Channel m other inputs grounded 13.8 Typ. At 1 kHz 1% THD Clipping input level from MONO_IN input XTALKL/R XTALKOUT Min. Audio Crosstalk from Output Channel n to Output Channel m 1 VRMS @ 1 kHz on reference output, signal on a single input, all other inputs grounded SCART and MONO IN to I²S Path Characteristics Test Conditions: Sampling Frequency = 32 kHz, Maximum MONO_IN voltage = 0.5 VRMS. Symbol Parameter THD from SCART input THDADC Test Conditions Min. VIN = 2 VRMS at 1 kHz Signal to Noise Ratio 20 to 15 kHz Bandwidth, RMS unweighted VIN = 200 mVRMS SCART input BANDADC Frequency Flatness 20 Hz to 15 kHz XTALKADC Left Right Crosstalk at 1 kHz, VIN = 1 VRMS 13.9 Max. Units 0.006 0.05 % 0.006 0.05 % THD ADC THD from V = 0.5 VRMS at 1 kHz MONO_IN input IN SNRADC Typ. 62 dB ±0.5 95 dB dB I2S to LS/HP/SUB/C Path Characteristics Test Conditions: Sampling Frequency = 32 kHz, LLOAD = 100 µH, CLOAD = 33 nF, RLOAD = 30 K Ω. Symbol ROUTDAC VDCOUTDAC Parameter Output Resistance for Main Outputs MAIN Output DC Level Test Conditions Min. LS_L, LS_R, LS_SUB, LS_C, HP_LSS_R and HP_LSS_L pins 1.4 Typ. Max. Units 90 140 Ω 1.55 1.8 V 143/156 Electrical Characteristics Symbol STV82x7 Parameter Test Conditions Min. THDDAC Total Harmonic Distortion 90% Full-scale Range at 1 kHz SNRDAC Signal to Noise Ratio 20 to 15 kHz Bandwidth, RMS unweighted, at -20 dB full range 75 MAIN Output Amplitude 100% Full-scale Range at 1 kHz 800 Left Right Crosstalk at 1 kHz, -20 dBFS 87 VOUTAMPDAC XTALKDAC Typ. Max. Units 0.06 % dB 900 1050 mVRMS dB 13.10 I²S to SCART Path Characteristics Test Conditions: Sampling Frequency = 32 kHz, CLOAD = 33nF on DAC SCART pins, DAC SCART prescale at -5.5 dB. Symbol Parameter Test Conditions THDDACSCART Total Harmonic Distortion 90% Full-scale Range at 1 kHz SNRDACSCART Signal to Noise Ratio 20 Hz to 15 kHz Bandwidth unweighted, -20 dB Full Range MAIN Output Amplitude 100% Full-scale Range at 1 kHz VODACSCART XTALKDACSCART Left Right Crosstalk at 1 kHz, -20 dBFS Min. Typ. Max. Units 0.08 0.12 % 73 1.75 dB 2 2.25 80 VRMS dB 13.11 MUTE Characteristics Symbol Parameter Test Conditions Min. Typ. Max. Units MUTE DAC DAC Mute analog I2S to DAC at 1 kHz 90 dB MUTE SCART SCART Mute 2 VRMS @ 1 kHz on ref signal, all other inputs grounded 81 dB 13.12 Digital I/Os Characteristics Symbol Test Conditions IL Low Level Input Voltage Except SDA, SCL and CLK_SEL, 3.3 V power supply IH High Level Input Voltage Except SDA, SCL and CLK_SEL, 3.3 V power supply V V Parameter IIN CLK_SEL Low Level Input Voltage 1.8 V power supply VIHCLK_SEL CLK_SEL High Level Input Voltage 1.8 V power supply V OL Low Level Output Voltage S/PDIF_OUT, IRQ, BUS_EXP V OH High Level Output Voltage S/PDIF_OUT, IRQ, BUS_EXP Typ. Max. Units 0.5 V 2.0 Input Current VILCLK_SEL 144/156 Min. V 1 µA 0.3 V 1.2 V 0.3 3.0 V V STV82x7 Electrical Characteristics 13.13 I²C Bus Characteristics Symbol Parameter Test Conditions Min. Typ Max. Unit SCL VIL Low Level Input Voltage -0.3 1.5 V VIH High Level Input Voltage 2.3 5.5 V IIL Input Leakage Current -10 10 µA 400 kHz VIN = 0 to 5.0 V fSCL Clock Frequency tR Input Rise Time 1 V to 2 V 300 ns tF Input Fall Time 2 V to 1 V 300 ns CI Input Capacitance 10 pF VIL Low Level Input Voltage -0.3 1.5 V VIH High Level Input Voltage 2.3 5.5 V IIL Input Leakage Current VIN = 0 to 5.0 V -10 10 µA tR Input Rise Time 1 V to 2 V 300 ns tF Input Fall Time 2 V to 1 V 300 ns Low Level Output Voltage IOL = 3 mA 0.4 V tF Output Fall Time 2 V to 1 V 250 ns CL Load Capacitance 400 pF CI Input Capacitance 10 pF SDA VOL I²C Timing tLOW Clock Low period 1.3 µs tHIGH Clock High period 0.6 µs tSU,DAT Data Set-up Time 100 ns tHD,DAT Data Hold Time tSU,STO Set-up Time from Clock High to Stop 0.6 µs tBUF Start Set-up Time following a Stop 1.3 µs tHD,STA Start Hold Time 0.6 µs tSU,STA Start Set-up Time following Clock Low to High Transition 0.6 µs 0 900 ns 145/156 Electrical Characteristics STV82x7 Figure 34: I²C Bus Timing SDA t BUF t LOW t SU,DAT SCL t HD,STA tR t HD,DAT t HIGH tF t SU,STO tSU,STA SDA 13.14 I2S Bus Interface See timing for I2s on page 43. Symbol Parameter Test Conditions Min. Typ Max. Unit 0.8 V I²S Input VI2S_IL Input I2S Low Level Voltage VI2S_IH Input I2S High Level Voltage ZI2S Input I2S Impedance II2S_Leak I2S Leakage Current tI2S_Su I2S Input Setup Time before Rising Edge of Clock See Figure 35 30 ns tI2S_Ho I2S Input Hold Time after Rising Edge of Clock See Figure 35 100 ns fI2S_LR0 fI2S_SCL0 fI2S_LR fI2S_SCL RI2S_SCL I2S Left Right Strobe Input Frequency (I2S_DATA0 only) 2 -1 Deviation = ±250 ppm I2S Serial Clock Input Frequency (I2S_DATA0 only) I2S Left Right Strobe Input Frequency (I2S_DATA0,1 ,2) Deviation = ±250 ppm I2S Serial Clock Input Frequency (I2S_DATA0 ,1,2) I2S Serial Clock Input Ratio V 5 pF 1 µA 8 48 kHz 0.512 3.072 MHz 32 48 kHz 2.048 3.072 MHz 0.9 1.1 I2S Output (I2S_DATA0 only) VI2SOL Output I2S Low Level Voltage IOL = 2 mA VI2SOH Output I2S High Level voltage IOH = 2 mA fI2S_OLR I2S Left Right Strobe Output Frequency Deviation = ±250 ppm 146/156 0.4 2.4 8 V V 48 kHz STV82x7 Symbol Electrical Characteristics Parameter Test Conditions fI2S_OSCl I2S Serial Clock Output Frequency RI2S_SCL I2S Serial Clock Output Ratio tI2S_Del I2S Output Delay After Falling Edge of Clock See Figure 35, CLOAD = 30 pF Min. Typ Max. Unit 0.512 3.072 MHz 0.9 1.1 30 ns Figure 35: I²S Input Bus Timing I2S_SCLK tI2S_Su tI2S_Ho I2S_DATA tI2S_Su I2S_LR_CLK 147/156 Input/Output Groups 14 STV82x7 Input/Output Groups Pin numbers apply to SDIP package only. VCC18_IF VCC_H VCC18_IF SIF_P73 50K 50K SC1_OUTL SC1_OUTR SC2_OUTL SC2_OUTR SC3_OUTL SC3_OUTR 1 2 5 6 18 19 50K GND_PSUB GND_PSUB VCC33_LS LS_L SCR_FLT LS_C LS_L LS_R LS_SUB HP_LSS_L HP_LSS_R 25 26 27 28 29 30 31 32 VCC33_LS 150 MONO_IN 78 30K VREFA GND_PSUB GND 33_LS VCC18_IF VCC_H VCC18_IF SIF_N 74 REF GNDIF 148/156 SC1_IN_L SC1_IN_R SC2_IN_L SC2_IN_R SC3_IN_L SC3_IN_R SC4_IN_L SC4_IN_R VREFA 9 10 14 15 23 24 79 80 7K5 22K5 GND_PSUB STV82x7 Input/Output Groups VCC33_LS VCC33_LS VB G (1.2 V) 10K VREFA 11 VB G 5K4 13 BAND-GAP=1.2 V 16K8 GND33_LS GND33_LS VDD33_I01 HP_DET ADR_SEL RST_N CLK_TST_CTRL VDD33_I01 35 36 43 48 S/PDIF_OUT 45 VSS VDD33_I02 BUS_EXD IRQ VDD33_I01 68 69 VSS VDD33_I01 VDD33_I02 S/PDIF_IN VSS 44 VSS 149/156 Input/Output Groups STV82x7 VDD33_I02 I2S_PCM_CLK I2S_LR_CLK I2S_DATA0 I2S_DATA1 I2S_DATA2 60 61 62 63 64 VDD18 CLK_SEL 51 VSS VSS VCC18_CLK1 XTALIN_CLKXTP SCL SDA 52 35 40 GND18_CLK1 VCC18_CLK1 XTALOUT_CLKXTM 53 VSS GND18_CLK1 150/156 500K STV82x7 Input/Output Groups VDD33_I02 59 VCC18_CLK2 57 VCC18_CLK1 54 VDD33_I01 46 VDD18 38 42 50 66 VSS 37 41 47 49 58 67 GND18_CLK1 55 GND18_CLK2 56 GND_PSUB 21 70 151/156 Input/Output Groups VDD18_CONV 34 VDD33_CONV 22 VCC_NISO 20 VCC33_LS 16 VCC33_SC 7 VCC_H 3 VDD18_ADC 71 VCC18_IF 76 GND18_IF 77 GNDPW_IF 75 VSS18_ADC 72 GND_PSUB 70 21 GND33_LS 17 GND_H 4 GND33_SC 8 GND_SA 12 VSS18_CONV 33 152/156 STV82x7 STV82x7 15 Package Mechanical Data Package Mechanical Data Figure 36: 80-Pin Thin Plastic Quad Flat Package D A D1 A2 A1 b e E1 E c L1 L h Table 32: Package Mechanical Dimensions mm inches Dim. Min. Typ. A Max. Min. Typ. 1.60 A1 0.05 A2 1.35 b 0.22 C 0.09 Max. 0.063 0.15 0.002 0.006 1.40 1.45 0.053 0.055 0.057 0.32 0.38 0.009 0.013 0.015 0.20 0.004 0.008 D 16.00 0.630 D1 14.00 0.551 E 16.00 0.630 E1 14.00 0.551 e 0.65 0.026 K 0° 3.5° 0.75° 0° 3.5° 0.75° L 0.45 0.60 0.75 0.018 0.024 0.030 L1 1.00 0.039 153/156 STV82x7 Index A I Analog-to-Digital Conversion ............................. 22 Audio Matrix Analog .......................................................... 41 Automatic Frequency Control ............................ 24 Automatic Gain Control ...................................... 22 Automatic Overmodulation Detection ................ 23 Automatic Standard Recognition System .... 23, 56 I²C Address ........................................................ 50 I²C Protocol ........................................................ 50 I²S Interface ....................................................... 42 I2C ................................................................... 146 I2C Address ....................................................... 50 B Loudness Control Automatic ..................................................... 38 L Back-end Processing ......................................... 25 Bass-Treble Control ........................................... 37 Beeper ............................................................... 39 P C Package Mechanical Data ............................... 153 Peak Detector .................................................... 23 Power Supply Management ............................... 47 Clock Generator ................................................ 21 R D Demodulation .................................................... 23 Dolby Pro Logic II Decoder .................................... 30 E Electrical Characteristics ................................. 140 Absolute Maximum Ratings ....................... 140 Analog Sound IF Signal ............................. 141 Crystal Oscillator ........................................ 141 Digital I/Os ................................................. 144 I²C Bus ....................................................... 145 I2S to LS/HP/SW Path ............................... 143 I2S to SCART Path .................................... 144 MUTE Performance ................................... 144 SCART to LS/HP/SW Path ........................ 143 SCART to SCART Analog Path ................. 142 SIF to LS/HP/SCART Path ........................ 142 Supply Data ............................................... 140 Thermal Data ............................................. 140 Equalizer 5-Band Audio ............................................... 37 154/156 Registers 5-Band Equalizer / Bass-Treble ..........116-117 Analog Control ............................................. 81 Audio Preprocessing and Selection ............. 92 Audio Processing ....................................... 105 Automatic Standard Recognition ................. 88 AutoStandard Coefficients Settings ........... 137 Beeper ....................................................... 132 Clocking 1 .................................................... 64 Clocking 2 .................................................... 83 DAC Control ............................................... 135 Demodulator ................................................ 66 Demodulator Channel 1 ............................... 69 Demodulator Channel 2 ............................... 73 DSP Control ................................................. 84 General Control ........................................... 62 Headphone Bass-Treble ............................ 119 Headphone Configuration .......................... 134 I²C Map ........................................................ 56 Matrixing .................................................... 100 Mute ........................................................... 133 NICAM ......................................................... 78 Stereo Mode ................................................ 80 Volume ....................................................... 122 STV82x7 S T SIF Signal Analog .......................................................... 22 Signal Processor Dedicated Digital .......................................... 25 Signal to Noise ................................................ 142 Smart Volume Control ....................................... 36 Soft Mute Control ............................................... 39 Software Information ......................................... 10 SRS TruBass ....................................................... 36 TruSurround ................................................. 35 WOW ........................................................... 35 SRS‚ TruSurround XT‰ ....................................... 35 ST Dynamic Bass .............................................. 37 ST OmniSurround .............................................. 30 ST WideSurround .............................................. 30 Total Harmonic Distortion ................................ 142 V Volume/Balance Control .................................... 38 155/156 STV82x7 Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics All other names are the property of their respective owners © 2006 STMicroelectronics - All rights reserved STMicroelectronics GROUP OF COMPANIES Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 156/156