0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
STV8206

STV8206

  • 厂商:

    STMICROELECTRONICS(意法半导体)

  • 封装:

    LQFP80

  • 描述:

    IC TV AUDIO PROC/DEMOD 80-TQFP

  • 数据手册
  • 价格&库存
STV8206 数据手册
STV82x6 ® Multistandard TV Audio Processor and Digital Sound Demodulator HPD BUS0 BUS1 SDA SCL WS SCK SDO ST IRQ DATASHEET Headphone Detection Interrupt Request Stereo Flag STV82x6 I²C Interface I²S Interface I²C Bus Expander Demodulation Audio Processing A/D AI1L AI1R 0.5Vrms 2Vrms AI2L AI2R 2Vrms AI3L AI3R 2Vrms Input Analog Audio Matrix Digital Audio Matrix Headphone Audio Processing Audio Stereo A/D Audio Matrixing This device incorporates the SRS (Sound Retrieval System) under licence from SRS Labs, Inc. o r P e c u d e t le Power Supply Management DC Regulators, Standby mode (t s) Vol./ Bal. Gain Audio Stereo D/A Single Crystal Clock Generation Key Features Audio Stereo D/A Audio Stereo D/A Smart Volume Control, Bass/Treble and Beeper XTI XTO Input SCARTs Mono In MONOIN Stereo Flag FM, AM, A2 and NICAM Smart Volume Control, ST WideSurround, 5-band Equalizer and Loudness, Beeper and Subwoofer Output Vol./ Bal. Low Noise Audio Mute SW Subwoofer Low Noise Audio Mute ) s t( Headphone HPL HPR 1Vrms c u d o r P Output Analog Audio Matrix Loudspeaker LSL LSR 1Vrms Low Noise Audio Mute 2Vrms AO1L AO1R Low Noise Audio Mute 2Vrms AO2L AO2R Output Scarts AGC Multi-Standard Digital Stereo Demodulator Source Preprocessing Loudspeaker Audio Processing Sound IF SIF o s b O - ■ NICAM, AM, FM Mono and FM 2 Carrier Stereo Demodulators for all sound carriers between 4.5 and 7 MHz t e l o ■ Mono input provided for optimum AM Demodulation performances s b O ■ Demodulation controlled by Automatic Standard Recognition System ■ Sound IF AGC with wide range ■ Overmodulation and Carrier Offset recovery ■ Subwoofer output with Volume Control and Programmable Bandwidth ■ Spatial Sound Effects (ST WideSurround and Pseudo-Stereo) ■ SRS® 3D Surround ■ 3-to-2 Analog Stereo Audio I/Os (SCART compatible) with Audio Matrix ■ Low-noise Audio Mutes and Switches ■ I²S Output to interface with Dolby® Pro Logic® Decoder ■ I²C Bus-controlled ■ Single and standard 27 MHz Crystal Oscillator ■ Smart Volume Control ■ Power supplies: 3.3 V Digital, 5 V or 8 V Analog ■ 5-band Equalizer & Bass/Treble Control ■ Embedded 3.3 V Regulators ■ Automatic Loudness Control ■ Packages: SDIP56 or TQFP80 ■ Loudspeaker and Headphone outputs with Volume/Balance Controls and Beeper Rev. 3 February 2005 1/97 STV82x6 Table of Contents Chapter 1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 1.1 Overview .............................................................................................................................. 5 1.2 Typical Applications 1.3 I/O Pin Description ............................................................................................................. 10 Chapter 2 ......................................................................................................... 6 Demodulator Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 2.1 Digital Demodulator ............................................................................................................ 12 2.2 System Clock ..................................................................................................................... 16 Chapter 3 ) s t( Audio Processor Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 3.1 Main Features .................................................................................................................... 17 3.2 Smart Volume Control (SVC) ............................................................................................. 18 3.3 ST WideSurround ............................................................................................................... 19 3.4 5-Band Audio Equalizer ..................................................................................................... 19 3.5 Bass/Treble Control ........................................................................................................... 19 3.6 Volume/Balance Control .................................................................................................... 20 3.7 Automatic Loudness Control .............................................................................................. 22 3.8 Subwoofer Control ............................................................................................................. 22 3.9 Beeper ................................................................................................................................ 22 3.10 SRS™ 3D Surround (STV8226/36 only) ............................................................................ 23 Chapter 4 Audio Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 c u d e t le ) s ( ct o r P o s b O - u d o r P e 4.1 Input Audio Matrix .............................................................................................................. 26 4.2 Output Audio Matrix ........................................................................................................... 26 t e l o Chapter 5 s b O 5.1 Interrupt Request ............................................................................................................... 27 5.2 I²C Bus Expander ............................................................................................................... 27 5.3 Stereo Flag ......................................................................................................................... 27 5.4 Headphone Detection ........................................................................................................ 27 Chapter 6 2/97 Additional Controls and Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 I²S Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 STV82x6 Chapter 7 Power Supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 7.1 Supply Voltages ................................................................................................................. 29 7.2 Standby Mode .................................................................................................................... 30 Chapter 8 I²C Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 8.1 I²C Address and Protocol ................................................................................................... 31 8.2 STV82x6 Reset .................................................................................................................. 31 Chapter 9 Register List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 9.1 I²C Register Map ................................................................................................................ 33 9.2 STV82x6 General Control Registers .................................................................................. 37 9.3 Analog Block ...................................................................................................................... 39 9.4 Clocking ............................................................................................................................. 41 9.5 Demodulator ....................................................................................................................... 43 9.6 Demodulator Channel 1 ..................................................................................................... 46 9.7 Demodulator Channel 2 ..................................................................................................... 49 9.8 NICAM Registers ............................................................................................................... 55 9.9 Zweiton ............................................................................................................................... 56 9.10 Sound Preprocessing and Selection Registers .................................................................. 57 9.11 Automatic Standard Recognition ........................................................................................ 64 9.12 Smart Volume Control ........................................................................................................ 68 9.13 Surround ............................................................................................................................ 70 9.14 5- Band Equalizer ............................................................................................................... 72 9.15 Loudness/Bass & Treble .................................................................................................... 74 9.16 Volume/Balance Control Registers .................................................................................... 76 9.17 Subwoofer .......................................................................................................................... 79 9.18 Beeper ................................................................................................................................ 80 c u d e t le ) s ( ct ) s t( o r P o s b O - u d o r P e t e l o s b O Chapter 10 Input/Output Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 Chapter 11 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86 11.1 Absolute Maximum Ratings .............................................................................................. 86 11.2 Thermal Data .................................................................................................................... 86 11.3 Supply ................................................................................................................................ 86 11.4 Crystal Recommendations ................................................................................................ 87 3/97 STV82x6 11.5 Analog Sound IF Signal Recommendations ..................................................................... 87 11.6 SIF to LS/HP/SCART Path Characteristics ....................................................................... 88 11.7 SCART to SCART Analog Path Characteristics ............................................................... 88 11.8 SCART to I2S Output Path (via ADC) Characteristics ...................................................... 89 11.9 MONOIN to ADC and I2S Output Path Characteristics .................................................... 89 11.10 I2S to LS/HP/SW Path Characteristics ............................................................................. 89 11.11 I2S to SCART Path Characteristics .................................................................................. 90 11.12 Loudspeaker and Headphone Volume Control Characteristics ........................................ 90 11.13 MUTE Performance ........................................................................................................... 90 11.14 Digital I/Os ......................................................................................................................... 90 11.15 I²C Bus Interface .............................................................................................................. 91 ) s t( Chapter 12 Package Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93 Chapter 13 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95 c u d e t le ) s ( ct u d o r P e t e l o s b O 4/97 o s b O - o r P STV82x6 General Description 1 General Description 1.1 Overview The STV82x6 is composed of three main parts: 1. TV Sound Demodulator: provides all the necessary circuitry for the demodulation of audio transmissions of European and Asian terrestrial TV broadcasts. The various transmission standards are automatically detected and demodulated without user intervention. 2. Audio Processor: based on DSP technology, independently controls loudspeaker, subwoofer and headphone signals. It offers basic and advanced features, such as a ST WideSurround, Equalizer, Automatic Loudness and Smart Volume Control for television viewer comfort. The STV8226/36 versions can perform additionally the SRS® 3D Surround for stereo and mono signals. 3. Audio Matrix: 3 stereo and 1 mono external analog audio inputs to loudspeakers and headphone, with 2 stereo external analog audio outputs (SCART compatible). Table 1: STV82x6 Version List Feature STV8206 STV8216 AM-FM Mono X X Zweiton X X e t le NICAM X ST WideSurround X od X Pr X so SRS® 3D Surround uc STV8226 X ) s t( STV8236 X X X X X X X b O - Figure 1: Package Ordering Information ) s ( ct u d o SDIP56 Package Order Code: STV82x6D TQFP80 Package Order Code: STV82x6 (Tray) STV82x6T (Tape & Reel) r P e t e l o s b O 5/97 General Description 1.2 STV82x6 Typical Applications Figure 2: Typical Application (Low-cost Stereo TV) Cable and Terrestrial Analog TV Tuner STV82x6 TV Sound Demodulation and Audio Processing Figure 3: Typical Application with Subwoofer and Headphone Woofer Cable and Terrestrial Analog TV Tuner STV82x6 TV Sound Demodulation and Audio Processing e t le ) s ( ct u d o r P e t e l o s b O 6/97 o s b O - o r P c u d ) s t( HPD HPR HPL Subwoofer 10K R11 10K + C47 1uF + C44 1uF + C42 1uF + C38 1uF + C35 10uF + C24 1uF + + 10uF + C45 1uF + C43 1uF + C41 1uF C36 +8V + C25 1uF + C11 1uF + + C10 1uF + C9 10uF C8 10uF C30 10uF L3 10uH +8V C18 10uF C32 100nF C21 100nF C26 10uF R13 330 C20 100nF C2 R9 560 C5 100nF +5V 10nF 10uF C31 C19 10uF C27 100nF 100nF C33 L2 10uH + C3 10uF C13 100nF R10 22 220nF C4 100nF C6 o s b O 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 LSR LSL BGAP AI3R AI3L VREFA VDDH AO2R AO2L GNDAH VDDA AI2R AI2L VMC2 VMC1 AI1R AI1L GNDC VDCC AO1R AO1L MONOIN GNDIF VDDIF VREFIF VTOP SIF C37 SW 10uF 28 IC1 IRQ SDO ST WS SCK BUS1 BUS0 HPL HPR GNDSA HPD ADR SCL SDA REG RESET SYSCK MCK VDD1 GND1 GNDSP XTI XTO VDDP GNDP GND2 VDD2 CKTST 220nF C39 STV82x6 SDIP56 e t le LSR LSL SC3 IN Right SC3 IN Left SC2 OUT Right SC2 OUT Left SC2 IN Right SC2 IN Left SC1 IN Right SC1 IN Left SC1 OUT Right SC1 OUT Left MONO IN + C7 1uF + R12 L1 10uH + C1 + 100pF 56 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 C40 100nF C22 100nF C14 100nF 1 +5V ST1 Adress select 3 C28 100nF 2 C17 47uF C46 100nF C29 470nF R15 270K 2 XT1 27MHz +5V 2 T1 BC327-40 R14 100K 22pF C23 22pF C12 RESET 1 + +5V 1 s b O t e l o + L5 10uH C34 10µF + r P e u d o ) s ( ct 3 SIF SCL SDA SDO STEREO ident WS SCK BUS1 BUS0 IRQ STV82x6 General Description Figure 4: Typical Application Electrical Diagram for STV82x6 in SDIP56 package c u d ) s t( o r P 7/97 + SDA SCL +3.3V C21 22pF C22 22pF XT1 27MHz CRYSTAL 100K R1 270k R2 C16 470nF +3.3V Reset 10µH L7 + C17 47µF C26 100nF C25 100nF C19 100nF +3.3V 100nF C12 1 3 1 Headphone detection 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 2 SL1 N/C REG RESET SYSCK MCK VDD1 GND1 N/C GNDSP N/CN/C XTI XTO VDDP GNDP GND2 VDD2 CKTST N/C N/C Address select C5 1µF 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 TQFP80 STV82x6 IC1 SDA SCL N/C N/C ADR HPD N/C GNDSA HPR HPL SW LSR LSL N/C BGAP N/C AI3R AI3L VREFA N/C SDO ST/SDI WS SCK BUS1 N/C N/C BUS0 IRQ N/C N/C N/C SIF VTOP VREFIF VDDIF GNDIF MONOIN N/C N/C C32 220nF 100nF C31 C33 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 3 C6 1µF VDDH AO2R AO2L GNDAH VDDA AI2R AI2L VMC2 N/C VMC1 AI1R AI1L GNDC VDDC N/C N/C N/C N/C AO1R AO1L C14 100nF 100nF C63 C4 1µF 10µF C59 100nF 10nF C34 C79 10µF 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 C58 100nF + L4 10µH R4 220 R5 220 C41 10µF +8V 100nF C57 L2 10µH C44 100nF C77 10µF 10µF + C78 +3.3V R3 C7 1µF L11 C35 100pF R12 75 C76 10µF +8V R10 330 R8 R9 220 220 + + C36 10µF C50 1µF C40 10µF C39 10µF +8V + C49 100nF C52 C51 10µF 100nF + C61 1µF C60 1µF C45 1µF C53 1µF C54 1µF C56 10µF C55 10µF + C8 1µF + + HP Right + + HP Left R6 + + 10K R7 C46 1µF + Subwoofer 560 o r P c u d 10µH + t e l o 10K + s b O o s b O e t le + + ) s ( ct + + r P e u d o + + 8/97 LS Right + + LS Left SDO STEREO ident WS SCK BUS1 BUS0 IRQ SIF Mono IN SC1 OUT Left SC1 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 STV82x6 Figure 5: Typical Application Electrical Diagram for STV82x6 in TQFP80 package ) s t( L7 10µH L6 C22 Reset 47µF + C23 270k R2 0 R18 C16 470nF components with * are only mandatory 10µH 2 C21 + C17 10µF XT1 27MHz CRYSTAL SL3 2 SL2 470K R1 +3.3V 1 3 0 R16 100nF C27 C26 100nF C25 100nF 100nF C15 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 C10 100nF N/C REG RESET SYSCK MCK VDD1 GND1 N/C GNDSP N/C N/C XTI XTO VDDP GNDP GND2 VDD2 CKTST N/C N/C 100µH 100nF C13 L18 C68 33nF C7 1µF Address select 2 SL1 C69 33nF C29 100nF * * 100µH L17 100µH L15 L14 * TQFP80 IC1 STV82x6 / STV82x7 C30 100nF C32 220nF L13 C31 100nF C33 C4 1µF 100nF VDDH AO2R AO2L GNDAH VDDA AI2R AI2L VMC2 N/C VMC1 AI1R AI1L GNDC VDDC N/C N/C N/C N/C AO1R AO1L C14 100nF C62 33nF * C66 33nF 100µH C5 1µF 100µH * * C67 33nF L16 100µH C6 1µF 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 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 R6 C77 10µF 10µF + C78 C3 1µF o r P c u d STV82x6 / STV82x7 compatible Application Electrical Diagram in case of DOLBY certification 0 R15 0 C18 100nF R14 C19 100nF 100nF C12 + C9 330µF C8 1µF e t le Note : 1.8V +1.8V +1.8V +1.8V +3.3V SPDIF OUT SPDIF IN +3.3V SDA SCL Headphone detection 10µH 1 3 L8 C75 + C36 C40 10µF C39 10µF C44 100nF C74 330pF +3.3V 1µF 330 R10 C41 10µF 330pF R12 82 +8V C61 1µF C60 1µF 10µF C47 C37 C46 1µF 1µF C51 10µF 10µF 1µF C38 C48 100nF with 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 C53 1µF C54 1µF C52 C56 10µF C55 10µF C45 1µF +8V + + +1.8V + HP Right/LS surround Right 1 3 1 3 + + 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 SDA SCL N/C N/C ADR HPD N/C GNDSA HPR HPL SW LSR LSL N/C BGAP N/C AI3R AI3L VREFA N/C SDO ST/SDI WS SCK BUS1 N/C N/C BUS0 IRQ N/C N/C N/C SIF VTOP VREFIF VDDIF GNDIF MONOIN N/C N/C 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 + HP Left/LS surround Left 560 + + Subwoofer R3 + 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 L11 + + + + + LS Left + + LS Center + + + o s b O 10µH + + + s b O t e l o r P e + + + u d o ) s ( ct 10µF C49 C50 100nF + 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 I2S PCM CLK I2S SCLK / SDO I2S LR CLK / SDI I2S DATA 0 / WS I2S DATA 1 / SCK I2S DATA 2 / BUS1 BUS EXPANDER / BUS0 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 STV82x6 General Description Figure 6: Typical Compatible Application Electrical Diagram for STV82x6 and STV82x7 in TQFP80 package ) s t( 9/97 General Description 1.3 STV82x6 I/O Pin Description Legend / Abbreviations for Table 2: Type: ● AP = Analog Power Supply ● DP = Digital Power Supply ● I = Input ● O = Output ● OD = Open Drain ● B = Bidirectional ● A = Analog Table 2: Pin Description SDIP 56 TQFP 80 Name Type 1 73 SIF A Sound IF Input 2 74 VTOP A ADC VTOP Decoupling Pin 3 75 VREFIF A AGC Voltage Reference Decoupling Pin 4 76 VDDIF AP 3.3 V Power Supply for IF AGC & ADC 5 77 GNDIF AP 0 V Power Supply for IF AGC & ADC A 6 Function 78 MONOIN 79/80 N/C 7 1 AO1L A Left SCART1 Audio Output 8 2 AO1R A Right SCART1 Audio Output - 3/4/5/6 N/C Not Used Not used 9 7 VDDC AP 10 8 GNDC AP 11 9 AI1L A 12 10 AI1R 13 11 VMC1 o r P e o r P o s b O - 3.3 V Power Supply for Audio DAC/ADC ) s ( ct 0 V Power Supply for DAC/ADC Left SCART1 Audio Input du A Right SCART1 Audio Input A Switched VREF Decoupling Pin for Audio Converters (VMCP) - 12 14 13 15 16 VDDA AP 3.3 V Power Supply for Audio Buffers, Matrix & Bias 18 t e l o 17 GNDAH AP 0 V Power Supply for Audio Buffers & SCART 19 18 AO2L A 20 19 AO2R A 21 20 VDDH AP 16 17 s b O 14 15 N/C e t le Mono Input VMC2 Not used A VREF Decoupling Pin for Audio Converters (VMC) AI2L A Left SCART2 Audio Input AI2R A Right SCART2 Audio Input Left SCART2 Audio Output Right SCART2 Audio Output 8 V / 5 V Power Supply for SCART & Audio Buffers - 21 N/C 22 22 VREFA A Voltage Reference for Audio Buffers 23 23 AI3L A Left SCART3 Audio Input 24 24 AI3R A Right SCART3 Audio Input - 25 N/C 25 26 BGAP A Bandgap Voltage Source Decoupling 10/97 c u d Not Used Not Used ) s t( STV82x6 General Description Table 2: Pin Description (Continued) SDIP 56 TQFP 80 Name Type Function - 27 N/C 26 28 LSL A Not Used Left Loudspeaker Output 27 29 LSR A Right Loudspeaker Output 28 30 SW A Subwoofer Output 29 31 HPL A Left Headphone Output 30 32 HPR A Right Headphone Output 31 33 GNDSA AP Substrate Analog/Digital Shield - 34 N/C 32 35 HPD B Headphone Detection Input (Active Low) Not Used 33 36 ADR I Hardware I²C Chip Address Control - 37/38 N/C 34 39 SCL OD Not Used I²C Serial Clock 35 40 SDA OD I²C Serial Data - 41 N/C 36 42 REG A 5 V Power Regulator Control 37 43 RESET I Hardware Reset (Active Low) 38 44 SYSCK B System Clock Output 39 45 MCK B I²S Master Clock Output 40 46 VDD1 DP 3.3V Power Supply for Digital Core & IO Cells 41 47 GND1 DP 0V Power Supply for Digital Core & IO Cells - 48 N/C 42 49 GNDSP 50/51 N/C Not Used Not Used AP c u d e t le o s b O - 52 XTI I 44 53 XTO O Crystal Oscillator Output 45 54 VDDP AP 3.3 V Power Supply for Analog PLL Clock 46 55 GNDP AP 0 V Power Supply for Analog PLL Clock 47 56 GND2 Crystal Oscillator Input ) s ( ct du DP 57 49 58 - 59/60 50 53 t e l o 64 SCK B I²S Bus Clock Output 54 65 BUS1 B I²C Bus Expander Output 1 52 s b O 61 62 63 o r P e DP 0 V Power Supply for Digital Core, DSPs & IO Cells 48 51 VDD2 o r P Substrate Analog/Digital Shield for Clock-PLL Not Used 43 CKTST ) s t( I N/C 3.3 V Power Supply for Digital Core, DSPs & IO Cells Must be Connected to 0 V Not Used SDO B I²S Bus Data Output ST/SDI B Stereo Detection Output / I²S Bus Data Input WS B I²S Bus Word Select Output - 66/67 N/C 55 68 BUS0 B I²C Bus Expander Output 2 Not Used 56 69 IRQ B I²C Status Read Request - 70 N/C Not Used - 71 N/C Not Used - 72 N/C Not Used 11/97 Demodulator Block 2 STV82x6 Demodulator Block Figure 7: Demodulator Block Diagram Channel 1 = Mono Left AM Demodulator DCO1+ Mixer Channel Filter AM/FM Mono FIR1 (To Sound Preprocessing) CAROFFSET1(22h) AUTO_STAT(54h) AGC Amp SIF AUTOSTD A/D AUTO_CTRL(50h) AUTO_SCKM(51h) AUTO_SCKST(52h) AGC Control AGCC(0Eh) AGCS(0Fh) DCO2 + Mixer AM FM Demodulator FML DEMOD_STAT(0Dh) ZWT_STAT(41h) NICAM_STAT(3Fh) Zweiton Decoder FM Demodulator c u d Channel Filter FIR2 DQPSK Demodulator CAROFFSET2(3Ah) ro NICAML NICAMR (To Sound Preprocessing) o s b O - Note: Zweiton is the Dual (Two Tone) FM stereo or A2 system. 2.1 Digital Demodulator 2.1.1 Sound IF Signal ) s ( ct NICAM Decoder P e let Channel 2 = Stereo/Mono Right ) s t( FM Stereo (To Sound Preprocessing) u d o The Analog Sound Carrier IF is connected to STV82x6 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 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 transmitted audio signal. A preset I²C parameter is required to define the gain of the AGC used in Manual mode (Registers AGCC and AGCS). r P e t e l o s b O 2.1.2 Demodulation The demodulation system operates by default in Automatic mode. In this mode, the STV82x6 is able to identify and demodulate any TV sound standard including NICAM and A2 systems (see Table 2) 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 (AUTOSTD) automatically programs the appropriate bits in the I²C registers which are forced to Read-only mode for users (see Section 9.1). The programming is optimized for each standard to be identified and demodulated. 12/97 STV82x6 Demodulator Block Each mono and stereo standard can be removed (or added) from the List of Standards to be recognized by programming registers AUTO_SCKM and AUTO_SCKST, respectively. The identified standard is displayed in register AUTO_STAT 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 AUTO_CTRL while checking the detected standard status by reading registers AUTO_STAT, NICAM_STAT and ZWT_STAT. Moreover, the detection of Stereo mode during demodulation is also flagged in register AUTO_STAT and on output pin ST. 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 AUTO_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 (AUTOSTD). DK-NICAM Overmodulation Recovery: Four different FM deviation ranges can be selected (via register AUTO_CTRL) for the DK standard while the AUTOSTD 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_STATL and PEAK_DET_STATR. This value is used to implement Automatic Overmodulation Detection via an external I²C control. c u d ) s t( o r P 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 AUTO_SCKM and AUTO_SCKST) when programming larger FM deviations reserved only for DK-NICAM standards. e t le o s b O - Table 3: Standards covered by the Automatic Standard Recognition System (AUTOSTD) System Type Carrier 1 Carrier 2 Name (MHz) (MHz) Sound Type ) s ( ct FM Mono M/N 4.5 FM 2 Carriers u d o FM Mono B/G r P e FM/NICAM FM 2 Carriers t e l o FM Mono I s b O A2+ FM/AM Deviation De-emphasis Min. Typ. Max. 15 27 50 RollPilot off Frequency (%) (kHz) 75 µs 4.724 5.5 A2 5.850 55.069 50 µs 27 50 80 5.742 6.0 FM/NICAM J17 40 50 µs 27 50 54.6875 50 µs 100 J17 100 J17 40 80 6.552 AM Mono 0.5 L AM/NICAM 1.0 5.850 FM Mono 50 µs D/K FM/NICAM D/K1 FM 2 Carriers D/K2 FM 2 Carriers D/K3 FM 2 Carriers 6.5 5.850 6.258 A2* 6.742 J17 27 50 40 80 50 µs 54.6875 5.742 13/97 Demodulator Block STV82x6 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 AUTOSTD system remains active. The frequency offset estimation is written in registers FM_DCL and FM_DCR (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. If required, the AUTOSTD system can be disabled (Manual mode) and the user can control all registers including those only controlled by the AUTOSTD function when active. Manual mode is selected in registers RESET or AUTO_SCKM. 2.1.3 Sound Preprocessing and Selection The demodulated sound signal can be redirected to 4 different output audio channels: 1. Loudspeaker & Subwoofer, 2. Headphone, 3. SCART, 4. I²S Interface. ) s t( Each output channel can independently select the demodulator source, analog SCART or I²S inputs using register CH_SEL. Figure 8: Sound Preprocessing and Selection Block Diagram FM Prescaler ) s ( ct FM_DCL(42h) FM_DCR(43h) NICAM (From Demodulator) PRE_FM(44h) u d o NICAM De-emphasis r P e t e l o AUDIO IN O NICAM Prescaler PRE_NICAM(45h) SCART Prescaler (From Input Analog Audio Matrix) I²S IN NICAM Dematrix PRE_AUX(46h) I²S Prescaler PRE_AUX(46h) CH_MX(48h) CH_SEL(49h) CH_LANG(4Ah) 14/97 LS IN (To Loudspeaker Processing) HP IN (To Headphone Processing) AUDIO OUT (To Output Analog Audio Matrix) CH_MX(48h) I²S Matrix bs FM Dematrix Digital Audio Matrix FM De-emphasis o r P Channel & Language Selection DC Removal o s b O - SCART Matrix FM/AM (From Demodulator) e t le Peak Detector Demodulation Matrix PEAK_DET_CTRL(4Bh) PEAK_DET_STATL(4Ch) PEAK_DET_STATR(4Dh) c u d I²S OUT (To I²S Interface) STV82x6 Demodulator Block The level of the demodulated sound may require adjusting in order to compensate for the difference in levels between the multiple source (NICAM, FM or AM) and standard source (FM deviation wide range from 15 to 500 kHz) signals. The correct range for all level variations (+24 to -6 dB) is selected in registers PRE_FM and PRE_NICAM. The internal sound level of the various sources (FM/AM, NICAM and SCART) is read in registers PEAK_DET_CTRL, PEAK_DET_STATL and PEAK_DET_STATR before audio processing and can be used to implement Automatic Pre-scaling via an external I²C interface. In Automatic mode, the STV82x6 selects and performs all appropriate de-emphasis, dematrixing, sound selection and mute functions according to the standard and transmission mode detected. Mono system: Mono audio signals received by an FM or AM carrier are demodulated. Left and right audio outputs are identical. Automatic mute is applied when the mono standard cannot be identified. A2 systems (or Zweiton): Transmission of mono, stereo or bilingual audio signals using 2 separate FM carriers + identification pilot. The pilot, transmitted by the second carrier, can be modulated by two different tones in order to define Stereo or Dual-Mono mode. If not modulated, only the mono signal is broadcast on the first carrier. Zweiton mode is read in register ZWT_STAT and described in Table 4. In the event of poor signal detection, the audio output is switched back to FM Mono mode (backup). In Dual Mono mode, the language (A on Channel 1, B on Channel 2) can be selected separately for each audio output channel (Loudspeaker, Headphone, SCART or I²S) in register CH_LANG. Table 4: A2 System Transmission Modes System Mode ZWT-STAT [2:0] FM Dematrix FM De-emphasis German Zweiton Mono 100 L,R 50 µs German Zweiton Stereo 110 (L+R)/2,R 50 µs German Zweiton Dual Mono (CH1=A, CH2=B) 101 L,R Korean Zweiton Mono 100 Korean Zweiton Stereo 110 Korean Zweiton Dual Mono (CH1 = A, CH2 = B) 101 Zweiton undefined 0XX or 111 Note: o r P e Sound Backup XX FM Mono X XX FM Stereo FM Mono 01 FM Mono A X 10 FM Mono B Mute 75 µs XX FM Mono X (L+R)/2,(L-R)/2 75 µs XX FM Stereo FM Mono 01 FM Mono A X L,R 75 µs 10 FM Mono B Mute XX FM Mono X (s) L,R ct du o r P Sound Selection L,R e t le so b O - CH_LANG [1:0] c u d ) s t( 50 µs 50 µs t e l o A2 and A2* standards are German Zweiton, while A2+ is Korean Zweiton. O bs NICAM systems: Transmission of mono, stereo, bilingual or trilingual audio signals using a modulated-QPSK carrier and an FM/AM sound carrier backup. The digital QPSK modulation broadcasts either channel stereo, dual mono, mono + data or data only. The selected NICAM mode is read in register NICAM_STAT and described in Table 5. In the event of high bit-error rates, the audio output is automatically switched back to the reserve sound transmission (FM/AM Mono) or muted if there is no backup. In Dual Mono or Stereo mode with no backup, the language can be selected separately for each audio output channel (Loudspeaker, Headphone, SCART or I²S) in register CH_LANG. 15/97 Demodulator Block STV82x6 Table 5: NICAM System Transmission Modes System Mode NICAM_STAT[ 4:1] NICAM Stereo 1000 J17 NICAM Dual Mono (CH1 = A, CH2 = B) 1010 J17 NICAM Mono+Data (D1 = A, D2 = Data) 1001 NICAM Data NICAM Stereo (no backup) NICAM Dual Mono (no backup) (D1 = B, D2 = C) NICAM CH_LANG[1:0] De-emphasis Sound Sound Selection Backup XX NICAM Stereo FM/AM Mono 01 NICAM Mono A FM/AM Mono 10 NICAM Mono B Mute J17 XX NICAM Mono A FM/AM Mono 1011 J17 XX FM/AM Mono X 01 FM/AM Mono A X 0000 J17 00 NICAM Stereo Mute 01 FM/AM Mono A 10 NICAM Mono B 11 NICAM Mono C ) s t( 01 FM/AM Mono A X NICAM Mono B Mute FM/AM Mono X 0010 NICAM Mono+Data (no backup) (D1 = B, D2 = Data) 0001 NICAM undefined (no backup) X1XX J17 J17 10 e t le J17 XX od Mute o s b O - Note: D1 and D2 define the two channels encoded in the NICAM packet. 2.2 System Clock ) s ( ct Pr uc X The System Clock integrates a low-jitter PLL clock and can be fully reprogrammed via registers PLL_DIV, PLL_MD, PLL_PEH and PLL_PEL. The default values are designed for a standard 27-MHz quartz crystal frequency, which is the recommended frequency for minimizing potential RF interference in the application. This sinusoidal clock frequency, and any harmonic products, remains outside the TV picture and sound IF (PIF/SIF) and Band-I RF passbands and has been selected in order to reduce the risk of potential interference to the TV IF and RF system. u d o r P e However, if required, the PLL clock can be re-programmed for an other quartz crystal frequency within a range between 23 and 30 MHz. Note: t e l o A change in the crystal frequency is compatible with other default I²C programming values, including those of the built-in Automatic Standard Recognition System. s b O 16/97 STV82x6 Audio Processor Block 3 Audio Processor Block 3.1 Main Features The STV82x6 Audio Processor is based on a dedicated audio Digital Signal Processor (DSP) that performs basic and advanced audio post-processing for 4 different output audio channels. 3.1.1 Loudspeaker and Subwoofer Features ● Smart Volume Control (See Note 1) ● Spatial effects: — Pseudo Stereo (for Mono source) — ST WideSurround (“Movie” and “Music” modes for Stereo source) ● 5-band Equalizer ● Volume and Balance controls (See Note 4) ● Automatic Loudness control ● Subwoofer (See Note 4) ● Beeper (See Note 3) c u d Additionally on STV8226/36 only: 3.1.2 ● SRS™ 3D Mono signal processing ● SRS™ 3D Stereo signal processing Headphone (See Note 2) ● Smart Volume Control (See Note 1) ● Bass and Treble controls ● Volume and Balance controls ● Beeper (See Note 3) ) s ( ct e t le ) s t( o r P o s b O - Note: 1 The Smart Volume Control can be used in either the loudspeaker or headphone path, but not both at the same time. u d o r P e 2 The headphone is forced into Mono mode when the subwoofer is active. 3 The beeper is common for both the loudspeaker and the headphone. t e l o 4 The Auto-mute function is activated when a headphone plug is detected. 5 All audio postprocessing can be disabled. s b O 3.1.3 3.1.4 SCART 1 and 2 Outputs ● No audio post-processing I²S Output ● No audio post-processing 17/97 Audio Processor Block STV82x6 Figure 9: Audio Processor Block Diagram ANA_LS_HP (07h) SW_BAND (6Bh) SW_GAIN (6Ah) Beeper Volume c u d Volume 1 Balance (L+R)/2 Bass/ Treble HP_BAL (77h) Smart Volume Control 0 SVC_SEL (59h) SVC_CTRL (5Ah) SW_ON ANA_LS_HP (07h) HP_BT_CTRL (71h) HP_BASS_GAIN (72h) HP_TREB_GAIN (73h) LS OUT Volume Woofer Lowpass (L+R)/2 BEEPER_CTRL (79h) BEEPER_TONE (7Ah) HP IN (From Digital Audio Matrix) Mute SW OUT SRS CUT_ID (00h) Audio LS_LOUD(66h)_ e t le o r P HP_VOL_CTRL (75h) HP_CVOL (76h) ) s t( Low Noise Audio Mute HP OUT LS_EQ_CTRL (60h) LS_EQ_BAND1 (61h) LS_EQ_BAND2 (62h) LS_EQ_BAND3 (63h) LS_EQ_BAND4 (64h) LS_EQ_BAND5 (65h) Low Noise Gain SVC_SEL (59h) SVC_CTRL (5Ah) Loudness Spatial Effects LS_VOL_CTRL(67h) LS_CVOL(68h) LS_BAL(69h) Balance Smart Volume Control HPD Loudspeaker Processing 5-band Equalizer LS IN (From Digital Audio Matrix) LS_SRD_CTRL (5Bh) LS_STS_GAIN (5Ch) LS_STS_FREQ (5Dh) LS_SRS_SPACE (5Eh) LS_SRS_CENTER (5Fh) ANA_LS_HP (07h) o s b O - Headphone Processing ) s ( ct Note: The audio signals available on the I²S and SCART outputs are not affected by any digital or analog matrix processing. 3.2 Smart Volume Control (SVC) u d o r P e The Smart Volume Control (SVC) feature is designed to process sound level variations caused by changes in signal sources (e.g. when switching channels) or in volume (e.g. when advertisements are broadcast). The SVC is controlled by the SVC_ON bit in the SVC_CTRL register. t e l o When the SVC_ON bit is set, the Smart Volume Control prevents annoying volume changes by automatically adjusting the selected sound source (demodulator or SCART) to a programmable reference level before audio processing. The regulation ranges from +6 dB to -30 dB with a fast attenuation and a programmable slow amplification. The fast attenuation reduces audio peak (and potential clipping) and slow amplification is a compromise between regulation recovery and limited audio amplification during audio silence. The programmable output reference level must be defined to prevent internal clipping depending on the selected audio processing boosting functions such as Surround (up to +9 dB), Equalizer or Bass/Treble (up to +12 dB) and Loudness (up to +6 dB). When the SVC is enabled, recommended reference values are -18 dB for the Loudspeaker path and -9 dB for the Headphone path. s b O When the SVC is disabled, it acts as a wide-range prescaler (between -30 dB and +15.5 dB) before audio-processing to prevent internal clipping depending on the selected functions (see above). If 18/97 STV82x6 Audio Processor Block required, it complements the dedicated prescaler for FM, NICAM or SCART sources. The internal level can be measured using the peak detector. The SVC can be used either in the Loudspeaker or Headphone path (but not both simultaneously). When used in the Headphone path, the SVC prevents the sound level from becoming suddenly too strong, causing ear damage. The SVC is configured in registers SVC_SEL and SVC_CTRL. 3.3 ST WideSurround STV82x6 offers three preset ST WideSurround effects on the Loudspeaker path: ● Music, a concert hall effect ● Movie, for films on TV ● Simulated Stereo, which generates a pseudo-stereo effect from mono source “ST WideSurround” 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. c u d ) s t( The Surround/Pseudo-stereo mode is automatically selected by the Automatic Standard Recognition System (AUTOSTD) 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 STS_MODE bit in the LS_SRD_CTRL register. o r P Additional user controls are provided to better adapt the spatial effect to the source. The ST WideSurround Gain (LS_STS_GAIN) and ST WideSurround Frequency (LS_STS_FREQ) registers can be used to enhance music predominance in Music mode and theater effect + voice predominancy in Movie mode. e t le 3.4 5-Band Audio Equalizer ) s ( ct o s b O - The Loudspeaker audio spectrum is split into 5 frequency bands and the gain of each of them can be adjusted within a range from -12 dB to +12 dB in steps of 1 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 EQ_ON bit in the LS_EQ_CTRL register. The Bass, Medium and Treble values are programmed in registers LS_EQ_BAND[1:5]. u d o r P e Figure 10: Equalizer t e l o s b O f1=100Hz f2=330Hz 3.5 f3=1KHz f4=3.3KHz f5=6.6KHz Bass/Treble Control The gain of bass and treble frequency bands for the headphone can be also tuned within a range from -12 dB to +12 dB in steps of 1 dB. It may be used to pre-define frequency band enhancement 19/97 Audio Processor Block STV82x6 features dedicated to various kinds of music, to implement programmable Loudness or Super-bass functions. The Headphone Bass/Treble feature is enabled by setting the BT_ON bit in the HP_BT_CTRL register. The Bass and Treble gain values are adjusted in registers HP_BASS_GAIN and HP_TREBLE_GAIN, respectively. 3.6 Volume/Balance Control The STV82x6 provides a Volume/Balance Control for each of the Loudspeaker, Subwoofer and Headphone audio outputs. Its wide range (from 0 to -96 dB in a linear scale) largely covers typical home applications (approx. 60 dB) while maintaining a good S/N ratio. Its fine resolution (0.375 dB) provides simple volume programming and a relative OSD scale representation. The Loudspeaker, Subwoofer and Headphone volume values should be programmed progressively in steps of less than 1 dB in order to prevent audible envelope variations and a minimum duration of 16 ms is required between two successive programming commands to guarantee that there are no audible plops during volume changes. In this case, a full 8-bit volume scan with minimum steps of 0.375 dB will last approximately 4 s (minimum). Output Gain Figure 11: Volume Control c u d 0 dB e t le -96 dB Mute 00h ) s t( o r P o s b O - I²C Control FFh The Volume/Balance Control can operate in one of two different modes: ) s ( ct ● In Differential mode (default value), the volume control is a common volume value for both the Left and Right Loudspeaker and Headphone channels. ● In Independent mode, the volume for the Left and Right channels for Loudspeakers or Headphone is controlled independently. u d o r P e As the Loudspeaker bass frequencies are output by the Subwoofer, its reference volume is controlled by default with the value of the LS_CVOL common volume register. The SW_GAIN register value is used to adjust the level of the Subwoofer output in regards to this reference. In Independent mode, the SW_GAIN register is used as a separated volume control and does not take into account the Loudspeaker audio level. t e l o s b O 3.6.1 Differential Mode The common value for the Right/Left volume controls for the Loudspeaker, Subwoofer and Headphone outputs are programmed in registers LS_CVOL, SW_GAIN and HP_CVOL, respectively. A differential balance can be applied using registers LS_BAL and HP_BAL to adjust the Left/Right level ratio as shown in Figure 12. 20/97 STV82x6 Audio Processor Block R ig ht C ha nn el 100% C ft Le el nn ha Output Gain Figure 12: Differential Balance Mute 00h 80h 7Fh I²C Control 3.6.2 Independent Mode ) s t( This is enabled by setting the BAL_MODE bits in both the LS_VOL_CTRL and HP_VOL_CTRL registers to Independent mode. In this case, the register values are used to control the volume/ balance functions as described in Table 6. c u d Table 6: Volume/Balance Control Registers LS_CVOL/LS_VOL_L HP_CVOL/HP_VOL_L Mode e t le Register 68h/76h LS_VOL_CTRL (Loudspeaker Volume Control) Register 69h/77h o s b O - BAL_MODE = 0 (Independent Mode) LS_VOL_L Left Volume value BAL_MODE = 1 (Differential Mode) LS_CVOL Common Right/Left Volume value ) s ( ct o r P LS_BAL/LS_VOL_R HP_BAL/HP_VOL_R LS_VOL_R Right Volume value LS_BAL Differential Balance value HP_VOL_CTRL (Headphone Volume Control) BAL_MODE = 0 (Independent Mode) BAL_MODE = 1 (Differential Mode) 3.6.3 HP_VOL_L Left Volume value HP_VOL_R Right Volume value HP_CVOL Common Right/Left Volume value HP_BAL Differential Balance value r P e u d o t e l o Mute Control s b O An Independent Mute Control can be used to smooth audio envelope variations in order to prevent any audible plops can be applied to all audio outputs. This feature is controlled by register ANA_LS_HP. A Headphone Detection Mode that will automatically mute the Loudspeaker and Subwoofer outputs when a headphone is detected can be enabled by the HDP_ON bit in the ANA_LS_HP register. In this case, only the Headphone output will remain active. See also Section 3.8: Subwoofer Control and Section 5.4: Headphone Detection. When a demodulated source is selected on the audio output, the mute is also controlled by Automatic Standard Recognition system (AUTOSTD). In case of no mono detected or bad detection of language without backup, the corresponding audio output is automatically muted. In case of multi-language, the output will be de-muted by selecting an other language with backup. 21/97 Audio Processor Block STV82x6 Table 7: Headphone/Mute Register Configuration ANA_LS_HP Register Output Status HPD_IN HPD_ON SW_ON MUTE_LS MUTE_SW MUTE_HP Muted Active X 0 0 0 X 0 SW LS, HP Stereo X X 1 0 0 1 HP LS & SW X X X 1 1 1 X 0 1 0 0 0 0 1 0 0 0 0 SW & HP LS (Default) 1 1 0 0 0 0 SW & LS HP Stereo 3.7 LS, SW & HP (Channel Change: Mute All) LS, SW & HP Mono Automatic Loudness Control ) s t( 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. c u d o r P 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). 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 Loudspeaker Loudness function is enabled by setting the LOUD_ON bit in register LS_LOUD. The Loudness Threshold and Maximum Treble Gain values are also programmed in this register. e t le o s b O - Two bass cut-off frequencies are available: ) s ( ct ● 40 Hz for Normal mode ● 120 Hz for Bass Amplified mode u d o The mode is selected by the LOUD_FREQ bit in register LS_LOUD (66h). 3.8 r P e Subwoofer Control t e l o The subwoofer signal is created by adding the bass frequency of the Left/Right Loudspeaker channels. The Subwoofer output is enabled by setting the SW_ON bit in register ANA_LS_HP. This will also force the Headphone output into Mono mode. s b O The Subwoofer Gain and Frequency Bandwidth values are programmed in registers SW_GAIN and SW_BAND, respectively. The cut-off frequency can be adjusted from between 50 and 400 Hz in steps of 50 Hz. 3.9 Beeper The beeper is used to replace the audio signal with a tone on the Loudspeaker or Headphone outputs. It can be used for various applications such as beep sounds for remote control, alarm clock or other features. 22/97 STV82x6 Audio Processor Block The Beeper operates in one of two modes: ● Pulse mode (beep applications) A tone with a programmable short duration (between 128 ms and 1 s) is generated. Afterwards, the beeper is automatically disabled and the output is switched back to the audio signal. ● Continuous mode (alarm application) A tone with a programmable long duration is generated. Its start and stop controls must be programmed by I²C. In both modes, it is recommended to use the mute function to smooth the audio-to-beeper and beeper-to-audio (Continuous mode only) transitions. The second transition is automatically muted in Pulse mode. Beeper parameters are controlled in register BEEPER_CTRL. The beeper tone level and frequency are programmed in register BEEPER_TONE. The level (or volume) ranges between 0 dB and -93 dB in steps of 3 dB and the tone frequency ranges between 62.2 Hz and 8 kHz in steps of 1 octave. A beep generator is shared only by the Loudspeaker 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. Note: c u d Figure 13: Pulse Mode BEEP_ON = 1 BEEP_ON = 0 e t le 0.125s < T < 1s T predefined 62.5 Hz < F < 8 kHz ) s ( ct u d o r P e t e l o s b O 3.10 ) s t( The audio output is not affected by the Automatic Mute Control of Automatic Standard Recognition function when the beeper is activated. o r P o s b O - Figure 14: Continuous Mode BEEP_ON = 1 BEEP_ON = 0 T defined by I²C write 62.5 Hz < F < 8 kHz SRS™ 3D Surround (STV8226/36 only) In addition to ST WideSurround, the STV8226/36 provides SRS™ 3D Stereo and Mono outputs which are spatial effects patented by SRS Labs. The SRS™ system is available on the IC when the SRS_ON bit of register CUT_ID is set (STV8226/36 identification). ST and SRS™ Surround systems cannot be used simultaneously. These signals are output only on the Loudspeaker path. 23/97 Audio Processor Block STV82x6 SRS™ creates a fully immersed three-dimensional soundfield through the use of a standard 2-speaker stereo configuration. For monaural audio, the source is first converted into a synthetic stereo signal before creating the 3D effect. The virtual gain for the Surround and Center components can be adjusted by registers LS_SRS_SPACE and LS_SRS_CENTER (respectively) in Stereo mode only. These values are used to adapt spatial effects to the source. For ST WideSurround Sound, Stereo or Mono output mode is automatically selected by the Automatic Standard Recognition System (AUTOSTD) according to the detected audio source. By default, ST WideSurround Sound is selected. SRS™ Surround is selected in register LS_SRD_CTRL. c u d e t le ) s ( ct u d o r P e t e l o s b O 24/97 o s b O - o r P ) s t( STV82x6 4 Audio Matrices Audio Matrices In addition to the sound carrier source (SIF), the STV82x6 accepts up to three analog stereo audio inputs (2 VRMS SCART compatible) and one analog mono audio input (0.5 VRMS). These different sources can go back out through four analog stereo audio outputs which are Loudspeaker + Subwoofer and Headphone (1 VRMS) and two compatible SCART audio outputs (2 VRMS). An extra digital stereo output (I²S compatible) is available for interfacing with a Dolby Pro Logic Decoder or an external Digital-to-Analog Converter (DAC). Figure 15: Audio Matrix Block Diagram CH_SEL (49h) Lang. Select SIF Demod. Matrix CH_MX (48h) Demodulator SW1 CH_LANG (4Ah) Audio DSP SW2 CH_LANG (4Ah) I²S Matrix CH_MX (48h) I²S Mono In MONOIN A/D (AI1L, AI1R) SCART1 In (AI2L, AI2R) o r P e t e l o bs (AI3L, AI3R) O b O - so Audio DSP SW3 CH_LANG (4Ah) D/A LS D/A SW o r P ) s t( (LSL, LSR) SW Low Noise Mute D/A HP (HPL, HPR) Low Noise Mute CH_SEL (49h) SCART Matrix SW5 CH_MX (48h) ) s ( ct SW4 Low Noise Switch Level Prescaling du e t le CH_SEL (49h) Lang. Select ANA_SCART (06h) c u d Low Noise Mute CH_SEL (49h) Lang. Select SDI SDO I²S Lang. Select CH_LANG (4Ah) D/A ANA_SCART (06h) SCART2 In SCART3 In SCART1 Out (AO1L, AO1R) SW6 Low Noise Mute Low Noise Switch ANA_SCART (06h) SCART2 Out (AO2L, AO2R) SW7 Low Noise Mute Low Noise Switch 25/97 Audio Matrices 4.1 STV82x6 Input Audio Matrix The mono input (MONOIN) and three stereo SCART inputs (AI1L, AIR1), (AI2L, AI2R) and (AI3L, AI3R) can be switched to any audio output and the same source can be connected to different outputs. The inputs can totally bypass the STV82x6 functions (Thru mode) via the full analog SCART path or use the audio processing corresponding to the different audio outputs. The input matrix is programmed in bits DSP_ISCART_SEL[1:0] of register ANA_SCART. In Thru mode, the STV82x6 is switched into Low Power mode (Standby) and the audio matrix configuration (ANA_SCART register) is memorized and is not reset when switched back to Full Power mode. See Section 7.2: Standby Mode. Before processing the audio signal, the selected analog input is converted into a digital 16-bit signal and pre-processed. Its sound level can be prescaled within a range between -6 dB and +6 dB in steps of 1 dB (register PRE_AUX) and for Left/Right channels (register CH_MX). The internal level can be measured with the Peak Level Detector. 4.2 Output Audio Matrix ) s t( The Loudspeaker+Subwoofer (LSL, LSR, SW), Headphone (HPL, HPR) and I²S (SDO) outputs can directly select two possible sources which are either the demodulated signal or the converted audio input (from the SCART or mono input) in register CH_SEL. In the event of a dual mono source, the language is selected in register CH_LANG. c u d o r P The two analog SCART outputs (AO1L, AO1R) and (AO2L, AO2R) can be used to bypass the STV82x6 functions by directly selecting the analog input SCARTs or the output digital source from the demodulator or the converted audio input (with prescaling and Left/Right re-matrixing). The SCART output is selected in register ANA_SCART and the digital source in register CH_SEL. In the event of a dual mono source, the language is selected in register CH_LANG as other audio outputs. e t le o s b O - In the event of a demodulator source selection, the mute is automatically controlled for all audio outputs. ) s ( ct u d o r P e t e l o s b O 26/97 STV82x6 Additional Controls and Flags 5 Additional Controls and Flags 5.1 Interrupt Request The identified TV sound standard is displayed in register AUTO_STAT. Each change in the detected standard is flagged to the host system via hardware pin IRQ. The flag must be reset by reprogramming the IRQ bit in register AUTO_CTRL and then checking the detected standard status by reading registers AUTO_STAT, NICAM_STAT, ZWT_STAT and CH_MX. 5.2 I²C Bus Expander Pins BUS0 and BUS1 can be used to control external switchable IF SAW filters or audio switches. These pins can be directly programmed by register CTRL. 5.3 Stereo Flag ) s t( For Loudspeakers only, a Stereo Mode Detection flag (the ST_ID bit in register AUTO_STAT) is set when a demodulated source is selected and a stereo standard is detected. The stereo flag is also output on pin ST in order to control an external indicator (e.g. LED). The stereo mode is also displayed by status register AUTO_STAT. c u d o r P CAUTION: When the I²S input is selected, the stereo flag is no longer available on pin ST. 5.4 e t le Headphone Detection o s b O - For the headphone, the HPD input can be used to automatically mute the Loudspeaker and Subwoofer outputs when the HPD_ON bit is set in register ANA_LS_HP (active low). The HPD pin must be set for the mute function to be active. ) s ( ct Figure 16: Headphone Detection Audio Matrix STV82x6 u d o r P e s b O t e l o Right Loudspeaker Audio Processing Left Mute Control Subwoofer Audio Processing Subwoofer Headphone Detection I²C Control Headphone Audio Processing 27/97 I²S Interface 6 STV82x6 I²S Interface A digital stereo input is available for a virtual Dolby source from an external decoder. A digital stereo output (I²S compatible) is available for routing the demodulated signal or a converted input audio signal into a Dolby Pro Logic Decoder or an external DAC. The STV82x6 I²S interface drives the serial bus (SCK, WS, SDO) in Master mode in format 32.fs with a sampling frequency (fS) of 32 kHz. An additional master clock (MCK) in format 256.fs (fS = 8.192 MHz) is provided if required for the slave interface. Both Philips and Sony modes are supported with programmable Word Selection (WS) polarity (register I2S). By default, all I²S digital outputs are set in high impedance and must be switched to low impedance via register CTRL before use. A clock system output (SYSCK) is also available for clock peripherals using the same quartz frequency as the STV82x6. By default, this clock output (identical to the crystal oscillator) is set to high impedance and must be switched to low impedance via register CTRL before use. c u d e t le ) s ( ct u d o r P e t e l o s b O 28/97 o s b O - o r P ) s t( STV82x6 Power Supplies 7 Power Supplies 7.1 Supply Voltages The STV82x6 supports different power configurations due to its integrated voltage regulators. Typically, two power supplies, which are grouped into two sets of IC pins, are required. 1. Digital Power Supply (DPS) This supply may be either 3.3 V or 5 V if an external power transistor is used. The DPS supplies pins VDD1, VDD2 and VDDP. — In 3.3 V mode, the power is directly supplied to the digital power pins. In this case, the REG pin is not used and must be connected to the ground. — 5 V mode requires the use of an external transistor coupled to the integrated voltage regulator via the REG pin in order to generate a stable 3.3 V supply to the digital power pins. 2. Analog Power Supply (APS) This supply may be either 8 V or 5 V. In both cases, external resistors are required, except for pin VDDH. The APS supplies pins VDDIF, VDDC, VDDA and VDDH. ) s t( — The 8 V power supply is directly connected to pin VDDH and offers a 2 VRMS dynamic voltage on SCART outputs. The other analog power pins can be supplied with an 8 V or 5 V supply through external resistors. c u d — If only a 5 V power supply is available for pin VDDH, the SCART outputs will be reduced to 1 VRMS. In this case, the SEL5V bit must be set in register ANA_CTRL. Figure 17: 3.3 V / 8 V or 3.3 V / 5 V Application Standby o r P e VDD2 t e l o VDDP Digital Core Analog 3.3 V Regulator Analog Core Audio Buffer c u d VDD1 (t s) Digital 3.3 V Regulator 8 or 5 V APS VDDA b O VDDIF REG so VDDC 3.3 V DPS e t le o r P VDDH Clock Generator STV82x6 s b O 29/97 Power Supplies STV82x6 Figure 18: 5 V / 8 V or 5 V / 5 V Application Standby 5V DPS Digital 3.3 V Regulator VDDA Analog 3.3 V Regulator Audio Buffer REG VDDC VDDIF 8 or 5 V APS VDD1 Analog Core Digital Core VDD2 VDDP VDDH Clock Generator STV82x6 7.2 c u d Standby Mode ) s t( The STV82x6 provides a Thru mode configuration that bypasses IC functions via a SCART I/O pin (Full Analog Path only). In this case, only minimum power is required (Standby mode). o r P In Standby mode, the digital and analog power supplies are switched off, except for pins VDDA and VDDH which are used to maintain the SCART path, the last configuration programmed for analog matrixing (register ANA_SCART) and the power configuration (register ANA_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. e t le o s b O - 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 STV82x6 are forced into a high-impedance configuration. ) s ( ct u d o r P e t e l o s b O 30/97 STV82x6 I²C Bus 8 I²C Bus 8.1 I²C Address and Protocol The STV82x6 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 STV82x6 chips to the same I²C serial bus. The device address pairs are defined by the polarity of the ADR pin and are listed in the following table: Table 8: I²C Read/Write Addresses ADR Write address (hex) (W) Read address (hex) (R) LOW (connected to GND1) 80h 81h HIGH (connected to VDD1) A0h A1h Protocol Description ● Start ● c u d Write Protocol W A Sub-address A Sub-address A Data A .... A Data Start R A Read Protocol Start W A Stop A o r P Data e t le Stop A .... A ) s t( 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. ) s ( ct o s b O - The STV82x6 cannot immediately reply to an I²C read request when addressing DSP registers (addresses 40h and greater).The I²C interface holds the I²C Serial Clock (SCL) line low before each data byte is read to compensate for the latency of the DSP response (64 µs in worst case). The implemented I²C Pulling Down mode is compatible with a Continuous or Stopped SCL when held low (restart at high level, if stopped) and operates between 24 kHz and 400 kHz. If SCL Pulling Down mode is not supported by the Master I²C interface, the Pulling Down system can be deactivated by setting the SCLPD_OFF bit in register RESET. In this case, two successive reads of the same DSP register are required and only the second one is valid (first read is ‘don’t care’). This special protocol is no longer compatible with the I²C sub-address auto-incrementation function in Read mode. u d o r P e t e l o s b O8.2 STV82x6 Reset All STV82x6 features are controlled via the I²C bus. However, the device is designed to power up into a fully working default mode without having to be sent I²C bus data to set it up. The STV82x6 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 low) resets all the I²C bus registers to the default values listed below. 31/97 I²C Bus STV82x6 Table 9: 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 -48 dB / muted Loudspeaker L/R Balance L/R = 100% Subwoofer -48 dB / OFF Headphone Source Demodulated Sound Headphone Automatic Detection ON Headphone Volume -48 dB / Muted Headphone L/R Balance L/R = 100% SCART-1 out Demodulated Sound SCART-2 out OFF Audio Processing Loudspeaker/Headphone SVC ) s ( ct Loudspeaker Surround Loudspeaker 5-Band Equalizer u d o Loudspeaker Loudness r P e Loudspeaker/Headphone Beeper t e l o s b O 32/97 o s b O - SCART1 Source I²S out Headphone Bass/Treble e t le OFF, 0 dB Reference Value OFF OFF, 0 dB (Flat Band) OFF OFF, 0 dB (Flat Band) -48 dB / OFF o r P c u d ) s t( STV82x6 Register List 9 Register List Note: The unused bits (defined as reserved) in I²C registers must be kept to zero. The system clock registers (from address 08h to 0Bh) do not need to be modified if a standard 27 MHz quartz crystal is used The demodulator registers (from address 0Ch to 54h) default values are optimum and any change is not recommended, except for: Note: ● AGCS (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 outof-standard offset ● Soundlevel Prescaling PRE_FM(44h), PRE_NICAM(45h) and PRE_AUX(46h) to equalize demodulated or external audio signal before audio processing. Peak detector registers PEAK_DET_CTRL(4Bh) and PEAK_DET_STAT(4Ch) can be used to measure internal sound level. ● Sound source selection for each audio output channel Loudspeaker+Subwoofer, Headphone, SCART and I²S to be done using CH_SEL(49h) ● In Multi-lingual mode, CH_LANG(4Ah) selects separately the language for each audio output channel. ● AUTO_CTRL(50h) 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. ● AUTO_SCKM(51h) and AUTO_SCKST(52h) to define the list of mono and stereo standards to be recognized automatically. c u d e t le ) s t( o r P o s b O - () 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. ) s ( ct (*) The field AGC_ERR[4:0] (AGCS) can be written by user if the bit AGC_CMD (AGCC) is set to one (by default controlled by AUTOSTD). To be used to adjust manually the input gain of analog AGC amplifier for AM carrier (L/L’). 9.1 u d o I²C Register Map r P e By default, all I²C registers controlled by Automatic Standard Recognition System (AUTOSTD) are forced to Read-only mode for the user. These registers and bits are shaded in Table 10. t e l o s b O Name Table 10: List of I²C Registers (Sheet 1 of 5) Addr. Reset (Hex) Value (Bin) Register Function and Description Bit 7 Bit 6 0 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 IC General Control CUT_ID 00h (0001 0001) SRS_ON RESET 02h 0000 0000 0 SCLPD_OF AUTO_OFF F 0 0 SOFT_LRS T1 CTRL 03h 0000 0000 0 BUS_EXPAND[1:0] I²S_EN SDI_EN 0 MCK_EN SYSCK_EN I2S 04h 0000 0000 0 0 I2S_STD I2S_WSPO L 0 0 0 CUT_NUMBER[5:0] 0 SOFT_LRS SOFT_RST T2 33/97 Register List STV82x6 Table 10: List of I²C Registers (Sheet 2 of 5) Register Function and Description Addr. Reset (Hex) Value (Bin) Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SEL5V 0 0 0 0 0 0 0 Audio Mute & Switch ANA_CTRL 05h 0000 0000 ANA_SCART 06h 0010 1100 ANA_LS_HP 07h (0)100 0111 DSP_ISCART_SEL[1:0] HPD_IN HPD_ON MUTE_OSC ART2 SW_ON OSCART2_SEL[1:0] 0 0 MUTE_OSC ART1 MUTE_LS OSCART1_SEL[1:0] MUTE_SW MUTE_HP Clocking PLL_DIV 08h 0000 0101 0 0 PLL_MD 09h 0001 1110 0 0 0 SDIV[2:0] FDIV[2:0] PLL_PEH 0Ah 0000 0001 0 0 0 PLL_PEL 0Bh 1110 1000 DEMOD_CTRL 0Ch 0000 0110 0 0 0 0 AM_SEL DEMOD_STAT 0Dh (0000 0000) 0 0 0 QPSK_LK FM2_CAR AGCC 0Eh 0001 0001 AGC_ CMD 0 0 AGCS 0Fh (0000 0000) 0 DCS 10h (0000 0000) MD2[4:0] 0 PE1[11:8] PE1[7:0] Demodulator e t le DC_ERR[7:0] Demodulator Channel 1 CARFQ1H 12h 0011 1110 CARFQ1M 13h 1000 0000 CARFQ1L 14h 0000 0000 FIR1C0 15h 0000 0000 FIR1C1 16h 1111 1110 FIR1C2 17h 1111 1100 FIR1C3 18h 1111 1101 so b O - (s) ct u d o CARFQ1[7:0] FIR1C0[7:0] (S) FIR1C2[7:0] (S) FIR1C3[7:0] (S) FIR1C4[7:0] (S) 1Ah 0000 1101 FIR1C5[7:0] (S) 1Bh 0001 1000 FIR1C6[7:0]6 (S) 1Ch 0001 1111 FIR1C7[7:0] (S) 1Dh 0010 0011 ACOEFF1[7:0] 1Eh 0001 0010 BCOEFF1[7:0] CRF1 1Fh (0000 0000) CRF[7:0] (S) CETH1 20h 0010 0000 CETH1[7:0] SQTH1 21h 0011 1100 SQTH1[7:0] CAROFFSET1 22h 0000 0000 CAROFFSET1[7:0] (S) IAGC_REF[7:0] t e l o FIR1C6 FIR1C7 s b O ACOEFF1 BCOEFF1 SIG_OVER CARFQ1[15:8] 0000 0010 Demodulator Channel 2 IAGCR 25h 1000 1000 IAGCC 26h 0000 0011 34/97 IAGC_ OFF 0 0 0 0 FM1_SQ AGC_CST[1:0] CARFQ1[23:16] 19h FIR1C5 FM1_CAR FIR1C1[7:0] (S) r P e FIR1C4 FM2_SQ o r P AGC_REF[2:0] AGC_ERR[4:0] (*) c u d ) s t( DEMOD_MODE[2:0] IAGC_CST[2:0] SIG_UNDE R STV82x6 Register List Table 10: List of I²C Registers (Sheet 3 of 5) Register Function and Description Addr. Reset (Hex) Value (Bin) Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 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) CRF2 37h (0000 0000) CETH2 38h 0010 0000 SQTH2 39h 0011 1100 CAROFFSET2 3Ah 0000 0000 3Dh 0000 0000 NICAM_BER 3Eh (0000 0000) NICAM_STAT 3Fh (0000 0000) o r P e Stereo FM ZWT_CTRL t e l o ZWT_STAT Bit 1 c u d Bit 0 ) s t( o r P e t le SRF[7:0] (S) CRF2[7:0] (S) so NICAM NICAM_CTRL Bit 2 ) s ( ct 0 du 0 b O - CETH2[7:0] SQTH2[7:0] CAROFFSET2[7:0] (S) 0 0 0 DIF_POL ECT MAE ERROR[7:0] NIC_DET F_MUTE 40h 0011 0001 0 STD_MODE 41h (0000 0000) 0 0 LOA CBI[4:1] NIC_MUTE THRESH[3:0] 0 0 TSCTRL[1:0] 0 ZW_DET ZW_ST ZW_DM Sound Preprocessing & Selection s b O 42h (0000 0000) FM_DCL[7:0] (S) 43h (0000 0000) FM_DCR[7:0] (S) PRE_FM 44h 0000 0110 0 0 FM_PRESCALE[5:0] (S) PRE_NICAM 45h 0000 1101 0 0 NICAM_PRESCALE[5:0] (S) PRE_AUX 46h 0000 0000 FM_DCL FM_DCR I2S_PRESCALE[3:0] (S) SCART_PRESCALE[3:0] (S) CH_CTRL 47h 0000 0000 MUTE_D01 MUTE_D12 2 CH_MX 48h 0000 0000 I2S_MX[1:0] SC_MX[1:0] CH_SEL 49h 0000 0000 I2S_SEL[1:0] SC_SEL[1:0] HP_SEL[1:0] LS_SEL[1:0] CH_LANG 4Ah 0000 0000 I2S_LANG[1:0] SC_LANG[1:0] HP_LANG[1:0] LS_LANG[1:0] NIC_DMX NICDPH_O FF FM_DMX[1:0] FMDPH_OF F FMDPH_S W DEMOD_MX[3:0] 35/97 Register List STV82x6 Table 10: List of I²C Registers (Sheet 4 of 5) Register Function and Description Addr. Reset (Hex) Value (Bin) Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 0 0 0 0 0 0 PEAK_DET_CTRL 4Bh 0000 0000 PEAK_DET_STATL 4Ch (0000 0000) PEAK_LEVEL_LEFT[7:0] PEAK_DET_STATR 4Dh (0000 0000) PEAK_LEVEL_RIGHT[7:0] Bit 1 Bit 0 PD_SEL[1:0] Automatic Standard Recognition System AUTO_CTRL 50h 0000 0001 0 0 0 IRQ SINGLE_SH OT AUTO_SCKM 51h 0000 1111 0 0 0 0 LDK_SCK I_SCK BG_SCK MN_SCK AUTO_SCKST 52h 0001 1111 LDK_NIC I_NIC BG_ZWT BG_NIC MN_ZWT AUTO_TIMER 53h 1010 0100 AUTO_STAT 54h 0(000 0000) LDK_ZWT3 LDK_ZWT2 LDK_SWT1 FM_TIME[1:0] ST_ID DK_DEV[1:0] NICAM_TIME[2:0] STEREO_S MONO_STA TATE TE AUTO_ON ZWEITON_TIME[2:0] STEREO_SID[1:0] MONO_SID[1:0] Audio Processing SVC_SEL 59h 0000 0000 0 SVC_CTRL 5Ah 0000 0000 SVC_ON SVC_TIME[1:0] LS_SRD_CTRL 5Bh 0000 0000 SRD_ON 0 LS_STS_GAIN 5Ch 1000 0000 LS_STS_FREQ 5Dh 00010101 LS_SRS_SPACE 5Eh 1000 0000 LS_SRS_CENTER 5Fh 1000 0000 LS_EQ_CTRL 60h 0000 0000 EQ_ON 0 LS_EQ_BAND1 61h 0000 0000 0 0 LS_EQ_BAND2 62h 0000 0000 0 LS_EQ_BAND3 63h 0000 0000 LS_EQ_BAND4 64h 0000 0000 LS_EQ_BAND5 65h 0000 0000 0 0 0 0 0 uc 0 0 d o r 0 0 0 SRD_SEL P e let BASS_FREQ[1:0] MEDIUM_FREQ[1:0] TREBLE_FREQ[1:0] 0 o s b O 0 EQ_BAND2_GAIN[4:0] (S) 0 0 EQ_BAND3_GAIN[4:0] (S) 0 0 EQ_BAND4_GAIN[4:0] (S) 0 0 EQ_BAND5_GAIN[4:0] (S) SRS_SPACE[7:0] (for Stereo mode only) SRS_CENTER[7:0] (for Stereo mode only) (s) ct 0 0 0 0 0 0 0 0 0 EQ_BAND1_GAIN[4:0] (S) 0000 0010 LOUD_TH_ ON 67h 0000 0001 0 68h 1000 0000 CVOL[7:0] 69h 0000 0000 BAL[7:0] (S) SW_GAIN 6Ah 1000 0000 SW_GAIN[5:0] SW_BAND 6Bh 0000 0011 0 0 0 0 0 HP_BT_CTRL 71h 0000 0000 BT__ON 0 0 0 0 HP_BASS_GAIN 72h 0000 0000 0 0 0 BASS_GAIN[4:0] (S) HP_TREBLE_GAIN 73h 0000 0000 0 0 0 TREBLE_GAIN[4:0] (S) HP_VOL_CTRL 75h 0000 0001 t e l o LS_VOL_CTRL LS_CVOL/ LS_VOL_L bs LS_BAL/ LS_VOL_R O SVC_SW SRD_STER STS_MODE EO 66h LS_LOUD ) s t( SVC_REF[4:0] (S) ST_GAIN[7:0] u d o r P e 0 LDK_SW LOUD_ FREQ LOUD_TH[2:0] 0 0 0 0 R LOUD_TH_GHR[2:0] 0 0 BAL_MODE SW_FREQ[2:0] Headphone Channel 36/97 0 0 0 BAL_MODE STV82x6 Register List Table 10: List of I²C Registers (Sheet 5 of 5) Register Function and Description Addr. Reset (Hex) Value (Bin) Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 HP_CVOL/ HP_VOL_L 76h 1000 0000 CVOL[7:0] HP_BAL/ HP_VOL_R 77h 0000 0000 BAL[7:0] (S) BEEPER_CTRL 79h 0000 0000 BEEPER_TONE 7Ah 0111 0000 Bit 2 Bit 1 Bit 0 Beeper 9.2 LS_BEEP_ ON HP_BEEP_ BEEP_MOD ON E 0 0 BEEP_FREQ[2:0] 0 BEEP_DURATION[1:0] BEEP_VOL[4:0] STV82x6 General Control Registers CUT_ID Version Identification c u d Address (hex): 00h Type: R Bit 7 Bit 6 SRS_ON 0 Bit 5 Bit 4 Bit 3 Bit 2 e t le CUT_NUMBER[5:0] Bit Name Reset SRS_ON 0 ) s t( o r P Bit 1 Bit 0 o s b O - Function Identifies the STV82x6 version 0: version without SRS™ (STV82x6) - Only ST WideSurround can be used 1: version with SRS™ (STV8226/36) - Both SRS™ and ST WideSurround are available Bit 6 0 ) s ( ct Reserved. u d o CUT_NUMBER[5:0] 010001 Dice Version Identification r P e RESET t e l o Address (hex): 02h Software Reset Register Type: R/W s b O Bit 7 0 Bit 6 Bit 5 Bit 4 Bit 3 SCLPD_OFF AUTO_OFF 0 0 Bit 2 Bit 1 SOFT_LRST1 SOFT_LRST2 Bit 0 SOFT_RST Description The built-in Automatic Standard Recognition System (AUTOSTD) can be disabled by bit AUTO_OFF (when high). In this case, the Software Reset function (bits SOFT_LRESTART1 and SOFT_LRESTART2) 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). 37/97 Register List STV82x6 Bit Name Reset Bit7 0 SCLPD_OFF Function Reserved. SCL Pulling-down System Disable 0: System is enabled 1: System is disabled AUTO_OFF 0 Automatic Standard Recognition System Disable 0: System is enabled 1: System is disabled Bits[4:3] 00 Reserved. SOFT_LRESTART1 0 Softreset (active high) of Channel 1 detectors only. SOFT_LRESTART2 0 Softreset (active high) of Channel 2 detectors only. SOFTRST 0 General softreset (active high) to reset all hardware registers except for I²C data. CTRL c u d Hardware Interface Control Register Address (hex): 03h Type: R/W Bit 7 Bit 6 0 Bit 5 BUS_EXPAND[1:0] Bit 4 Bit 3 I2S_EN SDI_EN e t le Bit 2 0 o r P ) s t( Bit 1 Bit 0 MCK_EN SYSCK_EN o s b O - Description Provides all hardware controls to drive external components (SAW Filter, Audio Switches) and additional Audio Decoder (Dolby Pro Logic) via register I2S including the Master and Quartz Clocks. Bit Name Reset Bit 7 0 ) s ( ct Function u d o Reserved. r P e BUS_EXPAND[1:0] 00 Static control by I²C of hardware pins BUS1 and BUS0. 0 When 1, the I²S hardware pin is enabled (SCK, WS, SDO) 0 When 1, the SDI input pin is enabled (switch with ST output). Must be used when I²S mode is selected. Bit 2 0 Reserved. MCK_EN 0 Master Clock Enable I2S_EN t e l o SDI_EN s b O SYSCK-EN Enables the master clock output (256.fs) to interface by I²S with the Dolby Pro Logic Decoder. 0: Disabled. 1: Enabled 0 System Clock Enable Enables the system clock output to provide the quartz clock required to interface with the Dolby Pro Logic Decoder. 0: Disabled. 1: Enabled 38/97 STV82x6 Register List I2S I²S Interface Control Register Address (hex): 04h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 I2S_STD I2S_WSPOL 0 0 Description Proposes most used I²S standard (Philips and Sony) with Word Select (WS) polarity programming. Only Master mode is supported. All interfaced chip must be set in slave mode. Bit Name Reset Bits[7:4] 0000 I2S_STD 0 Function Reserved. I²S Standard Select 0: Philips Standard (Default) 1: Sony Standard I2S_WSPOL 0 c u d I²S Word Select Polarity Select 0: No WS inversion (Default) 1: WS with polarity inversion Bits[1:0] 9.3 00 Reserved. e t le Analog Block ANA_CTRL ) s ( ct Type: R/W Bit 6 t e l o Bit Name SEL5V O bs Bit[6:0] du Bit 5 o r P e SEL5V o r P o s b O - Power Supply Configuration Control Register Address (hex): 05h Bit 7 ) s t( 0 0 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 Reset 0 Function 5 V Analog Power Supply Select The audio power amplifiers should be muted before changing this bit. 0: 8 V Analog Power Supply (Default). 1: 5 V Analog Power Supply 0000000 Reserved 39/97 Register List STV82x6 ANA_SCART SCART Control Register Address (hex): 06h Type: R/W Bit 7 Bit 6 DSP_ISCART_SEL[1:0] Bit Name Reset DSP_ISCART _SEL[1:0] 00 MUTE_OSCART2 1 OSCART2_SEL [1:0] 01 Bit 5 Bit 4 MUTE_OSCA RT2 Bit 3 OSCART2_SEL[1:0] Bit 1 MUTE_OSCA RT1 Bit 0 OSCART1_SEL[1:0] Function Analog Audio Matrixing for Mono and SCART Inputs (with Low Noise Audio Switching) 00: ISCART1 (Default) 01: ISCART2 10: ISCART3 11: Mono input 0: No Mute 1: x Output muted c u d Analog Audio Matrixing for SCART outputs (with Low Noise Audio Switching) 00: DSP_OSCART 01: ISCART1 (Default) 10: ISCART2 11: ISCART3 MUTE_OSCART1 1 0: No Mute 1: x Output muted OSCART1_SEL [1:0] 00 00: DSP_OSCART (Default) 01: ISCART1 10: ISCART2 11: ISCART3 Note: Bit 2 ) s ( ct e t le ) s t( o r P o s b O - SCART I²C programming (matrixing and mute control) is maintained during Standby mode Before switching to Standby mode, the output SCART mute is recommended if the demodulated sound source (DSP_OSCART) is selected by this output. This source might cause an audible plop during the digital power down. u d o r P e ANA_LS_HP t e l o ANA_LS/HP s b O Loudspeaker/Subwoofer/Headphone Mute Control Address (hex): 07h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 HPD_IN HPD_ON SW_ON 0 0 MUTE_LS MUTE_SW MUTE_HP 40/97 STV82x6 Register List Bit Name Reset HPD_IN 0 Function Headphone Input Pin Status Read only I²C bit that displays the HPD pin Status 0: Headphone is detected 1: Headphone is not detected HPD_ON 0 Headphone Detection Enable 0: Headphone Detection is disabled 1: Headphone Detection is enabled. If the HPD_IN bit is set, the Loudspeaker and Subwoofer mute is activated SW_ON 0 Subwoofer Enable Before switching on/off the subwoofer, a mute is recommended to prevent an audible plop. 0: Subwoofer is disabled. Headphone output is selected. 1: Subwoofer is enabled. Subwoofer output is selected and Headphone output is in Mono mode Bits[4:3] 00 Reserved. MUTE_LS 000 000: LS + SW + HP mono 001: LS + SW 010: LS + HP stereo 011: LS only MUTE_SW MUTE_HP 9.4 100: Not used. 101: Not used. 110: HP stereo only. 111: All muted (Default) Clocking e t le c u d ) s t( o r P 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. (See Section 2.2: System Clock.) 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: o s b O - A Crystal Frequency change is compatible with other default I²C programming including the built-in Automatic Standard Recognition System. ) s ( ct PLL_DIV Type: R/W t e l o Bit 7 0 s b O PLL Frequency Divider Register o r P e Address (hex): 08h du Bit 6 Bit 5 0 Bit 4 Bit 3 Bit 2 SDIV[2:0] Bit Name Reset Bits[7:6] 00 Reserved. SDIV[2:0] 000 PLL Frequency S-Divider FDIV[2:0 101 PLL Frequency F-Divider Bit 1 Bit 0 FDIV[2:0] Function 41/97 Register List STV82x6 PLL_MD PLL Coarse Frequency Control Register Address (hex): 09h Type: R/W Bit 7 Bit 6 Bit 5 0 0 0 Bit Name Reset Bits[7:5] 000 MD2[4:0] 11110 Bit 4 Bit 3 Bit 2 Bit 1 MD2[4:0] Function Reserved. PLL Coarse Frequency Control PLL_PEH PLL Fine Frequency Control Register (MSBs) Address (hex): 0Ah c u d Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 0 0 0 e t le Bits[7:4] 000 Reserved. PE1[11:8] 0001 PLL Fine Frequency Control (4 MSBs) ) s ( ct u d o r P e Bit 6 Bit Name Reset PE1[7:0] 11101000 42/97 o r P Bit 0 o s b O - PLL Fine Frequency Control Register (LSBs) Type: R/W bs Bit 1 ) s t( Function Address (hex): 0Bh t e l o Bit 2 PE1[11:8] Reset PLL_PEL O Bit 3 Bit Name Bit 7 Bit 0 Bit 5 Bit 4 Bit 3 Bit 2 PE1[7:0] Function PLL Fine Frequency Control (8 LSBs) Bit 1 Bit 0 STV82x6 9.5 Register List Demodulator DEMOD_CTRL Demodulator Control Register Address (hex): 0Ch Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 0 0 AM_SEL Bit Name Reset Bits[7:4] 0000 AM_SEL 0 Bit 2 Bit 1 DEMOD_MODE[2:0] Function Reserved. Demodulator Configuration Select 0: FM configuration of demodulator (Default) 1: AM configuration of demodulator DEMOD_MODE[ 2:0] 110 Demodulator Mode Select X00: X01: 010: 011: 110: 111: DEMOD_STAT CH1 FM CH2 FM/QPSK Normal Wide Normal Wide Normal Wide FM Normal FM Wide QPSK System B/G/L/D/K QPSK System B/G/L/D/K QPSK System I QPSK System I 0 0 Bit [7:5] bs QPSK_LK O FM2_CAR Bit 5 u d o 0 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 QPSK_LK FM2_CAR FM2_SQ FM1_CAR FM1_SQ Reset 000 0 o r P o s b O - r P e t e l o Bit Name e t le ) s ( ct Type: R Bit 6 c u d ) s t( Demodulator Detection Status Register Address (hex): 0Dh Bit 7 Bit 0 Function Reserved. QPSK Lock detection flag 0: Not detected 1: Detected 0 Channel 2 FM/AM Carrier detector flag 0: Not detected 1: Detected FM2_SQ 0 Channel 2 FM Squelch detector flag 0: Not detected 1: Detected 43/97 Register List STV82x6 Bit Name Reset FM1_CAR 0 Function Channel 1 FM/AM Carrier detector flag 0: Not detected 1: Detected FM1_SQ 0 Channel 1 FM Squelch detector flag 0: Not detected 1: Detected Note: These registers allow direct access to the demodulator signal detectors. AGCC AGC Control for IF ADC Address (hex): 0Eh Type: R/W Bit 7 Bit 6 Bit 5 AGC_CMD 0 0 Bit Name Reset AGC_CMD 0 Bit 4 Bit 3 Bit 2 Bit 1 c u d AGC_REF[2:0] ) s t( Bit 0 AGC_CST[1:0] Function e t le Automatic Gain Control Command Mode o r P 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. o s b O - 0: Automatic mode. AGC controlled by the AUTOSTD 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. ) s ( ct du Clipping Ratio t e l o o r P e AGC_CST[1:0] s b O 44/97 000: 001: 010: 011: 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.25 dB by the ADC. Step Duration (ms) 00 01 10 11 1.33 2.66 5.33 10.66 STV82x6 Register List AGCS AGC Control and Status for IF ADC Address (hex): 0Fh Type: R Bit 7 Bit 6 Bit 5 0 Bit 4 Bit 3 Bit 2 AGC_ERR[4:0] Bit Name Reset Bit 7 0 AGC_ERR[4:0] 00000 Bit 1 Bit 0 SIG_OVER SIG_UNDER Function Reserved. Amplifier Gain Control This is the Gain Control value of ADC. There are 31 steps of +1.25 dB (see Note below). 00000: 0 dB Gain 11110: +37.5 dB Gain SIG_OVER 0 AGC Input SIgnal Upper Threshold 0: Normal signal 1: Signal too large and AGC is overloaded SIG_UNDER 0 c u d AGC Input SIgnal Lower Threshold 0: Normal signal 1: Signal too small and AGC is underloaded ) s t( o r P 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 STV82x6 SIF input level. e t le Note: o s b O - 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. ) s ( ct 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. DCS DC Offset Status for IF ADC o r P e Address (hex): 10h Type: R t e l o Bit 7 s b O du Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DC_ERR[7:0] Bit Name Reset DC_ERR[7:0] 00000000 Function DC offset error of IF ADC output 45/97 Register List 9.6 STV82x6 Demodulator Channel 1 CARFQ1H, CARFQ1M, CARFQ1LChannel 1 Carrier DCO Frequency Address (hex): 13h to 15h 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] Bit Name Reset Function CARFQ1[13:8] ]CARFQ1[13:8] CARFQ1[7:0] 00111110 10000000 00000000 Channel 1 DCO Carrier Frequency (8 MSBs) Channel 1 DCO Carrier Frequency Channel 1 DCO Carrier Frequency (8LSBs) Table 11: Mono Carrier Frequencies by System System Mono Carrier Freq. (MHz) CARFQ1[23:0] (dec) M/N 4.5 3072000 B/G 5.5 3754667 I 6.0 4096000 L 6.5 4453717 D/K/K1/K2 6.5 4437333 o r P 2EE000h e t le 394AABh 3E8000h 43F555h 43B555h b O - Carrier Freq: CARFQ1(dec).Fs/224 with Fs = 24.576 MHz (crystal oscillator frequency independent) Note: FIR1C[0:7] Address (hex): 15h to 1Ch t e l o Bit 7 s b O Channel 1 FIR Coefficients u d o r P e Type: R/W Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FIR1C0[7:0] to FIR1C7[7:0] Bitfield 46/97 CARFQ1[23:0] (hex) so ) s ( ct c u d ) s t( Description FM 27 kHz FM 50 kHz FM 200 kHz FM 350 kHz FM 500 kHz AM FIR1C0[7:0] FFh 00h 00h 02h 01h 00h FIR1C1[7:0] FEh FEh 01h 01h 00h FEh FIR1C2[7:0] FEh FCh 01h FCh 04h FDh FIR1C3[7:0] 00h FDh FCh 03h FAh FEh FIR1C4[7:0] 06h 02h 08h 04h 05h 04h STV82x6 Register List Bitfield Description FIR1C5[7:0] 0Eh 0Dh F6h F2h 00h 0Dh FIR1C6[7:0] 16h 18h F8h 06h F2h 16h FIR1C7[7:0] 1Bh 1Fh 4Ah 43h 4Dh 1Dh ACOEFF1 Channel 1 Baseband PLL Loop Filter Proportional Coefficient Address (hex): 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 Reset ACOEFF1[7:0] 00100011 Function c u d 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 o r P Channel 1 Baseband PLL Loop Filter Integral Coefficient & DCO Gain e t le Address (hex): 1Eh Type: R/W Bit 7 ) s t( Bit 6 Bit 5 Bit 4 ) s ( ct o s b O Bit 3 Bit 2 Bit 1 Bit 0 BCOEFF1[7:0] Bit Name Reset o r P e BCOEFF1[7:0] 00010010 du 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. t e l o O bs Table 12: Baseband PLL Loop Filter Adjustment (FM Mode) FM Mode Small Standard Medium Large A2 Standard ACOEFF (hex) 10h 22h 2Ch 2Ch 10h BCOEFF (hex) 1Ah 12h 0Ah 0Ah 11h FM_DEV max (kHz) 62.5 125 250 500 125 96 192 384 768 192 DCO Range (kHz) 47/97 Register List STV82x6 CRF1 Channel 1 Baseband PLL Demodulator Offset Address (hex): 1Fh Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CRF1[7:0] Bit Name Reset CRF1[7:0] 00000000 Function 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 (hex): 20h c u d Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 CETH1[7:0] e t le Bit 1 ) s t( Bit 0 o r P Bit Name Reset Function CETH1[7:0] 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 t e l o Address (hex): 21h Threshold (dB) -6 -12 -18 -24 (Default) ) s ( ct u d o r P e SQTH1 o s b O CETH 10h 08h 00h Threshold (dB) -32 (Recommended Value) -38 OFF (all carrier levels are accepted) Channel 1 FM Squelch Threshold Register Type: R/W bs Bit 7 O 48/97 Bit 6 Bit 5 Bit 4 Bit 3 SQTH1[7:0] Bit 2 Bit 1 Bit 0 STV82x6 Register List Bit Name Reset Function SQTH1[7:0] 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 CAROFFSET1 0 10 15 (Default) 20 25 Channel 1 DCO Carrier Offset Compensation Address (hex): 22h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 CAROFFSET1[7:0] (S) Bit Name Reset CAROFFSET1[7:0] 00000000 Function c u d ) s t( Bit 0 o r P This value is used correct the carrier frequency offset of the incoming IF signal. Automatic frequency control in FM mode can be implemented by registers FM_DCR and FM_DCL. e t le 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. o s b O - For standard FM deviation, the value displays by FM_DCL can be directly loaded in CAROFFSET1 to exactly compensate the carrier offset on Channel 1 ) s ( ct 9.7 Demodulator Channel 2 IAGCR Address (hex): 25h Bit 7 r P e t e l o Type: R/W s b O u d o Bit 6 Channel 2 Internal AGC Reference for QPSK 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. 49/97 Register List STV82x6 IAGCC Channel 2 Internal AGC Time Constant for QPSK Address (hex): 26h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 IAGC_OFF 0 0 0 0 Bit 2 Bit 1 Bit 0 IAGC_CST[2:0] Bit Name Reset Function IAGC_OFF 0 Bits[6:3] 0000 Reserved. IAGC_CST[2:0] 011 Internal AGC Programmable Step Constant. AGC Disable 0: Internal AGC is active 1: Internal AGC is disabled ) s t( 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) c u d Step time (us) Time Response (ms) 000 001 010 011 100 101 110 111 IAGCS 703 352 176 88 44 22 11 5.5 ) s ( ct u d o Type: R Bit 7 Bit 6 r P e t e l o bs IAGC_CTRL[7:0] O e t le o r P o s b O - Channel 2 Internal AGC Status for QPSK Address (hex): 27h Bit Name 128 64 32 16 8 4 2 0.82 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 IAGC_CTRL[7:0] Reset Function 00000000 Indicates the value of the internal AGC gain control CARFQ2H, CARFQ2M, CARFQ2LChannel 2 Carrier DCO Frequency Address (hex): 28H to 2Ah Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 CARFQ2[23:16], CARFQ2[15.8], CARFQ2[7:0] 50/97 Bit 1 Bit 0 STV82x6 Register List Bit Name Reset Function CARFQ2[23:16] CARFQ2[15.8] CARFQ2[7:0] 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] (Hex) 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 DK3 A2* 5.7421875 3920000 FIR2C[0:7] Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 ) s ( ct 463B2Bh e t le Channel 2 FIR Coefficients Address (hex): 2Bh to 32h c u d ) s t( o s b O Bit 3 Bit 2 o r P 3BD080h Bit 1 Bit 0 FIR2C0[7:0] to FIR2C7[7:0] Table 14: Channel 2 FIR Coefficients u d o r P e Description Bitfield t e l o O bs FM 27 kHz FM 50 kHz QPSK 40% QPSK100% FIR2C0[7:0] FFh 00h 00h 00h FIR2C1[7:0] FEh FEh 00h 00h FIR2C2[7:0] FEh FCh FFh 00h 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 51/97 Register List STV82x6 ACOEFF2 Channel 2 Baseband PLL Loop Filter Proportional Coefficient Address (hex): 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 Reset Function ACOEFF2[7:0] 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 (hex): 34h c u d Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 BCOEFF2[7:0] Bit Name Reset BCOEFF2[7:0] 10101100 e t le Bit 1 o r P o s b O - 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. FM mode Small ) s ( ct Standard Mid Wide A2 standard 10h 22h 2Ch 2Ch 10h 1Ah 12h 0Ah 0Ah 11h 62.5 125 250 500 125 96 192 384 768 192 u d o ACOEFF (hex) r P e FM_DEV max (kHz) t e l o DCO Range (kHz) s b O Table 16: Baseband PLL Loop Filter Adjustments (QPSK Mode) QPSK mode Small Medium Large Extra-large ACOEFF (hex) 90h 90h 90h 90h BCOEFF (hex) ACh A3h 9Ah 91h 2.84375 5.6875 11.375 22.75 DCO_DEV max (kHz) 52/97 Bit 0 Function Table 15: Baseband PLL Loop Filter Adjustments (FM Mode) BCOEFF (hex) ) s t( STV82x6 Register List SCOEFF Channel 2 Symbol Tracking Loop Coefficients Address (hex): 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] 00011100 Function 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) Small Medium Large Extra-Large Open Loop 1Eh 25h 24h 26h 2Ah 80h SCOEFF (hex) Table 18: QPSK System - I Standard (100% Roll-off) Extra-Small Small Medium 16h 1Dh 1Ch SCOEFF (hex) SRF o r P Large e t le c u d Extra-Large 23h 22h o s b O - Channel 2 Symbol Tracking Loop Frequency Address (hex): 36h ) s ( ct Type: R/W Bit 7 Bit 6 Bit 5 o r P e Bit Name t e l o SRF[7:0] ) s t( Extra-Small Bit 4 du Bit 3 s b O CRF2 Bit 1 Bit 0 SRF[7:0] Reset 00000000 Bit 2 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. Channel 2 Baseband PLL Demodulator Offset Address (hex): 37h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CRF2[7:0] 53/97 Register List STV82x6 Bit Name Reset CRF2[7:0] 00000000 Function Channel 2 Carrier Recovery Frequency. Displays the instantaneous frequency offset of the Channel 2 Baseband PLL CETH2 Channel 2 FM Carrier Level Threshold Address (hex): 38h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CETH2[7:0] Bit Name Reset Function CETH2[7:0] 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 SQTH2 Threshold (dB) -6 -12 -18 -24 (Default) ) s ( ct Type: R/W Bit 7 Bit 6 t e l o O 54/97 Bit 5 e t le o r P o s b O - Reset 00111100 Bit 4 u d o r P e Bit Name bs c u d Threshold (dB) -32 -38 OFF (All carrier levels are accepted) Channel 2 FM Squelch Threshold Address (hex): 39h SQTH2[7:0] CETH 10h 08h 00h ) s t( Bit 3 Bit 2 Bit 1 Bit 0 SQTH2[7:0] Function 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 FAh 77h 3Ch 23h 19h S/N (dB) 0 10 15 (Default) 20 25 STV82x6 Register List CAROFFSET2 Channel 2 DCO Carrier Offset Compensation Address (hex): 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 Function CAROFFSET2 [7:0] 00000000 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 FM_DCR and FM_DCL. 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. ) s t( For standard FM deviation, the value displayed by register FM_DCR can be directly loaded in in register CAROFFSET2 to exactly compensate the carrier offset on Channel 2. 9.8 c u d NICAM Registers NICAM_CTRL NICAM Decoder Control Register e t le Address (hex): 3Dh Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 0 0 0 0 Bit Name Reset Bits[7:3] 00000 t e l o s b O MAE u d o Reserved. Bit 3 Bit 2 Bit 1 Bit 0 0 DIF_POL ECT MAE Function r P e DIF_POL ECT ) s ( ct o s b O - o r P 0 0: No polarity inversion (Default) 1: Polarity inversion of the differential decoding 0 Error Counter Timer: Defines the NICAM error measurement period 0: 128 ms (Default) 1: 64 ms 0 Max. Allowed Errors. Defines the NICAM error decoding for mute function. 0: 511 Max (Default) 1: 255 Max 55/97 Register List STV82x6 NICAM_BER NICAM Bit Error Rate Register Address (hex): 3Eh Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ERROR[7:0] Bit Name Reset Function ERROR[7:0] 00000000 NICAM_STAT NICAM Error Counter Value NICAM Detection Status Register Address (hex): 3Fh Type: R Bit 7 Bit 6 Bit 5 NIC_DET F_MUTE LOA Bit Name Reset NIC_DET 0 Bit 4 Bit 3 CBI[3:0] r P e t le 0 uc Bit 1 od Bit 0 NIC_MUTE Function NICAM Signal Detect o s b O - 0: NICAM signal no detected 1: NICAM signal detected F_MUTE Bit 2 ) s t( Frame Mute 0: No mute 1: Mute due to Superframe Alignment Loss LOA 0 ) s ( ct Loss of Frame Alignment Word (FAW) 0: No Alignment Lost 1: Frame Alignment Word Lost u d o r P e CBI[3:0] 0000 NIC_MUTE 0 Indicates the received NICAM control bits Indicates the NICAM decoder mute t e l o 9.9 Zweiton s b O ZWT_CTRL Zweiton Detector Control Register Address (hex): 40h Type: R/W Bit 7 Bit 6 0 STD_MODE 56/97 Bit 5 Bit 4 Bit 3 THRESH[3:0] Bit 2 Bit 1 Bit 0 TSCTRL[1:0] STV82x6 Register List Bit Name Reset Function Bit 7 0 Reserved. STD_MODE 0 0: German standard (Default) 1: Korean standard THRESH[3:0] 1100 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 0 6.25 12.5 18.75 25 31.25 37.5 43.75 1000 1001 1010 1011 1100 (Default) 1101 1110 1111 256 10-4 01 (Default) 1024 3 384 10-6 10 2048 2 512 10-7 768 10-9 2048 3 Bit 7 Bit 6 Bit 5 0 0 0 Reset o r P e t e l o ZW_DM e t le Zweiton Status Register Type: R ZW_ST Error Probability 2 Address (hex): 41h ZW_DET Time (ms) 1024 ZWT_STAT 00000 Decision Count 00 11 Bits[7:3] 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 Bit Name Level (% of the mid scale) Bit 4 ) s ( ct 0 o s b O - c u d ) s t( o r P Bit 3 Bit 2 Bit 1 Bit 0 0 ZW_DET ZW_ST ZW_DM Bit 1 Bit 0 du Function Reserved. 0 Pilot Detection Flag 0 Stereo Tone Detection Flag 0 Dual Mono Tone Detection Flag sSound Preprocessing and Selection Registers b O 9.10 FM_DCL FM DC Offset Left Register Address (hex): 42h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 FM_DCL[7:0] 57/97 Register List STV82x6 Bit Name Reset Function FM_DCL[7:0] 00000000 Displays (in two’s complement format) the FM (or AM) DC offset level after demodulation on channel 1 (and removed automatically). 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 19. FM_DCR FM DC Offset Right Register Address (hex): 43h Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FM_DCR[7:0] Bit Name Reset FM_DCR[7:0] 00000000 c u d Function ) s t( Displays (in two’s complement format) the FM (or AM) DC offset level after demodulation on channel 2 (and removed automatically). o r P 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-of-standard offset. The range and the resolution depend upon the FM bandwidth programmed defined in register BCOEFF2. See Table 19. e t le o s b O - Table 19: FM_DCL/R Range and Resolution FM mode Range (kHz) (s) Small ct Standard & A2 Standard du Medium o r P e Large t e l o PRE_FM Resolution (kHz) ± 96 0.750 ± 192 1.5 ± 384 3 ± 768 6 FM Prescaling Register Address (hex): 44h s b O Type: R/W Bit 7 Bit 6 0 0 Bit 4 Bit 3 Bit 2 FM_PRESCALE[5:0] Bit Name Reset Bits[7:6] 0 58/97 Bit 5 Function Reserved. Bit 1 Bit 0 STV82x6 Bit Name Register List FM_PRESCALE [5:0] Reset Function 000110 -6 to + 24 dB FM (or AM) prescaling to normalize the FM (or AM) demodulated signal level before audio processing. Auto level control can be implemented by I²C software using the Peak Level Detector. (Default value = +6 dB) G (dB) +24 +23 +22 +21 +20 etc. 011000 010111 010110 010101 010100 PRE_NICAM 111110 111101 111100 111011 111010 G (dB) -2 -3 -4 -5 -6 NICAM Prescaling Register Address (hex): 45h Type: R/W Bit 7 Bit 6 0 0 Bit 4 Reset Bits[7:6] 00 e t le Reserved. Bit 6 G (dB) +24 +23 +22 +21 +20 etc. ) s ( ct u d o r P e t e l o s b O Bit 7 Bit 1 c u d ) s t( Bit 0 o r P 001101 -6 to + 24 dB NICAM prescaling to normalize the NICAM demodulated signal level before audio processing. Auto level control can be implemented by I²C software using the Peak Level Detector. (Default value = +13 dB) PRE_AUX Type: R/W Bit 2 Function 011000 010111 010110 010101 010100 Address (hex): 46h Bit 3 NICAM_PRESCALE[5:0] Bit Name NICAM_ PRESCALE[5:0] Bit 5 o s b O 111110 111101 111100 111011 111010 G (dB) -2 -3 -4 -5 -6 SCART Prescaling Register Bit 5 I2S_PRESCALE[3:0] Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SCART_PRESCALE[3:0] 59/97 Register List STV82x6 Bit Name Reset I2S_PRESCALE [3:0] 0000 Function -6 to + 6dB I²S Input prescaling to normalize the incoming audio signal before audio processing. Auto level control can be implemented by I²C software using the Peak Level Detector. These bits are used to adjust the corresponding incoming signal level before audio processing. 0110 0101 0100 0011 0010 0001 0000 (Default) SCART_PRESCAL E[3:0] 0000 G (dB) +6 +5 +4 +3 +2 +1 0 1111 1110 1101 1100 1011 1010 G (dB) -1 -2 -3 -4 -5 -6 -6 to + 6dB SCART Input prescaling to normalize the incoming audio signal before audio processing. Auto level control can be implemented by I²C software using the Peak Level Detector. These bits are used to adjust the corresponding incoming signal level before audio processing. 0110 0101 0100 0011 0010 0001 0000 (Default) CH_CTRL G (dB) +6 +5 +4 +3 +2 +1 0 1111 1110 1101 1100 1011 1010 G (dB) -1 -2 -3 -4 -5 -6 Channel Control Register Address (hex): 47h Type: R/W Bit 6 Bit 5 Bit 4 MUTE_D012 MUTE_D12 NIC_DMX NICDPH_OFF ) s ( ct e t le o s b O - Bit 7 c u d Bit 3 Bit 2 FM_DMX[1:0] ) s t( o r P Bit 1 Bit 0 FMDPH_OFF FMDPH_SW Bit Name Reset MUTE_D012 0 0: LS/HP/SC/I²S channel unmuted 1: If DEMOD source is selected as OUTPUT channel by CH_SEL and CH_LANG, then MUTE_LS/MUTE_HP/MUTE_SC signal are set (LS/HP/SC/I²S channel mute) 0 0: LS/HP/SC/I²S channel unmuted 1: If DEMOD_1 or DEMOD_2 source is selected as OUTPUT channel by CH_SEL and CH_LANG, then MUTE_LS/MUTE_HP/MUTE_SC signal are set (LS/HP/SC/I²S channel mute) NIC_DMX 0 When 1, Reverse Left/Right Channel to take into account the case where the mono signal would be carried on the Right Channel. NICDPH_OFF 0 0: NICAM De-emphasis (Default) 1: Bypass NICAM De-emphasis FM_DMX[1:0] 00 FM Stereo Dematrix r P e t e l o MUTE_D12 s b O u d o 00 (Default) 01 10 11 60/97 Function DeMatrix L=CH1, R=CH2 L=CH1+CH2, R=CH1-CH2 L=2CH1-CH2, R=CH2 L=(CH1+CH2)/2, R=(CH1+CH2)/2 Standard No matrixing Kor. Zweiton (A2+) & Radio German Zweiton (A2, A2*) Stereo to Mono STV82x6 Register List Bit Name Reset Function FMDPH_OFF 0 0: FM De-emphasis (Default) 1: Bypass FM De-emphasis FMDPH_SW 0 0: 50 µs FM De-emphasis (Default) 1: 75 µs FM De-emphasis CH_MX Channel Matrix Register Address (hex): 48h Type: R/W Bit 7 Bit 6 Bit 5 I2S_MX[1:0] Bit 4 Bit 3 Bit 2 Bit 1 DEMOD_MX[3:0] SC_MX[1:0] Bit Name Reset Function I2S_MX[1:0] 00 I²S Matrixing. Programmable values are listed in Table 20. SC_MX[1:0] 00 SCART Matrixing. Programmable values are listed in Table 20. DEMOD_MX[3:0] 0000 e t le Table 20: SCART and I²S Matrixing so SC_0/I2S_0 00 CH_L CH_R 0 01 CH_R CH_L 0 o r P e s b O b O - Right c u d 11 ) s t( o r P SC_1/I2S_1 Left 10 t e l o c u d Demodulator Matrixing. Programmable values are listed in Table 21. (t s) Bit 0 Left Right CH_L CH_R CH_R CH_L Table 21: Demodulator Matrixing DEMOD_0 Left 0X00 Right DEMOD_1 Left FM_L Right DEMOD_2 Left 0 0 0X01 FM_L FM_R 0 0 0X10 NIC_L NIC_R 0 0 0X11 NIC_L 0 0 1000 FM_L FM_R 0 1001 NIC_L NIC_R 0 1010 FM_L NIC_L NIC_R 0 61/97 Register List STV82x6 Table 21: Demodulator Matrixing (Continued) DEMOD_0 Left DEMOD_1 Right Left DEMOD_2 Right Left 1011 FM_L NIC_L NIC_R 11XX FM_L NIC_L 0 CH_SEL Channel Source Selection Register Address (hex): 49h Type: R/W Bit 7 Bit 6 Bit 5 I2S_SEL[1:0] Bit 4 Bit 3 SC_SEL[1:0] Reset I2S_SEL[1:0] 00 Source Channel Selection. SC_SEL[1:0] 00 0X: Demodulated sound (Default) HP_SEL[1:0] 00 LS_SEL[1:0] 00 c u d 10: SCART e t le 11: I²S Bit 0 LS_SEL[1:0] Function ) s t( o r P o s b O - A mute of the corresponding audio output is recommended before switching between Demodulated sound and SCART source. Any audio discontinuity might create annoying audible plops. ) s ( ct CH_LANG Channel Language Selection Register Address (hex): 4Ah u d o Type: R/W r P e Bit 7 Bit 6 I2S_LANG[1:0] t e l o bs Bit 5 Bit 4 SC_LANG[1:0] Bit 3 Bit 2 HP_LANG[1:0] Bit Name Reset I2S_LANG[1:0] 00 Channel Language Selection. See Table 4 and Table 5. SC_LANG[1:0] 00 HP_LANG[1:0] 00 00: Not to be used. 01: Mono A 10: Mono B 11: Mono C LS_LANG[1:0] 00 O Bit 1 HP_SEL[1:0] Bit Name Note: Bit 2 Bit 1 LS_LANG[1:0] Function Note: 1 Refer to Table 4 and Table 5 for selecting Channel Language, Sound and System values. 62/97 Bit 0 STV82x6 Register List 2 A mute of the corresponding audio output is recommended before changing the language. Any audio discontinuity might create annoying audible plop. PEAK_DET_CTRL Peak Level Detector Control Register Address (hex): 4Bh Type: R 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 PD_SEL[1:0] Function PD_SEL[1:0] 000000 Reserved. 00 Peak Level Detector Source Selection 00: FM 01: NICAM PEAK_DET_STATL 10: SCART 11: I²S Peak Level Detector Status Register Address (hex): 4Ch e t le Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 o s b O - PEAK_LEVEL_LEFT[7:0] Bit Name Reset PEAK_LEVEL_ LEFT[7:0] 00000000 (s) Bit 2 c u d ) s t( o r P Bit 1 Bit 0 Function t c u 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). d o r P e In AM/FM Mono mode, only the PEAK_LEVEL_LEFT[7:0] value must be taken into account. s b O t e l o 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 19. The difference between the PEAK_LEVEL_LEFT[7:0] and PEAK_LEVEL_RIGHT[7:0] values may be calculated by the microcontroller to identify Mono or Stereo mode from an unknown source (SCART or I²S). 63/97 Register List STV82x6 PEAK_DET_STATR Peak Level Detector Status Register Address (hex): 4Dh Type: R Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PEAK_LEVEL_RIGHT[7:0] Bit Name Reset Function PEAK_LEVEL_ RIGHT[7: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). For more information, refer to register PEAK_DET_STATL. 9.11 Automatic Standard Recognition c u d AUTO_CTRL Automatic Standard Recognition Control Register Address (hex): 50h Type: R/W e t le Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 0 IRQ SINGLE_SHOT Bit Name Reset Bits[7:5] 000 IRQ 0 ) s ( ct Reserved. Bit 2 so b O - o r P Bit 1 DK_DEV[1:0] ) s t( Bit 0 LDK_SW Function This flag (output on IRQ pin) is set to ON by the AUTOSTD when the standard recognition status has changed. The external microprocessor will detect this signal and will run the OSD procedure. u d o This procedure must first reset via I²C the IRQ flag and then read the detection status in the registers (NICAM_STAT, ZWT_STAT, AUTO_STAT and CH_MX) r P e SINGLE_SHOT t e l o DK_DEV[1:0] bs O LDK_SW 0 Single Shot Mode Selection 0: Single Shot mode is not selected 1: Single Shot mode is selected1 00 Selects FM deviation configuration to take into account of overmodulation in DK_NICAM standard. 00: FM 50 kHz (Default) 01: FM 200 kHz 1 10: FM 350 kHz 11: FM 500 kHz Makes exclusive the auto search of DK/K1/K2/K3 and L/L’ standard 0: DK/K1/K2/K3 standard auto-search / L/L’ disabled 1: L/L’ standard auto-search / DK/K1/K2/K3 disabled 1. Single_Shot mode can be used before disabling the Automatic Standard Recognition (AUTOSTD) to pre-program demodulator registers in a defined standard and reduce I²C programming in Manual mode 64/97 STV82x6 Note: Register List Only standard deviation FM 50K kHz is compatible with other D/K1/K2/K3 standards in Automatic Standard Recognition Search mode. It has to be deselected when programs with larger FM deviation are broadcast (reserved only for D/K-Mono or D/K NICAM standard). 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 can be discriminated in Automatic Standard Recognition Search mode because the same frequency is used for the mono IF carrier. AUTO_SCKM Auto Standard Check Mono Register Address (hex): 51h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 LDK_SCK I_SCK BG_SCK MN_SCK Bit Name Reset Bits[7:4] 0000 LDK_SCK 1 Reserved. L/L’ or D/K Mono Standard Enable 0: Disabled 1: Enabled I_SCK 1 1 1 o s b O - ) s ( ct M/N Mono Standard Enable 0: Disabled 1: Enabled Note: o r P B/G Mono Standard Enable 0: Disabled 1: Enabled MN_SCK e t le I Mono Standard Enable 0: Disabled 1: Enabled BG_SCK c u d Function ) s t( u d o r P e AUTOSTD is off when all mono standards are disabled. t e l o AUTO_SCKST s b O Auto Standard Check Stereo Register Address (hex): 52h Type: R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LDK_ZWT3 LDK_ZWT2 LDK_SWT1 LDK_NIC I_NIC BG_ZWT BG_NIC MN_ZWT 65/97 Register List STV82x6 Bit Name Reset LDK_ZWT3 0 Function D/K3 Zweiton (A2*) Stereo Standard Enable 0: Disabled 1: Enabled LDK_ZWT2 0 D/K2 Zweiton (A2*) Stereo Standard Enable 0: Disabled 1: Enabled LDK_ZWT1 0 D/K1 Zweiton (A2*) Stereo Standard Enable 0: Disabled 1: Enabled LDK_NIC 1 D/K NICAM Stereo Standard Enable 0: Disabled 1: Enabled I_NIC 1 I NICAM Stereo Standard Enable 0: Disabled 1: Enabled BG_ZWT 1 B/G Zweiton (A2) Standard Enable c u d 0: Disabled 1: Enabled BG_NIC 1 B/G NICAM Standard Enable 0: Disabled 1: Enabled MN_ZWT 1 0: Disabled 1: Enabled Note: o r P o s b O - Stereo standard covers all transmission modes (stereo or multi-language) of the NICAM or Zweiton (A2, A2* or A2+) system. ) s ( ct AUTO_TIMER Type: R/W t e l o Bit 7 Detection Time Out Register o r P e Address (hex): 53h Bit 6 du Bit 5 FM_TIME[1:0] s b O Bit Name Reset FM_TIME[1:0] 10 NICAM_TIME[2:0] 100 Bit 4 Bit 3 Bit 2 NICAM_TIME[2:0] FM Detection Time-out 10: 48 ms (Default) 11: 64 ms NICAM Detection Time-out 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 Bit 1 ZWEITON_TIME[2:0] Function 00: 16 ms 01: 32 ms 66/97 e t le M/N Zweiton (A2+) Standard Enable ) s t( Bit 0 STV82x6 Register List Bit Name Reset ZWEITON_TIME[ 2:0] 100 Note: Function Zweiton Detection Time-out 000: 256 ms 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. AUTO_STAT Detection Standard Status Register Address (hex): 54h Type: R Bit 7 Bit 6 ST_ID Bit 5 Bit 4 STEREO_STA MONO_STATE TE Bit Name Reset ST_ID 0 Bit 3 AUTO_ON Bit 2 Bit 1 STEREO_SID[1:0] Bit 0 c u d Function ) s t( MONO_SID[1:0] o r P Stereo Mode Detection flag activated when a stereo standard coming from the demodulator selected on Loudspeaker output. Stereo transmission modes are: - Zweiton stereo (ZWT_DET&ST&DM = 110, indifferently German or Korean standard) - NICAM stereo with backup (CBI = 1000) - NICAM stereo with no backup (CBI = 0000) e t le o s b O - The stereo flag is also output on ST pin to control an external indicator (an LED, for instance) STEREO_STATE 0 MONO_STATE 0 When AUTOSTD is ON and a standard has been detected, the FSM has two “stable states”. These flags indicate whether the FSM is in the state “mono-det” (mono standard detected) or “stereo-det” (stereo standard detected). If at least one stereo standard is enabled, the “mono-det” state is only transitory. AUTO_ON 0 Automatic Standard Recognition System Status ) s ( ct u d o 0: Automatic Standard Recognition System is OFF 1: Automatic Standard Recognition System is ON r P e STEREO_SID[1:0] 00 Identification of the detected TV sound standard. See Table 22. MONO_SID[1:0] 00 t e l o s b O Table 22: TV Sound Standards System 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 I 6.0 (FM 50k) 10 67/97 Register List STV82x6 Table 22: TV Sound Standards System Mono Sound (MHz) L 6.5 (AM) MONO_SID [1:0] LDK_SW DK_DEV [1:0] Stereo Sound (MHz) STEREO_SID [1:0] 1 XX 5.85 (NICAM 40%) 00 5.85 (NICAM 40%) 00 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 9.12 111 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) Smart Volume Control SVC_SEL c u d ) s t( SVC Selection for Loudspeaker/Headphone Register Address (hex): 59h e t le Type: R/W so Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 0 0 0 Bit Name Reset Bit[7:1] 0000000 SVC_SW 0 (s) b O - o r P Bit 2 Bit 1 Bit 0 0 0 SVC_SW Bit 2 Bit 1 Bit 0 Function t c u Reserved Smart Volume Control Selection d o r P e 0: SVC selection on Loudspeaker path 1: SVC selection on Headphone path t e l o SVC_CTRL s b O SVC Control Register Address (hex): 5Ah Type: R/W Bit 7 SVC_ON Bit 6 Bit 5 Bit 4 SVC_TIME[1:0] Bit Name Reset SVC_ON 0 Bit 3 SVC_REF[4:0] Function Smart Volume Control Mode Select 0: Prescaling (Prevents internal clipping) 1: Automatic Level Regulation (Automatically regulates the selected sound source) 68/97 STV82x6 Register List Bit Name Reset SVC_TIME[1:0] 10 Function Defines the constant time of the gain loop. Time Constant for 6 dB Amplification 00: 01: 10: 11: SVC_REF[4:0] 00000 16 s (Default) 8s 4s 2s Smart Volume Control Reference Level Select If SVC_ON = 0, this value defines the prescaling gain ranging from -30 dB to +15.5 dB. If SVC_ON = 1, this value defines the output reference level of the regulation ranging from -2.5 dB down to -30 dB. The SVC output level must be adjusted to avoid internal clipping due to postprocessing with amplification, i.e. ST/SRS™ Surround Sound (+9 dB max), Equalizer or Bass/ Treble (+12 dB max) and Loudness (+6 dB max). Programmable values are listed in Table 23. Table 23: SVC Bit Values SVC_ON = 0 SVC_ON = 1 c u d ) s t( SVC_REF[4:0] REF_LEVEL (dB) SVC_REF[4:0] REF_LEVEL (dB) > 00101 Reserved > 00101 Reserved 00101 +15.5 00101 00100 +12 00100 00011 +9.5 00011 00010 6 00010 00001 3.5 00001 00000 (Default) 0 11111 -2.5 11110 -6 11101 -8.5 11100 -12 11011 11010 11001 o r P e 11000 10111 t e l o e t le so o r P -12 -12 -12 -12 -12 00000 -12 1 11111 -2.5 111101 -6 11101 -8.5 11100 -12 -14.5 11011 -14.5 -18 11010 -18 -20.5 11001 -20.5 -24 11000 -24 -26.5 10111 -26.5 c u d (t s) b O - 10110 -30 10110 -30
STV8206 价格&库存

很抱歉,暂时无法提供与“STV8206”相匹配的价格&库存,您可以联系我们找货

免费人工找货