ALL PRE AND POST-PROCESSING INTEGRATEDFILTERS,ALIGNMENTFREE
.
STANDARDRECOGNITIONFLAG
.
SINGLEQUARTZ CRYSTAL
.
I2C BUSCONTROLLED
.
AMAND DOUBLESCARTAUDIO MATRIX
.
STAND-BYWITH THRU MODE
.
SINGLEBIT DACS
.
EASY IMPLEMENTATION OF AUTOSTANDARDMODE
.
ADVANCED OPERATING MODE FOR FULL
CUSTOMIZATION
.
SIFAGC WITHWIDE RANGE
STV8203
PRELIMINARY DATA
SHRINK42
(Plastic Package)
ORDER CODE : STV8203
DESCRIPTION
The STV8203provides all the necessary circuitry
for demodulationof all Nicamand Germanstereo
audiotransmission. It is very suitable forTV applicationsas well as for VCR, Personal Computer or
Set Top Box applications. Different transmission
standardsare automaticallydetectedand demodulated without user intervention. The recovered
audio signals can be made available in analog
form. More, the STV8203integrates an audio matrixwith a THRU modewhen the IC is in stand-by.
Very flexible applications are possible thanks to
smart I
appropriateaudio processingICs.
January 1999
This is advance information on a new product now in developmentor undergoing evaluation. Detailsare subject to change without notice.
2
C program modes and large choice of
TQFP44 (10 x 10 x 1.4mm)
(Full Plastic Quad Flat Pack)
ORDER CODE : STV8203D
-1NC-NotConnected
382NC-Not Connected
393CAP3AnalogDecoupling for Digital 3V (regulator output)
404REGAnalogBase Drive for External Regulator Transistor
415DV
426GND2PowerDigital Ground
NameTypeFunction
(5V)
DD
CC
DD5
PowerAudio Matrix Supply
2
C SerialData
2
C SerialClock
Power5V Supply
STV8203
8203-01.TBL
3/31
STV8203
BLOCKDIAGRAM
SIF1
SIF2
ANALOG
SWITCH
AGC
Sub
IN
DEMODULATOR CORE *
XTAL
DV
AV
DD5
CC
CRYSTAL
OSCILLATOR
POWER SUPPLY
REGULATORS
Digital
Analog
STV8203
* See Demodulator Core Block Diagram
DEMODULATORCORE BLOCKDIAGRAM
Sub
ADC
IN
BAND
PASS
FM
DISCRIMINATOR
FM / NICAM
2
AUDIO MATRIX
22
PRE-SCALING
MONO IN
SCART1 IN L
SCART1 IN R
NOISE*
ESTIMATION
SCART2 IN L
L1, R1
(L1 + R1)/2
SCART2 IN R
2
C BUS
I
INTERFACE
2
2V
2
2V
1V
SIGNAL
SHAPING
RMS
RMS
RMS
PRE-SCALING
SDA
SCL
SCART1 OUT L
SCART1 OUT R
SCART2 OUT L
SCART2 OUT R
MONO OUT
ONE BIT
SIGMA
DELTA
DAC
8203-03.EPS
Channel 1
* Data also available throught I
4/31
LEVEL *
ESTIMATOR
BAND
PASS
DISCRIMINATOR
2
C Bus
FM
NICAM QPSK
AND
DECODER
SOUND STANDARD MANAGEMENT
IDENTIFICATION,
CHANNEL CONTROL, MUTE, ...
PILOT *
RECOGNITION
NOISE*
ESTIMATION
QPSK LOCK *
DETECTION
BIT ERROR
RATE *
DIGITAL CHANNEL MATRIX AND AUTOSWITCH
SIGNAL
SHAPING
2
I
C Bus
ONE BIT
SIGMA
DELTA
PRE-SCALING
DAC
Channel 2
8203-04.EPS
FUNCTIONAL DESCRIPTION
Ascanbe seen fromthe blockdiagram,theinputto
the demodulatorsection is selectablefrom one of
twoI.F.sourcesviathe I
2
Cbus.Theselectedsignal
is then passed through an AGC block, having a
range of 28dB, before being digitised in the
ADCunit.Asinglequartzcrystal(suggestedvalue:
between24.712MHzand 27MHz)is usedforthe all
thedigitalprocessing,includingdemodulation,identification, control, filtering. This has the advantage
ofa singleclocksignalsourceforthewholeICwhich
eliminates problems of multiple clock. The single
clock canbe chosento minimize interferencein the
TVIF andRF stagesof the tuner system.
Thedemodulatorsystemcan identifyand demodulateallthestandarddescribedintheTable1. Theresult of the recognition is flagged up to the host
system via the I
2
C buscommunicationsystem.
In the case of NICAM transmissions, in the event
of a failure of the received signal or a degradation
ofthe bit error rate (BER)belowa prescribedlevel,
thesystem will automaticallydefault to the reserve
soundtransmission on mono FM or AM.
For FM demodulation, the discriminator can normallyhandlesignalshaving250kHzdeviation.This
covers all European standards, and ensure an
optimizedcompromise for thesignal to noiseratio
inonehand,andovermodulationintheotherhand.
However, it is possible to extand the deviation
rangeupto 500kHz(I
2
Cprogrammable)in orderto
coverrequests of some broadcasters.
Fully automatic standard recognition and setting
Appropriate de-emphasis networks in the digital
domain are applied to the resulting demodulated
signals (50µs, J17), followed by dematrixing if required. The digital datastream is then passed
through2 x 16bits DACs before the audio matrix.
All thisfirst section is workingat 3.3Vthanks to an
integratedvoltageregulator.In stand-bymode,the
voltage regulator pulls the voltage down to zero,
ensuringno power dissipationin thispart.
An audio matrix allows the selection of inputs appliedontheoutputsSCART1,SCART2andMONO
accordingto the diagram shown in Figure1.
The ”MOUT”outputs eitherthe signal L1, or R1 or
(L1+R1)/2.Thisallowstorecordtheselectedchannel in monomode, for exampleon thelinear channel of a VCR simultanously with the stereo mode.
Maximumoutput swingis 1V
RMS
.
The audio matrixsection has its own power supply
regulator,allowing to keep this part working even
when the rest is instand-bymode. Thisachievesa
”THRU” mode from input ”SCART1” to output
”SCART2”andinput”SCART2”tooutput”SCART1”.
The maximumoutput swing of both SCART1 and
SCART2is 2V
RMS
.
Remark : Circuit operationis possible with only a
single5V supply.In thiscase, the AV
CC
is connectedto 5V.Maximumoutput swingis then
limitedto 1V
anda 6dBattenuationis automat-
RMS
ically added to the DAC output. In that case, the
resistorshown as R2 =39Ωin theApplicationDiagram (between Pin 8 and Pin 21) must be replace
by a short circuit to avoid clipping.
Notes : 1. STV8203 performs only limitedAM demodulation. Report to Application Note.
2. 50µs only, instead of 75µs.
Name
Carrier 1
(kHz)
Carrier 2
(kHz)
FM Deviation (kHz)
Nom. Max.Over
DeemphasisRoll-off
Frequency
Pilot
(kHz)
6/31
USINGSTV8203
1 - Hardware
1.a - PowerSupplies (see Figure 2)
TheIC is usingtwo mainpower supplies:
-DV
supplies all the digital part V
DD5
Nom.
=5V.
This power supply can be switched-off in standby mode.
-AV
suppliestheaudio matrixpart : ifV
CC
Nom.
then the output voltage swing on outputpins can
reach2V
RMS
,ifV
swing on outputpins can reach 1V
=5Vthentheoutputvoltage
Nom.
RMS
.
Figure2
DV
DD5
41
DEMODULATION
ANDCONTROLPART
Pins5-32-42
GND
AV
CC
21
AUDIO
MATRIX
11
GND
=8V
STV8203
between stereo or mono signals in the playback
modein case of marginalnoise conditions.
1.d - Stand-by
Stand-bywith THRU mode : theanalogpartof the
device has its own power supply (AV
thispart to keepworkingevenwhenthedigitalpart,
powered by the 5V power supply (DV
stand-by.
In this case, the audio matrix is put in a special
setting:
- LIL1 to AOL2,
- LIR1 to AOR2,
- LIL2 to AOL1,
- LIR2 to AOR1,
- input gain = 0dB.
This allows to achieve a ”THRU” mode from
SCART1 input to SCART2 output and SCART2
input to SCART1 output, providing a copy facility
fromSCARTINto SCARTOUT.
8203-06.EPS
) allowing
CC
DD5
), is in
1.b- Sound Subcarrier Filters
Sound demodulation and decoding are very easy
withthisdeviceprovidingallthenecessaryfunctions
for that purpose, including the channel filters.
TheseFIRbase-bandfiltersgivethe bestselectivity
ofthedesiredchannelandprovidesinNICAMmode
thecorrectcosine roll-off response.
This implies that no external filters are required
(exceptmay be a simplehigh-passfilter,ifthe saw
filters and sound IF demodulators used in the applicationcreate picture interferences).
Thefilterscan beautomaticallyset forB/G/H/I/L/L’
standards.They can alsobe easily tuned through
2
C for M, D, K, K1.
I
1.c- AudioMatrix
The mono output (MOUT) can output L1, R1 or
(L1+R1)/2 signal.A typicalapplicationis the possibilityto recorda selectedchannelin monomodeon
thelineartrackofa VCRseparatelyfromtherecordingofthestereosignal,providingthefacilitytoselect
2 - Software
Twomodes of operationare available:
2.a - OptimizedProgram Mode
Fourstandardshavedefaultsettingstoredin order
to allow a very easy programmation. Only some
registersmay have to be programmed(these registersare shownin bold in theFigure3)but inmost
cases, the reset values will be sufficient. In Figure3, CTLand STATrepresentregisterswhich are
controlledby the ”standardprocessor”.These registers are located between address 23Hex and
3CHex in thecomplete list of registers.
2.b - AdvancedOperationMode
In that mode, all the read/write registers (as mentionned in the complete list) can be programmed
manuallyand changedfromtheir reset values.
The additionnal registers accessible in this mode
are shown in bold in Figure 4. This mode can be
selectedby putting the bits [3:0] of AO-CONTROL
registerto 0.
7/31
STV8203
USINGSTV8203 (continued)
Figure3 : Optimized Program Mode
USINGSTV8203 (continued)
3 - Example of Applications
3.a - VeryLow Cost TVApplication
Figure5
2
C Control
I
STV8203
TUNER1
QSS I.F.
AM
DEMODULATOR
3.b- High-End TV Application
Figure6
TUNER 1
QSS I.F.
TUNER 2
QSS I.F.
AM
DEMODULATOR
MULTISTANDARD
MULTISTANDARD
2
C Control
I
SOUND
PROCESSOR
STV8203
SOUND
PROCESSOR
STV8203
SCART1SCART2
AUDIO
PROCESSOR
SURROUND/KARAOKE
SRS
TDA7466
AUDIO
AMPLIFIER
TDA7495
2x7W
8203-09.EPS
R
2 x 25W
L
3.c - TVApplication in PC
Figure7
DEMODULATOR
SCART1SCART2
I2C Control
TUNER1
QSSI.F.
TUNER2
QSSI.F.
MULTISTANDARD
SOUND
PROCESSOR
STV8203
AM
I2S Bus
Analog
AudioOut
8203-10.EPS
AUDIO
AMPLIFIER
TDA7495
8203-11.EPS
9/31
STV8203
ABSOLUTE MAXIMUMRATINGS
SymbolParameterValueUnit
AV
DD5
DV
DD5
AV
CC
P
tot
T
oper
T
stg
THERMAL DATA
SymbolParameterValueUnit
R
th (j-p)
RECOMMENDEDOPERATING CONDITIONS
SymbolParameterMin.Typ.Max.Unit
AV
DD5
DV
DD5
AV
CC
Analog Supply Voltage7V
Digital Supply Voltage7V
Scart Interface Supply Voltage9.5V
Power Total Dissipation0.8W
Operating Temperature0, +70
Storage Temperature-20, +150
Junction to PinsThermal ResistanceMax.
Analog V
Digital V
DD
DD
Audio Interface Supplyfor 2V
for 1V
RMS
RMS
SDIP42
TQFP44
outputs
outputs
4.755.05.25V
4.755.05.25V
7.6
4.75
55
68
8.0
5.0
8.4
5.25
o
C
o
C
°C/W
°C/W
V
V
8203-02.TBL
8203-03.TBL
8203-04.TBL
ELECTRICAL CHARACTERISTICS (T
=25oC, unless otherwise specified)
amb
SymbolParameterTest ConditionsMin.Typ. Max.Unit
GENERAL
I
I
Input Currenton AV
AIN
DIN
CC
AVCC=5V
=8V
AV
CC
DV
= 5V120mA
DD5
58
75
IF INPUTS
R
C
Input Resistance6kΩ
IN
Input Capacitance10pF
IN
SWISOSwitch Isolationf = 10MHz40dB
SIF FRInput Frequency RangeFor FM demodulation48MHz
PROGRAMMING THE DEVICE (continued)
3 - RegisterDescription
3.1 - RegistersNot Controlled By Autostandard(except some mentionedbits)
PRE-FM(Prescale FM Level)
Address: 02
Type: R/W
Reset: 0001 1101
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
000FM PRESCALE
FMPRESCALE : 00000
01100
10100
0dB
+12dB
-12dB
(stepsize = 1dB,range = ±12dB in 2’s complement)
Sets the reference level for an FM signal. Note, this is also dependant on the PLL programming. For
example,with default settings forthe PLL, an FM deviationof 27kHz will result in a signal17dB below full
scalebeforede-emphasis. At1kHz, the internalde-emphasisgain is14dB giving a levelof -3dB.Fullscale
output from the DAC is 2V
correspondingto 0dB.and so for 1V
RMS
, PRE-FMshould be set to -3dB.
RMS
PRE-NICAM (PrescaleNICAM Level)
Address: 03
Type: R/W
Reset: 0001 1101
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
000NICAM PRESCALE
NICAMPRESCALE : 00000
01100
10100
0dB
+12dB
-12dB
(step size = 1dB, range= ±12dB in 2’s complement)
Sets the reference level for a NICAM signal. For example, a full scale NICAM signal at 1kHz would be
received at -12dB before de-emphasis. Internal de-emphasis gainat this frequencyis 9dB so for 1V
RMS
pre-nicamshould be set to -3dB.
,
14/31
STV8203
PROGRAMMING THE DEVICE (continued)
STD-CT-IIS
Address: 04
Type: R/W
Reset: 0001 1000
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
GAIN: whichshould normallybe set to itsdefault value, can be used to changethe dematrixgain
DEMOFF: bypassesthe FM or Nicam de-emphasis: 1 =de-emphasisoff
MUTE: mutes the DAC(FM or Nicam) : 1 = DAC muted
SWD: Bits allow control of the modeof the switch/dematrixfunction as shownbelow.
(onlyeffective if the AUTOSTANDARDfunction is off)
(onlyeffective if the AUTOSTANDARDfunction is off)
[2:0]De-emphasisDescriptionNICON[1:0]LeftRight
000
001Zweiton monoXD1D1
010Zweiton dual mono
011Zweiton stereoXDSLDSR
100not used
101
110Nicam dual mono
111Nicam stereoXNSLNSR
50µs
J17
FM CH1 monoXD1D1
00D1D2
01D2D2
10D1D1
11D2D1
Nicam monoXN1N1
00N1N2
01N2N2
10N1N1
11N2N1
D1 = FM audio from CH1,D2 = FMaudio from CH2, DS = dematrixedZweitonstereo.
N1 = NicamM1, N2 = Nicam M2, NS = Nicamstereo.
These bits are controlledby AUTOSTANDARDwhen this function is activated.
FMDC1, FMDC2
(FM DC Level)
Address: 05-06
Type: R
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
FM DC LEVEL 1 OR FM DC LEVEL 2
FMFrequencyoffset (dependenton thePLL coefficients).
This value (2’s complement) is proportional to the DC offset, measured below 20Hz, of an FM signal. It
could be used to implement an AFC for FM signals.
15/31
STV8203
PROGRAMMING THE DEVICE (continued)
PRE-LINE-IN
Address: 07
Type: R/W
Reset: 0000 1000
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
IF SWITCHAGC SWITCH OFF00LINEINPUTS GAIN
IF SWITCH: IF InputSwitch
AGC SWITCHOFF: can be used to switch-offthe AGC amplifier..
LINEINPUTS GAIN : allow the levels of the analog line inputs (SCART1, SCART2and MONO) to be
AUD-MX-CNT (AudioMatrix Control)
Address: 08
Type: R/W
Reset: 0010 0010
(IF Input Selectionand Audio Matrix Gain Control)
controlsthe IF inputselection (0 = IF1).
adjusted simultaneously.
1000
0010
1110
0dB
-6dB
+6dB
(defaultsetting)
(step size = 1dB, range=±6dB)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
MOUT1S1 O/P SELECTMOUT0S2 O/P SELECT
These8 bits are usedto controlthe audiomatrixconfiguration(see Figure1).
Data bitsActual Function Selected
76543210Reset : AO1 and AO2 = DAC and MOUT = (L1+R1)/2
DIF-POL: controls the polarity of the Q channelin the DQPSKdecoder.Its default value is correctfor
TSCTRL: These two bits are programmed to chose the decision mode for the zweiton detector as
ECT: bit error rate counting time : 0 = 128ms,1 = 64ms
MAE: max allowed errors : 0 = 511,1 = 255
(NICAMControl)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
DIF-POL0TSCTRLECTMAE00
NicamB/G/L and so doesnot need to be changed.
following:
00
:
2 decisionswith 1024 samples accumulation
01
:
3 decisionswith 1024 samples accumulation
10
:
2 decisionswith 2048 samples accumulation
11
:
3 decisionswith 2048 samples accumulation
Bits2 and3 adjustthebit error rate(approximate)atwhichtheNicam decodermutes;a fixed
hysteresis is provided so that the decoder will unmute only when the BER hasdropped to
one quarter of that for muting :
ECTMAEBER Muting Threshold
001 in 112
011 in 224
101in56
111 in 112
ERR-COUNT
(NicamError Counter)
Address: 0A
Type: R
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
ERROR
ErrorSignals Count (averagedover timeECTabove)
Thevalue in this register,updated every 64msor 128ms,gives anindication of theNicam bit error rate. It
canthereforebe usedto mutethe decoderat an errorrate below 1 in 56 (=FF if ECT=64ms).
17/31
STV8203
PROGRAMMING THE DEVICE (continued)
AO-STAT0
Address: 0B
Type: R
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
STD-DETSID1SID0AOMUTEAM-MONOSWD (MONITOR)
STD-DET: StandardDetection :
SID [1:0]: StandardIdentification of the demodulatorinput
AOMUTE: Audio Output Mute
AM-MONO: AM selected
SWD: Switch DematrixMode
(AUTOSTANDARDStatus 0)
0 = no standard detected
1 = indicatesthat an expectedstandard has beenidentified.
indicatethe standardwhich has been identified :
SID[1:0]Standard
00I FM/NICAM
01B/G FM - Zweiton
10B/G FM/NICAM
11L/L’ AM/NICAM
indicatesthat the audiooutputs are muted(=1); onlywhen the demodulatoris selected as
audio source. This wouldbe the case during standardsearch or no signal found.
indicates if the AMinput (MIN) has been selected(=1); normallyused for system L.
This registerallows direct access to the demodulatorsignal detectors; 1 = detected.
18/31
STV8203
PROGRAMMING THE DEVICE (continued)
AO-STAT2
Address: 0D
Type: R
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
NIC-DETF-MUTELOANICAM CBIN-MUTE
NIC-DET: NICAM detected
F-MUTE: Frame Mute
LOA: Loss of frame Alignmentword
NICAMCBI: indicates the receivedNICAM control bitswith the followinginterpretation:
(AUTOSTANDARDStatus 2 ; NICAM)
indicates a validNICAM signal found(1 = detected).
indicatesthe NICAMdecoder is mutedbecausethe superframealignment has been lost.
indicateslossof alignmenttothe framealignment wordin the NICAMdecoder;thebiterror
rate istoo highor no signal is present.
CBI[4:1]Nicam Signal Description
X000Stereo
X001ch1 = mono, ch2 = data
X010Dual Mono
X011704Kbit/sdata
X1XXFM selected during additional coding options
0XXXNicam different to FM mono
1XXXNicam mono(M1) or stereo = FM mono
N-MUTE: NICAM Mute
indicates that the NICAMdecoder is muted(it may be unmutedby AO-CONTROL bit 5).
19/31
STV8203
PROGRAMMING THE DEVICE (continued)
AO-CONTROL(AUTOSTANDARDControl)
Address: 0E
Type: R/W
Reset: 0001 1111
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
MUTE OVMONO OVUNMUTEC4 OVSTANDARD CHECK
AUTOSTANDARD controls the audio matrix when the user has selected the DAC as source(AUD-MXCNT bits[6:4] = 010).In thiscase it will mute theoutputs or select MIN. These functionscan be overriden
by bits 6 and 7 below.
01FM (in case of B/G or I standard)
11Muted (in caseof B/G or I standard)
10Muted
UNMUTE: Nicam Un-mute, 1 = unmute
allowsthe NICAMdecoder to be unmutedif the bit errorrateis higherthanthe preset limit;
this overrides the automatic switching to FMor AM which would normally occur.
C4 OV: CBI4 override, 1 =>CBI[4] forced to 1 internally
is usedto overridethe 4th NICAM controlbit (reservesound switch) if required.Thisbit is
transmitted by the broadcaster to indicatethat the analoguesound carrier is a backupof
the NICAM signal; this is usually the case. If the NICAM signal fails, the STV8203 will
automaticallyswitch to backup sound if the received bit was set to 1. If thisbit was set to
0 and bit 4 set to 0, the decoder will stay switched to analogue sound. If bit 4 is setto 1,
the received CBI4 is ignored. Note that if automatic standard is off, switching between
analogueand NICAMaudio must be done manually.
STANDARD
CHECK
: Controlthechoiceoftransmi ssionstandardstobesearchedforbytheautomaticstandar dfuncti on
(standardsearchactivewhenbit=1).Themorechoices,thelongerthesearchtime.Ifthesystem
in use canbe identifi ed by the charac teristi csof the vid eo signal, for exampleby the chroma
demodulator,thenonlya singlebitneedsto be set.In thiscase,theAUTOSTANDARDfuncti on
willprogramthedemodula torforthechosenstandard.Ifnobitsareset,theAUTOSTANDARDfunctionis disabledandallregistersneedtobe setmanually.
bit 3- Runcheck for standard3 (L/L’- AM/NICAM)
bit 2- Run Check for Standard 2 (B/G - FM/NICAM)
bit 1- Run checkfor standard1 (B/G - Stereo)
bit 0- Run checkfor standard0 (I - FM/NICAM)
AO-TIMEOUT
(AUTOSTANDARDTimer Adjustment)
Address: 0F
Type: R/W
Reset: 1010 0101
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
TIME 2 SETTINGTIME 1 SETTING
Time1 is used for NICAM and FM mono validation and time 2 for Zweiton. If the standard is not found
within this time limit, the next standard will be tried. Time 1 = decimal [bit 3:0] x 32ms. Time 2 = decimal[bit 7:4] x 128ms. Time 1 defaultvalue is 160ms.Time 2 defaultvalue is1280ms.
A time of 0ms should not be programmed.
20/31
STV8203
PROGRAMMING THE DEVICE (continued)
ZWEITON
Address: 10
Type: R/W
Reset: 1000 1000
THRESH-SIG : PilotCarrier Level Threshold
THRESH-ST: Detected Tone Level Threshold
Poweron default values give a detectionthreshold correspondingto a modulatedpilot carrier S/N of 0dB
(700HzBW)and a S/Nof 40dB forthe recovered audio.
AGCC(AGC Controlfor ADC)
Address: 11
Type: R/W
Reset: 0001 0001
AGC-CMD00AGC-REFAGC-CST
(Pilot Carrier and Tone DetectorThresholds)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
THRESH-SIGTHRESH-ST
Set the sensitivityfor the pilot carrierdetector.
Set the detectionthresholdlevel forstereo and dual mono (bi-lingual) tones.
Normallyset to0 enablingautomaticmode. In the case of systemL/L’,due to the presence
of the AM sound carrier, the AGC should be switched off. In this case, a fixed gain value
should be set using the AGCS register(see below).
This bit is controlledby AUTOSTANDARDwhen thisfunctionis activated.
AGC-REF : Defines the clippinglevel.
Adjustthe allowableproportion of samplesat the input of the ADC which will be clipped;the
AGC tries to maximise the use of the full scale range of the ADC.The defaultsetting gives
a ratio of 1/256.
AGC-CST : AGC time constant betweeneach stepof 1.25dB.
For a 27MHzXTAL=> 00 = 1.21ms, 01 = 2.43ms,10 =4.85ms, 11 = 9.7ms.
The adjustmentis a compromisebetween settling time and noise immunity.
21/31
STV8203
PROGRAMMING THE DEVICE (continued)
AGCS
Address: 12
Type: R/W
Reset: 0100 00XX
AGC-ERR : Gain Control Signal of amplifierbefore ADC. Thereare 32 steps of 1.25dB.
SIG-OVR
SIG-UND
IAGCR
Address: 14
Type: R/W
Reset: 1000 1000
(AGCControland Status for ADC)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
0AGC-ERRSIG-OVRSIG-UND
AGC-ERR [6:2]Gain (dB)
000000
000011.25
..........
1111037.50
1111138.75
When AGC_CMD= 0, AGC-ERRcan be read thusindicating the input level. It can alsobe
written to thus presettingthe AGC level which will then adjust itself to the finalvalue. When
AGC_CMD = 1, the AGC is off and thus writing to AGC-ERR directly controls the AGC
amplifier gain.Reading AGC_ERR just confirmsthe fixedvalue.
: 1 = agc overloaded - signaltoo BIG
1 = agc under loaded- signaltoo SMALL
When the AGC is in automaticmode (agc_cmd=0),bit 0 indicatesif the input signal is too
small and bit 1 if the AGC is too big. These bits couldbe used when setting the input level
to the STV8203.
(InternalAGC Referencefor QPSK)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
IAGC-REF
Sets the mean value of the internal AGC, used for QPSKdemodulation. The default setting corresponds
to half full scaleamplitude at thePLL input.
IAGCC
(InternalAGC TimeConstant for QPSK)
Address: 15
Type: R/W
Reset: 0000 0011
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
IAGC-OFF0000IAGC-CST
IAGC-OFF : 1 = Internalagc = off
Onlyenabledwhen AUTOSTANDARDis off. Normally, theinternal AGCshouldbe OFFfor
FM and ON for QPSK.
This bit is controlledby AUTOSTANDARDwhen thisfunctionis activated.
IAGC-CST : InternalAGC ProgrammableStep Constant.
Set the internal AGC time constant; the compromise is between fast settling time (for the
quickestNicam identification)and noiseimmunity. Thecontrolrange is about 45dB divided
into 0.2dB steps. These bits controlthe timeper step (valuesgiven for QPSKmode) :
AGC-CST [2:0]Step time(µs)Time Response (ms)
000703105
00135253
...............
1115.50.82
22/31
STV8203
PROGRAMMING THE DEVICE (continued)
IAGCS
Address: 16
Type: R
Indicatesthe valueof the internal AGC controlsignal.
Normally, the mean value should equal the value set in the IAGCR register when a signal is being
demodulated.
FFFIXL(ClockGenerator Fine frequency)
Address: 17
Type: R/W
Reset: 0000 0000
SeeFCFIX registerfor explanation.
FFFIXH
Address: 18
Type: R/W
Reset: 0110 1110
(InternalAGC ControlValue)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
IAGC-CTRL
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
CLOCK GENERATOR FINE FREQUENCY (8 LSB’s)
(Clock Generatorand Fine Frequency Control)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
0DEMOD MODE M2:M0CLOCK GEN FINE FREQ (4 MSB’s)
DEMODMODE M2:M0: Controlsthe demodulatormode (only when registerEhex bits[3:0] = 0000):
MODE[6:4]CH1 FMCH2 FM/QPSK
X00NormalFM Normal
X01WideFMWide
010NormalQPSK System B/G/L
011WideQPSK System B/G/L
110NormalQPSK System I
111WideQPSK System I
The FM discriminator modulationfull range can beset at :
- narrowmode : 250kHz(± 125kHz),
- widemode : 500kHz (± 250kHz).
CLOCKGEN FINEFREQ : Clock generator fine frequency (4 MSB’s)( seeFCFIX for explanation).
FCFIX (ClockGeneratorCoarse Frequency)
Address: 19
Type: R/W
Reset: 0001 0001
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
00CLOCK GENERATOR COARSE FREQUENCY
Thebits [5:0]togetherwith FFFIXHbits [3:0] and FFFIXLbits [7:0]can be usedtoprogrammethe internal
clockgenerator for differentquartz crystal frequencies; thedefault value is for 27MHz.
P = 182 ⋅
Fref
Fqpsk
− 193 with Fref = crystalfrequency,Fqpsk =32 x 728kHz= 23.296MHz.
FCFIX= INT(P)(INT:integer part)
FFFIX= 256 x (16 x REM(P) - 1)(REM: fractionalremainder)
Notethat 0≤FFFIX<3840 so there is a small range of frequencieswhich cannot be used.
Example: Fref = 27MHz,FCFIX =17, FFFIX= 3584.
23/31
STV8203
PROGRAMMING THE DEVICE (continued)
CRF2 - CRF1
Address: 20-3D
Type: R/W
Reset: 0000 0000
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
Thisregister providesaccess to the instantaneousfrequencyof the PLL(2’s complement). If writtento, it
willpreset theDCO frequency;ifreaditprovidesthe instantaneousfrequencyoffsetof the PLL’sand could
be used for anAFC function.
CETH2- CETH1 (FM Carrier LevelThreshold)
Address: 21-3E
Type: R/W
Reset: 00110101
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
Theseregisters,which performthe same function in channel 1 and channel2, comparethe carrier levelin
thechannel againstthethresholdvalue.This level is measuredafter the channelfilter andis relativeto the
full scale reference level (0dB).
This is used as part of the validationof an FM signal,if the carrier level is below the threshold,the signal
is consideredto be non-valid.
(FM/QPSKPLL Demodulator Offset)
CHANNEL 2 orCHANNEL 1 CARRIER RECOVERY FREQUENCY
CHANNEL 2 orCHANNEL 1 CARRIER-THRESHOLD
CETHThreshold (dB)
255-6
128-12
64-18
32-24
........
0OFF
If CETH is OFF, any carrier level will be accepted.
Thereset valueis 53, itmeansa thresholdof -20dB.
SQTH2-SQTH1 (FM SquelchThreshold)
Address: 22-3F
Type: R/W
Reset: 00111100
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
CHANNEL 2 or CHANNEL 1 SQUELCH-THRESHOLD
Thesquelch detectormeasuresthe levelofhigh frequencynoise (>40kHz)and comparesit tothethreshold
SQTH.If the level is below this value, the S/N of the FM signalis consideredto be acceptable.
FIR2 or FIR1 COEFFICIENT 0
FIR2 or FIR1 COEFFICIENT 1
FIR2 or FIR1 COEFFICIENT 2
FIR2 or FIR1 COEFFICIENT 3
FIR2 or FIR1 COEFFICIENT 4
FIR2 or FIR1 COEFFICIENT 5
FIR2 or FIR1 COEFFICIENT 6
FIR2 or FIR1 COEFFICIENT 7
Eachdemodulator channelimplements a 16 tap symetricFIR filter,each with8 coefficients. Thefollowing
table givesthe defaultvalues providedby theAUTOSTANDARDfunction (∆F = 50kHzin FM mode).
This register provides access to the control signalfor the symbol trackingloop (2’s complement).If read,
it indicates a value proportional to the symbol tracking frequency error. If written to, it will preset the
frequencyerror.
SRF [7:0]Approx. Error (kHz)
10000000-8
000000000
01111111+8
RESET
After a reset sequence, all the registers controllable by AUTOSTANDARD function (FIR, COFQ, FIFQ,
ACOEFF, BCOEFF, SCOEFF, SRF) areadjusted for the standardI configuration(channel 1 to FM mono
modeand channel 2 to QPSK mode).
28/31
APPLICATIONDIAGRAM (SDIP42 PACKAGE)
SIF1
SIF2
100pF
560Ω
100pF
C1
10µF
L1
10µH
C2
10nF
C3 10nF
C4 10nF
C5 10nF
2
3
4
STV8203
CAP5
SIF1
CAP6
SIF2
U1
GND2
DV
REG
CAP3
DD5
STV8203
421
41
40
39
Q1
BC557B
C26
220nF
C4
10nF
L2
10µH
3
GND3
NC
C28 10µF
MONOOUT
6
MOUT
SCL
C7 1µF
MONO IN
MIN
7
SDA
C8 220nF
NOT USEDCAP8
C9 1µF
LIL1 IN
LIL1
9
XIN
C11 1µF
LIR1 IN
10
LIR1
GND4
11
XOUT
GND1
C13 1µF
LIL2 IN
12
LIL2
NC
C14 1µF
LIR2 IN
LIR2
NC
13
C27 10pF
14
CAP2
NC
C15 10µF
15
CAP1
NC
C16 10µF
AOL1
16
AOL1
NC
C17 10µF
AOR1
AOR1
NC
17
C18 1nF
18
CAP4
NC
C19 10µF
AOL2
AOL2
NC
19
C20 10µF
AOR2
20
AOR2
RESET
R2 39Ω (*)
8V
C23
10µF
C24
220nF
21
AV
CC
CAP7
(*) Note : Resistor R2 should beshort-circuited in caseof 5V onlysupply voltage application.
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the
consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from
its use. No licence is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications
mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information
previouslysupplied.STMicroelectronicsproducts are not authorizedfor use as criticalcomp onentsin lifesupport devicesor systems
without express written approval of STMicroelectronics.
Purchase of I
Rights to use these components in a I
Australia - Brazil - Canada - China - France - Germany - Italy- Japan - Korea - Malaysia - Malta - Mexico -Morocco - The Netherlands