DATA SHEET
MSP 34x0G
3.4. Programming Tips
3.5. Examples of Minimum Initialization Codes
This section describes the preferred method for initial-
izing the MSP 34x0G. The initialization is grouped into
four sections:
Initialization of the MSP 34x0G according to these list-
ings reproduces sound of the selected standard on the
loudspeaker output. All numbers are hexadecimal. The
examples have the following structure:
– SCART Signal Path (analog signal path)
– Demodulator
1. Perform an I2C controlled reset of the IC.
2. Write MODUS register
– SCART and I2S Inputs
– Output Channels
(with Automatic Sound Select).
3. Set Source Selection for loudspeaker channel
(with matrix set to STEREO).
See Fig. 2–1 on page 9 for a complete signal flow.
4. Set Prescale
(FM and/or NICAM and dummy FM matrix).
SCART Signal Path
5. Write STANDARD SELECT register.
1. Select analog input for the SCART baseband pro-
cessing (SCART DSP Input Select) by means of the
ACB register.
6. Set Volume loudspeaker channel to 0 dB.
2. Select the source for each analog SCART output
(SCART Output Select) by means of the ACB regis-
ter.
3.5.1. B/G-FM (A2 or NICAM)
<80 00 80 00>
<80 00 00 00>
// Softreset
<80 10 00 30 20 03> // MODUS-Register: Automatic = on
<80 12 00 08 03 20> // Source Sel. = (St or A) & Ch. Matr. = St
Demodulator
<80 12 00 0E 24 03> // FM/AM-Prescale = 24
,
hex
FM-Matrix = MONO/SOUNDA
For a complete setup of the TV sound processing from
analog IF input to the source selection, the following
steps must be performed:
<80 12 00 10 5A 00> // NICAM-Prescale = 5A
hex
<80 10 00 20 00 03> // Standard Select: A2 B/G or NICAM B/G
or
<80 10 00 20 00 08>
1. Set MODUS register to the preferred mode and
Sound IF input.
<80 12 00 00 73 00> // Loudspeaker Volume 0 dB
2. Choose preferred prescale (FM and NICAM) values.
3. Write STANDARD SELECT register.
3.5.2. BTSC-Stereo
<80 00 80 00>
<80 00 00 00>
// Softreset
4. If Automatic Sound Select is not active:
Choose FM matrix repeatedly according to the
sound mode indicated in the STATUS register.
<80 10 00 30 20 03> // MODUS-Register: Automatic = on
<80 12 00 08 03 20> // Source Sel. = (St or A) & Ch. Matr. = St
<80 12 00 0E 24 03> // FM/AM-Prescale = 24
,
hex
SCART and I2S Inputs
FM-Matrix = Sound A Mono
<80 10 00 20 00 20> // Standard Select: BTSC-STEREO
<80 12 00 00 73 00> // Loudspeaker Volume 0 dB
1. Select preferred prescale for SCART.
2. Select preferred prescale for I2S inputs
(set to 0 dB after RESET).
3.5.3. BTSC-SAP with SAP at Loudspeaker Channel
<80 00 80 00>
<80 00 00 00>
// Softreset
Output Channels
<80 10 00 30 20 03> // MODUS-Register: Automatic = on
<80 12 00 08 04 20> // Source Sel. = (St or B) & Ch. Matr. = St
1. Select the source channel and matrix for each out-
put channel.
<80 12 00 0E 24 03> // FM/AM-Prescale = 24
,
hex
2. Set audio baseband processing.
FM-Matrix = Sound A Mono
<80 10 00 20 00 21> // Standard Select: BTSC-SAP
<80 12 00 00 73 00> // Loudspeaker Volume 0 dB
3. Select volume for each output channel.
Micronas
May 27, 2003; 6251-476-1DS
43