PRELIMINARY DATA SHEET MICRONAS Edition May 22, 2000 6251-520-1PD MSP34x2G Multistandard Sound Processor Family with Dolby Surround Pro Logic MICRONAS MSP 34x2G PRELIMINARY DATA SHEET Contents Page Section Title 6 6 7 7 8 1. 1.1. 1.2. 1.3. 1.4. Introduction Features Features of the MSP 34x2G Family MSP 34x2G Version List MSP 34x2G Versions and their Application Fields 9 11 11 11 11 12 12 12 14 14 14 14 14 14 14 15 15 15 15 15 15 16 16 16 17 18 18 18 18 18 18 19 19 19 19 19 19 20 20 20 2. 2.1. 2.2. 2.2.1. 2.2.2. 2.2.3. 2.2.4. 2.2.5. 2.3. 2.4. 2.5. 2.5.1. 2.5.2. 2.5.3. 2.5.4. 2.6. 2.6.1. 2.6.1.1. 2.6.1.2. 2.6.2. 2.6.2.1. 2.6.2.2. 2.6.2.3. 2.6.2.4. 2.6.3. 2.6.4. 2.6.4.1. 2.6.4.2. 2.6.4.3. 2.6.4.4. 2.6.5. 2.6.6. 2.6.7. 2.7. 2.7.1. 2.7.2. 2.8. 2.9. 2.10. 2.11. Functional Description Architecture of the MSP 34x2G Family Sound IF Processing Analog Sound IF Input Demodulator: Standards and Features Preprocessing of Demodulator Signals Automatic Sound Select Manual Mode Preprocessing for SCART and I2S Input Signals Source Selection and Output Channel Matrix Audio Baseband Processing Automatic Volume Correction (AVC) Loudspeaker and Headphone Outputs Subwoofer Output Quasi-Peak Detector Surround Processing Output Configuration HP/CS Switch Channel Configuration Surround Processing Mode Decoder Matrix Surround Reproduction Center Modes Useful Combinations of Surround Processing Modes Examples Application Tips for using 3D-PANORAMA Sweet Spot Clipping Loudspeaker Requirements Cabinet Requirements Input and Output Levels in Dolby Surround Pro Logic Mode Subwoofer in Surround Mode Equalizer in Surround Mode SCART Signal Routing SCART DSP In and SCART Out Select Stand-by Mode I2S Bus Interface ADR Bus Interface Digital Control I/O Pins and Status Change Indication Clock PLL Oscillator and Crystal Specifications 2 Micronas PRELIMINARY DATA SHEET MSP 34x2G Contents, continued Page Section Title 21 21 21 21 22 22 23 23 23 23 23 23 23 23 27 28 28 28 30 31 32 46 47 47 47 47 47 48 48 48 48 48 48 48 3. 3.1. 3.1.1. 3.1.2. 3.1.3. 3.1.4. 3.1.5. 3.1.5.1. 3.1.5.2. 3.1.5.3. 3.1.5.4. 3.2. 3.3. 3.3.1. 3.3.2. 3.3.2.1. 3.3.2.2. 3.3.2.3. 3.3.2.4. 3.3.2.5. 3.3.2.6. 3.3.2.7. 3.4. 3.5. 3.5.1. 3.5.2. 3.5.3. 3.5.4. 3.5.5. 3.5.6. 3.5.7. 3.5.8. 3.5.9. 3.5.10. Control Interface I2C Bus Interface Device and Subaddresses Internal Hardware Error Handling Description of CONTROL Register Protocol Description Proposals for General MSP 34x2G I2C Telegrams Symbols Write Telegrams Read Telegrams Examples Start-Up Sequence: Power-Up and I2C Controlling MSP 34x2G Programming Interface User Registers Overview Description of User Registers STANDARD SELECT Register Refresh of STANDARD SELECT Register STANDARD RESULT Register Write Registers on I2C Subaddress 10hex Read Registers on I2C Subaddress 11hex Write Registers on I2C Subaddress 12hex Read Registers on I2C Subaddress 13hex Programming Tips Examples of Minimum Initialization Codes SCART1 Input to Loudspeaker in Stereo Sound B/G-FM (A2 or NICAM) BTSC-Stereo BTSC-SAP with SAP at Loudspeaker Channel FM-Stereo Radio Automatic Standard Detection Dolby Surround Pro Logic Example Virtual Dolby Surround Example Noise Sequencer for Dolby Pro Logic Software Flow for Interrupt driven STATUS Check 50 50 51 54 57 60 62 62 63 63 63 64 4. 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. 4.6.1. 4.6.2. 4.6.2.1. 4.6.2.2. 4.6.2.3. Specifications Outline Dimensions Pin Connections and Short Descriptions Pin Descriptions Pin Configurations Pin Circuits Electrical Characteristics Absolute Maximum Ratings Recommended Operating Conditions (TA = 0 to 70 °C) General Recommended Operating Conditions Analog Input and Output Recommendations Recommendations for Analog Sound IF Input Signal Micronas 3 MSP 34x2G PRELIMINARY DATA SHEET Contents, continued Page Section Title 65 66 66 67 68 69 70 72 74 74 75 78 4.6.2.4. 4.6.3. 4.6.3.1. 4.6.3.2. 4.6.3.3. 4.6.3.4. 4.6.3.5. 4.6.3.6. 4.6.3.7. 4.6.3.8. 4.6.3.9. 4.6.3.10. Crystal Recommendations Characteristics General Characteristics Digital Inputs, Digital Outputs Reset Input and Power-Up I2C-Bus Characteristics I2S-Bus Characteristics Analog Baseband Inputs and Outputs, AGNDC Sound IF Inputs Power Supply Rejection Analog Performance Sound Standard Dependent Characteristics 81 81 82 83 83 84 84 5. 5.1. 5.2. 5.3. 5.4. 5.5. 5.6. Appendix A: Overview of TV-Sound Standards NICAM 728 A2-Systems BTSC-Sound System Japanese FM Stereo System (EIA-J) FM Satellite Sound FM-Stereo Radio 85 86 87 87 87 87 88 89 89 90 91 93 93 95 95 95 95 96 96 96 96 97 97 97 97 97 6. 6.1. 6.2. 6.3. 6.3.1. 6.3.1.1. 6.3.1.2. 6.3.2. 6.3.3. 6.3.4. 6.3.5. 6.3.6. 6.3.7. 6.4. 6.4.1. 6.4.2. 6.4.3. 6.4.4. 6.4.5. 6.4.6. 6.4.7. 6.5. 6.5.1. 6.5.2. 6.5.3. 6.5.4. Appendix B: Manual/Compatibility Mode Demodulator Write and Read Registers for Manual/Compatibility Mode DSP Write and Read Registers for Manual/Compatibility Mode Manual/Compatibility Mode: Description of Demodulator Write Registers Automatic Switching between NICAM and Analog Sound Function in Automatic Sound Select Mode Function in Manual Mode A2 Threshold Carrier-Mute Threshold Register AD_CV Register MODE_REG FIR-Parameter, Registers FIR1 and FIR2 DCO-Registers Manual/Compatibility Mode: Description of Demodulator Read Registers NICAM Mode Control/Additional Data Bits Register Additional Data Bits Register CIB Bits Register NICAM Error Rate Register PLL_CAPS Readback Register AGC_GAIN Readback Register Automatic Search Function for FM-Carrier Detection in Satellite Mode Manual/Compatibility Mode: Description of DSP Write Registers Additional Channel Matrix Modes Volume Modes of SCART1/2 Outputs FM Fixed Deemphasis FM Adaptive Deemphasis 4 Micronas PRELIMINARY DATA SHEET MSP 34x2G Contents, continued Page Section Title 97 98 98 98 98 98 99 99 99 99 99 6.5.5. 6.5.6. 6.5.7. 6.6. 6.6.1. 6.6.2. 6.7. 6.7.1. 6.7.2. 6.8. 6.9. NICAM Deemphasis Identification Mode for A2 Stereo Systems FM DC Notch Manual/Compatibility Mode: Description of DSP Read Registers Stereo Detection Register for A2 Stereo Systems DC Level Register Demodulator Source Channels in Manual Mode Terrestric Sound Standards SAT Sound Standards Exclusions of Audio Baseband Features Compatibility Restrictions to MSP 34x0D 101 101 102 7. 7.1. 7.2. Appendix D: Application Information Phase Relationship of Analog Outputs Application Circuit 104 8. Appendix E: MSP 34x2G Version History 104 9. Data Sheet History License Notice: 1) “Dolby”, “Virtual Dolby Surround”, and the double-D Symbol are trademarks of Dolby Laboratories. Supply of this implementation of Dolby Technology does not convey a license nor imply a right under any patent, or any other industrial or intellectual property right of Dolby Laboratories, to use this implementation in any finished end-user or ready-to-use final product. Companies planning to use this implementation in products must obtain a license from Dolby Laboratories Licensing Corporation before designing such products. Micronas 5 MSP 34x2G PRELIMINARY DATA SHEET Multistandard Sound Processor Family with Dolby Surround Pro Logic The hardware and software description in this document is valid for the MSP 34x2G version A1 and following versions. Surround sound can be reproduced to a certain extent with only two loudspeakers. The MSP 3452G includes a Micronas virtualizer algorithm which has been approved by the Dolby1) Laboratories for compliance with the "Virtual Dolby Surround" technology. This algorithm is called “3D-PANORAMA” and enables convincing acoustical sensations. Virtual Dolby Surround can be processed together with headphone signals. 1. Introduction The MSP 34x2G family of single-chip Multistandard Sound Processors covers the sound processing of all analog TV-Standards worldwide, as well as the NICAM digital sound standards. The full TV sound processing, starting with analog sound IF signal-in, down to processed analog AF-out, is performed on a single chip. The ICs are produced in submicron CMOS technology. The MSP 34x2G is available in the following packages: PSDIP64, PQFP80, and PLQFP64. 1.1. Features – All MSP 3450G features The family’s latest member, the MSP 3452G has all functions of the MSP 3450G with the addition of Dolby Surround Pro Logic and Virtual Dolby Surround sound processing (See License Notice on page 5). The MSP 3452G forms a superset of the functions of the MSP 3451G, which contains the virtualizer algorithms but does not contain any multi-channel processing. – All MSP 3451G features as there are - the 3D-PANORAMA virtualizer algorithm - the PANORAMA virtualizer algorithm - Noise Generator Additional output pins DACM_C and DACM_S have been defined which deliver the Dolby Surround Pro Logic processed Center and Surround channels. When DACM_C and DACM_S are active, the headphone outputs DACA_L and DACA_R are muted and vice versa. Simultaneous processing of Headphone signals and Dolby Surround Pro Logic is not possible. – Additional pins for Center and Surround channels ADC Sound IF2 Demodulator I2S1 SCART1 SCART2 SCART3 – Virtualizer able to work with 2 or 3 front loudspeakers – Pin and software compatible to MSP 34x0G Loudspeaker Sound Processing Preprocessing Prescale I2S2 – Various other multichannel sound modes Source Select Sound IF1 – Dolby Surround Pro Logic processing Headphone/ Surround Sound Processing DAC Loudspeaker Subwoofer Center Surround DAC Headphone I2S DAC SCART DSP Input Select SCART1 ADC SCART4 Prescale DAC SCART Output Select MONO SCART2 Fig. 1–1: Block diagram of the MSP 34x2G 6 Micronas MSP 34x2G PRELIMINARY DATA SHEET 1.2. Features of the MSP 34x2G Family Feature 3402 3412 3422 3442 3452 Dolby Surround Pro Logic X X X X X 3D-PANORAMA virtualizer (approved by Dolby Laboratories) with noise generator X X X X X PANORAMA virtualizer algorithm X X X X X Standard Selection with single I2C transmission X X X X X Automatic Standard Detection of terrestrial TV standards X X X X X Automatic Sound Selection (mono/stereo/bilingual) X X X X X Two selectable sound IF (SIF) inputs X X X X X Automatic Carrier Mute function X X X X X Interrupt output programmable (indicating status change) X X X X X Loudspeaker / Headphone channel with volume, balance, bass, treble, loudness X X X X X AVC: Automatic Volume Correction X X X X X Subwoofer output with programmable low-pass and complementary high-pass filter X X X X X 5-band graphic equalizer for loudspeaker channel X X X X X Spatial effect for loudspeaker channel X X X X X Four Stereo SCART (line) inputs, one Mono input; two Stereo SCART outputs X X X X X Complete SCART in/out switching matrix X X X X X Two I2S inputs; one I2S output X X X X X All analog FM-Stereo A2 and satellite standards; AM-SECAM L standard X X X X X Simultaneous demodulation of (very) high-deviation FM-Mono and NICAM Adaptive deemphasis for satellite (Wegener-Panda, acc. to ASTRA specification) X X X ASTRA Digital Radio (ADR) together with DRP 3510A X X X X X All NICAM standards Demodulation of the BTSC multiplex signal and the SAP channel X Alignment free digital DBX noise reduction for BTSC Stereo and SAP X X X X Alignment free digital Micronas Noise Reduction (MNR) for BTSC Stereo and SAP X BTSC stereo separation (MSP 3422/42G also EIA-J) significantly better than spec. X X X SAP and stereo detection for BTSC system X X X X X X Alignment-free Japanese standard EIA-J X X X Demodulation of the FM-Radio multiplex signal X X X Korean FM-Stereo A2 standard X X 1.3. MSP 34x2G Version List Version Status Description MSP 3402G not confirmed FM Stereo (A2) Version MSP 3412G planned NICAM and FM Stereo (A2) Version MSP 3422G not confirmed NTSC Version (A2 Korea, BTSC with Micronas Noise Reduction (MNR), and Japanese EIA-J system) MSP 3442G not confirmed NTSC Version (A2 Korea, BTSC with DBX noise reduction, and Japanese EIA-J system) MSP 3452G available Global Version (all sound standards) Micronas 7 MSP 34x2G PRELIMINARY DATA SHEET 1.4. MSP 34x2G Versions and their Application Fields Table 1–1 provides an overview of TV sound standards that can be processed by the MSP 34x2G family. In addition, the MSP 34x2G is able to handle the terrestrial FM-Radio standard. With the MSP 34x2G, a com- plete multimedia receiver covering all TV sound standards together with terrestrial and satellite radio sound can be built; even ASTRA Digital Radio can be processed (with a DRP 3510A coprocessor). Table 1–1: TV Stereo Sound Standards covered by the MSP 34x2G IC Family (details see Appendix A) TVSystem 3402 MSP Version Position of Sound Carrier /MHz Sound Modulation Color System Broadcast e.g. in: 5.5/5.7421875 FM-Stereo (A2) PAL Germany 5.5/5.85 FM-Mono/NICAM PAL Scandinavia, Spain L 6.5/5.85 AM-Mono/NICAM SECAM-L France I 6.0/6.552 FM-Mono/NICAM PAL UK, Hong Kong 6.5/6.2578125 FM-Stereo (A2, D/K1) SECAM-East Slovak. Rep. 6.5/6.7421875 FM-Stereo (A2, D/K2) PAL currently no broadcast 6.5/5.7421875 FM-Stereo (A2, D/K3) SECAM-East Poland 6.5/5.85 FM-Mono/NICAM (D/K, NICAM) PAL China, Hungary 6.5 7.02/7.2 7.38/7.56 etc. FM-Mono FM-Stereo PAL Europe Sat. ASTRA 4.5/4.724212 FM-Stereo (A2) NTSC Korea 4.5 FM-FM (EIA-J) NTSC Japan 4.5 BTSC-Stereo + SAP NTSC, PAL USA, Argentina 10.7 FM-Stereo Radio 3412 3402 B/G 3452 D/K 3422, 3442 3402 Satellite M/N FM-Radio ASTRA Digital Radio (ADR) with DRP 3510A 33 34 39 MHz USA, Europe 4.5 9 MHz Loudspeaker SAW Filter Subwoofer Sound IF Mixer Tuner Center Mono Vision Demodulator SCART1 SCART Inputs Composite Video SCART2 1 MSP 34x2G 2 Headphone 2 2 2 2 2 SCART3 SCART4 Surround ADR SCART1 SCART2 SCART Outputs I2S2 ADR Decoder DRP 3510A Fig. 1–2: Typical MSP 34x2G application 8 Micronas ANA_IN2+ AGC A D DEMODULATOR (incl. Carrier Mute) Deemphasis: 50/75 µs DBX Panda1 FM/AM Prescale Configurable Output Section Loudspeaker Channel Matrix FM/AM Stereo or A/B (0Ehex) ADR-Bus Interface Decoded Standards: − NICAM − A2 − AM − BTSC − EIA-J − SAT − FM-Radio NICAM Deemphasis J17 (08hex) AVC Bass/ Treble or Equalize (29hex) Loudness Σ (02hex) (03hex) (04hex) 0.5 Stereo or A Complementary Highpass Spatial Effects Balance (20hex) (05hex) (01hex) Lowpass Beeper Prescale Stereo or B (2Dhex) (14hex) D DACM_L Volume DACM_R Level Adjust A DACM_SUB (00hex) (2Chex) (10hex) Standard and Sound Detection DACM_C I2 C Read Register DACM_S I2S1 Interface Prescale (16hex) I2S1 I2 S I2S_DA_IN2 Interface Prescale Source Select I2 S I2S_DA_IN1 Volume Headphone Channel Matrix Bass/ Treble (32hex) (09hex) I2S Channel Matrix Σ Loudness D PRELIMINARY DATA SHEET ANA_IN1+ 2. Functional Description Micronas Automatic Sound Select Standard Selection DACA_L Balance A (33hex) I2S Interface (30hex) (06hex) DACA_R I2S_DA_OUT (0Bhex) (12hex) Quasi-Peak Channel Matrix Quasi-Peak Detector I2C Read Register (19hex) (1Ahex) (13hex) SC1_IN_L SC1_IN_R SC2_IN_L SC3_IN_L D Prescale (0Dhex) SCART1 Channel Matrix (0Ahex) SCART2 Channel Matrix (41hex) Volume D SCART1_L/R A (07hex) Volume SC1_OUT_L D SCART2_L/R A (40hex) SC1_OUT_R SC2_OUT_L SC2_OUT_R SC3_IN_R SC4_IN_L SC4_IN_R MONO_IN (13 hex) Fig. 2–1: Signal flow block diagram of the MSP 3452G without any surround processing: Output Configuration (register 48hex) = 0000hex 9 MSP 34x2G SC2_IN_R SCART A SCART Output Select SCART DSP Input Select (0Chex) MSP 34x2G PRELIMINARY DATA SHEET Configurable Output Section Loudspeaker Channel Matrix Virtualizer AVC (29hex) (08hex) Bass/ Treble or Equalize Σ Loudness (02hex) (03hex) (04hex) 0.5 Balance (20hex) (01hex) Lowpass Noise Generator Beeper (2Dhex) (14hex) DACM_L Complementary Highpass D Volume DACM_R Level Adjust (2Chex) A DACM_SUB (00hex) DACM_C DACM_S Volume Headphone Channel Matrix Bass/ Treble Σ (32hex) (09hex) Loudness DACA_L D Balance A (33hex) (30hex) DACA_R (06hex) Fig. 2–2: Output section in virtual mode: Output Configuration (register 48hex) = 0100hex Configurable Output Section Loudspeaker Channel Matrix Bass/ Treble (08hex) Noise Generator Σ (02hex) Dolby Pro Logic and optional Virtualizer Loudness (04hex) Balance (20hex) (01hex) Lowpass 0.5 Beeper AVC (2Dhex) (14hex) Bass/ Treble (29hex) (32hex) Σ Loudness DACM_L Complementary Highpass Complementary Highpass D Volume DACM_R Level Adjust (2Chex) A (00hex) Volume DACM_C D Balance A (33hex) DACM_SUB (30hex) DACM_S (06hex) DACA_L DACA_R Fig. 2–3: Output section with multi-channel surround: Output Configuration (register 48hex) = 8200hex 10 Micronas PRELIMINARY DATA SHEET 2.1. Architecture of the MSP 34x2G Family The block diagrams in Fig. 2–1, Fig. 2–2, and Fig. 2–3 show the signal flow in the MSP 34x2G in three modes that can be set in the Output Configuration register. – Standard mode (see Fig. 2–1). The IC is compatible to the MSP 34x0 family. – Virtual mode (see Fig. 2–2). The IC is compatible to the Virtual Dolby MSP 34x1 family. – Dolby Surround Pro Logic mode (see Fig. 2–3). The three block diagrams show the features of the MSP 3452G family member. Other members of the MSP 34x2G family do not have the complete set of features: The demodulator handles only a subset of the standards presented in the demodulator block; NICAM processing is only possible in the MSP 3412G and MSP 3452G. 2.2. Sound IF Processing 2.2.1. Analog Sound IF Input The input pins ANA_IN1+, ANA_IN2+, and ANA_IN− offer the possibility to connect two different sound IF (SIF) sources to the MSP 34x2G. The analog-to-digital conversion of the preselected sound IF signal is done by an A/D-converter. An analog automatic gain circuit (AGC) allows a wide range of input levels. The highpass filters formed by the coupling capacitors at pins ANA_IN1+ and ANA_IN2+ see Section 7.2. “Application Circuit” on page 102 are sufficient in most cases to suppress video components. Some combinations of SAW filters and sound IF mixer ICs, however, show large picture components on their outputs. In this case, further filtering is recommended. 2.2.2. Demodulator: Standards and Features The MSP 34x2G is able to demodulate all TV-sound standards worldwide including the digital NICAM system. Depending on the MSP 34x2G version, the following demodulation modes can be performed: A2 Systems: Detection and demodulation of two separate FM carriers (FM1 and FM2), demodulation and evaluation of the identification signal of carrier FM2. NICAM Systems: Demodulation and decoding of the NICAM carrier, detection and demodulation of the analog (FM or AM) carrier. For D/K-NICAM, the FM carrier may have a maximum deviation of 384 kHz. Very high deviation FM-Mono: Detection and robust demodulation of one FM carrier with a maximum deviation of 540 kHz. Micronas MSP 34x2G BTSC-Stereo: Detection and FM demodulation of the aural carrier resulting in the MTS/MPX signal. Detection and evaluation of the pilot carrier, AM demodulation of the (L−R)-carrier and detection of the SAP subcarrier. Processing of DBX noise reduction or Micronas Noise Reduction (MNR). BTSC-Mono + SAP: Detection and FM demodulation of the aural carrier resulting in the MTS/MPX signal. Detection and evaluation of the pilot carrier, detection and FM demodulation of the SAP subcarrier. Processing of DBX noise reduction or Micronas Noise Reduction (MNR). Japan Stereo: Detection and FM demodulation of the aural carrier resulting in the MPX signal. Demodulation and evaluation of the identification signal and FM demodulation of the (L−R)-carrier. FM-Satellite Sound: Demodulation of one or two FM carriers. Processing of high-deviation mono or narrow bandwidth mono, stereo, or bilingual satellite sound according to the ASTRA specification. FM-Stereo-Radio: Detection and FM demodulation of the aural carrier resulting in the MPX signal. Detection and evaluation of the pilot carrier and AM demodulation of the (L−R)-carrier. The demodulator blocks of all MSP 34x2G versions have identical user interfaces. Even completely different systems like the BTSC and NICAM systems are controlled the same way. Standards are selected by means of MSP Standard Codes. Automatic processes handle standard detection and identification without controller interaction. The key features of the MSP 34x2G demodulator blocks are Standard Selection: The controlling of the demodulator is minimized: All parameters, such as tuning frequencies or filter bandwidth, are adjusted automatically by transmitting one single value to the STANDARD SELECT register. For all standards, specific MSP standard codes are defined. Automatic Standard Detection: If the TV sound standard is unknown, the MSP 34x2G can automatically detect the actual standard, switch to that standard, and respond the actual MSP standard code. Automatic Carrier Mute: To prevent noise effects or FM identification problems in the absence of an FM carrier, the MSP 34x2G offers a configurable carrier mute feature, which is activated automatically if the TV sound standard is selected by means of the STANDARD SELECT register. If no FM carrier is detected at one of the two MSP demodulator channels, the corresponding demodulator output is muted. This is indicated in the STATUS register. 11 MSP 34x2G 2.2.3. Preprocessing of Demodulator Signals The NICAM signals must be processed by a deemphasis filter and adjusted in level. The analog demodulated signals must be processed by a deemphasis filter, adjusted in level, and dematrixed. The correct deemphasis filters are already selected by setting the standard in the STANDARD SELECT register. The level adjustment has to be done by means of the FM/ AM and NICAM prescale registers. The necessary dematrix function depends on the selected sound standard and the actual broadcasted sound mode (mono, stereo, or bilingual). It can be manually set by the FM Matrix Mode register or automatically set by the Automatic Sound Selection. PRELIMINARY DATA SHEET – “Stereo or A” channel: Analog or digital mono sound, stereo if available. In case of bilingual broadcast, it contains language A (on left and right). – “Stereo or B” channel: Analog or digital mono sound, stereo if available. In case of bilingual broadcast, it contains language B (on left and right). Fig. 2–4 and Table 2–2 show the source channel assignment of the demodulated signals in case of Automatic Sound Select mode for all sound standards. Note: The analog primary input channel contains the signal of the mono FM/AM carrier or the L+R signal of the MPX carrier. The secondary input channel contains the signal of the second FM carrier, the L−R signal of the MPX carrier, or the SAP signal. 2.2.4. Automatic Sound Select The demodulator supports the identification check by switching between mono compatible standards (standards that have the same FM mono carrier) automatically and non-audible. If B/G-FM or B/G-NICAM is selected, the MSP will switch between these standards. The same action is performed for the standards: D/K1-FM, D/K2-FM, and D/K-NICAM. Switching is only done in the absence of any stereo or bilingual identification. If identification is found, the MSP keeps the detected standard. In case of high bit-error rates, the MSP 34x2G automatically falls back from digital NICAM sound to analog FM or AM mono. primary channel secondary channel NICAM A NICAM FM/AM 0 Stereo or A/B 1 Stereo or A 3 Stereo or B 4 FM/AM Prescale NICAM Automatic Sound Select Prescale LS Ch. Matrix Source Select In the Automatic Sound Select mode, the dematrix function is automatically selected based on the identification information in the STATUS register. No I2C interaction is necessary when the broadcasted sound mode changes (e.g. from mono to stereo). Output-Ch. Matrices must be set once to stereo SC2 Ch. Matrix Fig. 2–4: Source channel assignment of demodulated signals in Automatic Sound Select Mode 2.2.5. Manual Mode Fig. 2–5 shows the source channel assignment of demodulated signals in case of manual mode. If manual mode is required, more information can be found in Section 6.7. “Demodulator Source Channels in Manual Mode” on page 99. Table 2–1 summarizes all actions that take place when Automatic Sound Select is switched on. The following source channels of demodulated sound are defined: primary channel LS Ch. Matrix FM/AM FM-Matrix secondary channel Prescale NICAM A NICAM FM/AM NICAM (Stereo or A/B) NICAM Prescale 0 Source Select To provide more flexibility, the Automatic Sound Select block prepares four different source channels of demodulated sound (see Fig. 2–4). By choosing one of the four demodulator channels, the preferred sound mode can be selected for each of the output channels (loudspeaker, headphone, etc.). This is done by means of the Source Select registers. Output-Ch. Matrices must be set according the standard 1 SC2 Ch. Matrix Fig. 2–5: Source channel assignment of demodulated signals in Manual Mode – “FM/AM” channel: Analog mono sound, stereo if available. In case of NICAM, analog mono only (FM or AM mono). – “Stereo or A/B” channel: Analog or digital mono sound, stereo if available. In case of bilingual broadcast, it contains both languages A (left) and B (right). 12 Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 2–1: Performed actions of the Automatic Sound Selection Selected TV Sound Standard Performed Actions B/G-FM, D/K-FM, M-Korea, and M-Japan Evaluation of the identification signal and automatic switching to mono, stereo, or bilingual. Preparing four demodulator source channels according to Table 2–2. Identification is acquired after 500 ms. B/G-NICAM, L-NICAM, I-NICAM, and D/K-NICAM Evaluation of NICAM-C-bits and automatic switching to mono, stereo, or bilingual. Preparing four demodulator source channels according to Table 2–2. NICAM detection is acquired within 150 ms. In case of bad or no NICAM reception, the MSP switches automatically to FM/AM mono and switches back to NICAM if possible. A hysteresis prevents periodical switching. B/G-FM, B/G-NICAM or D/K1-FM, D/K2-FM, D/K3-FM, and D/K-NICAM Automatic searching for stereo/bilingual-identification in case of mono transmission. Automatic and nonaudible changes between Dual-FM and FM-NICAM standards while listening to the basic FM-Mono sound carrier. Example: If starting with B/G-FM-Stereo, there will be a periodical alternation to B/G-NICAM in the absence of FM-Stereo/Bilingual or NICAM-identification. Once an identification is detected, the MSP keeps the corresponding standard. BTSC-STEREO, FM Radio Evaluation of the pilot signal and automatic switching to mono or stereo. Preparing four demodulator source channels according to Table 2–2. Detection of the SAP carrier. Pilot detection is acquired after 200 ms. BTSC-SAP In the absence of SAP, the MSP switches to BTSC-Stereo if available. If SAP is detected, the MSP switches automatically to SAP (see Table 2–2). Table 2–2: Sound modes for the demodulator source channels with Automatic Sound Select Source Channels in Automatic Sound Select Mode Broadcasted Sound Standard Selected MSP Standard Code3) Broadcasted Sound Mode FM/AM Stereo or A/B Stereo or A Stereo or B (source select: 0) (source select: 1) (source select: 3) (source select: 4) M-Korea B/G-FM D/K-FM M-Japan 02 03, 081) 04, 05, 07, 0B1) 30 MONO Mono Mono Mono Mono STEREO Stereo Stereo Stereo Stereo BILINGUAL: Languages A and B Left = A Right = B Left = A Right = B A B NICAM not available or error rate too high analog Mono analog Mono analog Mono analog Mono MONO analog Mono NICAM Mono NICAM Mono NICAM Mono STEREO analog Mono NICAM Stereo NICAM Stereo NICAM Stereo BILINGUAL: Languages A and B analog Mono Left = NICAM A Right = NICAM B NICAM A NICAM B MONO Mono Mono Mono Mono STEREO Stereo Stereo Stereo Stereo MONO+SAP Mono Mono Mono Mono STEREO+SAP Stereo Stereo Stereo Stereo MONO+SAP Left = Mono Right = SAP Left = Mono Right = SAP Mono SAP STEREO+SAP Left = Mono Right = SAP Left = Mono Right = SAP Mono SAP MONO Mono Mono Mono Mono STEREO Stereo Stereo Stereo Stereo B/G-NICAM L-NICAM I-NICAM D/K-NICAM D/K-NICAM 08, 032) 09 0A 0B, 042), 052) 0C (with high deviation FM) BTSC 20, 21 20 21 FM Radio 1) 2) 3) 40 The Automatic Sound Select process will automatically switch to the mono compatible analog standard. The Automatic Sound Select process will automatically switch to the mono compatible digital standard. The MSP Standard Codes are defined in Table 3–7 on page 27. Micronas 13 MSP 34x2G 2.3. Preprocessing for SCART and I2S Input Signals The SCART and I2S inputs need only be adjusted in level by means of the SCART and I2S prescale registers. PRELIMINARY DATA SHEET output level [dBr] −18 −24 2.4. Source Selection and Output Channel Matrix The Source Selector makes it possible to distribute all source signals (one of the demodulator source channels, SCART, or I2S input) to the desired output channels (loudspeaker, headphone, etc.). All input and output signals can be processed simultaneously. Each source channel is identified by a unique source address. For each output channel, the sound mode can be set to sound A, sound B, stereo, or mono by means of the output channel matrix. If Automatic Sound Select is on, the output channel matrix can stay fixed to stereo (transparent) for demodulated signals. 2.5. Audio Baseband Processing 2.5.1. Automatic Volume Correction (AVC) Different sound sources (e.g. terrestrial channels, SAT channels, or SCART) fairly often do not have the same volume level. Advertisements during movies usually have a higher volume level than the movie itself. This results in annoying volume changes. The AVC solves this problem by equalizing the volume level. To prevent clipping, the AVC’s gain decreases quickly in dynamic boost conditions. To suppress oscillation effects, the gain increases rather slowly for low-level inputs. The decay time is programmable by means of the AVC register (see page page 36). For input signals ranging from −24 dBr to 0 dBr, the AVC maintains a fixed output level of −18 dBr. Fig. 2–6 shows the AVC output level versus its input level. For prescale and volume registers set to 0 dB, a level of 0 dBr corresponds to full scale input/output. This is −30 −24 −18 −12 −6 0 input level [dBr] Fig. 2–6: Simplified AVC characteristics 2.5.2. Loudspeaker and Headphone Outputs The following baseband features are implemented in the loudspeaker and headphone output channels: bass/treble, loudness, balance, and volume. A square wave beeper can be added to the loudspeaker and headphone channel. The loudspeaker channel additionally performs: equalizer (not simultaneously with bass/treble), spatial effects, and a subwoofer crossover filter. 2.5.3. Subwoofer Output The subwoofer signal is created by combining the left and right channels directly behind the loudness block using the formula (L+R)/2. Due to the division by 2, the D/A converter will not be overloaded, even with full scale input signals. The subwoofer signal is filtered by a third-order low-pass with programmable corner frequency followed by a level adjustment. At the loudspeaker channels, a complementary high-pass filter can be switched on. Subwoofer and loudspeaker output use the same volume (Loudspeaker Volume Register). 2.5.4. Quasi-Peak Detector The quasi-peak readout register can be used to read out the quasi-peak level of any input source. The feature is based on following filter time constants: attack time: 1.3 ms decay time: 37 ms – SCART input/output 0 dBr = 2.0 Vrms – Loudspeaker and Aux output 0 dBr = 1.4 Vrms 14 Micronas MSP 34x2G PRELIMINARY DATA SHEET 2.6. Surround Processing 2.6.2. Surround Processing Mode 2.6.1. Output Configuration Surround sound processing is controlled by three functions: Like the MSP 34x1G ICs, the MSP 34x2G can be used for virtual surround sound on the left and right loudspeaker outputs. For multichannel outputs (more than 2 channels), extra output pins have been defined (DACM_C and DACM_S pins). For processing of these output channels, internal resources are shared with the headphone processing. As a result, headphone output is not possible together with multi-channel surround processing. When headphone output pins are active, the surround outputs are muted and vice versa. There are two options: the HP/CS switch and the channel configuration. The output configuration is controlled by means of register 48hex on I2C subaddress 12hex. 2.6.1.1. HP/CS Switch This switch defines which output pin pair is driven by the D/A converters that are used for headphone or surround processing. The unselected pins are muted. This makes it convenient to connect the center/surround amplifiers or outputs to the MSP 34x2 without external switches. Mute the Headphone/Surround channel by setting register 06hex to 0000hex before switching. Allow at least 2 s for settling to avoid audible plops. 2.6.1.2. Channel Configuration The channel configuration defines whether surround processing is switched on and what resources of the IC are to be used for surround sound processing. There are 3 options: – STEREO: The IC is in the normal stereo processing mode. No surround processing takes place. In this mode, the IC is compatible to the MSP 34x0G. – TWO_CHANNEL: Surround sound processing is switched on, but only left and right loudspeaker channels are used for output. This mode is used for virtual surround sound. – MULTI_CHANNEL: Surround sound processing is switched on, left and right loudspeaker channels together with left and right headphone channels are used for output. The following relationship applies: Center corresponds to the left headphone channel; Surround corresponds to the right headphone channel. Micronas The "Decoder Matrix" defines which method should be used to create a multichannel signal (L, C, R, S) out of a stereo input. The "Surround Reproduction" determines whether the surround signal “S” is fed to surround speakers. If no surround speaker is actually connected, it defines the method that should be used to create surround effects. The “Center Mode” determines how the center signal “C” is to be processed. It can be left unmodified, distributed to left and right, discarded or high pass filtered, whereby the low pass signals are distributed to left and right. The surround processing mode is controlled by means of register 4Bhex on I2C subaddress 12hex. 2.6.2.1. Decoder Matrix The Decoder Matrix allows three settings: – ADAPTIVE: The adaptive matrix is used for Dolby Surround Pro Logic. Even sound material not encoded in Dolby Surround will produce good surround effects in this mode. The use of the adaptive matrix requires a license from Dolby Laboratories (See License Notice on page 5). – PASSIVE: A simple fixed matrix is used for surround sound. – EFFECT: A fixed matrix that is used for mono sound and special effects. In adaptive or passive mode no surround signal is present in case of mono, moreover in adaptive mode even the left and right output channels carry no signal (or just low frequency signals in case of Center Mode = NORMAL). If surround sound is still required for mono signals, the effect mode can be used. This forces the surround channel to be active. The effect mode can be used together with 3D-PANORAMA. The result will be a pseudo stereo effect or a broadened stereo image respectively. 15 MSP 34x2G 2.6.2.2. Surround Reproduction PRELIMINARY DATA SHEET 2.6.2.4. Useful Combinations of Surround Processing Modes Surround sound can be reproduced with four choices: – REAR_SPEAKER: If there are any surround speakers connected to the system, this mode should be used. Useful loudspeaker combinations are: (L, C, R, S) or (L, R, S). – FRONT_SPEAKER: If there is no surround speaker connected, this mode can be used. Surround information is mixed to left and right output but without creating the illusion of a virtual speaker. It is similar to stereo but an additional center speaker can be used. This mode should be used with the adaptive decoder matrix only. Useful loudspeaker combinations are: (L, C, R) (Note: the surround output channel is muted). – PANORAMA: The surround information is mixed to left and right in order to create the illusion of a virtual surround speaker. Useful loudspeaker combinations are: (L, C, R) or (L, R) (Note: the surround output channel is muted). – 3D-PANORAMA: Like PANORAMA with improved effect. This algorithm has been approved by the Dolby Laboratories for compliance with the "Virtual Dolby Surround" technology. Useful loudspeaker combinations are: (L, C, R) or (L, R) (Note: the surround output channel is muted). 2.6.2.3. Center Modes Four center modes are supported: – NORMAL: small center speaker connected, L and R speakers have better bass capability. In principle, "Decoder Matrix", "Surround Reproduction", and "Center Modes" are independent settings (all "Decoder Matrix" settings can be used with all "Surround Reproduction" and "Center Modes") but there are some combinations that do not create "good" sound. Useful combinations are Surround Reproduction and Center Modes – REAR_SPEAKER: This mode is used if surround speakers are available. Useful center modes are NORMAL, WIDE, PHANTOM, and OFF. – FRONT_SPEAKER: This mode can be used if no surround speaker but a center speaker is connected. Useful center modes are NORMAL and WIDE. – PANORAMA or 3D-PANORAMA: No surround speaker used. Two (L and R) or three (L, R, and C) loudspeakers can be used. Useful center modes are NORMAL, WIDE, PHANTOM, and OFF. Center Modes and Decoder Matrix – PHANTOM: Should only be used together with ADAPTIVE Decoder Matrix. – NORMAL and WIDE: Can be used together with any Surround Decoder Matrix. – OFF: In special cases, this mode can be used together with the PASSIVE and EFFECT Decoder Matrix (no center speaker connected). – WIDE: L,R, and C speakers all have good bass capability. – PHANTOM: No center speaker used. Center signal is distributed to L and R (Note: the center output channel C is muted). – OFF: No center speaker used. Center signal C is discarded (Note: the center output channel C is muted). 16 Micronas MSP 34x2G PRELIMINARY DATA SHEET 2.6.3. Examples Table 2–3 shows some examples of how these modes can be used to configure the IC. The list is not intended to be complete, more modes are possible. Table 2–3: Examples of Surround Configurations Configurations Speaker Configuration1) Output Configuration Surround Processing Mode Register (48hex) Register (4Bhex) HP/CS Switch [15] Channel Configuration [14:8] Decoder Matrix [15:8] Surround Reproduction [7:4] Center Mode [3:0] HP STEREO − − − Stereo IC is compatible to the MSP34x0G. Stereo (L,R) Surround Modes as defined by Dolby Laboratories 2) Dolby Surround Pro Logic (L,C,R,S) CS MULTI_CHANNEL ADAPTIVE REAR_ SPEAKER NORMAL WIDE (L,R,S) CS MULTI_CHANNEL ADAPTIVE REAR_ SPEAKER PHANTOM Dolby 3 Stereo (L,C,R) CS MULTI_CHANNEL ADAPTIVE FRONT_ SPEAKER NORMAL WIDE Virtual Dolby Surround (L,R) HP TWO_CHANNEL ADAPTIVE 3D_PANORAMA PHANTOM Surround Modes that use the Dolby Pro Logic Matrix2) 3-Channel Virtual Surround (L,C,R) CS MULTI_CHANNEL ADAPTIVE 3D_PANORAMA NORMAL WIDE 4-Channel Surround (L,C,R,S) CS MULTI_CHANNEL PASSIVE REAR_ SPEAKER NORMAL WIDE 3-Channel Surround (L,R,S) CS MULTI_CHANNEL PASSIVE REAR_ SPEAKER OFF 2-Channel Micronas Perfect 3D Sound (L,R) HP TWO_CHANNEL PASSIVE 3D_PANORAMA OFF 3-Channel Micronas Perfect 3D Sound (L,C,R) CS MULTI_CHANNEL PASSIVE 3D_PANORAMA NORMAL WIDE 4-Channel Surround for mono (L,C,R,S) CS MULTI_CHANNEL EFFECT REAR_ SPEAKER NORMAL WIDE 2-Channel Virtual Surround for mono (L,R) HP TWO_CHANNEL EFFECT 3D_PANORAMA OFF 3-Channel Virtual Surround for mono (L,C,R) CS MULTI_CHANNEL EFFECT 3D_PANORAMA NORMAL WIDE Passive Matrix Surround Sound Special Effects Surround Sound 1) 2) Speakers not in use are muted automatically. The implementation in products requires a license from Dolby Laboratories Licensing Corporation (see note on page 5). Micronas 17 MSP 34x2G 2.6.4. Application Tips for using 3D-PANORAMA 2.6.4.1. Sweet Spot Good results are only obtained in a rather close area along the middle axis between the two loudspeakers: the sweet spot. Moving away from this position degrades the effect. PRELIMINARY DATA SHEET Great care has to be taken with systems that use one common subwoofer: A single loudspeaker cannot reproduce virtual sound locations. The crossover frequency must be lower than 120 Hz. 2.6.4.4. Cabinet Requirements During listening tests at Dolby Laboratories, no resonances in the cabinet should occur. 2.6.4.2. Clipping For the test at Dolby Labs, it is very important to have no clipping effects even with worst case signals. That is, 2 Vrms input signal must not clip. The SCART input prescale register has to be set to values of max 19hex (25dec). This is sufficient in terms of clipping. Good material to check for resonances are the Dolby Trailers or other dynamic sound tracks. 2.6.5. Input and Output Levels in Dolby Surround Pro Logic Mode However, it was found, that by reducing the prescale to a value lower than 25dec more convincing effects are generated in case of very high dynamic signals. A value of 18dec is a good compromise between overall volume and additional headroom. The analog inputs are able to accept 2 Vrms input level without overloading any stage before the volume control. The nominal input level (input sensitivity) is 350 mV. This gives 15 dB headroom. The scart prescale value should be set to max 0 dB (max 25dec). Test signals: sine sweep with 2 VRMS; L only, R only, L&R equal phase, L&R anti phase. I2S-Inputs should have the same headroom (15 dB) when entering the MSP 3452G. The highest possible input level of 0 dBFS is accepted without internal overflow. The I2S-prescale value should be set to 0 dB (16dec). Listening tests: Dolby Trailers (train trailer, city trailer, canyon trailer...) 2.6.4.3. Loudspeaker Requirements The loudspeakers used and their positioning inside the TV set will greatly influence the performance of the virtualizer. The algorithm works with the direct sound path. Reflected sound waves reduce the effect. So it’s most important to have as much direct sound as possible, compared to indirect sound. To obtain the approval for a TV set, Dolby Laboratories require mounting the loudspeakers at the front of the set. Loudspeakers radiating to the side of the TV set will not produce convincing effects. Good directionality of the loudspeakers towards the listener is optimal. The virtualizer was specially developed for implementation in TV sets. Even for rather small stereo TV's, sufficient sound effects can be obtained. For small sets, the loudspeaker placement should be to the side of the CRT; for large screen sets (or 16:9 sets), mounting the loudspeakers below the CRT is acceptable (large separation is preferred, low frequency speakers should be outmost to avoid cancellation effects). Using external loudspeakers with a large stereo base will not create optimal effects. With higher prescale values lower input sensitivities can be accommodated. A higher input sensitivity is not possible, because at least 15 dB headroom is required for every input according to the Dolby specifications. A full-scale left only input (2 Vrms) will produce a fullscale left only output (at 0 dB volume). The typical output level is 1.37 Vrms for DACM_L. The same holds true for right only signals (1.37 Vrms for DACM_R). A full-scale input level on both inputs (Lin=Rin=2 Vrms) will give a center only output with maximum level. The typical output level is 1.37 Vrms for DACM_C. A fullscale input level on both inputs (but Lin and Rin with inverted phases) will give a surround-only signal with maximum level (1.37 Vrms for DACM_S). For reproducing Dolby Pro Logic according to its specifications, the center and surround outputs must be amplified by 3 dB with respect to the L and R output signals. This can be done in two ways: 1. By implementing 3 dB more amplification for center and surround loudspeaker outputs. 2. By always selecting volume for L and R 3 dB lower than center and surround. Method 1 is preferable, as method 2 lowers the achievable SNR for left and right signals by 3 dB. The loudspeakers should be able to reproduce a wide frequency range. The most important frequency range starts from 160 Hz and ranges up to 5 kHz. 18 Micronas MSP 34x2G PRELIMINARY DATA SHEET 2.6.6. Subwoofer in Surround Mode 2.8. I2S Bus Interface If the channel configuration is set to OFF or TWO_CHANNEL, the subwoofer signal is created by combining the left and right channels directly behind the loudness block using the formula (L+R)/2. The MSP 34x2G has a synchronous master/slave input/output interface running on 32 kHz. Note: This is identical to the MSP 34x0G. If the channel configuration is MULTI_CHANNEL, the subwoofer signal is created by combining the left and right channels of the loudspeaker channel and the center signal (= headphone left) directly behind the loudness block using the formula (L+R+C)/2. Due to the fact, that the subwoofer is formed behind all bass/ treble/loudness filters, it is strongly recommended to have exactly the same setting for these filters in both, the loudspeaker and center/surround channels when using the subwoofer output. Any mismatch in these settings will result in an unbalanced mix of L, C and R for the subwoofer signal. The interface accepts two formats: 1. I2S_WS changes at the word boundary 2. I2S_WS changes one I2S-clock period before the word boundaries. All I2S options are set by means of the MODUS and the I2S_CONFIG registers. The synchronous I2S bus interface consists of five pins: – I2S_DA_IN1, I2S_DA_IN2: I2S serial data input: 16, 18....32 bits per sample – I2S_DA_OUT: I2S serial data output: 16, 18...32 bits per sample 2.6.7. Equalizer in Surround Mode – I2S_CL: I2S serial clock In the MULTI_CHANNEL mode, the equalizer cannot be used. – I2S_WS: I2S word strobe signal defines the left and right sample 2.7. SCART Signal Routing 2.7.1. SCART DSP In and SCART Out Select The SCART DSP Input Select and SCART Output Select blocks include full matrix switching facilities. To design a TV set with four pairs of SCART-inputs and two pairs of SCART-outputs, no external switching hardware is required. The switches are controlled by the ACB user register (see Table 3–11on page 42). If the MSP 34x2G serves as the master on the I2S interface, the clock and word strobe lines are driven by the IC. In this mode, only 16 or 32 bits per sample can be selected. In slave mode, these lines are input to the IC and the MSP clock is synchronized to 576 times the I2S_WS rate (32 kHz). NICAM operation is not possible in slave mode. An I2S timing diagram is shown in Fig. 4–22 on page 71. 2.7.2. Stand-by Mode If the MSP 34x2G is switched off by first pulling STANDBYQ low and then (after >1 µs delay) switching off the 5-V, but keeping the 8-V power supply (‘Standby’-mode), the SCART switches maintain their position and function. This allows the copying from selected SCART-inputs to SCART-outputs in the TV set’s stand-by mode. In case of power on or starting from stand-by (switching on the 5-V supply, RESETQ going high 2 ms later), all internal registers except the ACB register (page page 42) are reset to the default configuration (see Table 3–5 on page 24). The reset position of the ACB register becomes active after the first I2C transmission into the Baseband Processing part (subaddress 12hex). By transmitting the ACB register first, the reset state can be redefined. Micronas 19 MSP 34x2G 2.9. ADR Bus Interface For the ASTRA Digital Radio System (ADR), the MSP 3402G, MSP 3412G and MSP 3452G performs preprocessing such as carrier selection and filtering. Via the 3-line ADR-bus, the resulting signals are transferred to the DRP 3510A coprocessor, where the source decoding is performed. To be prepared for an upgrade to ADR with an additional DRP board, the following lines of MSP 34x2G should be provided on a feature connector: – AUD_CL_OUT PRELIMINARY DATA SHEET 2.11.Clock PLL Oscillator and Crystal Specifications The MSP 34x2G derives all internal system clocks from the 18.432 MHz oscillator. In NICAM or in I2SSlave mode, the clock is phase-locked to the corresponding source. Therefore, it is not possible to use NICAM and I2S-Slave mode at the same time. For proper performance, the on-chip clock oscillator requires a 18.432 MHz crystal. Note that for the phase-locked modes (NICAM, I2S-Slave), crystals with tighter tolerance are required. – I2S_DA_IN1 or I2S_DA_IN2 – I2S_DA_OUT Remark on using the crystal: – I2S_WS – I2S_CL – ADR_CL, ADR_WS, ADR_DA For more details, please refer to the DRP 3510A data sheet. 2.10.Digital Control I/O Pins and Status Change Indication External capacitors at each crystal pin to ground are required. They are necessary for tuning the open-loop frequency of the internal PLL and for stabilizing the frequency in closed-loop operation. The higher the capacitors, the lower the resulting clock frequency. The nominal free running frequency should match 18.432 MHz as closely as possible. Clock measurements should be done at pin AUD_CL_OUT. This pin must be activated for this purpose (see Table 3–9 on page 30). The static level of the digital input/output pins D_CTR_I/O_0/1 is switchable between HIGH and LOW via the I2C-bus by means of the ACB register (see Table 3–11on page page 42). This enables the controlling of external hardware switches or other devices via I2C-bus. The digital input/output pins can be set to high impedance by means of the MODUS register (see Table 3–9 on page 30). In this mode, the pins can be used as input. The current state can be read out of the STATUS register (see Table 3–9 on page page 31). Optionally, the pin D_CTR_I/O_1 can be used as an interrupt request signal to the controller, indicating any changes in the read register STATUS. This makes polling unnecessary, I2C bus interactions are reduced to a minimum. 20 Micronas MSP 34x2G PRELIMINARY DATA SHEET typical response time is about 0.3 ms. If the MSP cannot accept another complete byte of data until it has performed some other function (for example, servicing an internal interrupt), it will hold the clock line I2C_CL LOW to force the transmitter into a wait state. The positions within a transmission where this may happen are indicated by “Wait” in Section 3.1.4. The maximum wait period of the MSP during normal operation mode is less than 1 ms. 3. Control Interface 3.1. I2C Bus Interface 3.1.1. Device and Subaddresses The MSP 34x2G is controlled via the I2C bus slave interface. The IC is selected by transmitting one of the MSP 34x2G device addresses. In order to allow up to three MSP ICs to be connected to a single bus, an address select pin (ADR_SEL) has been implemented. With ADR_SEL pulled to high, low, or left open, the MSP 34x2G responds to different device addresses. A device address pair is defined as a write address and a read address (see Table 3–1). 3.1.2. Internal Hardware Error Handling In case of any internal hardware error (e.g. interruption of the power supply of the MSP), the MSP’s wait period is extended to 1.8 ms. After this time period elapses, the MSP releases data and clock lines. Writing is done by sending the device write address, followed by the subaddress byte, two address bytes, and two data bytes. Reading is done by sending the write device address, followed by the subaddress byte and two address bytes. Without sending a stop condition, reading of the addressed data is completed by sending the device read address and reading two bytes of data. Refer to Section 3.1.4. for the I2C bus protocol and to Section 3.4. “Programming Tips” on page 47 for proposals of MSP 34x2G I2C telegrams. See Table 3–2 for a list of available subaddresses. Indicating and solving the error status: To indicate the error status, the remaining acknowledge bits of the actual I2C-protocol will be left high. Additionally, bit[14] of CONTROL is set to one. The MSP can then be reset via the I2C bus by transmitting the reset condition to CONTROL. Indication of reset: Besides the possibility of hardware reset, the MSP can also be reset by means of the RESET bit in the CONTROL register by the controller via I2C bus. Any reset, even caused by an unstable reset line etc., is indicated in bit[15] of CONTROL. A general timing diagram of the I2C bus is shown in Fig. 4–21 on page 69. Due to the internal architecture of the MSP 34x2G, the IC cannot react immediately to an I2C request. The Table 3–1: I2C Bus Device Addresses ADR_SEL Low High Left Open Mode Write Read Write Read Write Read MSP device address 80hex 81hex 84hex 85hex 88hex 89hex Table 3–2: I2C Bus Subaddresses Name Binary Value Hex Value Mode Function CONTROL 0000 0000 00 Read/Write Write: Software reset of MSP (see Table 3–3) Read: Hardware error status of MSP TEST 0000 0001 01 Write only for internal use WR_DEM 0001 0000 10 Write write address demodulator RD_DEM 0001 0001 11 Write read address demodulator WR_DSP 0001 0010 12 Write write address DSP RD_DSP 0001 0011 13 Write read address DSP Micronas 21 MSP 34x2G PRELIMINARY DATA SHEET 3.1.3. Description of CONTROL Register Table 3–3: CONTROL as a Write Register Name Subaddress Bit[15] (MSB) Bits[14:0] CONTROL 00 hex 1 : RESET 0 : normal 0 Table 3–4: CONTROL as a Read Register (only MSP 34x2G-versions from A2 on) Name Subaddress Bit[15] (MSB) Bit[14] Bits[13:0] CONTROL 00 hex Reset status after last reading of CONTROL: 0 : no reset occured 1 : reset occured Internal hardware status: 0 : no error occured 1 : internal error occured not of interest Reading of CONTROL will reset the bits[15,14] of CONTROL. After Power-on, bit[15] of CONTROL will be set; it must be read once to be resetted. 3.1.4. Protocol Description Write to DSP or Demodulator S Wait write device address ACK sub-addr ACK addr-byte ACK addr-byte ACK data-byte- ACK data-byte ACK P high low high low Read from DSP or Demodulator S Wait write device address ACK sub-addr ACK addr-byte ACK addr-byte ACK S high low read device address Wait ACK data-byte- ACK data-byte NAK P high low Write to Control or Test Registers S Wait write device address ACK sub-addr ACK data-byte ACK data-byte ACK P high low Read from Control Register S Wait write device address Note: S = P= ACK = NAK = Wait = 22 ACK 00hex ACK S read device address Wait ACK data-byte- ACK data-byte NAK P high low I2C-Bus Start Condition from master I2C-Bus Stop Condition from master Acknowledge-Bit: LOW on I2C_DA from slave (= MSP, light gray) or master (= controller dark gray) Not Acknowledge-Bit: HIGH on I2C_DA from master (dark gray) to indicate ‘End of Read’ or from MSP indicating internal error state I2C-Clock line is held low, while the MSP is processing the I2C command. This waiting time is max. 1 ms Micronas MSP 34x2G PRELIMINARY DATA SHEET 1 0 I2C_DA S P I2C_CL Fig. 3–1: I2C bus protocol (MSB first; data must be stable while clock is high) 3.1.5. Proposals for General MSP 34x2G I2C Telegrams 3.1.5.1. Symbols write device address (80hex, 84hex or 88hex) read device address (81hex, 85hex or 89hex) Start Condition Stop Condition Address Byte Data Byte daw dar < > aa dd 3.2. Start-Up Sequence: Power-Up and I2C Controlling After POWER ON or RESET (see Fig. 4–20), the IC is in an inactive state. All registers are in the reset position (see Table 3–5 and Table 3–6), the analog outputs are muted. The controller has to initialize all registers for which a non-default setting is necessary. 3.3. MSP 34x2G Programming Interface 3.3.1. User Registers Overview 3.1.5.2. Write Telegrams <daw 00 d0 00> <daw 10 aa aa dd dd> <daw 12 aa aa dd dd> write to CONTROL register write data into demodulator write data into DSP The MSP 34x2G is controlled by means of user registers. The complete list of all user registers is given in the following tables. The registers are partitioned into the Demodulator section (Subaddress 10hex for writing, 11hex for reading) and the Baseband Processing sections (Subaddress 12hex for writing, 13hex for reading). 3.1.5.3. Read Telegrams read data from CONTROL register <daw 11 aa aa <dar dd dd> read data from demodulator <daw 13 aa aa <dar dd dd> read data from DSP <daw 00 <dar dd dd> Unused parts of the 16-bit write registers must be zero. Addresses not given in this table must not be accessed. 3.1.5.4. Examples <80 <80 <80 <80 <80 00 00 10 11 12 80 00 00 02 00 00> RESET MSP statically 00> Clear RESET 20 00 03> Set demodulator to stand. 03hex 00 <81 dd dd> Read STATUS 08 01 20> Set loudspeaker channel source to NICAM and Matrix to STEREO More examples of typical application protocols are listed in Section 3.4. “Programming Tips” on page 47. Micronas Write and read registers are 16-bit wide, whereby the MSB is denoted bit[15]. Transmissions via I2C bus have to take place in 16-bit words (two byte transfers, with the most significant byte transferred first). All write registers, except the demodulator write registers, are readable. For reasons of software compatibility to the MSP 34x0D, an Manual/Compatibility Mode is available. More read and write registers together with a detailed description of this mode can be found in the “Appendix B: Manual/Compatibility Mode” on page 85. An overview of all MSP 34x2G Write Registers is shown in Table 3–5; all Read Registers are given in Table 3–6. 23 MSP 34x2G PRELIMINARY DATA SHEET Table 3–5: List of MSP 34x2G Write Registers Write Register Address (hex) Bits Description and Adjustable Range Reset See Page I2C Subaddress = 10hex ; Registers are not readable STANDARD SELECT 00 20 [15:0] Initial Programming of complete Demodulator 00 00 28 MODUS 00 30 [15:0] Demodulator, Automatic and I2S options 00 00 30 00 00 31 35 I2S CONFIGURATION 00 40 [15:0] 2 Configuration of I S format I2C Subaddress = 12hex ; Registers are all readable by using I2C Subaddress = 13hex Volume loudspeaker channel 00 00 Volume / Mode loudspeaker channel Balance loudspeaker channel [L/R] 00 01 Balance mode loudspeaker [15:8] [+12 dB ... −114 dB, MUTE] MUTE [7:0] 1/8 dB Steps, Reduce Volume / Tone Control / Compromise 00hex [15:8] [0...100 / 100% and 100 / 0...100%] [−127...0 / 0 and 0 / −127...0 dB] 100%/100% [7:0] [Linear mode / logarithmic mode] linear mode 36 Bass loudspeaker channel 00 02 [15:8] [+20 dB ... −12 dB] 0 dB 37 Treble loudspeaker channel 00 03 [15:8] [+15 dB ... −12 dB] 0 dB 38 Loudness loudspeaker channel 00 04 [15:8] [0 dB ... +17 dB] 0 dB 39 [7:0] [NORMAL, SUPER_BASS] NORMAL [15:8] [−100%...OFF...+100%] OFF [7:0] [SBE, SBE+PSE] SBE+PSE [15:8] [+12 dB ... −114 dB, MUTE] MUTE [7:0] 1/8 dB Steps, Reduce Volume / Tone Control 00hex [15:8] [+12 dB ... −114 dB, MUTE] MUTE 41 [15:8] 2 [FM/AM, NICAM, SCART, I S1, I S2] FM/AM 34 [7:0] [SOUNDA, SOUNDB, STEREO, MONO...] SOUNDA 34 Loudness filter characteristic Spatial effect strength loudspeaker ch. 00 05 Spatial effect mode/customize Volume headphone *) channel 00 06 Volume / Mode headphone *) channel Volume SCART1 output channel Loudspeaker source select 00 07 00 08 Loudspeaker channel matrix Headphone *) source select Headphone *) channel matrix SCART1 source select 00 09 00 0a SCART1 channel matrix I2S source select 00 0b I2S channel matrix Quasi-peak detector source select 00 0c Quasi-peak detector matrix 2 2 2 40 35 [15:8] [FM/AM, NICAM, SCART, I S1, I S2] FM/AM 34 [7:0] [SOUNDA, SOUNDB, STEREO, MONO...] SOUNDA 34 [15:8] [FM/AM, NICAM, SCART, I2S1, I2S2] FM/AM 34 [7:0] [SOUNDA, SOUNDB, STEREO, MONO...] SOUNDA 34 [15:8] [FM/AM, NICAM, SCART, I2S1, I2S2] FM/AM 34 [7:0] [SOUNDA, SOUNDB, STEREO, MONO...] SOUNDA 34 2 2 [15:8] [FM/AM, NICAM, SCART, I S1, I S2] FM/AM 34 [7:0] [SOUNDA, SOUNDB, STEREO, MONO...] SOUNDA 34 Prescale SCART input 00 0d [15:8] [00hex ... 7Fhex] 00hex 34 Prescale FM/AM 00 0e [15:8] [00hex ... 7Fhex] 00hex 32 [7:0] [NO_MAT, GSTERERO, KSTEREO] NO_MAT 33 FM matrix Prescale NICAM 00 10 [15:8] [00hex ... 7Fhex] (MSP 3410G, MSP 3450G only) 00hex 33 Prescale I2S2 00 12 [15:8] [00hex ... 7Fhex] 10hex 33 ACB : SCART Switches a. D_CTR_I/O 00 13 [15:0] Bits [15..0] 00hex 42 Beeper 00 14 [15:0] [00hex ... 7Fhex]/[00hex ... 7Fhex] 0/0 42 Prescale I2S1 00 16 [15:8] [00hex ... 7Fhex] 10hex 33 24 Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 3–5: List of MSP 34x2G Write Registers Write Register Address (hex) Bits Description and Adjustable Range Reset See Page Mode tone control 00 20 [15:8] [BASS/TREBLE, EQUALIZER] BASS/TREB 37 Equalizer loudspeaker ch. band 1 00 21 [15:8] [+12 dB ... −12 dB] 0 dB 38 Equalizer loudspeaker ch. band 2 00 22 [15:8] [+12 dB ... −12 dB] 0 dB 38 Equalizer loudspeaker ch. band 3 00 23 [15:8] [+12 dB ... −12 dB] 0 dB 38 Equalizer loudspeaker ch. band 4 00 24 [15:8] [+12 dB ... −12 dB] 0 dB 38 Equalizer loudspeaker ch. band 5 00 25 [15:8] [+12 dB ... −12 dB] 0 dB 38 Automatic Volume Correction 00 29 [15:8] [off, on, decay time] off 36 Subwoofer level adjust 00 2C [15:8] [0 dB ... −30 dB, mute] 0 dB 41 Subwoofer corner frequency 00 2D [15:8] [50 Hz ... 400 Hz] 00hex 41 [7:0] [off, on] off 41 [15:8] [0...100 / 100% and 100 / 0...100%] [−127...0 / 0 and 0 / −127...0 dB] 100 %/100 % 36 [7:0] [Linear mode / logarithmic mode] linear mode 00 31 [15:8] [+20 dB ... −12 dB] 0 dB 37 Treble headphone channel 00 32 [15:8] [+15 dB ... −12 dB] 0 dB 38 Loudness headphone*) channel 00 33 [15:8] [0 dB ... +17 dB] 0 dB 39 [7:0] [NORMAL, SUPER_BASS] NORMAL Subwoofer complementary high-pass Balance headphone*) channel [L/R] 00 30 Balance mode headphone*) Bass headphone*) channel *) Loudness filter characteristic *) Volume SCART2 output channel 00 40 [15:8] [+12 dB ... −114 dB, MUTE] 00hex 41 SCART2 source select 00 41 [15:8] [FM, NICAM, SCART, I2S1, I2S2] FM 34 [7:0] [SOUNDA, SOUNDB, STEREO, MONO...] SOUNDA 34 [15] [AUX, CS] 0hex 43 [14:8] [STEREO/TWO_CHANNEL/MULTI_CHANNEL] 00hex 43 SCART2 channel matrix AUX/CS switch 00 48 Channel configuration Spatial effect for surround processing 00 49 [15:8] [0% - 100%] 00hex 43 Virtual surround effect strength 00 4A [15:8] [0% - 100%] 00hex 44 Decoder matrix 00 4B [15:8] [ADAPTIVE/PASSIVE/EFFECT] 00hex 44 Surround reproduction [7:4] [REAR_SPEAKER/FRONT_SPEAKER/PANORAMA/ 3D_PANORAMA] 0hex 44 Center mode [3:0] [PHANTOM/NORMAL/WIDE/OFF] 0hex 44 Surround delay 00 4C [15:0] [5..31ms] 00hex 45 Noise Generator 00 4D [15:0] [NOISEL, NOISEC, NOISER, NOISES] 00hex 45 *) In Multi Channel Mode, these registers are used for controlling baseband functions of the center and surround channels. Following relationship applies: Center corresponds to the left headphone channel, Surround corresponds to the right headphone channel. Micronas 25 MSP 34x2G PRELIMINARY DATA SHEET Table 3–6: List of MSP 34x2G Read Registers Read Register Address (hex) Bits Description and Adjustable Range See Page I2C Subaddress = 11hex ; Registers are not writable STANDARD RESULT 00 7E [15:0] Result of Automatic Standard Detection (MSP 3412G, MSP 3442G, MSP 3452G only) 31 STATUS 02 00 [15:0] Monitoring of internal settings e.g. Stereo, Mono, Mute etc. . 31 2 I C Subaddress = 13hex ; Registers are not writable Quasi peak readout left 00 19 [15:0] [00hex ... 7FFFhex]16 bit two’s complement 46 Quasi peak readout right 00 1A [15:0] [00hex ... 7FFFhex]16 bit two’s complement 46 MSP hardware version code 00 1E [15:8] [00hex ... FFhex] 46 [7:0] [00hex ... FFhex] 46 [15:8] [00hex ... FFhex] 46 [7:0] [00hex ... FFhex] 46 MSP major revision code MSP product code MSP ROM version code 26 00 1F Micronas MSP 34x2G PRELIMINARY DATA SHEET 3.3.2. Description of User Registers Table 3–7: Standard Codes for STANDARD SELECT register MSP Standard Code (Data in hex) TV Sound Standard Sound Carrier Frequencies in MHz MSP 34x2G Version Automatic Standard Detection 00 01 Start Automatic Standard Detection and set to detected standard all Standard Selection 00 02 M-Dual FM-Stereo 4.5/4.724212 3402, -12, -22, -42, -52 00 03 B/G -Dual FM-Stereo1) 5.5/5.7421875 3402, -12, -52 00 04 D/K1-Dual FM-Stereo2) 6.5/6.2578125 00 05 D/K2-Dual FM-Stereo2) 6.5/6.7421875 3) 00 06 D/K -FM-Mono with HDEV3 , not detectable by Automatic Standard Detection, HDEV33) SAT-Mono (i.e. Eutelsat, see Table 6–18) 6.5 00 07 D/K3-Dual FM-Stereo 6.5/5.7421875 1) 5.5/5.85 3412, -52 00 08 B/G -NICAM-FM 00 09 L -NICAM-AM 6.5/5.85 00 0A I -NICAM-FM 6.0/6.552 00 0B D/K -NICAM-FM2) 6.5/5.85 00 0C D/K -NICAM-FM with HDEV24), not detectable by Automatic Standard Detection, for China 6.5/5.85 00 0D D/K -NICAM-FM with HDEV33), not detectable by Automatic Standard Detection, for China 6.5/5.85 00 20 BTSC-Stereo 4.5 3422, -42, -52 00 21 BTSC-Mono + SAP 00 30 M-EIA-J Japan Stereo 4.5 3422, -42, -52 00 40 FM-Stereo Radio 10.7 3422, -42, -52 00 50 SAT-Mono (see Table 6–18) 6.5 3402, -12, -52 00 51 SAT-Stereo (see Table 6–18) 7.02/7.20 00 60 SAT ADR (Astra Digital Radio) 6.12 1) 2) 3) 4) In case of Automatic Sound Select, the B/G-codes 3hex and 8hex are equivalent. In case of Automatic Sound Select, the D/K-codes 4hex, 5hex, 7hex, and Bhex are equivalent. HDEV3: Max. FM deviation must not exceed 540 kHz HDEV2: Max. FM deviation must not exceed 360 kHz Micronas 27 MSP 34x2G PRELIMINARY DATA SHEET 3.3.2.1. STANDARD SELECT Register 3.3.2.2. Refresh of STANDARD SELECT Register The TV sound standard of the MSP 34x2G demodulator is determined by the STANDARD SELECT register. There are two ways to use the STANDARD SELECT register: A general refresh of the STANDARD SELECT register is not allowed. However, the following method enables watching the MSP 34x2G “alive” status and detection of accidental resets (only versions A2 and later): – Setting up the demodulator for a TV sound standard by sending the corresponding standard code with a single I2C-Bus transmission. – Starting the Automatic Standard Detection for terrestrial TV standards. This is the most comfortable way to set up the demodulator. Within 0.5 s, the detection and set-up of the actual TV sound standard is performed. The detected standard can be read out of the STANDARD RESULT register by the control processor. This feature is recommended for the primary set-up of a TV set. Outputs should be muted during Automatic Standard Detection. – After Power-on, bit[15] of CONTROL will be set; it must be read once to enable the reset-detection feature. – Reading of the CONTROL register and checking the reset indicator bit[15] . – If bit[15] is “0”, any refresh of the STANDARD SELECT register is not allowed. – If bit[15] is “1”, indicating a reset, a refresh of the STANDARD SELECT register and all other MSPG registers is necessary. The Standard Codes are listed in Table 3–7. 3.3.2.3. STANDARD RESULT Register Selecting a TV sound standard via the STANDARD SELECT register initializes the demodulator. This includes: AGC-settings and carrier mute, tuning frequencies, FIR-filter settings, demodulation mode (FM, AM, NICAM), deemphasis and identification mode. TV stereo sound standards that are unavailable for a specific MSP version are processed in analog mono sound of the standard. In that case, stereo or bilingual processing will not be possible. For a complete setup of the TV sound processing from analog IF input to the source selection, the transmissions as shown in Section 3.5. are necessary. For reasons of software compatibility to the MSP 34x0D, a Manual/Compatibility mode is available. A detailed description of this mode can be found on page 85. If Automatic Standard Detection is selected in the STANDARD SELECT register, status and result of the Automatic Standard Detection process can be read out of the STANDARD RESULT register. The possible results are based on the mentioned Standard Code and are listed in Table 3–8. In cases where no sound standard has been detected (no standard present, too much noise, strong interferers, etc.) the STANDARD RESULT register contains 00 00hex. In that case, the controller has to start further actions (for example, set the standard according to a preference list or by manual input). As long as the STANDARD RESULT register contains a value greater than 07 FFhex, the Automatic Standard Detection is still active. During this period, the MODUS and STANDARD SELECT register must not be written. The STATUS register will be updated when the Automatic Standard Detection has finished. If a present sound standard is unavailable for a specific MSP version, it detects and switches to the analog mono sound of this standard. Example: The MSP 3442G will detect a B/G-NICAM signal as standard 3 and will switch to the analog FM-Mono sound. 28 Micronas PRELIMINARY DATA SHEET MSP 34x2G Table 3–8: Results of the Automatic Standard Detection Broadcasted Sound Standard STANDARD RESULT Register Read 007Ehex Automatic Standard Detection could not find a sound standard 0000hex B/G-FM 0003hex B/G-NICAM 0008hex I 000Ahex FM-Radio 0040hex M-Korea M-Japan M-BTSC 0002hex (if MODUS[14,13]=00) 0020hex (if MODUS[14,13]=01) 0030hex (if MODUS[14,13]=10) L-AM D/K1 D/K2 0009hex (if MODUS[12]=0) L-NICAM D/K-NICAM 0009hex (if MODUS[12]=0) 0004hex (if MODUS[12]=1) 000Bhex (if MODUS[12]=1) Automatic Standard Detection still active Micronas >07FFhex 29 MSP 34x2G PRELIMINARY DATA SHEET 3.3.2.4. Write Registers on I2C Subaddress 10hex Table 3–9: Write Registers on I2C Subaddress 10hex Register Address Function Name 00 20hex STANDARD SELECTION Register STANDARD_SEL Defines TV Sound or FM-Radio Standard bit[15:0] 00 30hex 00 01hex 00 02hex ... 00 60hex start Automatic Standard Detection Standard Codes (see Table 3–7)) MODUS MODUS Register Preference in Automatic Standard Detection: bit[15] 0 undefined, must be 0 0 1 2 3 detected 4.5 MHz carrier is interpreted as:1) standard M (Korea) standard M (BTSC) standard M (Japan) chroma carrier (M/N standards are ignored) 0 1 detected 6.5 MHz carrier is interpreted as:1) standard L (SECAM) standard D/K1, D/K2 or D/K NICAM bit[14:13] bit[12] General MSP 34x2G Options bit[11:9] 0 undefined, must be 0 bit[8] 0/1 ANA_IN_1+/ANA_IN_2+; select analog sound IF input pin bit[7] 0/1 active/tristate state of audio clock output pin AUD_CL_OUT bit[6] 0 1 bit[5] 0/1 master/slave mode of I2S interface (must be set to 0 (= Master) in case of NICAM mode) bit[4] 0/1 active/tristate state of I2S output pins bit[3] 0 1 1) Valid 30 word strobe alignment (synchronous I2S) WS changes at data word boundary WS changes one clock cycle in advance state of digital output pins D_CTR_I/O_0 and _1 active: D_CTR_I/O_0 and _1 are output pins (can be set by means of the ACB register. see also: MODUS[1]) tristate: D_CTR_I/O_0 and _1 are input pins (level can be read out of STATUS[4,3]) bit[2] 0 undefined, must be 0 bit[1] 0/1 disable/enable STATUS change indication by means of the digital I/O pin D_CTR_I/O_1 Necessary condition: MODUS[3] = 0 (active) bit[0] 0/1 off/on: Automatic Sound Select at the next start of Automatic Standard Detection. Micronas MSP 34x2G PRELIMINARY DATA SHEET 3.3.2.5. Read Registers on I2C Subaddress 11hex Table 3–10: Read Registers on I2C Subaddress 11hex Register Address Function Name 00 40hex I2S CONFIGURATION Register I2S_CONFIG bit[15:1] 0 not used, must be set to “0” 0 1 I2S_CL frequency and I2S data sample length for master mode 2 x 16 bit (1.024 MHz) 2 x 32 bit (2.048 MHz)) bit[0] 00 7Ehex STANDARD RESULT Register STANDARD_RES Readback of the detected TV Sound or FM-Radio Standard bit[15:0] 00 00hex 00 02hex Automatic Standard Detection could not find a sound standard MSP Standard Codes (see Table 3–8) ... 00 40hex >07 FFhex Automatic Standard Detection still active 02 00hex STATUS Register STATUS Contains all user relevant internal information about the status of the MSP bit[15:10] undefined bit[8] 0/1 “1” indicates bilingual sound mode or SAP present (internally evaluated from received analog or digital identification signal) bit[7] 0/1 “1” indicates independent mono sound (only for NICAM on MSP 3412G and MSP 3452G) bit[6] 0/1 mono/stereo indication (internally evaluated from received analog or digital identification signal) bit[5,9] 00 01 analog sound standard (FM or AM) active not obtainable 10 digital sound (NICAM) available (MSP 3412G and MSP 3452G only) 11 bad reception condition of digital sound (NICAM) due to: a. high error rate b. unimplemented sound code c. data transmission only bit[4] 0/1 low/high level of digital I/O pin D_CTR_I/O_1 bit[3] 0/1 low/high level of digital I/O pin D_CTR_I/O_0 bit[2] 0 1 detected secondary carrier (2nd A2 or SAP carrier) no secondary carrier detected bit[1] 0 1 detected primary carrier (Mono or MPX carrier) no primary carrier detected bit[0] undefined If STATUS change indication is activated by means of MODUS[1]: Each change in the STATUS register sets the digital I/O pin D_CTR_I/O_1 to high level. Reading the STATUS register resets D_CTR_I/O_1. Micronas 31 MSP 34x2G PRELIMINARY DATA SHEET 3.3.2.6. Write Registers on I2C Subaddress 12hex Table 3–11: Write Registers on I2C Subaddress 12hex Register Address Function Name PREPROCESSING 00 0Ehex PRE_FM FM/AM Prescale bit[15:8] 00hex ... 7Fhex 00hex Defines the input prescale gain for the demodulated FM or AM signal off (RESET condition) For all FM modes except satellite FM and AM-mode, the combinations of prescale value and FM deviation listed below lead to internal full scale. FM mode bit[15:8] 7Fhex 48hex 30hex 24hex 18hex 13hex 28 kHz FM deviation 50 kHz FM deviation 75 kHz FM deviation 100 kHz FM deviation 150 kHz FM deviation 180 kHz FM deviation (limit) FM high deviation mode (HDEV2, MSP Standard Code = Chex) bit[15:8] 30hex 14hex 150 kHz FM deviation 360 kHz FM deviation (limit) FM very high deviation mode (HDEV3, MSP Standard Code = 6 and Dhex) bit[15:8] 20hex 1Ahex 450 kHz FM deviation 540 kHz FM deviation (limit) Satellite FM with adaptive deemphasis bit[15:8] 10hex recommendation AM mode (MSP Standard Code = 9) bit[15:8] 7Chex recommendation for SIF input levels from 0.1 Vpp to 0.8 Vpp (Due to the AGC being switched on, the AM-output level remains stable and independent of the actual SIF-level in the mentioned input range) 32 Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name (continued) FM Matrix Modes FM_MATRIX 00 0Ehex Defines the dematrix function for the demodulated FM signal bit[7:0] 00hex 01hex 02hex 03hex 04hex no matrix (used for bilingual and unmatrixed stereo sound) German stereo (Standard B/G) Korean stereo (also used for BTSC, EIA-J and FM Radio) sound A mono (left and right channel contain the mono sound of the FM/AM mono carrier) sound B mono In case of Automatic Sound Select = on, the FM Matrix Mode is set automatically. Writing to the FM/AM prescale register (00 0Ehex high part) is still allowed. In order not to disturb the automatic process, the low part of any I2C transmission to this register is ignored. Therefore, any FM-Matrix readback values may differ from data written previously. In case of Automatic Sound Select = off, the FM Matrix Mode must be set as shown in Table 6–17 of Appendix B. To enable a Forced Mono Mode for all analog stereo systems by overriding the internal pilot or identification evaluation, the following steps must be transmitted: 1. MODUS with bit[0] = 0 (Automatic Sound Select off) 2. FM Presc./Matrix with FM Matrix = Sound A Mono (SAP: Sound B Mono) 3. Select FM/AM source channel, with channel matrix set to “Stereo” (transparent) 00 10hex PRE_NICAM NICAM Prescale Defines the input prescale value for the digital NICAM signal bit[15:8] 00hex ... 7Fhex prescale gain examples: 00hex 20hex 5Ahex 7Fhex 00 16hex 00 12hex off 0 dB gain 9 dB gain (recommendation) +12 dB gain (maximum gain) I2S1 Prescale I2S2 Prescale PRE_I2S1 PRE_I2S2 Defines the input prescale value for digital I2S input signals bit[15:8] 00hex ... 7Fhex prescale gain examples: off 00hex 0 dB gain (recommendation) 10hex +18 dB gain (maximum gain) 7Fhex Micronas 33 MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name 00 0Dhex SCART Input Prescale PRE_SCART Defines the input prescale value for the analog SCART input signal bit[15:8] 00hex ... 7Fhex prescale gain examples: off 00hex 0 dB gain (2 VRMS input leads to digital full scale) 19hex Due to the Dolby requirements, this is the maximum value allowed to prohibit clipping of a 2 VRMS input signal. +14 dB gain (400 mVRMS input leads to digital full scale) 7Fhex SOURCE SELECT AND OUTPUT CHANNEL MATRIX 00 08hex 00 09hex 00 0Ahex 00 41hex 00 0Bhex 00 0Chex Source for: Loudspeaker Output Headphone Output SCART1 DA Output SCART2 DA Output I2S Output Quasi-Peak Detector bit[15:8] 0 “FM/AM”: demodulated FM or AM mono signal 1 “Stereo or A/B”: demodulator Stereo or A/B signal (in manual mode, this source is identical to the NICAM source in the MSP 3410D) 3 “Stereo or A”: demodulator Stereo Sound or Language A (only defined for Automatic Sound Select) 4 “Stereo or B”: demodulator Stereo Sound or Language B (only defined for Automatic Sound Select) 2 SCART input 5 I2S1 input 6 I2S2 input SRC_MAIN SRC_AUX SRC_SCART1 SRC_SCART2 SRC_I2S SRC_QPEAK For demodulator sources, see Table 2–2. 00 08hex 00 09hex 00 0Ahex 00 41hex 00 0Bhex 00 0Chex Matrix Mode for: Loudspeaker Output Headphone Output SCART1 DA Output SCART2 DA Output I2S Output Quasi-Peak Detector bit[7:0] 00hex 10hex 20hex 30hex MAT_MAIN MAT_AUX MAT_SCART1 MAT_SCART2 MAT_I2S MAT_QPEAK Sound A Mono (or Left Mono) Sound B Mono (or Right Mono) Stereo (transparent mode) Mono (sum of left and right inputs divided by 2) special modes are available (see Section 6.5.1. on page 97) In Automatic Sound Select mode, the demodulator source channels are set according to Table 2–2. Therefore, the matrix modes of the corresponding output channels should be set to “Stereo” (transparent). 34 Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name LOUDSPEAKER AND HEADPHONE PROCESSING 00 00hex 00 06hex VOL_MAIN VOL_AUX Volume Loudspeaker Volume Headphone bit[15:8] volume table with 1 dB step size +12 dB (maximum volume) 7Fhex 7Ehex +11 dB ... 74hex +1 dB 73hex 0 dB −1 dB 72hex ... 02hex −113 dB 01hex −114 dB 00hex Mute (reset condition) Fast Mute (needs about 75 ms until the signal is FFhex completely ramped down) bit[7:5] higher resolution volume table 0 +0 dB 1 +0.125 dB increase in addition to the volume table ... 7 +0.875 dB increase in addition to the volume table bit[4] 0 bit[3:0] clipping mode 0 reduce volume 1 reduce tone control 2 compromise mode must be set to 0 With large scale input signals, positive volume settings may lead to signal clipping. The MSP 34x2G loudspeaker and headphone volume function is divided into a digital and an analog section. With Fast Mute, volume is reduced to mute position by digital volume only. Analog volume is not changed. This reduces any audible DC plops. To turn volume on again, the volume step that has been used before Fast Mute was activated must be transmitted. If the clipping mode is set to “Reduce Volume”, the following rule is used: To prevent severe clipping effects with bass, treble, or equalizer boosts, the internal volume is automatically limited to a level where, in combination with either bass, treble, or equalizer setting, the amplification does not exceed 12 dB. If the clipping mode is “Reduce Tone Control”, the bass or treble value is reduced if amplification exceeds 12 dB. If the equalizer is switched on, the gain of those bands is reduced, where amplification together with volume exceeds 12 dB. If the clipping mode is “Compromise Mode”, the bass or treble value and volume are reduced half and half if amplification exceeds 12 dB. If the equalizer is switched on, the gain of those bands is reduced half and half, where amplification together with volume exceeds 12 dB. Example: Red. Volume Red. Tone Con. Compromise Micronas Vol.: +6 dB 3 6 4.5 Bass: +9 dB 9 6 7.5 Treble: +5 dB 5 5 5 35 MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function 00 29hex Automatic Volume Correction (AVC) Loudspeaker Channel 00 01hex 00 30hex Name bit[15:12] 00hex 08hex AVC off (and reset internal variables) AVC on AVC bit[11:8] 8 s decay time 4 s decay time 2 s decay time 20 ms decay time (should be used for approx. 100 ms after channel change) AVC_DECAY 08hex 04hex 02hex 01hex Balance Loudspeaker Channel Balance Headphone Channel bit[15:8] Linear Mode Left muted, Right 100% 7Fhex Left 0.8%, Right 100% 7Ehex ... Left 99.2%, Right 100% 01hex Left 100%, Right 100% 00hex Left 100%, Right 99.2% FFhex ... Left 100%, Right 0.8% 82hex Left 100%, Right muted 81hex bit[15:8] Logarithmic Mode Left −127 dB, Right 0 dB 7Fhex Left −126 dB, Right 0 dB 7Ehex ... Left −1 dB, Right 0 dB 01hex Left 0 dB, Right 0 dB 00hex Left 0 dB, Right −1 dB FFhex ... Left 0 dB, Right −127 dB 81hex Left 0 dB, Right −128 dB 80hex bit[3:0] Balance Mode linear 0hex logarithmic 1hex BAL_MAIN BAL_AUX Positive balance settings reduce the left channel without affecting the right channel; negative settings reduce the right channel leaving the left channel unaffected. 36 Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name 00 20hex Tone Control Mode Loudspeaker Channel TONE_MODE bit[15:8] 00hex FFhex bass and treble is active equalizer is active Defines whether Bass/Treble or Equalizer is activated for the loudspeaker channel. Bass and Equalizer cannot work simultaneously. If Equalizer is used, Bass, and Treble coefficients must be set to zero and vice versa. Note: In the MULTI_CHANNEL mode, the equalizer cannot be used. 00 02hex 00 31hex Bass Loudspeaker Channel Bass Headphone Channel bit[15:8] normal range +12 dB 60hex 58hex +11 dB ... 08hex +1 dB 00hex 0 dB −1 dB F8hex ... A8hex −11 dB A0hex −12 dB bit[15:8] extended range 7Fhex +20 dB 78hex +18 dB 70hex +16 dB 68hex +14 dB BASS_MAIN BASS_AUX Higher resolution is possible: an LSB step in the normal range results in a gain step of about 1/8 dB, in the extended range about 1/4 dB. With positive bass settings, internal clipping may occur even with overall volume less than 0 dB. This will lead to a clipped output signal. Therefore, it is not recommended to set bass to a value that, in conjunction with volume, would result in an overall positive gain. Micronas 37 MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name 00 03hex 00 32hex Treble Loudspeaker Channel Treble Headphone Channel TREB_MAIN TREB_AUX bit[15:8] 78hex 70hex ... 08hex 00hex F8hex ... A8hex A0hex +15 dB +14 dB +1 dB 0 dB −1 dB −11 dB −12 dB Higher resolution is possible: an LSB step results in a gain step of about 1/8 dB. With positive treble settings, internal clipping may occur even with overall volume less than 0 dB. This will lead to a clipped output signal. Therefore, it is not recommended to set treble to a value that, in conjunction with volume, would result in an overall positive gain. 00 21hex 00 22hex 00 23hex 00 24hex 00 25hex Equalizer Loudspeaker Channel Band 1 (below 120 Hz) Equalizer Loudspeaker Channel Band 2 (center: 500 Hz) Equalizer Loudspeaker Channel Band 3 (center: 1.5 kHz) Equalizer Loudspeaker Channel Band 4 (center: 5 kHz) Equalizer Loudspeaker Channel Band 5 (above: 10 kHz) bit[15:8] 60hex 58hex ... 08hex 00hex F8hex ... A8hex A0hex EQUAL_BAND1 EQUAL_BAND2 EQUAL_BAND3 EQUAL_BAND4 EQUAL_BAND5 +12 dB +11 dB +1 dB 0 dB −1 dB −11 dB −12 dB Higher resolution is possible: an LSB step results in a gain step of about 1/8 dB. With positive equalizer settings, internal clipping may occur even with overall volume less than 0 dB. This will lead to a clipped output signal. Therefore, it is not recommended to set equalizer bands to a value that, in conjunction with volume, would result in an overall positive gain. 38 Micronas PRELIMINARY DATA SHEET MSP 34x2G Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name 00 04hex 00 33hex Loudness Loudspeaker Channel Loudness Headphone Channel LOUD_MAIN LOUD_AUX bit[15:8] Loudness Gain +17 dB 44hex 40hex +16 dB ... 04hex +1 dB 00hex 0 dB bit[7:0] Loudness Mode normal (constant volume at 1 kHz) 00hex Super Bass (constant volume at 2 kHz) 04hex Higher resolution of Loudness Gain is possible: An LSB step results in a gain step of about 1/4 dB. Loudness increases the volume of low- and high-frequency signals, while keeping the amplitude of the 1-kHz reference frequency constant. The intended loudness has to be set according to the actual volume setting. Because loudness introduces gain, it is not recommended to set loudness to a value that, in conjunction with volume, would result in an overall positive gain. The corner frequency for bass amplification can be set to two different values. In Super Bass mode, the corner frequency is shifted up. The point of constant volume is shifted from 1 kHz to 2 kHz. Micronas 39 MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name 00 05hex Spatial Effects Loudspeaker Channel SPAT_MAIN bit[15:8] Effect Strength Enlargement 100% 7Fhex Enlargement 50% 3Fhex ... Enlargement 1.5% 01hex Effect off 00hex reduction 1.5% FFhex ... reduction 50% C0hex reduction 100% 80hex bit[7:4] Spatial Effect Mode Stereo Basewidth Enlargement (SBE) and 0hex Pseudo Stereo Effect (PSE). (Mode A) Stereo Basewidth Enlargement (SBE) only. (Mode B) 2hex bit[3:0] Spatial Effect High-Pass Gain max. high-pass gain 0hex 2/3 high-pass gain 2hex 1/3 high-pass gain 4hex min. high-pass gain 6hex automatic 8hex Spatial effects should not be used together with 3D-PANORAMA or PANORAMA. There are several spatial effect modes available: In mode A (low byte = 00hex), the spatial effect depends on the source mode. If the incoming signal is mono, Pseudo Stereo Effect is active; for stereo signals, Pseudo Stereo Effect and Stereo Basewidth Enlargement is effective. The strength of the effect is controllable by the upper byte. A negative value reduces the stereo image. A strong spatial effect is recommended for small TV sets where loudspeaker spacing is rather close. For large screen TV sets, a more moderate spatial effect is recommended. In mode B, only Stereo Basewidth Enlargement is effective. For mono input signals, the Pseudo Stereo Effect has to be switched on. It is worth mentioning, that all spatial effects affect amplitude and phase response. With the lower 4 bits, the frequency response can be customized. A value of 0hex yields a flat response for center signals (L = R), but a high-pass function for L or R only signals. A value of 6hex has a flat response for L or R only signals, but a low-pass function for center signals. By using 8hex, the frequency response is automatically adapted to the sound material by choosing an optimal high-pass gain. 40 Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name SUBWOOFER OUTPUT CHANNEL 00 2Chex Subwoofer Level Adjustment bit[15:8] 00 2Dhex 00hex FFhex ... E3hex E2hex ... 80hex 0 dB −1 dB −29 dB −30 dB Mute Subwoofer Corner Frequency bit[15:8] 5...40 SUBW_LEVEL SUBW_FREQ corner frequency in 10-Hz steps (range: 50...400 Hz) Subwoofer Complementary High-Pass Filter bit[7:0] 00hex 01hex loudspeaker channel unfiltered a complementary high-pass is processed in the loudspeaker output channel SUBW_HP SCART OUTPUT CHANNEL 00 07hex 00 40hex Micronas Volume SCART1 Output Channel Volume SCART2 Output Channel bit[15:8] volume table with 1 dB step size +12 dB (maximum volume) 7Fhex 7Ehex +11 dB ... 74hex +1 dB 73hex 0 dB −1 dB 72hex ... 02hex −113 dB 01hex −114 dB 00hex Mute (reset condition) bit[7:5] higher resolution volume table 0 +0 dB 1 +0.125 dB increase in addition to the volume table ... 7 +0.875 dB increase in addition to the volume table bit[4:0] 01hex VOL_SCART1 VOL_SCART2 this must be 01hex 41 MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name SCART SWITCHES AND DIGITAL I/O PINS 00 13hex ACB_REG ACB Register Defines the level of the digital output pins and the position of the SCART switches bit[15] 0/1 low/high of digital output pin D_CTR_I/O_0 (MODUS[3]=0) bit[14] 0/1 low/high of digital output pin D_CTR_I/O_1 (MODUS[3]=0) bit[13:5] SCART DSP Input Select xxxx00xx0 SCART1 to DSP input (RESET position) xxxx01xx0 MONO to DSP input (Sound A Mono must be selected in the channel matrix mode for the corresponding output channels) xxxx10xx0 SCART2 to DSP input xxxx11xx0 SCART3 to DSP input xxxx00xx1 SCART4 to DSP input xxxx11xx1 mute DSP input bit[13:5] SCART1 Output Select xx00xxx0x SCART3 input to SCART1 output (RESET position) xx01xxx0x SCART2 input to SCART1 output xx10xxx0x MONO input to SCART1 output xx11xxx0x SCART1 DA to SCART1 output xx00xxx1x SCART2 DA to SCART1 output xx01xxx1x SCART1 input to SCART1 output xx10xxx1x SCART4 input to SCART1 output xx11xxx1x mute SCART1 output bit[13:5] SCART2 Output Select 00xxxx0xx SCART1 DA to SCART2 output (RESET position) 01xxxx0xx SCART1 input to SCART2 output 10xxxx0xx MONO input to SCART2 output 00xxxx1xx SCART2 DA to SCART2 output 01xxxx1xx SCART2 input to SCART2 output 10xxxx1xx SCART3 input to SCART2 output 11xxxx1xx SCART4 input to SCART2 output 11xxxx0xx mute SCART2 output The RESET position becomes active at the time of the first write transmission on the control bus to the audio processing part. By writing to the ACB register first, the RESET state can be redefined. BEEPER 00 14hex 42 Beeper Volume and Frequency bit[15:8] Beeper Volume off 00hex maximum volume 7Fhex bit[7:0] Beeper Frequency 16 Hz (lowest) 01hex 1 kHz 40hex 4 kHz FFhex BEEPER Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name SURROUND PROCESSING 00 48hex Output Configuration OUT_CONF bit[15] HP_CS HP/CS Switch 0 Headphone outputs are active (pin names: DACA_L, DACA_R), CS outputs are muted 1 Center/Surround outputs are active (pin names: DACM_C, DACM_S), HP outputs are muted (C corresponds to headphone L, S to headphone R) The HP/CS switch defines which output pin pair is driven by the DA converters that are used for headphone or surround processing. The unselected pins are muted. This makes it convenient to connect the center/surround amplifiers or outputs to the MSP 34x2G without external switches. The Headphone/Surround channel should be muted before switching (Set Register 06hex to: 0000hex). Allow at least 2 s for settling to avoid audible plops. bit[14:8] bit[7:0] 00 49hex Channel Configuration 00hex STEREO: This mode is used in plain stereo mode. Standard processing applies to the loudspeaker and headphone channels. Surround processing is switched off. In this mode, the IC is compatible to the MSP 3450G (if bit[15] is equal to 0). 01hex TWO_CHANNEL: This mode is used for virtual surround sound. The surround processing block is active and its left and right outputs are distributed to the loudspeaker output channel. The processing on the headphone channel remains standard. In this mode, the IC is comparable to the MSP 3451G. 02hex MULTI_CHANNEL: This mode is used for surround sound with more than 2 channels. The surround processing block is active and its left and right outputs are distributed to the loudspeaker output channel, its center and surround outputs are distributed to the headphone output channel. No headphone processing is possible. In this mode, it is convenient to select the newly implemented C/S pins by setting bit[15] to 1. 00hex must be 0 Spatial Effects for Surround Processing bit[15:8] Spatial Effect Strength Enlargement 100% 7Fhex Enlargement 50% 3Fhex ... Enlargement 1.5% 01hex Effect off 00hex bit[7:0] 00hex CHAN_CONF SUR_SPAT must be 0 Increases the perceived basewidth of the reproduced left and right front channels. Recommended value: 50% = 40hex. In contrast to the spatial effect for the loudspeaker channel, the surround spatial effect is optimized for surround sound. Note: If surround sound processing is active, the spatial effect for the loudspeaker channel (Register 05hex) is switched off. Micronas 43 MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name 00 4Ahex Virtual Surround Effect Strength SUR_3DEFF bit[15:8] bit[7:0] Virtual Surround Effect Strength Effect 100% 7Fhex Effect 50% 3Fhex ... 01hex 00hex Effect 1.5% Effect off 00hex must be 0 Strength of the surround effect in PANORAMA or 3D-PANORAMA mode. In other Surround Reproduction Modes this value must be set to 0. Recommended value: 66% = 54hex. 00 4Bhex Surround Processing Mode SUR_MODE bit[15:8] Decoder Matrix ADAPTIVE (for all Dolby Surround Pro Logic and Virtual 00hex Surround modes) PASSIVE (for simple surround modes) 10hex EFFECT (used for special effects and monophonic 20hex signals) DEC_MAT bit[7:4] Surround Reproduction SUR_REPRO bit[3:0] 0hex REAR_SPEAKER: The surround signal is reproduced by a rear speaker. 3hex FRONT_SPEAKER: The surround signal is redirected to the front channels. There is no physical rear speaker connected. 5hex PANORAMA: The surround signal is processed and redirected to the left and right front speakers in order to create the illusion of a virtual rear speaker, although no physical rear speaker is connected. 6hex 3D-PANORAMA: The surround signal is processed and redirected to the left and right front speakers in order to create the illusion of a virtual rear speaker, although no physical rear speaker is connected. Center Mode 0hex 1hex 2hex 3hex 44 C_MODE PHANTOM mode (no Center speaker connected) NORMAL mode (small Center speaker) WIDE mode (large Center speaker) OFF mode (Center output of the Surround Decoder is discarded. Useful only in special effect modes) Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 3–11: Write Registers on I2C Subaddress 12hex, continued Register Address Function Name 00 4Chex Surround Delay SUR_DELAY bit[15:8] bit[7:0] 05hex 06hex ... 1Fhex 5 ms delay in surround path (lowest) 6 ms delay in surround path 00hex must be 0 31 ms delay in surround path (highest)) For Dolby Surround Pro Logic designs, only 20 ms fixed or 15-30 ms variable delay must be used. This register has no effect in 3D-PANORAMA and PANORAMA mode. 00 4Dhex SUR_NOISE Noise Generator bit[15:8] 00hex 80hex Noise generator off Noise generator on bit[7:0] A0hex B0hex C0hex D0hex Noise on left channel Noise on center channel Noise on right channel Noise on surround channel Determines the active channel for the noise generator. Micronas 45 MSP 34x2G PRELIMINARY DATA SHEET 3.3.2.7. Read Registers on I2C Subaddress 13hex Table 3–12: Read Registers on I2C Subaddress 13hex Register Address Function Name QUASI-PEAK DETECTOR READOUT 00 19hex 00 1Ahex Quasi-Peak Detector Readout Left Quasi-Peak Detector Readout Right bit[15:0] QPEAK_L QPEAK_R 0hex... 7FFFhex values are 16 bit two’s complement (only positive) MSP 34x2G VERSION READOUT Registers 00 1Ehex MSP Hardware Version Code bit[15:8] 01hex MSP_HARD MSP 3452G - A1 A change in the hardware version code defines hardware optimizations that may have influence on the chip’s behavior. The readout of this register is identical to the hardware version code in the chip’s imprint. MSP Major Revision Code bit[7:0] 07hex MSP_REVISION MSP 3452G - A1 The major revision code of the MSP 3452G is 7. 00 1Fhex MSP_PRODUCT MSP Product Code bit[15:8] 34hex MSP 3452G - A1 By means of the MSP-Product Code, the control processor is able to decide which TV sound standards and audio baseband features have to be considered. MSP ROM Version Code bit[7:0] 41hex MSP_ROM MSP 3452G - A1 A change in the ROM version code defines internal software optimizations, that may have influence on the chip’s behavior, e.g. new features may have been included. While a software change is intended to create no compatibility problems, customers that want to use the new functions can identify new MSP 3452G versions according to this number. To avoid compatibility problems with MSP 3410B and MSP 34x0D, an offset of 40hex is added to the ROM version code of the chip’s imprint. 46 Micronas MSP 34x2G PRELIMINARY DATA SHEET 3.4. Programming Tips 3.5. Examples of Minimum Initialization Codes This section describes the preferred method for initializing the MSP 34x2G. The initialization is grouped into four sections: Initialization of the MSP 34x2G according to these listings 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 Input – SCART and I2S Inputs – Output Channels See Fig. 2–1 on page 9 for a complete signal flow. 1. Perform an I2C controlled reset of the IC. 2. Write MODUS register (with Automatic Sound Select). 3. Set Source Selection for loudspeaker channel (with matrix set to STEREO). 4. Set Prescale (FM and/or NICAM and dummy FM matrix). SCART Signal Path 1. Select analog input for the SCART baseband processing (SCART DSP Input Select) by means of the ACB register. 2. Select the source for each analog SCART output (SCART Output Select) by means of the ACB register. 5. Write STANDARD SELECT register. 6. Set Volume loudspeaker channel to 0 dB. 3.5.1. SCART1 Input to Loudspeaker in Stereo Sound <80 00 80 00> // reset <80 00 00 00> Demodulator Input 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 08 02 20> // source loudspeaker = scart, stereo <80 12 00 0d 19 00> // prescale scart <80 12 00 00 73 00> // volume main = 0dB 3.5.2. B/G-FM (A2 or NICAM) 1. Set MODUS register to the preferred mode and Sound IF input. <80 00 80 00> 2. Choose preferred prescale (FM and NICAM) values. <80 10 00 30 20 03> // MODUS-Register: Automatic = on 3. Write STANDARD SELECT register. <80 12 00 08 03 20> // Source Sel. = (St or A) & Ch. Matr. = St <80 12 00 0E 24 03> // FM/AM-Prescale = 24hex, FM-Matrix = MONO/SOUNDA <80 12 00 10 00 5A> // NICAM-Prescale = 5Ahex // Standard Select: A2 B/G or NICAM B/G 4. If Automatic Sound Select is not active: Choose FM matrix repeatedly according to the sound mode indicated in the STATUS register. SCART and I2S Inputs // Softreset <80 00 00 00> <80 10 00 20 00 03> or <80 10 00 20 00 08> <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-Stereo <80 00 80 00> // Softreset <80 00 00 00> Output Channels 1. Select the source channel and matrix for each output channel. 2. Set audio baseband processing. <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 = 24hex, 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 3. Select volume for each output channel. Micronas 47 MSP 34x2G PRELIMINARY DATA SHEET 3.5.4. BTSC-SAP with SAP at Loudspeaker Channel <80 12 00 4b 00 01> // Dolby Surround Pro Logic Normal mode <80 00 80 00> <80 12 00 4c 14 00> // 20 ms Delay <80 12 00 4d 00 00> // Noise Sequencer = off // Softreset <80 00 00 00> <80 10 00 30 20 03> // MODUS-Register: Automatic = on <80 12 00 08 04 20> // Source Sel. = (St or B) & Ch. Matr. = St <80 12 00 0E 24 03> // FM/AM-Prescale = 24hex, 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.5.8. Virtual Dolby Surround Example SCART1 Input to Loudspeaker in 3D-PANORAMA Sound <80 00 80 00> // reset <80 00 00 00> 3.5.5. FM-Stereo Radio <80 12 00 08 02 20> // source loudspeaker = scart, stereo <80 00 80 00> <80 12 00 0d 12 00> // prescale scart with some loss <80 12 00 00 73 00> // volume main = 0dB // MODUS-Register: Automatic = on <80 12 00 48 01 00> // two channel virtual surround mode // Source Sel. = (St or A) & Ch. Matr. = St <80 12 00 49 40 00> // Surround spatial effect = 50% // FM/AM-Prescale = 24hex, FM-Matrix = Sound A Mono <80 12 00 4a 54 00> // panorama sound effect = 66% <80 12 00 4b 00 60> // adaptive, 3d_panorama, phantom <80 10 00 20 00 40> // Standard Select: FM-STEREO-RADIO <80 12 00 4d 00 00> // Noise Sequencer = off <80 12 00 00 73 00> // Loudspeaker Volume 0 dB // Softreset <80 00 00 00> <80 10 00 30 20 03> <80 12 00 08 03 20> <80 12 00 0E 24 03> 3.5.9. Noise Sequencer for Dolby Pro Logic 3.5.6. Automatic Standard Detection // switch into Dolby Pro Logic sound (s.a.). Then: A detailed software flow diagram is shown in Fig. 3–2 on page 49. [wait for 2 seconds] <80 00 80 00> // Softreset [wait for 2 seconds] <80 10 00 30 20 03> // MODUS-Register: Automatic = on [wait for 2 seconds] <80 12 00 08 03 20> // Source Sel. = (St or A) & Ch. Matr. = St <80 12 00 4d 80 d0> <80 12 00 0E 24 03> // FM/AM-Prescale = 24hex, FM-Matrix = Sound A Mono [wait for 2 seconds] <80 12 00 10 00 5A> // NICAM-Prescale = 5Ahex // Standard Select: Automatic Standard Detection <80 00 00 00> <80 10 00 20 00 01> <80 12 00 4d 80 a0> <80 12 00 4d 80 b0> <80 12 00 4d 80 c0> // Wait till STANDARD RESULT contains a value ≤ 07FF // IF STANDARD RESULT contains 0000 // noise L // noise C // noise R // noise S // switch back to normal operation <80 12 00 4d 00 00> // Noise Sequencer = off 3.5.10. Software Flow for Interrupt driven STATUS Check // do some error handling // ELSE <80 12 00 00 73 00> // Loudspeaker Volume 0 dB A detailed software flow diagram is shown in Fig. 3–2 on page 49. SCART1 Input to Loudspeaker and Center/Surround Output Pins in Dolby Surround Pro Logic (Normal mode). If the D_CTR_I/O_1 pin of the MSP 34x2G is connected to an interrupt input pin of the controller, the following interrupt handler can be applied to be automatically called with each status change of the MSP 34x2G. The interrupt handler may adjust the TV display according to the new status information. <80 00 80 00> 3.5.7. Dolby Surround Pro Logic Example // reset Interrupt Handler: <80 00 00 00> <80 11 02 00 <81 dd dd> // Read STATUS <80 12 00 08 02 20> // source loudspeaker = scart, stereo // adjust TV display with given status information <80 12 00 0d 19 00> // prescale scart // Return from Interrupt <80 12 00 00 70 00> // volume main = -3dB <80 12 00 06 73 00> // volume center/surround = 0dB <80 12 00 48 82 00> // multi channel mode with C/S outputs used <80 12 00 49 00 00> // Surround spatial effect = 0% <80 12 00 4a 00 00> // panorama sound effect = off 48 Micronas MSP 34x2G PRELIMINARY DATA SHEET Write MODUS Register: Example for the essential bits: [0] = 1 Automatic Sound Select = on [1] = 1 Enable interrupt if STATUS changes [8] = 0 ANA_IN1+ is selected Define Preference for Automatic Standard Detection: [12] = 0 If 6.5 MHz, set SECAM-L [14:13] = 3 Ignore 4.5 MHz carrier Write SOURCE SELECT Settings Example: set loudspeaker Source Select to "Stereo or A" set headphone Source Select to "Stereo or B" set SCART_Out Source Select to "Stereo or A/B" set Channel Matrix mode for all outputs to "Stereo" Write FM/AM-Prescale Write NICAM-Prescale Write 01 into STANDARD SELECT Register (Start Automatic Standard Detection) set previous standard or set standard manually according picture information yes Result = 0 ? no expecting MSPG-interrupt In case of interrupt from MSP to Controller: Read STATUS Adjust TV-Display If Bilingual, adjust Source Select setting if required Fig. 3–2: Software flow diagram for a Minimum demodulator setup for a European Multistandard TV set applying the Automatic Sound Select feature Micronas 49 MSP 34x2G PRELIMINARY DATA SHEET 4. Specifications 4.1. Outline Dimensions 23 x 0.8 = 18.4 ± 0.1 0.17 ± 0.04 41 40 80 25 1 14 ± 0.1 0.37 ± 0.04 17.2 ± 0.15 0.8 65 15 x 0.8 = 12.0 ± 0.1 64 0.8 1.3 ± 0.05 24 2.7 ± 0.1 23.2 ± 0.15 3 ±0.2 20 ± 0.1 0.1 SPGS705000-3(P80)/1E Fig. 4–1: 80-Pin Plastic Quad Flat Pack (PQFP80) Weight approximately 1.61 g Dimensions in mm 15 x 0.5 = 7.5 ± 0.1 0.145 ± 0.055 64 17 0.22 ± 0.05 1.75 1 16 1.4 ± 0.05 1.75 12 ± 0.2 15 x 0.5 = 7.5 ± 0.1 32 12 ± 0.2 49 0.5 33 10 ± 0.1 48 0.5 1.5 ± 0.1 0.1 10 ± 0.1 D0025/3E Fig. 4–2: 64-Pin Plastic Low-Profile Quad Flat Pack (PLQFP64) Weight approximately 0.35 g Dimensions in mm 50 Micronas MSP 34x2G PRELIMINARY DATA SHEET SPGS0016-5(P64)/1E 33 1 32 19.3 ±0.1 18 ±0.05 0.8 ±0.2 3.8 ±0.1 64 57.7 ±0.1 0.48 ±0.06 1.778 3.2 ±0.2 0.28 ±0.06 1 ±0.05 20.3 ±0.5 31 x 1.778 = 55.1 ±0.1 Fig. 4–3: 64-Pin Plastic Shrink Dual-Inline Package (PSDIP64) Weight approximately 9.0 g Dimensions in mm 4.2. Pin Connections and Short Descriptions NC = not connected; leave vacant LV = if not used, leave vacant X = obligatory; connect as described in circuit diagram DVSS: if not used, connect to DVSS AHVSS: connect to AHVSS Pin No. Pin Name Type Connection Short Description (if not used) PQFP 80-pin PLQFP 64-pin PSDIP 64-pin 1 64 8 NC 2 1 9 I2C_CL 3 2 10 4 3 5 LV Not connected IN/OUT X I2C clock I2C_DA IN/OUT X I2C data 11 I2S_CL IN/OUT LV I2S clock 4 12 I2S_WS IN/OUT LV I2S word strobe 6 5 13 I2S_DA_OUT OUT LV I2S data output 7 6 14 I2S_DA_IN1 IN LV I2S1 data input 8 7 15 ADR_DA OUT LV ADR data output 9 8 16 ADR_WS OUT LV ADR word strobe 10 9 17 ADR_CL OUT LV ADR clock 11 − − DVSUP X Digital power supply 5 V 12 − − DVSUP X Digital power supply 5 V 13 10 18 DVSUP X Digital power supply 5 V Micronas 51 MSP 34x2G Pin No. PRELIMINARY DATA SHEET Pin Name Type Connection Short Description (if not used) PQFP 80-pin PLQFP 64-pin PSDIP 64-pin 14 − − DVSS X Digital ground 15 − − DVSS X Digital ground 16 11 19 DVSS X Digital ground 17 12 20 I2S_DA_IN2 LV I2S2-data input 18 13 21 NC LV Not connected 19 14 22 NC LV Not connected 20 15 23 NC LV Not connected 21 16 24 RESETQ X Power-on-reset 22 − − NC LV Not connected 23 − − NC LV Not connected 24 17 25 DACA_R OUT LV Headphone out, right 25 18 26 DACA_L OUT LV Headphone out, left 26 19 27 VREF2 X Reference ground 2 27 20 28 DACM_R OUT LV Loudspeaker out, right 28 21 29 DACM_L OUT LV Loudspeaker out, left 29 22 30 DACM_C OUT LV Center output 30 23 31 DACM_SUB OUT LV Subwoofer output 31 24 32 DACM_S OUT LV Surround output 32 − − NC LV Not connected 33 25 33 SC2_OUT_R OUT LV SCART output 2, right 34 26 34 SC2_OUT_L OUT LV SCART output 2, left 35 27 35 VREF1 X Reference ground 1 36 28 36 SC1_OUT_R OUT LV SCART output 1, right 37 29 37 SC1_OUT_L OUT LV SCART output 1, left 38 30 38 CAPL_A X Volume capacitor AUX 39 31 39 AHVSUP X Analog power supply 8 V 40 32 40 CAPL_M X Volume capacitor MAIN 41 − − NC LV Not connected 42 − − NC LV Not connected 43 − − AHVSS X Analog ground 44 33 41 AHVSS X Analog ground 52 IN IN Micronas MSP 34x2G PRELIMINARY DATA SHEET Pin No. Pin Name Type Connection Short Description (if not used) PQFP 80-pin PLQFP 64-pin PSDIP 64-pin 45 34 42 AGNDC X Analog reference voltage 46 − − NC LV or AHVSS Not connected 47 35 43 SC4_IN_L IN LV SCART 4 input, left 48 36 44 SC4_IN_R IN LV SCART 4 input, right 49 37 45 ASG AHVSS Analog Shield Ground 50 38 46 SC3_IN_L IN LV SCART 3 input, left 51 39 47 SC3_IN_R IN LV SCART 3 input, right 52 40 48 ASG AHVSS Analog Shield Ground 53 41 49 SC2_IN_L IN LV SCART 2 input, left 54 42 50 SC2_IN_R IN LV SCART 2 input, right 55 43 51 ASG AHVSS Analog Shield Ground 56 44 52 SC1_IN_L IN LV SCART 1 input, left 57 45 53 SC1_IN_R IN LV SCART 1 input, right 58 46 54 VREFTOP X Reference voltage IF A/D converter 59 − − NC LV Not connected 60 47 55 MONO_IN LV Mono input 61 − − AVSS X Analog ground 62 48 56 AVSS X Analog ground 63 − − NC LV Not connected 64 − − NC LV Not connected 65 − − AVSUP X Analog power supply 5 V 66 49 57 AVSUP X Analog power supply 5 V 67 50 58 ANA_IN1+ IN LV IF input 1 68 51 59 ANA_IN− IN AVSS via 56 pF / LV IF common (can be left vacant, only if IF input 1 is also not in use) 69 52 60 ANA_IN2+ IN AVSS via 56 pF / LV IF input 2 (can be left vacant, only if IF input 1 is also not in use) 70 53 61 TESTEN IN X Test pin 71 54 62 XTAL_IN IN X Crystal oscillator 72 55 63 XTAL_OUT OUT X Crystal oscillator Micronas IN 53 MSP 34x2G Pin No. PRELIMINARY DATA SHEET Pin Name Type Connection Short Description (if not used) PQFP 80-pin PLQFP 64-pin PSDIP 64-pin 73 56 64 TP 74 57 1 AUD_CL_OUT 75 58 2 76 59 77 LV Test pin LV Audio clock output (18.432 MHz) NC LV Not connected 3 NC LV Not connected 60 4 D_CTR_I/O_1 IN/OUT LV D_CTR_I/O_1 78 61 5 D_CTR_I/O_0 IN/OUT LV D_CTR_I/O_0 79 62 6 ADR_SEL IN X I2C Bus address select 80 63 7 STANDBYQ IN X Stand-by (low-active) OUT 4.3. Pin Descriptions Pin numbers refer to the 80-pin PQFP package. Pin 1, NC – Pin not connected. Pin 2, I2C_CL – I2C Clock Input/Output (Fig. 4–8) Via this pin, the I2C-bus clock signal has to be supplied. The signal can be pulled down by the MSP in case of wait conditions. Pin 3, I2C_DA – I2C Data Input/Output (Fig. 4–8) Via this pin, the I2C-bus data is written to or read from the MSP. Pin 4, I2S_CL – I2S Clock Input/Output (Fig. 4–11) Clock line for the I2S bus. In master mode, this line is driven by the MSP; in slave mode, an external I2S clock has to be supplied. Pin 9, ADR_WS – ADR Bus Word Strobe Output (Fig. 4–7) Word strobe output for the ADR bus. Pin 10, ADR_CL – ADR Bus Clock Output (Fig. 4–7) Clock line for the ADR bus. Pins 11, 12, 13, DVSUP* – Digital Supply Voltage Power supply for the digital circuitry of the MSP. Must be connected to a +5 V power supply. Pins 14, 15, 16, DVSS* – Digital Ground Ground connection for the digital circuitry of the MSP. Pin 17, I2S_DA_IN2 – I2S Data Input 2 (Fig. 4–9) Second input of digital serial sound data to the MSP via the I2S bus. Pin 5, I2S_WS – I2S Word Strobe Input/Output (Fig. 4–11) Word strobe line for the I2S bus. In master mode, this line is driven by the MSP; in slave mode, an external I2S word strobe has to be supplied. Pins 18, 19, 20, NC – Pins not connected. Pin 6, I2S_DA_OUT – I2S Data Output (Fig. 4–7) Output of digital serial sound data of the MSP on the I2S bus. Pins 22, 23, NC – Pins not connected. Pin 7, I2S_DA_IN1 – I2S Data Input 1 (Fig. 4–9) First input of digital serial sound data to the MSP via the I2S bus. Pin 8, ADR_DA – ADR Bus Data Output (Fig. 4–7) Output of digital serial data to the DRP 3510A via the ADR bus. 54 Pin 21, RESETQ – Reset Input (Fig. 4–9) In the steady state, high level is required. A low level resets the MSP 34x2G. Pins 24, 25, DACA_R/L – Headphone Outputs (Fig. 4–17) Output of the headphone signal. A 1-nF capacitor to AHVSS must be connected to these pins. The DC offset on these pins depends on the selected headphone volume. Pin 26, VREF2 – Reference Ground 2 Reference analog ground. This pin must be connected separately to the single ground point (AHVSS). VREF2 serves as a clean ground and should be used as the Micronas MSP 34x2G PRELIMINARY DATA SHEET reference for analog connections to the loudspeaker and headphone outputs. as possible. This input is sensitive for magnetic induction. Pins 27, 28, DACM_R/L – Loudspeaker Outputs (Fig. 4–17) Output of the loudspeaker signal. A 1-nF capacitor to AHVSS must be connected to these pins. The DC offset on these pins depends on the selected loudspeaker volume. Pin 39, AHVSUP* – Analog Power Supply High Voltage Power is supplied via this pin for the analog circuitry of the MSP (except IF input). This pin must be connected to the +8 V supply. Pin 29, DACM_C - Center Output (Fig. 4–17) Output of the center loudspeaker signal. A 1-nF capacitor to AHVSS must be connected to these pins. If active (HP/CS = 1), the DC offset on these pins depends on the selected headphone volume. Pin 30, DACM_SUB – Subwoofer Output (Fig. 4–17) Output of the subwoofer signal. A 1-nF capacitor to AHVSS must be connected to this pin. Due to the low frequency content of the subwoofer output, the value of the capacitor may be increased for better suppression of high-frequency noise. The DC offset on this pin depends on the selected loudspeaker volume. Pins 31, DACM_S - Surround Output (Fig. 4–17) Output of the surround loudspeaker signal. A 1-nF capacitor to AHVSS must be connected to these pins. If active (HP/CS = 1), the DC offset on these pins depends on the selected headphone volume. Pin 32 NC – Pin not connected. Pins 33, 34, SC2_OUT_R/L – SCART2 Outputs (Fig. 4–19) Output of the SCART2 signal. Connections to these pins must use a 100-Ω series resistor and are intended to be AC-coupled. Pin 35, VREF1 – Reference Ground 1 Reference analog ground. This pin must be connected separately to the single ground point (AHVSS). VREF1 serves as a clean ground and should be used as the reference for analog connections to the SCART outputs. Pins 36, 37, SC1_OUT_R/L – SCART1 Outputs (Fig. 4–19) Output of the SCART1 signal. Connections to these pins must use a 100-Ω series resistor and are intended to be AC-coupled. Pin 38, CAPL_A – Volume Capacitor Headphone (Fig. 4–14) A 10-µF capacitor to AHVSUP must be connected to this pin. It serves as a smoothing filter for headphone volume changes in order to suppress audible plops. The value of the capacitor can be lowered to 1-µF if faster response is required. The area encircled by the trace lines should be minimized; keep traces as short Micronas Pin 40, CAPL_M – Volume Capacitor Loudspeaker (Fig. 4–14) A 10-µF capacitor to AHVSUP must be connected to this pin. It serves as a smoothing filter for loudspeaker volume changes in order to suppress audible plops. The value of the capacitor can be lowered to 1 µF if faster response is required. The area encircled by the trace lines should be minimized; keep traces as short as possible. This input is sensitive for magnetic induction. Pins 41, 42, NC – Pins not connected. Pins 43, 44, AHVSS* – Ground for Analog Power Supply High Voltage Ground connection for the analog circuitry of the MSP (except IF input). Pin 45, AGNDC – Internal Analog Reference Voltage This pin serves as the internal ground connection for the analog circuitry (except IF input). It must be connected to the VREF pins with a 3.3-µF and a 100-nF capacitor in parallel. This pins shows a DC level of typically 3.73 V. Pin 46, NC – Pin not connected. Pins 47, 48, SC4_IN_L/R – SCART4 Inputs (Fig. 4–16) The analog input signal for SCART4 is fed to this pin. Analog input connection must be AC-coupled. Pin 49, ASG – Analog Shield Ground Analog ground (AHVSS) should be connected to this pin to reduce cross-coupling between SCART inputs. Pins 50, 51, SC3_IN_L/R – SCART3 Inputs (Fig. 4–16) The analog input signal for SCART3 is fed to this pin. Analog input connection must be AC-coupled. Pin 52, ASG – Analog Shield Ground Analog ground (AHVSS) should be connected to this pin to reduce cross-coupling between SCART inputs. Pins 53, 54 SC2_IN_L/R – SCART2 Inputs (Fig. 4–16) The analog input signal for SCART2 is fed to this pin. Analog input connection must be AC-coupled. Pin 55, ASG – Analog Shield Ground Analog ground (AHVSS) should be connected to this pin to reduce cross-coupling between SCART inputs. 55 MSP 34x2G Pins 56, 57 SC1_IN_L/R – SCART1 Inputs (Fig. 4–16) The analog input signal for SCART1 is fed to this pin. Analog input connection must be AC-coupled. Pin 58, VREFTOP – Reference Voltage IF A/D Converter (Fig. 4–13) Via this pin, the reference voltage for the IF A/D converter is decoupled. It must be connected to AVSS pins with a 10-µF and a 100-nF capacitor in parallel. Traces must be kept short. PRELIMINARY DATA SHEET the digital circuitry is flowing through the ground connection point. Pin 73, TP – This pin enables factory test modes. For normal operation, it must be left vacant. Pin 74, AUD_CL_OUT – Audio Clock Output (Fig. 4–12) This is the 18.432 MHz main clock output. Pins 75, 76, NC – Pins not connected. Pin 59, NC – Pin not connected. Pin 60 MONO_IN – Mono Input (Fig. 4–16) The analog mono input signal is fed to this pin. Analog input connection must be AC-coupled. Pins 61, 62, AVSS* – Ground for Analog Power Supply Voltage Ground connection for the analog IF input circuitry of the MSP. Pins 63, 64, NC – Pins not connected. Pins 65, 66, AVSUP* – Analog Power Supply Voltage Power is supplied via this pin for the analog IF input circuitry of the MSP. This pin must be connected to the +5 V supply. Pin 67, ANA_IN1+ – IF Input 1 (Fig. 4–13) The analog sound IF signal is supplied to this pin. Inputs must be AC-coupled. This pin is designed as symmetrical input: ANA_IN1+ is internally connected to one input of a symmetrical op amp, ANA_IN- to the other. Pin 68, ANA_IN− – IF Common (Fig. 4–13) This pins serves as a common reference for ANA_IN1/ 2+ inputs. Pin 69, ANA_IN2+ – IF Input 2 (Fig. 4–13) The analog sound if signal is supplied to this pin. Inputs must be AC-coupled. This pin is designed as symmetrical input: ANA_IN2+ is internally connected to one input of a symmetrical op amp, ANA_IN− to the other. Pins 77, 78, D_CTR_I/O_1/0 – Digital Control Input/ Output Pins (Fig. 4–11) These pins serve as general purpose input/output pins. Pin D_CTR_I/O_1 can be used as an interrupt request pin to the controller. Pin 79, ADR_SEL – I2C Bus Address Select (Fig. 4–10) By means of this pin, one of three device addresses for the MSP can be selected. The pin can be connected to ground (I2C device addresses 80/81hex), to +5 V supply (84/85hex), or left open (88/89hex). Pin 80, STANDBYQ – Stand-by In normal operation, this pin must be High. If the MSP 34x2G is switched off by first pulling STANDBYQ low and then (after >1 µs delay) switching off the 5 V, but keeping the 8-V power supply (‘Stand-by’-mode), the SCART switches maintain their position and function. * Application Note: All ground pins should be connected to one low-resistive ground plane. All supply pins should be connected separately with short and low-resistive lines to the power supply. Decoupling capacitors from DVSUP to DVSS, AVSUP to AVSS, and AHVSUP to AHVSS are recommended as closely as possible to these pins. Decoupling of DVSUP and DVSS is most important. We recommend using more than one capacitor. By choosing different values, the frequency range of active decoupling can be extended. In our application boards we use: 220 pF, 470 pF, 1.5 nF, and 10 µF. The capacitor with the lowest value should be placed nearest to the DVSUP and DVSS pins. Pin 70, TESTEN – Test Enable Pin (Fig. 4–9) This pin enables factory test modes. For normal operation, it must be connected to ground. Pins 71, 72 XTAL_IN, XTAL_OUT – Crystal Input and Output Pins (Fig. 4–12) These pins are connected to an 18.432 MHz crystal oscillator which is digitally tuned by integrated shunt capacitances. An external clock can be fed into XTAL_IN. The audio clock output signal AUD_CL_OUT is derived from the oscillator. External capacitors at each crystal pin to ground (AVSS) are required. It should be verified by layout, that no supply current for 56 Micronas MSP 34x2G PRELIMINARY DATA SHEET 4.4. Pin Configurations SC2_IN_L SC2_IN_R ASG SC3_IN_R ASG SC3_IN_L SC1_IN_L ASG SC1_IN_R SC4_IN_R VREFTOP SC4_IN_L NC NC MONO_IN AGNDC AVSS AHVSS AVSS AHVSS NC NC NC NC AVSUP 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 65 40 CAPL_M AVSUP 66 39 AHVSUP ANA_IN1+ 67 38 CAPL_A ANA_IN− 68 37 SC1_OUT_L ANA_IN2+ 69 36 SC1_OUT_R TESTEN 70 35 VREF1 XTAL_IN 71 34 SC2_OUT_L XTAL_OUT 72 33 SC2_OUT_R TP 73 32 ASG3 AUD_CL_OUT 74 31 DACM_S NC 75 30 DACM_SUB NC 76 29 DACM_C D_CTR_I/O_1 77 28 DACM_L D_CTR_I/O_0 78 27 DACM_R ADR_SEL 79 26 VREF2 STANDBYQ 80 25 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 MSP 34x2G 1 2 3 4 5 6 7 8 9 DACA_L DACA_R NC I2C_CL NC I2C_DA NC I2S_CL RESETQ I2S_WS NC I2S_DA_OUT NC I2S_DA_IN1 NC ADR_DA I2S_DA_IN2 ADR_WS DVSS ADR_CL DVSS DVSUP DVSUP DVSS DVSUP Fig. 4–4: 80-pin PQFP package Micronas 57 MSP 34x2G PRELIMINARY DATA SHEET SC2_IN_L ASG SC2_IN_R SC3_IN_R ASG SC3_IN_L SC1_IN_L ASG SC1_IN_R SC4_IN_R VREFTOP SC4_IN_L MONO_IN AGNDC AVSS AHVSS 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 AVSUP 49 32 CAPL_M ANA_IN1+ 50 31 AHVSUP ANA_IN− 51 30 CAPL_A ANA_IN2+ 52 29 SC1_OUT_L TESTEN 53 28 SC1_OUT_R XTAL_IN 54 27 VREF1 XTAL_OUT 55 26 SC2_OUT_L TP 56 25 SC2_OUT_R AUD_CL_OUT 57 24 DACM_S NC 58 23 DACM_SUB NC 59 22 DACM_C D_CTR_I/O1 60 21 DACM_L D_CTR_I/O0 61 20 DACM_R ADR_SEL 62 19 VREF2 STANDBYQ 63 18 DACA_L NC 64 17 DACA_R MSP 34x2G 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 RESETQ I2C_CL I2C_DA NC I2S_CL NC I2S_WS NC I2S_DA_OUT I2S_DA_IN2 I2S_DA_IN1 ADR_DA ADR_WS DVSS DVSUP ADR_CL Fig. 4–5: 64-pin PLQFP package 58 Micronas PRELIMINARY DATA SHEET 1 64 TP NC 2 63 XTAL_OUT NC 3 62 XTAL_IN D_CTR_I/O_1 4 61 TESTEN D_CTR_I/O_0 5 60 ANA_IN2+ ADR_SEL 6 59 ANA_IN− STANDBYQ 7 58 ANA_IN+ NC 8 57 AVSUP I2C_CL 9 56 AVSS I2C_DA 10 55 MONO_IN I2S_CL 11 54 VREFTOP I2S_WS 12 53 SC1_IN_R I2S_DA_OUT 13 52 SC1_IN_L I2S_DA_IN1 14 51 ASG ADR_DA 15 50 SC2_IN_R ADR_WS 16 49 SC2_IN_L ADR_CL 17 48 ASG DVSUP 18 47 SC3_IN_R DVSS 19 46 SC3_IN_L I2S_DA_IN2 20 45 ASG NC 21 44 SC4_IN_R NC 22 43 SC4_IN_L NC 23 42 AGNDC RESETQ 24 41 AHVSS DACA_R 25 40 CAPL_M DACA_L 26 39 AHVSUP VREF2 27 38 CAPL_A DACM_R 28 37 SC1_OUT_L DACM_L 29 36 SC1_OUT_R DACM_C 30 35 VREF1 DACM_SUB 31 34 SC2_OUT_L DACM_S 32 33 SC2_OUT_R MSP 34x2G AUD_CL_OUT MSP 34x2G Fig. 4–6: 64-pin PSDIP package Micronas 59 MSP 34x2G PRELIMINARY DATA SHEET 4.5. Pin Circuits Pin numbers refer to the PQFP80 package. DVSUP DVSUP P P N N GND GND Fig. 4–7: Output Pins 6, 8, 9, and 10 (I2S_DA_OUT, ADR_DA, ADR_WS, ADR_CL) Fig. 4–11: Input/Output Pins 4, 5, 77, and 78 (I2S_CL, I2S_WS, D_CTR_I/O_1, D_CTR_I/O_0) P N GND Fig. 4–8: Input/Output Pins 2 and 3 (I2C_CL, I2C_DA) 3−30 pF 500 kΩ N 2.5 V 3−30 pF Fig. 4–12: Output/Input Pins 71, 72, and 74 (XTAL_IN, XTAL_OUT, AUD_CL_OUT) Fig. 4–9: Input Pins 7, 17, 21, 70, and 80 (I2S_DA_IN1, I2S_DA_IN2, RESETQ, TESTEN, STANDBYQ) ANA_IN1+ ANA_IN2+ DVSUP A D 23 kΩ ANA_IN− VREFTOP 23 kΩ GND ADR_SEL Fig. 4–10: Input Pin 79 (ADR_SEL) 60 Fig. 4–13: Input Pins 58, 67, 68, and 69 (VREFTOP, ANA_IN1+, ANA_IN-, ANA_IN2+) Micronas MSP 34x2G PRELIMINARY DATA SHEET AHVSUP 0...2 V 0...1.2 mA Fig. 4–14: Capacitor Pins 38 and 40 (CAPL_A, CAPL_M) 3.3 kΩ Fig. 4–17: Output Pins 24, 25, 27, 28, and 30 (DACA_R/L, DACM_R/L, DACM_SUB, DACM_C/S) 24 kΩ ≈ 3.75 V Fig. 4–15: Input Pin 60 (MONO_IN) 125 kΩ ≈ 3.75 V Fig. 4–18: Pin 45 (AGNDC) 40 kΩ ≈ 3.75 V Fig. 4–16: Input Pins 47, 48, 50, 51, 53, 54, 56, and 57 (SC4-1_IN_L/R) 26 pF 120 kΩ 300 Ω ≈ 3.75 V Fig. 4–19: Output Pins 33, 34, 36, and 37 (SC_2_OUT_R/L, SC_1_OUT_R/L) Micronas 61 MSP 34x2G PRELIMINARY DATA SHEET 4.6. Electrical Characteristics 4.6.1. Absolute Maximum Ratings Symbol Parameter Pin Name Min. Max. Unit TA Ambient Operating Temperature − 0 701) °C TS Storage Temperature − −40 125 °C VSUP1 First Supply Voltage AHVSUP −0.3 9.0 V VSUP2 Second Supply Voltage DVSUP −0.3 6.0 V VSUP3 Third Supply Voltage AVSUP −0.3 6.0 V dVSUP23 Voltage between AVSUP and DVSUP AVSUP, DVSUP −0.5 0.5 V PTOT Package Power Dissipation PSDIP64 PQFP80 PLQFP64 AHVSUP, DVSUP, AVSUP 1300 1000 9601) mW mW mW −0.3 VSUP2+0.3 V VIdig Input Voltage, all Digital Inputs IIdig Input Current, all Digital Pins − −20 +20 mA2) VIana Input Voltage, all Analog Inputs SCn_IN_s,3) MONO_IN −0.3 VSUP1+0.3 V IIana Input Current, all Analog Inputs SCn_IN_s,3) MONO_IN −5 +5 mA2) IOana Output Current, all SCART Outputs SCn_OUT_s3) 4), 5) 4), 5) IOana Output Current, all Analog Outputs except SCART Outputs DACM_r,3) DACA_s 4) 4) ICana Output Current, other pins connected to capacitors CAPL_A, CAPL_M, AGNDC 4) 4) 1) 2) 3) 4) 5) PLQFP64: 65 °C positive value means current flowing into the circuit “n” means “1”, “2”, “3”, or “4”; “r” means “L”, “R”, “C”, or “S”; “s” means “L” or “R” The analog outputs are short-circuit proof with respect to First Supply Voltage and ground. Total chip power dissipation must not exceed absolute maximum rating. Stresses beyond those listed in the “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only. Functional operation of the device at these or any other conditions beyond those indicated in the “Recommended Operating Conditions/Characteristics” of this specification is not implied. Exposure to absolute maximum ratings conditions for extended periods may affect device reliability. 62 Micronas MSP 34x2G PRELIMINARY DATA SHEET 4.6.2. Recommended Operating Conditions (TA = 0 to 70 °C) 4.6.2.1. General Recommended Operating Conditions Symbol Parameter Pin Name Min. Typ. Max. Unit VSUP1 First Supply Voltage (8-V Operation) AHVSUP 7.6 8.0 8.7 V 4.75 5.0 5.25 V First Supply Voltage (5-V Operation) VSUP2 Second Supply Voltage DVSUP 4.75 5.0 5.25 V VSUP3 Third Supply Voltage AVSUP 4.75 5.0 5.25 V tSTBYQ1 STANDBYQ Setup Time before Turn-off of Second Supply Voltage STANDBYQ, DVSUP 1 µs 4.6.2.2. Analog Input and Output Recommendations Symbol Parameter Pin Name Min. Typ. CAGNDC AGNDC-Filter-Capacitor AGNDC −20% 3.3 µF −20% 100 nF −20% 330 nF Ceramic Capacitor in Parallel SCn_IN_s1) CinSC DC-Decoupling Capacitor in front of SCART Inputs VinSC SCART Input Level VinMONO Input Level, Mono Input MONO_IN RLSC SCART Load Resistance SCn_OUT_s1) CLSC SCART Load Capacitance CVMA Main/AUX Volume Capacitor CAPL_M, CAPL_A CFMA Main/AUX Filter Capacitor DACM_r,1) DACA_s 1) Max. 2.0 VRMS 2.0 VRMS 10 kΩ 6.0 1 nF µF 10 −10% Unit +10% nF “n” means “1”, “2”, “3”, or “4”; “r” means “L”, “R”, “C”, or “S”; “s” means “L” or “R” Micronas 63 MSP 34x2G PRELIMINARY DATA SHEET 4.6.2.3. Recommendations for Analog Sound IF Input Signal Symbol Parameter Pin Name Min. Typ. CVREFTOP VREFTOP-Filter-Capacitor VREFTOP −20% 10 µF −20% 100 nF Ceramic Capacitor in Parallel ANA_IN1+, ANA_IN2+, ANA_IN− 0 Max. 9 Unit FIF_FMTV Analog Input Frequency Range for TV Applications FIF_FMRADIO Analog Input Frequency for FM-Radio Applications VIF_FM Analog Input Range FM/NICAM 0.1 0.8 3 Vpp VIF_AM Analog Input Range AM/NICAM 0.1 0.45 0.8 Vpp RFMNI Ratio: NICAM Carrier/FM Carrier (unmodulated carriers) BG: I: −20 −23 −7 −10 0 0 dB dB −25 −11 0 dB 10.7 MHz MHz RAMNI Ratio: NICAM Carrier/AM Carrier (unmodulated carriers) RFM Ratio: FM-Main/FM-Sub Satellite 7 dB RFM1/FM2 Ratio: FM1/FM2 German FM-System 7 dB RFC Ratio: Main FM Carrier/ Color Carrier 15 − − dB RFV Ratio: Main FM Carrier/ Luma Components 15 − − dB PRIF Passband Ripple − − ±2 dB SUPHF Suppression of Spectrum above 9.0 MHz (not for FM Radio) 15 − dB FMMAX Maximum FM-Deviation (approx.) normal mode HDEV2: high deviation mode HDEV3: very high deviation mode ±180 ±360 ±540 kHz kHz kHz 64 Micronas MSP 34x2G PRELIMINARY DATA SHEET 4.6.2.4. Crystal Recommendations Symbol Parameter Pin Name Min. Typ. Max. Unit General Crystal Recommendations fP Crystal Parallel Resonance Frequency at 12 pF Load Capacitance 18.432 RR Crystal Series Resistance 8 25 Ω C0 Crystal Shunt (Parallel) Capacitance 6.2 7.0 pF CL External Load Capacitance1) XTAL_IN, XTAL_OUT MHz PSDIP approx. 1.5 P(L)QFP approx. 3.3 pF pF Crystal Recommendations for Master-Slave Applications (MSP-clock must perform synchronization to I2S clock) fTOL Accuracy of Adjustment −20 +20 ppm DTEM Frequency Variation versus Temperature −20 +20 ppm C1 Motional (Dynamic) Capacitance 19 fCL Required Open Loop Clock Frequency (Tamb = 25 °C) AUD_CL_OUT 18.431 24 fF 18.433 MHz Crystal Recommendations for FM / NICAM Applications (No MSP-clock synchronization to I2S clock possible) fTOL Accuracy of Adjustment −30 +30 ppm DTEM Frequency Variation versus Temperature −30 +30 ppm C1 Motional (Dynamic) Capacitance 15 fCL Required Open Loop Clock Frequency (Tamb = 25 °C) AUD_CL_OUT 18.4305 fF 18.4335 MHz Crystal Recommendations for all analog FM/AM Applications (No MSP-clock synchronization to I2S clock possible) fTOL Accuracy of Adjustment −100 +100 ppm DTEM Frequency Variation versus Temperature −50 +50 ppm fCL Required Open Loop Clock Frequency (Tamb = 25 °C) 18.429 18.435 MHz AUD_CL_OUT Amplitude Recommendation for Operation with External Clock Input (Cload after reset typ. 22 pF) VXCA External Clock Amplitude XTAL_IN 0.7 Vpp 1)External capacitors at each crystal pin to ground are required. They are necessary to tune the open-loop frequency of the internal PLL and to stabilize the frequency in closed-loop operation. Due to different layouts, the accurate capacitor size should be determined with the customer PCB. The suggested values (1.5...3.3 pF) are figures based on experience and should serve as “start value”. To define the capacitor size, reset the MSP without transmitting any further I2C telegrams. Measure the frequency at AUD_CL_OUT-pin. Change the capacitor size until the free running frequency matches 18.432 MHz as closely as possible. The higher the capacity, the lower the resulting clock frequency. Micronas 65 MSP 34x2G PRELIMINARY DATA SHEET 4.6.3. Characteristics at TA = 0 to 70 °C, fCLOCK = 18.432 MHz, VSUP1 = 7.6 to 8.7 V, VSUP2 = 4.75 to 5.25 V for min./max. values at TA = 60 °C, fCLOCK = 18.432 MHz, VSUP1 = 8 V, VSUP2 = 5 V for typical values, TJ = Junction Temperature MAIN (M) = Loudspeaker Channel, AUX (A) = Headphone Channel 4.6.3.1. General Characteristics Symbol Parameter Pin Name First Supply Current (active) (8-V Operation) AHVSUP Min. Typ. Max. Unit 17.1 11.2 24.6 16.1 mA mA 11.4 7.5 16.4 10.7 mA mA Test Conditions Supply ISUP1A Analog Volume for Main and Aux at 0 dB Analog Volume for Main and Aux at −30 dB First Supply Current (active) (5-V Operation) Analog Volume for Main and Aux at 0 dB Analog Volume for Main and Aux at −30 dB ISUP2A Second Supply Current (active) DVSUP 75 100 mA ISUP3A Third Supply Current (active) AVSUP 35 45 mA ISUP1S First Supply Current (8-V Operation) (standby mode) at Tj = 27 °C AHVSUP 5.6 7.7 mA STANDBYQ = low 3.7 5.1 mA STANDBYQ = low First Supply Current (5-V Operation) (standby mode) at Tj = 27 °C Clock fCLOCK Clock Input Frequency DCLOCK Clock High to Low Ratio tJITTER Clock Jitter (Verification not provided in Production Test) VxtalDC DC-Voltage Oscillator tStartup Oscillator Startup Time at VDD Slew-rate of 1 V/1 µs XTAL_IN, XTAL_OUT VACLKAC Audio Clock Output AC Voltage AUD_CL_OUT VACLKDC Audio Clock Output DC Voltage routHF_ACL HF Output Resistance 66 XTAL_IN 18.432 45 MHz 55 % 50 ps 2.5 0.4 1.2 V 2 1.8 0.4 0.6 140 ms Vpp load = 40 pF VSUP3 Imax = 0.2 mA Ω Micronas MSP 34x2G PRELIMINARY DATA SHEET 4.6.3.2. Digital Inputs, Digital Outputs Symbol Parameter Pin Name Min. Typ. Max. Unit 0.2 VSUP2 Test Conditions Digital Input Levels VDIGIL Digital Input Low Voltage STANDBYQ D_CTR_I/O_0/1 VDIGIH Digital Input High Voltage ZDIGI Input Impedance IDLEAK Digital Input Leakage Current VDIGIL Digital Input Low Voltage VDIGIH Digital Input High Voltage 0.8 IADRSEL Input Current Address Select Pin −500 0.5 VSUP2 −1 ADR_SEL 5 pF 1 µA 0.2 VSUP2 0 V < UINPUT< DVSUP D_CTR_I/O_0/1: tri-state VSUP2 −220 220 µA UADR_SEL= DVSS 500 µA UADR_SEL= DVSUP 0.4 V IDDCTR = 1 mA V IDDCTR = −1 mA Digital Output Levels VDCTROL Digital Output Low Voltage VDCTROH Digital Output High Voltage Micronas D_CTR_I/O_0 D_CTR_I/O_1 VSUP2 −0.3 67 MSP 34x2G PRELIMINARY DATA SHEET 4.6.3.3. Reset Input and Power-Up Symbol Parameter Pin Name Min. RESETQ Typ. Max. Unit 0.45 0.55 VSUP2 0.7 0.8 VSUP2 5 pF 1 µA Test Conditions RESETQ Input Levels VRHL Reset High-Low Transition Voltage VRLH Reset Low-High Transition Voltage ZRES Input Impedance IRES Input Pin Leakage Current -1 0 V < UINPUT< DVSUP DVSUP AVSUP 4.5V t/ms RESETQ Low-to-High Threshold Note: The reset should not reach high level before the oscillator has started. This requires a reset delay of >2 ms 0.7×DVSUP 0.45...0.55×DVSUP High-to-Low Threshold 0.7 x DVSUP means 3.5 Volt with DVSUP = 5.0 V t/ms Reset Delay >2 ms Internal Reset High Low t/ms Fig. 4–20: Power-up sequence 68 Micronas MSP 34x2G PRELIMINARY DATA SHEET 4.6.3.4. I2C-Bus Characteristics Symbol Parameter Pin Name 2 Min. Typ. I2C_CL, I2C_DA Max. Unit 0.3 VSUP2 VI2CIL I C-Bus Input Low Voltage VI2CIH I2C-Bus Input High Voltage 0.6 VSUP2 tI2C1 I2C Start Condition Setup Time 120 ns tI2C2 I2C Stop Condition Setup Time 120 ns tI2C5 I2C-Data Setup Time before Rising Edge of Clock 55 ns tI2C6 I2C-Data Hold Time after Falling Edge of Clock 55 ns tI2C3 I2C-Clock Low Pulse Time 500 ns tI2C4 I2C-Clock High Pulse Time 500 ns fI2C I2C-BUS Frequency VI2COL I2C-Data Output Low Voltage II2COH I2C-Data Output High Leakage Current tI2COL1 I2C-Data Output Hold Time after Falling Edge of Clock 15 ns tI2COL2 I2C-Data Output Setup Time before Rising Edge of Clock 100 ns I2C_CL I2C_CL, I2C_DA Test Conditions 1.0 MHz 0.4 V II2COL = 3 mA 1.0 µA VI2COH = 5 V fI2C = 1 MHz 1/FI2C TI2C4 I2C_CL TI2C1 TI2C5 TI2C3 TI2C6 TI2C2 I2C_DA as input TI2COL2 TI2COL1 I2C_DA as output Fig. 4–21: I2C bus timing diagram Micronas 69 MSP 34x2G PRELIMINARY DATA SHEET 4.6.3.5. I2S-Bus Characteristics Symbol Parameter Pin Name VI2SIL Input Low Voltage VI2SIH Input High Voltage I2S_CL I2S_WS I2S_DA_IN1/2 ZI2SI Input Impedance ILEAKI2S Input Leakage Current VI2SOL I2S VI2SOH I2S Output High Voltage I2S_CL I2S_WS I2S_DA_OUT fI2SOWS I2S-Word Strobe Output Frequency I2S_WS 32.0 kHz fI2SOCL I2S-Clock Output Frequency I2S_CL 1.024 MHz RI2S10/I2S20 Output Low Voltage Typ. I S-Clock Output High/Low-Ratio Unit 0.2 VSUP2 5 pF 1 µA 0 V < UINPUT< DVSUP 0.4 V II2SOL = 1 mA V II2SOH = −1 mA 1.0 1.1 ts_I2S I S Input Setup Time before Rising Edge of Clock th_I2S I2S Input Hold Time after Rising Edge of Clock td_I2S I2S Output Delay Time after Falling Edge of Clock I2S_CL I2S_WS I2S_DA_OUT fI2SWS I2S-Word Strobe Input Frequency I2S_WS 32.0 kHz fI2SCL I2S-Clock Input Frequency I2S_CL 1.024 MHz RI2SCL 70 2 I S-Clock Input Ratio 12 ns 40 ns 28 0.9 Test Conditions VSUP2 VSUP2 − 0.3 0.9 I2S_CL I2S_DA_IN1/2 Max. 0.5 −1 2 2 Min. ns for details see Fig. 4–22 “I2S bus timing diagram” CL = 30 pF 1.1 Micronas MSP 34x2G PRELIMINARY DATA SHEET 1/FI2SWS I2S_WS MODUS[6] = 0 MODUS[6] = 1 Detail C I2S_CL Detail A I2S_DA_IN R LSB L MSB L LSB R MSB R LSB L LSB 16/32 bit left channel 16/32 bit right channel Detail B I2S_DA_OUT R LSB L MSB L LSB R MSB R LSB L LSB 16/32 bit left channel 16/32 bit right channel Data: MSB first, I2S master 1/FI2SWS I2S_WS MODUS[6] = 0 MODUS[6] = 1 Detail C I2S_CL Detail A I2S_DA_IN R LSB L MSB L LSB R MSB R LSB L LSB 16,18...32 bit left channel Detail B I2S_DA_OUT R LSB 16, 18...32 bit right channel 16, 18...32 bit left channel L MSB L LSB R MSB R LSB L LSB 16, 18...32 bit right channel Data: MSB first, I2S slave Detail C Detail A,B 1/FI2SCL I2S_CL I2S_CL Ts_I2S Th_I2S Ts_I2S I2S_DA_IN1/2 I2S_WS as INPUT Td_I2S Td_I2S I2S_WS as OUTPUT I2S_DA_OUT Fig. 4–22: I2S bus timing diagram Micronas 71 MSP 34x2G PRELIMINARY DATA SHEET 4.6.3.6. Analog Baseband Inputs and Outputs, AGNDC Symbol Parameter Pin Name Min. Typ. Max. Unit Test Conditions AGNDC 3.67 3.77 3.87 V Rload ≥10 MΩ AGNDC Open Circuit Voltage (AHVSUP = 8 V) 2.41 2.51 2.61 V AGNDC Output Resistance (AHVSUP = 8 V) 70 125 180 kΩ AGNDC Output Resistance (AHVSUP = 8 V) 47 83 120 kΩ Analog Ground VAGNDC0 RoutAGN AGNDC Open Circuit Voltage (AHVSUP = 8 V) 3 V ≤ VAGNDC ≤ 4 V Analog Input Resistance RinSC SCART Input Resistance from TA = 0 to 70 °C SCn_IN_s1) 25 40 58 kΩ fsignal = 1 kHz, I = 0.05 mA RinMONO MONO Input Resistance from TA = 0 to 70 °C MONO_IN 15 24 35 kΩ fsignal = 1 kHz, I = 0.1 mA 1) 72 “n” means “1”, “2”, “3”, or “4”; “s” means “L” or “R” Micronas MSP 34x2G PRELIMINARY DATA SHEET Symbol Parameter Pin Name Min. SCn_IN_s,1) MONO_IN Typ. Max. Unit Test Conditions 2.00 2.25 VRMS fsignal = 1 kHz 1.13 1.51 VRMS 460 500 Ω Ω −70 +70 mV SCn_IN_s,1) MONO_IN → SCn_OUT_s1) −1.0 +0.5 dB fsignal = 1 kHz −0.5 +0.5 dB with resp. to 1 kHz SCn_OUT_s1) 1.8 1.9 2.0 VRMS fsignal = 1 kHz 1.17 1.27 1.37 VRMS 2.1 2.1 3.3 4.6 5.0 kΩ kΩ 1.80 2.04 61 0 2.28 V mV V 1.12 1.36 40 0 1.60 V mV V Effective Signal Level at Main/AUX-Output during full-scale Digital Input Signal from I2S for Analog Volume at 0 dB (AHVSUP = 8 V) 1.23 1.37 1.51 VRMS Effective Signal Level at Main/AUX-Output during full-scale Digital Input Signal from I2S for Analog Volume at 0 dB (AHVSUP = 5 V) 0.76 0.90 1.04 VRMS Audio Analog-to-Digital-Converter VAICL Effective Analog Input Clipping Level for Analog-to-DigitalConversion (AHVSUP = 8 V) Effective Analog Input Clipping Level for Analog-to-DigitalConversion (AHVSUP = 5 V) SCART Outputs RoutSC SCART Output Resistance at Tj = 27 °C from TA = 0 to 70 °C dVOUTSC Deviation of DC-Level at SCART Output from AGNDC Voltage ASCtoSC Gain from Analog Input to SCART Output frSCtoSC Frequency Response from Analog Input to SCART Output Bandwidth: 0 to 20000 Hz VoutSC Effective Signal Level at SCART-Output during full-scale Digital Input Signal from I2S (AHVSUP = 8 V) SCn_OUT_s1) 200 200 Effective Signal Level at SCART-Output during full-scale Digital Input Signal from I2S (AHVSUP = 5 V) 330 fsignal = 1 kHz, I = 0.1 mA Main, AUX, and CS Outputs RoutMACS Main/AUX Output Resistance at Tj = 27 °C from TA = 0 to 70 °C VoutDCMACS DC-Level at Main/AUX-Output for Analog Volume at 0 dB for Analog Volume at −30 dB DC-Level, not selected CS-Output (AHVSUP = 8 V) DC-Level at Main/AUX-Output for Analog Volume at 0 dB for Analog Volume at −30 dB DC-Level, not selected CS-Output (AHVSUP = 5 V) VoutMACS 1) DACM_r,1) DACA_s fsignal = 1 kHz, I = 0.1 mA fsignal = 1 kHz “n” means “1”, “2”, “3”, or “4”; “r” means “L”, “R”, “C”, or “S”; “s” means “L” or “R” Micronas 73 MSP 34x2G PRELIMINARY DATA SHEET 4.6.3.7. Sound IF Inputs Symbol Parameter Pin Name Min. Typ. Max. Unit Test Conditions RIFIN Input Impedance ANA_IN1+, ANA_IN2+, ANA_IN− 1.5 6.8 2 9.1 2.5 11.4 kΩ kΩ Gain AGC = 20 dB Gain AGC = 3 dB DCVREFTOP DC Voltage at VREFTOP VREFTOP 2.45 2.65 2.75 V DCANA_IN DC Voltage on IF Inputs ANA_IN1+, ANA_IN2+, ANA_IN− 1.3 1.5 1.7 V XTALKIF Crosstalk Attenuation 40 dB BWIF 3 dB Bandwidth ANA_IN1+, ANA_IN2+, ANA_IN− 10 MHz AGC AGC Step Width 0.85 fsignal = 1 MHz Input Level = −2 dBr dB 4.6.3.8. Power Supply Rejection Symbol Parameter Pin Name Min. Typ. Max. Unit Test Conditions PSRR: Rejection of Noise on AHVSUP at 1 kHz PSRR AGNDC AGNDC 80 dB From Analog Input to I S Output MONO_IN, SCn_IN_s1) 70 dB From Analog Input to SCART Output MONO_IN, SCn_IN_s1) SCn_OUT_s1) 70 dB From I2S Input to SCART Output SCn_OUT_s1) 60 dB 80 dB 2 2 From I S Input to Main or AUX Output 1) 74 1) DACM_r, DACA_s “n” means “1”, “2”, “3”, or “4”; “r” means “L”, “R”, “C”, or “S”; “s” means “L” or “R” Micronas MSP 34x2G PRELIMINARY DATA SHEET 4.6.3.9. Analog Performance Symbol Parameter Pin Name Min. Typ. from Analog Input to I2S Output MONO_IN, SCn_IN_s1) 85 from Analog Input to SCART Output MONO_IN, SCn_IN_s1) → SCn_OUT_s1) from I2S Input to SCART Output SCn_OUT_s1) from I2S Input to Main/AUX-Output for Analog Volume at 0 dB for Analog Volume at −30 dB DACM_r,1) DACA_s Max. Unit Test Conditions 88 dB Input Level = −20 dB with resp. to VAICL, fsig = 1 kHz, unweighted 20 Hz...16 kHz 93 96 dB Input Level = −20 dB, fsig = 1 kHz, unweighted 20 Hz...20 kHz 85 88 dB Input Level = −20 dB, fsig = 1 kHz, unweighted 20 Hz...15 kHz 85 78 88 83 dB dB Specifications for AHVSUP = 8 V SNR THD 1) Signal-to-Noise Ratio Input Level = −20 dB, fsig = 1 kHz, unweighted 20 Hz...15 kHz Total Harmonic Distortion from Analog Input to I2S Output MONO_IN, SCn_IN_s1) 0.01 0.03 % Input Level = −3 dBr with resp. to VAICL, fsig = 1 kHz, unweighted 20 Hz...16 kHz from Analog Input to SCART Output MONO_IN, SCn_IN_s → SCn_OUT_s1) 0.01 0.03 % Input Level = −3 dBr, fsig = 1 kHz, unweighted 20 Hz...20 kHz from I2S Input to SCART Output SCn_OUT_s1) 0.01 0.03 % Input Level = −3 dBr, fsig = 1 kHz, unweighted 20 Hz...16 kHz from I2S Input to Main or AUX Output DACM_r,1) DACA_s 0.01 0.03 % Input Level = −3 dBr, fsig = 1 kHz, unweighted 20 Hz...16 kHz “n” means “1”, “2”, “3”, or “4”; “r” means “L”, “R”, “C”, or “S”; “s” means “L” or “R” Micronas 75 MSP 34x2G Symbol Parameter PRELIMINARY DATA SHEET Pin Name Min. Typ. from Analog Input to I2S Output MONO_IN, SCn_IN_s1) 82 from Analog Input to SCART Output MONO_IN, SCn_IN_s1) → SCn_OUT_s1) from I2S Input to SCART Output SCn_OUT_s1) from I2S Input to Main/AUX-Output for Analog Volume at 0 dB for Analog Volume at −30 dB DACM_r,1) DACA_s Max. Unit Test Conditions 85 dB Input Level = −20 dB with resp. to VAICL, fsig = 1 kHz, unweighted 20 Hz...16 kHz 90 93 dB Input Level = −20 dB, fsig = 1 kHz, unweighted 20 Hz...20 kHz 82 85 dB Input Level = −20 dB, fsig = 1 kHz, unweighted 20 Hz...15 kHz 82 75 85 80 dB dB Specifications for AHVSUP = 5 V SNR THD 1) 76 Signal-to-Noise Ratio Input Level = −20 dB, fsig = 1 kHz, unweighted 20 Hz...15 kHz Total Harmonic Distortion 0.1 % Input Level = −3 dBr with resp. to VAICL, fsig = 1 kHz, unweighted 20 Hz...16 kHz MONO_IN, SCn_IN_s → SCn_OUT_s1) 0.1 % Input Level = −3 dBr, fsig = 1 kHz, unweighted 20 Hz...20 kHz from I2S Input to SCART Output SCn_OUT_s1) 0.1 % Input Level = −3 dBr, fsig = 1 kHz, unweighted 20 Hz...16 kHz from I2S Input to Main or AUX Output DACA_s, DACM_s1) 0.1 % Input Level = −3 dBr, fsig = 1 kHz, unweighted 20 Hz...16 kHz from Analog Input to I2S Output MONO_IN, SCn_IN_s1) from Analog Input to SCART Output 0.03 “n” means “1”, “2”, “3”, or “4”; “r” means “L”, “R”, “C”, or “S”; “s” means “L” or “R” Micronas MSP 34x2G PRELIMINARY DATA SHEET Symbol Parameter Pin Name Min. Typ. Max. Unit Test Conditions CROSSTALK Specifications XTALK Crosstalk Attenuation Input Level = −3 dB, fsig = 1 kHz, unused analog inputs connected to ground by Z < 1 kΩ between left and right channel within SCART Input/Output pair (L→R, R→L) unweighted 20 Hz...20 kHz SCn_IN → SCn_OUT1) 80 dB SC1_IN or SC2_IN → I2S Output 80 dB SC3_IN → I2S Output 80 dB I2S Input → SCn_OUT1) 80 dB unweighted 20 Hz...16 kHz between left and right channel within Main or AUX Output pair I2S Input → DACM I2S Input → DACA 75 dB between SCART Input/Output pairs D = disturbing program O = observed program D: MONO/SCn_IN → SCn_OUT O: MONO/SCn_IN → SCn_OUT1) 100 dB D: MONO/SCn_IN → SCn_OUT or unsel. O: MONO/SCn_IN → I2S Output 95 dB D: MONO/SCn_IN → SCn_OUT O: I2S Input → SCn_OUT1) 100 dB D: MONO/SCn_IN → unselected O: I2S Input → SC1_OUT1) 100 dB Crosstalk between Main and AUX Output pairs I2S Input → DACM I2S Input → DACA XTALK 90 dB unweighted 20 Hz...16 kHz same signal source on left and right disturbing channel, effect on each observed output channel unweighted 20 Hz...20 kHz same signal source on left and right disturbing channel, effect on each observed output channel Crosstalk from Main or AUX Output to SCART Output and vice versa D = disturbing program O = observed program 1) unweighted 20 Hz...20 kHz same signal source on left and right disturbing channel, effect on each observed output channel D: MONO/SCn_IN/DSP → SCn_OUT O: I2S Input → DACM O: I2S Input → DACA 80 dB D: MONO/SCn_IN/DSP → SCn_OUT O: I2S Input → DACM O: I2S Input → DACA 85 dB D: I2S Input → DACM D: I2S Input → DACA O: MONO/SCn_IN → SCn_OUT1) 95 dB D: I2S Input → DACM D: I2S Input → DACA O: I2S Input → SCn_OUT1) 95 dB SCART output load resistance 10 kΩ SCART output load resistance 30 kΩ “n” means “1”, “2”, “3”, or “4” Micronas 77 MSP 34x2G PRELIMINARY DATA SHEET 4.6.3.10. Sound Standard Dependent Characteristics Symbol Parameter Pin Name Min. DACM_r,1) DACA_s, SCn_OUT_s −1.5 Typ. Max. Unit Test Conditions +1.5 dB 2.12 kHz, Modulator input level = 0 dBref dB NICAM: −6 dB, 1 kHz, RMS unweighted 0 to 15 kHz, Vol = 9 dB NIC_Presc = 7Fhex Output level 1 VRMS at DACp_s NICAM Characteristics (MSP Standard Code = 8) dVNICAMOUT Tolerance of Output Voltage of NICAM Baseband Signal S/NNICAM S/N of NICAM Baseband Signal THDNICAM Total Harmonic Distortion + Noise of NICAM Baseband Signal 0.1 % 2.12 kHz, Modulator input level = 0 dBref BERNICAM NICAM: Bit Error Rate 1 10−7 FM+NICAM, norm conditions fRNICAM NICAM Frequency Response , 20...15000 Hz −1.0 +1.0 dB Modulator input level = −12 dB dBref; RMS XTALKNICAM NICAM Crosstalk Attenuation (Dual) 80 dB SEPNICAM NICAM Channel Separation (Stereo) 80 dB 72 FM Characteristics (MSP Standard Code = 3) DACM_r,1) DACA_s, SCn_OUT_s1) −1.5 dVFMOUT Tolerance of Output Voltage of FM Demodulated Signal S/NFM S/N of FM Demodulated Signal THDFM Total Harmonic Distortion + Noise of FM Demodulated Signal fRFM FM Frequency Response 20...15000 Hz −1.0 XTALKFM FM Crosstalk Attenuation (Dual) SEPFM FM Channel Separation (Stereo) +1.5 73 dB 1 FM-carrier, 50 µs, 1 kHz, 40 kHz deviation; RMS dB 1 FM-carrier 5.5 MHz, 50 µs, 1 kHz, 40 kHz deviation; RMS, unweighted 0 to 15 kHz (for S/N); full input range, FM-Prescale = 46hex, Vol = 0 dB → Output Level 1 VRMS at DACp_s 0.1 % +1.0 dB 1 FM-carrier 5.5 MHz, 50 µs, Modulator input level = −14.6 dBref; RMS 80 dB 2 FM-carriers 5.5/5.74 MHz, 50 µs, 1 kHz, 40 kHz deviation; Bandpass 1 kHz DACM_r,1) DACA_s, SCn_OUT_s 50 dB 2 FM-carriers 5.5/5.74 MHz, 50 µs, 1 kHz, 40 kHz deviation; RMS DACM_r,1) DACA_s, SCn_OUT_s 55 dB 45 dB SIF level: 0.1−0.8 Vpp AM-carrier 54% at 6.5 MHz Vol = 0 dB, FM/AM prescaler set for output = 0.5 VRMS at Loudspeaker out; Standard Code = 09hex no video/chroma components AM Characteristics (MSP Standard Code = 9) S/NAM(1) S/N of AM Demodulated Signal measurement condition: RMS/Flat S/NAM(2) S/N of AM Demodulated Signal measurement condition: QP/CCIR THDAM Total Harmonic Distortion + Noise of AM Demodulated Signal fRRM RM Frequency Response 50...12000 Hz −2.5 0.6 % +1.0 dB 1) “n” means “1”, “2”, “3”, or “4”; “r” means “L”, “R”, “C”, or “S”; “s” means “L” or “R” 78 Micronas MSP 34x2G PRELIMINARY DATA SHEET Symbol Parameter Pin Name Min. Typ. Max. Unit Test Conditions 68 dB 57 dB 1 kHz L or R or SAP, 100% modulation, 75 µs deemphasis, RMS unweighted 0 to 15 kHz BTSC Characteristics (MSP Standard Code = 20hex, 21hex) S/NBTSC S/N of BTSC Stereo Signal S/N of BTSC-SAP Signal THDBTSC DACM_r,1) DACA_s, SCn_OUT_s THD+N of BTSC Stereo Signal 0.1 % THD+N of BTSC SAP Signal 0.5 % Frequency Response of BTSC Stereo, 50 Hz...12 kHz −1.0 1.0 dB Frequency Response of BTSCSAP, 50 Hz...9 kHz −1.0 1.0 dB Stereo → SAP 76 dB SAP → Stereo 80 dB SEPBTSC Stereo Separation 50 Hz...10 kHz 50 Hz...12 kHz 35 30 dB dB FMpil Pilot deviation threshold fRBTSC XTALKBTSC Stereo off → on ANA_IN1+, ANA_IN2+ Stereo on → off fPilot Pilot Frequency Range ANA_IN1+ ANA_IN2+ 3.2 3.5 kHz 1.2 1.5 kHz 15.563 15.843 kHz 1 kHz L or R or SAP, 100% 75 µs EIM2), DBX NR, RMS unweighted 0 to 15 kHz L or R or SAP, 1%...66% EIM2), DBX NR 1 kHz L or R or SAP, 100% modulation, 75 µs deemphasis, Bandpass 1 kHz L or R 1%...66% EIM2), DBX NR 4.5 MHz carrier modulated with fh = 15.743 kHz SIF level = 100 mVpp indication: STATUS Bit[6] standard BTSC stereo signal, sound carrier only BTSC Characteristics (MSP Standard Code = 20hex, 21hex) with a minimum IF input signal level of 70 mVpp (measured without any video/chroma signal components) S/NBTSC S/N of BTSC Stereo Signal S/N of BTSC-SAP Signal THDBTSC fRBTSC XTALKBTSC SEPBTSC 1) 2) DACM_r,1) DACA_s, SCn_OUT_s 64 dB 55 dB THD+N of BTSC Stereo Signal 0.15 % THD+N of BTSC SAP Signal 0.8 % Frequency Response of BTSC Stereo, 50 Hz...12 kHz −1.0 1.0 dB Frequency Response of BTSCSAP, 50 Hz...9 kHz −1.0 1.0 dB Stereo → SAP 75 dB SAP → Stereo 75 dB Stereo Separation 50 Hz...10 kHz 50 Hz...12 kHz 35 30 dB dB 1 kHz L or R or SAP, 100% modulation, 75 µs deemphasis, RMS unweighted 0 to 15 kHz 1 kHz L or R or SAP, 100% 75 µs EIM2), DBX NR, RMS unweighted 0 to 15 kHz L or R or SAP, 1%...66% EIM2), DBX NR 1 kHz L or R or SAP, 100% modulation, 75 µs deemphasis, Bandpass 1 kHz L or R 1%...66% EIM2), DBX NR “n” means “1”, “2”, “3”, or “4”; “r” means “L”, “R”, “C”, or “S”; “s” means “L” or “R” EIM refers to 75-µs Equivalent Input Modulation. It is defined as the audio-signal level which results in a stated percentage modulation, when the DBX encoding process is replaced by a 75-µs preemphasis network. Micronas 79 MSP 34x2G Symbol Parameter PRELIMINARY DATA SHEET Pin Name Min. Typ. Max. Unit Test Conditions 60 dB 60 dB 1 kHz L or R, 100% modulation, 75 µs deemphasis, RMS unweighted 0 to 15 kHz EIA-J Characteristics (MSP Standard Code = 30hex) S/NEIAJ S/N of EIA-J Stereo Signal S/N of EIA-J Sub-Channel THDEIAJ fREIAJ XTALKEIAJ SEPEIAJ DACM_r,1) DACA_s, SCn_OUT_s THD+N of EIA-J Stereo Signal 0.2 % THD+N of EIA-J Sub-Channel 0.3 % Frequency Response of EIA-J Stereo, 50 Hz...12 kHz −1.0 1.0 dB Frequency Response of EIA-J Sub-Channel, 50 Hz...12 kHz −1.0 1.0 dB Main → SUB 66 dB Sub → MAIN 80 dB Stereo Separation 50 Hz...5 kHz 50 Hz...10 kHz 35 28 dB dB 68 dB 100% modulation, 75 µs deemphasis 1 kHz L or R, 100% modulation, 75 µs deemphasis, Bandpass 1 kHz EIA-J Stereo Signal, L or R 100% modulation FM-Radio Characteristics (MSP Standard Code = 40hex) DACM_r,1) DACA_s, SCn_OUT_s S/NUKW S/N of FM-Radio Stereo Signal THDUKW THD+N of FM-Radio Stereo Signal fRUKW Frequency Response of FM-Radio Stereo 50 Hz...15 kHz −1.0 SEPUKW Stereo Separation 50 Hz...15 kHz 45 fPilot Pilot Frequency Range 1) 80 ANA_IN1+ ANA_IN2+ 0.1 18.844 % 1 kHz L or R, 100% modulation, 75 µs deemphasis, RMS unweighted 0 to 15 kHz L or R, 1%...100% modulation, 75 µs deemphasis 1.0 dB dB 19.125 kHz standard FM radio stereo signal “n” means “1”, “2”, “3”, or “4”; “r” means “L”, “R”, “C”, or “S”; “s” means “L” or “R” Micronas MSP 34x2G PRELIMINARY DATA SHEET 5. Appendix A: Overview of TV-Sound Standards 5.1. NICAM 728 Table 5–1: Summary of NICAM 728 sound modulation parameters Specification I B/G L D/K Carrier frequency of digital sound 6.552 MHz 5.85 MHz 5.85 MHz 5.85 MHz Transmission rate 728 kbit/s Type of modulation Differentially encoded quadrature phase shift keying (DQPSK) Spectrum shaping Roll-off factor by means of Roll-off filters Carrier frequency of analog sound component 1.0 0.4 6.0 MHz FM mono 5.5 MHz FM mono 0.4 0.4 6.5 MHz AM mono terrestrial cable 6.5 MHz FM mono Power ratio between vision carrier and analog sound carrier 10 dB 13 dB 10 dB 16 dB 13 dB Power ratio between analog and modulated digital sound carrier 10 dB 7 dB 17 dB 11 dB China/ Hungary Poland 12 dB 7 dB Table 5–2: Summary of NICAM 728 sound coding characteristics Characteristics Values Audio sampling frequency 32 kHz Number of channels 2 Initial resolution 14 bit/sample Companding characteristics near instantaneous, with compression to 10 bits/sample in 32-samples (1 ms) blocks Coding for compressed samples 2’s complement Preemphasis CCITT Recommendation J.17 (6.5 dB attenuation at 800 Hz) Audio overload level +12 dBm measured at the unity gain frequency of the preemphasis network (2 kHz) Micronas 81 MSP 34x2G PRELIMINARY DATA SHEET 5.2. A2-Systems Table 5–3: Key parameters for A2 Systems of Standards B/G, D/K, and M Characteristics Sound Carrier FM1 Sound Carrier FM2 TV-Sound Standard B/G D/K M B/G D/K M Carrier frequency in MHz 5.5 6.5 4.5 5.7421875 6.2578125 6.7421875 5.7421875 4.724212 Vision/sound power difference 13 dB 20 dB Sound bandwidth Preemphasis Frequency deviation (nom/max) 40 Hz to 15 kHz 50 µs 75 µs ±27/±50 kHz ±17/±25 kHz 50 µs 75 µs ±27/±50 kHz ±15/±25 kHz Transmission Modes Mono transmission Stereo transmission Dual sound transmission mono (L+R)/2 language A mono (L+R)/2 R (L−R)/2 language B Identification of Transmission Mode Pilot carrier frequency 54.6875 kHz Max. deviation portion ±2.5 kHz Type of modulation / modulation depth AM / 50% Modulation frequency 82 mono: unmodulated stereo: 117.5 Hz dual: 274.1 Hz 55.0699 kHz 149.9 Hz 276.0 Hz Micronas MSP 34x2G PRELIMINARY DATA SHEET 5.3. BTSC-Sound System Table 5–4: Key parameters for BTSC-Sound Systems Aural Carrier Carrier frequency (fhNTSC = 15.734 kHz) (fhPAL = 15.625 kHz) 4.5 MHz BTSC-MPX-Components (L+R) Pilot (L−R) SAP Prof. Ch. Baseband fh 2 fh 5 fh 6.5 fh Sound bandwidth in kHz 0.05 - 15 0.05 - 15 0.05 - 12 0.05 - 3.4 Preemphasis 75 µs DBX DBX 150 µs 50 kHz1) 15 kHz 3 kHz AM 10 kHz FM 3 kHz FM Max. deviation to Aural Carrier 73 kHz (total) 25 kHz1) 5 kHz Max. Freq. Deviation of Subcarrier Modulation Type 1) Sum does not exceed 50 kHz due to interleaving effects 5.4. Japanese FM Stereo System (EIA-J) Table 5–5: Key parameters for Japanese FM-Stereo Sound System EIA-J Aural Carrier FM (L+R) (L−R) Identification 4.5 MHz Baseband 2 fh 3.5 fh Sound bandwidth 0.05 - 15 kHz 0.05 - 15 kHz − Preemphasis 75 µs 75 µs none 25 kHz 20 kHz 2 kHz 10 kHz FM 60% AM Carrier frequency (fh = 15.734 kHz) Max. deviation portion to Aural Carrier 47 kHz EIA-J-MPX-Components Max. Freq. Deviation of Subcarrier Modulation Type Transmitter-sided delay 20 µs 0 µs 0 µs Mono transmission L+R − unmodulated Stereo transmission L+R L−R 982.5 Hz Bilingual transmission Language A Language B 922.5 Hz Micronas 83 MSP 34x2G PRELIMINARY DATA SHEET 5.5. FM Satellite Sound Table 5–6: Key parameters for FM Satellite Sound Carrier Frequency Maximum FM Deviation Sound Mode Bandwidth Deemphasis 6.5 MHz 85 kHz Mono 15 kHz 50 µs 7.02/7.20 MHz 50 kHz Mono/Stereo/Bilingual 15 kHz adaptive 7.38/7.56 MHz 50 kHz Mono/Stereo/Bilingual 15 kHz adaptive 7.74/7.92 MHz 50 kHz Mono/Stereo/Bilingual 15 kHz adaptive 5.6. FM-Stereo Radio Table 5–7: Key parameters for FM-Stereo Radio Systems Aural Carrier Carrier frequency (fp = 19 kHz) 10.7 MHz FM-Radio-MPX-Components (L+R) Pilot (L−R) RDS/ARI Baseband fp 2 fp 3 fh Sound bandwidth in kHz 0.05 - 15 0.05 - 15 Preemphasis: − USA − Europe 75 µs 50 µs 75 µs 50 µs Max. deviation to Aural Carrier 1) 84 75 kHz (100%) 90%1) 10% 90%1) 5% Sum does not exceed 90% due to interleaving effects. Micronas PRELIMINARY DATA SHEET MSP 34x2G 6. Appendix B: Manual/Compatibility Mode To adapt the modes of the STANDARD SELECT register to individual requirements and for reasons of compatibility to the MSP 34x0D, the MSP 34x2G offers an Manual/Compatibility Mode, which provides sophisticated programming of the MSP 34x2G. Using the STANDARD SELECT register generally provides a more economic way to program the MSP 34x2G and will result in optimal behavior. Therefore, it is not recommended to use the Manual/ Compatibility mode. In those cases, where the MSP 34x0D is to be substituted by the MSP 34x2G, the tips given in section 6.9. have to be obeyed by the controller software. Micronas 85 MSP 34x2G PRELIMINARY DATA SHEET 6.1. Demodulator Write and Read Registers for Manual/Compatibility Mode Table 6–1: Demodulator Write Registers; Subaddress: 10hex; these registers are not readable! Demodulator Write Registers Address (hex) MSPVersion Description Reset Mode Page AUTO_FM/AM 00 21 3411, 34511) 1. MODUS[0]=1 (Automatic Sound Select): Switching Level threshold of Automatic Switching between NICAM and FM/AM in case of bad NICAM reception 00 00 87 2. MODUS[0]=0 (Manual Mode): Activation and configuration of Automatic Switching between NICAM and FM/AM in case of bad NICAM reception A2_Threshold 00 22 all A2 Stereo Identification Threshold 00 19hex 89 CM_Threshold 00 24 all Carrier-Mute Threshold 00 2Ahex 89 AD_CV 00 BB all SIF-input selection, configuration of AGC, and Carrier-Mute Function 00 00 90 MODE_REG 00 83 3411, 34511) Controlling of MSP-Demodulator and Interface options. As soon as this register is applied, the MSP 34x2G works in the MSP 34x0D Compatibility Mode. 00 00 91 Warning: In this mode, BTSC, EIA-J, and FM-Radio are disabled. Only MSP 34x0D features are available; the use of MODUS and STATUS register is not allowed. The MSP 34x2G is reset to the normal mode by first programming the MODUS register followed by transmitting a valid standard code to the STANDARD SELECTION register. FIR1 FIR2 00 01 00 05 FIR1-filter coefficients channel 1 (6 ⋅ 8 bit) FIR2-filter coefficients channel 2 (6 ⋅ 8 bit), + 3 ⋅ 8 bit offset (total 72 bit) 00 00 93 DCO1_LO DCO1_HI 00 93 00 9B Increment channel 1 Low Part Increment channel 1 High Part 00 00 93 DCO2_LO DCO2_HI 00 A3 00 AB Increment channel 2 Low Part Increment channel 2 High Part PLL_CAPS 00 1F Not of interest for the customer Switchable PLL capacitors to tune open-loop frequency 00 56 96 1) not in BTSC, EIA-J, and FM-Radio mode Note: All registers except AUTO_FM/AM, A2_Threshold and CM-Threshold are initialised during STANDARD SELECTION and are automatically updated when Automatic Sound Select (MODUS[0]=1) is on. Table 6–2: Demodulator Read Registers; Subaddress: 11hex; these registers are not writable! Demodulator Read Registers Address (hex) MSPVersion Description Page C_AD_BITS 00 23 3411, 3451 NICAM-Sync bit, NICAM-C-Bits, and three LSBs of additional data bits 95 ADD_BITS 00 38 NICAM: bit [10:3] of additional data bits 95 CIB_BITS 00 3E NICAM: CIB1 and CIB2 control bits 95 ERROR_RATE 00 57 NICAM error rate, updated with 182 ms 96 PLL_CAPS 02 1F Not for customer use 96 AGC_GAIN 02 1E Not for customer use 96 86 Micronas MSP 34x2G PRELIMINARY DATA SHEET 6.2. DSP Write and Read Registers for Manual/Compatibility Mode Table 6–3: DSP-Write Registers; Subaddress: 12hex, all registers are readable as well Write Register Address (hex) Bits Operational Modes and Adjustable Range Reset Mode Page Volume SCART1 channel: Ctrl. mode 00 07 [7..0] [Linear mode / logarithmic mode] 00hex 97 FM Fixed Deemphasis 00 0F [15..8] [50 µs, 75 µs, OFF] 50 µs 97 [7..0] [OFF, WP1] OFF 97 FM Adaptive Deemphasis Identification Mode 00 15 [7..0] [B/G, M] B/G 98 FM DC Notch 00 17 [7..0] [ON, OFF] ON 98 Volume SCART2 channel: Ctrl. mode 00 40 [7..0] [Linear mode / logarithmic mode] 00hex 97 Table 6–4: DSP Read Registers; Subaddress: 13hex, all registers are not writable Additional Read Registers Address (hex) Bits Output Range Stereo detection register for A2 Stereo Systems 00 18 [15..8] [80hex ... 7Fhex] 8 bit two’s complement 98 DC level readout FM1/Ch2-L 00 1B [15..0] [8000hex ... 7FFFhex] 16 bit two’s complement 98 DC level readout FM2/Ch1-R 00 1C [15..0] [8000hex ... 7FFFhex] 16 bit two’s complement 98 6.3. Manual/Compatibility Mode: Description of Demodulator Write Registers Selected Sound 6.3.1. Automatic Switching between NICAM and Analog Sound NICAM In case of bad NICAM reception or loss of the NICAM-carrier, the MSP 34x2G offers an Automatic Switching (fall back) to the analog sound (FM/AMMono), without the necessity of the controller reading and evaluating any parameters. If a proper NICAM signal returns, switching back to this source is performed automatically as well. The feature evaluates the NICAM ERROR_RATE and switches, if necessary, all output channels which are assigned to the NICAM source, to the analog source, and vice versa. An appropriate hysteresis algorithm avoids oscillating effects (see Fig. 6–1). STATUS[9] and C_AD_BITS[11] (Addr: 0023 hex) provide information about the actual NICAM-FM/AM-status. analog Sound Page ERROR_RATE threshold/2 threshold Fig. 6–1: Hysteresis for Automatic Switching 6.3.1.1. Function in Automatic Sound Select Mode The Automatic Sound Select feature (MODUS[0]=1) includes the procedure mentioned above. By default, the internal ERROR_RATE threshold is set to 700dec. i.e. : – NICAM → analog Sound if ERROR_RATE > 700 – analog Sound → NICAM if ERROR_RATE < 700/2 The ERROR_RATE value of 700 corresponds to a BER of approximately 5.46*10-3/s. Micronas 87 MSP 34x2G PRELIMINARY DATA SHEET Individual configuration of the threshold can be done using Table 6–5, whereby the bits 0 and 11 of AUTO_FM are ignored. It is recommended to use the internal setting used by the standard selection. The optimum NICAM sound can be assigned to the MSP output channels by selecting one of the “Stereo or A/B”, “Stereo or A”, or “Stereo or B” source channels. 6.3.1.2. Function in Manual Mode If the manual mode (MODUS[0]=0) is required, the activation and configuration of the Automatic Switching feature has to be done as described in Table 6–5. Note, that the channel matrix of the corresponding output channels must be set according to the NICAM mode and need not to be changed in the FM/ AM-fallback case. Example: Required threshold = 500: bits [10:1]=00 1111 1010 Table 6–5: Coding of Automatic NICAM/Analog Sound Switching; Reset Status: Mode 0; Automatic Sound Select is on (MODUS[0] = 1) Mode Description AUTO_FM [11:0] Addr. = 00 21hex ERROR_RATEThreshold/dec Source Select: Input at NICAM Path1) 1 Automatic Switching with internal threshold (Default, if Automatic Sound Select is on) bit[11] = ignored bit[10:1] = 0 bit[0] = ignored 700 NICAM or FM/AM, depending on ERROR_RATE 2 Automatic Switching with external threshold (Customizing of Automatic Sound Select) bit[11] = ignored bit[10:1] = 25...1000 = threshold/2 bit[0] = ignored set by customer; recommended range: 50...2000 1) The NICAM path may be assigned to “Stereo or A/B”, “Stereo or A”, or “Stereo or B” source channels (see Table 2–2 on page 13). Table 6–6: Coding of Automatic NICAM/Analog Sound Switching; Reset Status: Mode 0; Automatic Sound Select is off (MODUS[0] = 0) Mode Description AUTO_FM [11:0] Addr. = 00 21hex ERROR_RATEThreshold/dec Source Select: Input at NICAM Path 0 Forced NICAM (Automatic Switching disabled) bit[11] =0 bit[10:1] = 0 bit[0] =0 none always NICAM; Mute in case of no NICAM available 1 Automatic Switching with internal threshold (Default, if Automatic Sound Select is on) bit[11] =0 bit[10:1] = 0 bit[0] =1 700 NICAM or FM/AM, depending on ERROR_RATE 2 Automatic Switching with external threshold (Customizing of Automatic Sound Select) bit[11] =0 bit[10:1] = 25...1000 = threshold/2 bit[0] =1 set by customer; recommended range: 50...2000 3 Forced Analog Mono (Automatic Switching disabled) bit[11] =1 bit[10:1] = 0 bit[0] =1 none 88 always FM/AM Micronas MSP 34x2G PRELIMINARY DATA SHEET 6.3.2. A2 Threshold The threshold between Stereo/Bilingual and Mono Identification for the A2 Standard has been made programmable according to the user’s preferences. An internal hysteresis ensures robustness and stability. Table 6–7: Write Register on I2C Subaddress 10hex : A2 Threshold Register Address Function Name A2 THRESHOLD Register A2_THRESH THRESHOLDS 00 22hex (write) Defines threshold of all A2 and EIA_J standards for Stereo and Bilingual detection bit[15:12] bit[11:0] must be set to 0 7F0hex ... 190hex ... 0A0hex force Mono Identification default setting after reset minimum Threshold for stable detection recommended range : 0A0hex...3C0hex 6.3.3. Carrier-Mute Threshold The Carrier-Mute threshold has been made programmable according to the user’s preferences. An internal hysteresis ensures stable behavior. Table 6–8: Write Register on I2C Subaddress 10hex : Carrier-Mute Threshold Register Address Function Name Carrier-Mute THRESHOLD Register CM_THRESH THRESHOLDS 00 24hex (write) Defines threshold for the carrier mute feature bit[15:12] bit[11:0] must be set to 0 000hex ... 02Ahex ... 7FFhex Carrier-Mute always ON (both channels muted) default setting after reset Carrier-Mute always OFF (both channels forced on) recommended range : 14hex...50hex Micronas 89 MSP 34x2G PRELIMINARY DATA SHEET 6.3.4. Register AD_CV The use of this register is no longer recommended. Use it only in cases where compatibility to the MSP 34x0D is required. Using the STANDARD SELECTION register together with the MODUS register provides a more economic way to program the MSP 34x2G. Table 6–9: AD_CV Register; reset status: all bits are “0” AD_CV (00 BBhex) Automatic setting by STANDARD SELECT Register Bit Function Settings 2-8, 0A-60hex 9 [0] not used must be set to 0 0 0 [1−6] Reference level in case of Automatic Gain Control = on (see Table 6–10). Constant gain factor when Automatic Gain Control = off (see Table 6–11). 101000 100011 [7] Determination of Automatic Gain or Constant Gain 0 = constant gain 1 = automatic gain 1 1 [8] Selection of Sound IF source (identical to MODUS[8]) 0 = ANA_IN1+ 1 = ANA_IN2+ X X [9] MSP-Carrier-Mute Feature 0 = off: no mute 1 = on: mute as described in section 2.2.2. 1 1 [10−15] not used must be set to 0 0 0 X : not affected while choosing the TV sound standard by means of the STANDARD SELECT Register Table 6–10: Reference Values for Active AGC (AD_CV[7] = 1) Application Input Signal Contains AD_CV [6:1] Ref. Value AD_CV [6:1] in integer Range of Input Signal at pin ANA_IN1+ and ANA_IN2+ − FM Standards 1 or 2 FM Carriers 101000 40 0.10 − 3 Vpp1) − NICAM/FM 1 FM and 1 NICAM Carrier 101000 40 0.10 − 3 Vpp1) − NICAM/AM 1 AM and 1 NICAM Carrier 100011 35 0.10 − 1.4 Vpp (recommended: 0.10 − 0.8 Vpp) − NICAM only 1 NICAM Carrier only 010100 20 0.05 − 1.0 Vpp SAT 1 or more FM Carriers 100011 35 0.10 − 3 Vpp1) ADR FM and ADR carriers see DRP 3510A data sheet Terrestrial TV 1) 90 For signals above 1.4 Vpp, the minimum gain of 3 dB is switched, and overflow of the A/D converter may result. Due to the robustness of the internal processing, the IC works up to and even more than 3 Vpp, if norm conditions of FM/NICAM or FM1/FM2 ratio are supposed. In this overflow case, a loss of FM-S/N ratio of about 10 dB may appear. Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 6–11: AD_CV parameters for Constant Input Gain (AD_CV[7]=0) Step AD_CV [6:1] Constant Gain Gain Input Level at pin ANA_IN1+ and ANA_IN2+ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 000000 000001 000010 000011 000100 000101 000110 000111 001000 001001 001010 001011 001100 001101 001110 001111 010000 010001 010010 010011 010100 3.00 dB 3.85 dB 4.70 dB 5.55 dB 6.40 dB 7.25 dB 8.10 dB 8.95 dB 9.80 dB 10.65 dB 11.50 dB 12.35 dB 13.20 dB 14.05 dB 14.90 dB 15.75 dB 16.60 dB 17.45 dB 18.30 dB 19.15 dB 20.00 dB maximum input level: 3 Vpp (FM) or 1 Vpp (NICAM)1) 1) maximum input level: 0.14 Vpp For signals above 1.4 Vpp, the minimum gain of 3 dB is switched and overflow of the A/D converter may result. Due to the robustness of the internal processing, the IC works up to and even more than 3 Vpp, if norm conditions of FM/NICAM or FM1/FM2 ratio are supposed. In this overflow case, a loss of FM-S/N ratio of about 10 dB may appear. 6.3.5. Register MODE_REG Note: The use of this register is no longer recommended. It should be used only in cases where software compatibility to the MSP 34x0D is required. Using the STANDARD SELECTION register together with the MODUS register provides a more economic way to program the MSP 34x2G. As soon as this register is applied, the MSP 34x2G works in the MSP 34x0D Compatibility Mode. In this mode: BTSC, EIA-J, and FM-Radio are disabled. Only MSP 34x0D features are available; the use of MODUS and STATUS register is not allowed. The MSP 34x2G is reset to the normal mode by first programming the MODUS register, followed by transmitting a valid standard code to the STANDARD SELECTION register. The register ‘MODE_REG’ contains the control bits determining the operation mode of the MSP 34x2G in the MSP 34x0D Compatibility Mode; Table 6–12 explains all bit positions. Micronas 91 MSP 34x2G PRELIMINARY DATA SHEET Table 6–12: Control word ‘MODE_REG’; reset status: all bits are “0” MODE_REG 00 83hex Bit Function [0] not used [1] DCTR_TRI [2] Comment Automatic setting by STANDARD SELECT Register Definition 2-5 8, A, B 9 0 : must be used 0 0 0 Digital control out 0/1 tri-state 0 : active 1 : tri-state X X X I2S_TRI I2S outputs tri-state (I2S_CL, I2S_WS, I2S_DA_OUT) 0 : active 1 : tri-state X X X [3] I2S Mode1) Master/Slave mode of the I2S bus 0 : Master 1 : Slave X X X [4] I2S_WS Mode WS due to the Sony or Philips-Format 0 : Sony 1 : Philips X X X [5] Audio_CL_OUT Switch Audio_Clock_Output to tri-state 0 : on 1 : tri-state X X X [6] NICAM1) Mode of MSP-Ch1 0 : FM 1 : Nicam 0 1 1 [7] not used 0 : must be used 0 0 0 [8] FM AM Mode of MSP-Ch2 0 : FM 1 : AM 0 0 1 [9] HDEV High Deviation Mode (channel matrix must be sound A) 0 : normal 1 : high deviation mode 0 0 0 [11:10] not used 0 : must be used 0 0 0 [12] MSP-Ch1 Gain see also Table 6–14 0 : Gain = 6 dB 1 : Gain = 0 dB 0 0 0 [13] FIR1-Filter Coeff. Set see also Table 6–14 0 : use FIR1 1 : use FIR2 1 0 0 [14] ADR Mode of MSP-Ch1/ ADR-Interface 0 : normal mode/tri-state 1 : ADR-mode/active 0 0 0 [15] AM-Gain Gain for AM Demodulation 0 : 0 dB (default. of MSPB) 1 :12 dB (recommended) 1 1 1 X: not affected by short-programming 92 Micronas MSP 34x2G PRELIMINARY DATA SHEET Table 6–13: Loading sequence for FIR-coefficients FIR1 00 01hex (MSP-Ch1: NICAM/FM2) No. Symbol Name Bits 1 NICAM/FM2_Coeff. (5) 8 2 NICAM/FM2_Coeff. (4) 8 3 NICAM/FM2_Coeff. (3) 8 4 NICAM/FM2_Coeff. (2) 8 5 NICAM/FM2_Coeff. (1) 8 6 NICAM/FM2_Coeff. (0) 8 The loading sequences must be obeyed. To change a coefficient set, the complete block FIR1 or FIR2 must be transmitted. Value Note: For compatibility with MSP 3410B, IMREG1 and IMREG2 have to be transmitted. The value for IMREG1 and IMREG2 is 004. Due to the partitioning to 8-bit units, the values 04hex, 40hex, and 00hex arise. see Table 6–14 6.3.7. DCO-Registers Note: The use of this register is no longer recommended. It should be used only in cases where software-compatibility to the MSP 34x0D is required. Using the STANDARD SELECTION register together with the MODUS register provides a more economic way to program the MSP 34x2G. FIR2 00 05hex (MSP-Ch2: FM1/AM) No. Symbol Name Bits Value 1 IMREG1 8 04hex 2 IMREG1/ IMREG2 8 40hex 3 IMREG2 8 00hex 4 FM/AM_Coef (5) 8 5 FM/AM_Coef (4) 8 6 FM/AM_Coef (3) 8 7 FM/AM_Coef (2) 8 If manual setting of the tuning frequency is required, a set of 24-bit registers determining the mixing frequencies of the quadrature mixers can be written manually into the IC. In Table 6–15, some examples of DCO registers are listed. It is necessary to divide them up into low part and high part. The formula for the calculation of the registers for any chosen IF frequency is as follows: 8 FM/AM_Coef (1) 8 INCRdec = int(f/fs ⋅ 224) 9 FM/AM_Coef (0) 8 with: int = integer function f = IF frequency in MHz fS = sampling frequency (18.432 MHz) see Table 6–14 6.3.6. FIR-Parameter, Registers FIR1 and FIR2 Note: The use of this register is no longer recommended. It should be used only in cases where software compatibility to the MSP 34x0D is required. Using the STANDARD SELECTION register together with the MODUS register provides a more economic way to program the MSP 34x2G. When selecting a TV-sound standard by means of the STANDARD SELECT register, all frequency tuning is performed automatically. Conversion of INCR into hex-format and separation of the 12-bit low and high parts lead to the required register values (DCO1_HI or _LO for MSP-Ch1, DCO2_HI or LO for MSP-Ch2). Data-shaping and/or FM/AM bandwidth limitation is performed by a pair of linear phase Finite Impulse Response filters (FIR-filter). The filter coefficients are programmable and are either configured automatically by the STANDARD SELECT register or written manually by the control processor via the control bus. Two not necessarily different sets of coefficients are required: one for MSP-Ch1 (NICAM or FM2) and one for MSP-Ch2 (FM1 = FM-mono). In Table 6–14 several coefficient sets are proposed. To load the FIR-filters, the following data values are to be transferred 8 bits at a time embedded LSB-bound in a 16-bit word. Micronas 93 MSP 34x2G PRELIMINARY DATA SHEET Table 6–14: 8-bit FIR-coefficients (decimal integer); reset status: all coefficients are “0” Coefficients for FIR1 00 01hex and FIR2 00 05hex Terrestrial TV Standards FM - Satellite FIR filter corresponds to a band-pass with a bandwidth of B = 130 to 500 kHz B frequency fc B/G-, D/KNICAM-FM Coef(i) INICAM-FM LNICAM-AM B/G-, D/K-, M-Dual FM 130 kHz 180 kHz 200 kHz 280 kHz 380 kHz 500 kHz Autosearch FIR2 FIR2 FIR2 FIR2 FIR2 FIR2 FIR2 FIR2 FIR1 FIR2 FIR1 FIR2 FIR1 FIR2 0 −2 3 2 3 −2 −4 3 73 9 3 −8 −1 −1 −1 1 −8 18 4 18 −8 −12 18 53 18 18 −8 −9 −1 −1 2 −10 27 −6 27 −10 −9 27 64 28 27 4 −16 −8 −8 3 10 48 −4 48 10 23 48 119 47 48 36 5 2 2 4 50 66 40 66 50 79 66 101 55 66 78 65 59 59 5 86 72 94 72 86 126 72 127 64 72 107 123 126 126 ModeREG[12] 0 0 0 0 1 1 1 1 1 1 0 ModeREG[13] 0 0 0 1 1 1 1 1 1 1 0 For compatibility, except for the FIR2-AM and the Autosearch-sets, the FIR-filter programming as used for the MSP 3410B is also possible. ADR coefficients are listed in the DRP data sheet. Table 6–15: DCO registers for the MSP 34x2G; reset status: DCO_HI/LO = “0000” DCO1_LO 00 93hex, DCO1_HI 00 9Bhex; DCO2_LO 00 A3hex, DCO2_HI 00 ABhex Freq. MHz DCO_HI/hex DCO_LO/hex Freq. MHz DCO_HI/hex DCO_LO/hex 4.5 03E8 000 5.04 5.5 5.58 5.7421875 0460 04C6 04D8 04FC 0000 038E 0000 00AA 5.76 5.85 5.94 0500 0514 0528 0000 0000 0000 6.0 6.2 6.5 6.552 0535 0561 05A4 05B0 0555 0C71 071C 0000 6.6 6.65 6.8 05BA 05C5 05E7 0AAA 0C71 01C7 7.02 0618 0000 7.2 0640 0000 7.38 0668 0000 7.56 0690 0000 94 Micronas MSP 34x2G PRELIMINARY DATA SHEET 6.4. Manual/Compatibility Mode: Description of Demodulator Read Registers Table 6–16: NICAM operation modes as defined by the EBU NICAM 728 specification Note: The use of these register is no longer recommended. It should be used only in cases where software compatibility to the MSP 34x0D is required. Using the STANDARD SELECTION register together with the STATUS register provides a more economic way to program the MSP 34x2G and to retrieve information from the IC. All registers except C_AD_BITs are 8 bits wide. They can be read out of the RAM of the MSP 34x2G if the MSP 34x0D Compatibility Mode is required. All transmissions take place in 16-bit words. The valid 8-bit data are the 8 LSBs of the received data word. If the Automatic Sound Select feature is not used, the NICAM or FM-identification parameters must be read and evaluated by the controller in order to enable appropriate switching of the channel select matrix of the baseband processing part. The FM-identification registers are described in section 6.6.1. To handle the NICAM-sound and to observe the NICAM-quality, at least the registers C_AD_BITS and ERROR_RATE must be read and evaluated by the controller. Additional data bits and CIB bits, if supplied by the NICAM transmitter, can be obtained by reading the registers ADD_BITS and CIB_BITS. C4 C3 C2 C1 Operation Mode 0 0 0 0 Stereo sound (NICAMA/B), independent mono sound (FM1) 0 0 0 1 Two independent mono signals (NICAMA, FM1) 0 0 1 0 Three independent mono channels (NICAMA, NICAMB, FM1) 0 0 1 1 Data transmission only; no audio 1 0 0 0 Stereo sound (NICAMA/B), FM1 carries same channel 1 0 0 1 One mono signal (NICAMA). FM1 carries same channel as NICAMA 1 0 1 0 Two independent mono channels (NICAMA, NICAMB). FM1 carries same channel as NICAMA 1 0 1 1 Data transmission only; no audio x 1 x x Unimplemented sound coding option (not yet defined by EBU NICAM 728 specification) AUTO_FM: monitor bit for the AUTO_FM Status: 0: NICAM source is NICAM 1: NICAM source is FM Note: It is no longer necessary to read out and evaluate the C_AD_BITS. All evaluation is performed in the MSP and indicated in the STATUS register. 6.4.1. NICAM Mode Control/Additional Data Bits Register NICAM operation mode control bits and A[2:0] of the additional data bits. Format: 6.4.2. Additional Data Bits Register 11 ... 7 6 5 4 3 2 1 0 Contains the remaining 8 of the 11 additional data bits. The additional data bits are not yet defined by the NICAM 728 system. Auto _FM ... A[2] A[1] A[0] C4 C3 C2 C1 S Format: MSB C_AD_BITS 00 23hex LSB Important: “S” = Bit[0] indicates correct NICAM-synchronization (S = 1). If S = 0, the MSP 3411/3451G has not yet synchronized correctly to frame and sequence, or has lost synchronization. The remaining read registers are therefore not valid. The MSP mutes the NICAM output automatically and tries to synchronize again as long as MODE_REG[6] is set. The operation mode is coded by C4-C1 as shown in Table 6–16. MSB ADD_BITS 00 38hex 7 6 5 4 3 2 1 0 A[10] A[9] A[8] A[7] A[6] A[5] A[4] A[3] 6.4.3. CIB Bits Register CIB bits 1 and 2 (see NICAM 728 specifications). Format: MSB Micronas LSB CIB_BITS 00 3Ehex LSB 7 6 5 4 3 2 1 0 x x x x x x CIB1 CIB2 95 MSP 34x2G PRELIMINARY DATA SHEET 6.4.7. Automatic Search Function for FM-Carrier Detection in Satellite Mode 6.4.4. NICAM Error Rate Register ERROR_RATE 00 57hex Error free 0000hex maximum error rate 07FFhex The AM demodulation ability of the MSP 34x2G offers the possibility to calculate the “field strength” of the momentarily selected FM carrier, which can be read out by the controller. In SAT receivers, this feature can be used to make automatic FM carrier search possible. Average error rate of the NICAM reception in a time interval of 182 ms, which should be close to 0. The initial and maximum value of ERROR_RATE is 2047. This value is also active if the NICAM bit of MODE_REG is not set. Since the value is achieved by filtering, a certain transition time (approx. 0.5 sec) is unavoidable. Acceptable audio may have error rates up to a value of 700 int. Individual evaluation of this value by the controller and an appropriate threshold may define the fallback mode from NICAM to FM/ AM-Mono in case of poor NICAM reception. The bit error rate per second (BER) can be calculated by means of the following formula: BER = ERROR_RATE * 12.3*10−6 /s 6.4.5. PLL_CAPS Readback Register It is possible to read out the actual setting of the PLL_CAPS. In standard applications, this register is not of interest for the customer. PLL_CAPS 02 1Fhex L minimum frequency 1111 1111 FFhex nominal frequency 0101 0110 RESET 56hex maximum frequency 0000 0000 00hex PLL_CAPS 02 1Fhex H PLL open xxxx xxx0 PLL closed xxxx xxx1 For this, the MSP has to be switched to AM-mode (MODE_REG[8]), FM-Prescale must be set to 7Fhex = +127dec, and the FM DC notch (see section 6.5.7.) must be switched off. The sound-IF frequency range must now be “scanned” in the MSP-channel 2 by means of the programmable quadrature mixer with an appropriate incremental frequency (i.e. 10 kHz). After each incrementation, a field strength value is available at the quasi-peak detector output (quasi-peak detector source must be set to FM), which must be examined for relative maxima by the controller. This results in either continuing search or switching the MSP back to FM demodulation mode. During the search process, the FIR2 must be loaded with the coefficient set “AUTOSEARCH”, which enables small bandwidth, resulting in appropriate field strength characteristics. The absolute field strength value (can be read out of “quasi-peak detector output FM1”) also gives information on whether a main FM carrier or a subcarrier was detected; and as a practical consequence, the FM bandwidth (FIR1/2) and the deemphasis (50 µs or adaptive) can be switched accordingly. Due to the fact that a constant demodulation frequency offset of a few kHz leads to a DC level in the demodulated signal, further fine tuning of the found carrier can be achieved by evaluating the “DC Level Readout FM1”. Therefore, the FM DC Notch must be switched on, and the demodulator part must be switched back to FM-demodulation mode. For a detailed description of the automatic search function, please refer to the corresponding MSP Windows software. 6.4.6. AGC_GAIN Readback Register It is possible to read out the actual setting of AGC_GAIN in Automatic Gain Mode. In standard applications, this register is not of interest for the customer. AGC_GAIN 02 1Ehex max. amplification (20 dB) 0001 0100 14hex min. amplification (3 dB) 0000 0000 00hex 96 Micronas MSP 34x2G PRELIMINARY DATA SHEET 6.5. Manual/Compatibility Mode: Description of DSP Write Registers 6.5.2. Volume Modes of SCART1/2 Outputs 6.5.1. Additional Channel Matrix Modes Loudspeaker Matrix 00 08hex L Headphone Matrix 00 09hex L SCART1 Matrix 00 0Ahex L SCART2 Matrix 00 41hex L I2S Matrix 00 0Bhex L Quasi-Peak Detector Matrix 00 0Chex L SUM/DIFF 0100 0000 40hex AB_XCHANGE 0101 0000 50hex PHASE_CHANGE_B 0110 0000 60hex PHASE_CHANGE_A 0111 0000 70hex A_ONLY 1000 0000 80hex B_ONLY 1001 0000 90hex Volume Mode SCART1 00 07hex [3:0] Volume Mode SCART2 00 40hex [3:0] linear 0000 RESET 0hex logarithmic 0001 1hex Volume SCART1 00 07hex H Volume SCART2 00 40hex H OFF 0000 0000 RESET 00hex 0 dB gain (digital full scale (FS) to 2 VRMS output) 0100 0000 40hex +6 dB gain (−6 dBFS to 2 VRMS output) 0111 1111 7Fhex Linear Mode 6.5.3. FM Fixed Deemphasis This table shows additional modes for the channel matrix registers. The sum/difference mode can be used together with the quasi-peak detector to determine the sound material mode. If the difference signal on channel B (right) is near to zero, and the sum signal on channel A (left) is high, the incoming audio signal is mono. If there is a significant level on the difference signal, the incoming audio is stereo. FM Deemphasis 00 0Fhex H 50 µs 0000 0000 RESET 00hex 75 µs 0000 0001 01hex OFF 0011 1111 3Fhex Note: This register is initialised during STANDARD SELECTION and is automatically updated when Automatic Sound Select (MODUS[0]=1) is on. 6.5.4. FM Adaptive Deemphasis FM Adaptive Deemphasis WP1 00 0Fhex L OFF 0000 0000 RESET 00hex WP1 0011 1111 3Fhex Note: This register is initialised during STANDARD SELECTION and is automatically updated when Automatic Sound Select (MODUS[0]=1) is on. 6.5.5. NICAM Deemphasis A J17 Deemphasis is always applied to the NICAM signal. It is not switchable. Micronas 97 MSP 34x2G PRELIMINARY DATA SHEET 6.5.6. Identification Mode for A2 Stereo Systems Identification Mode 00 15hex L Standard B/G (German Stereo) 0000 0000 RESET 00hex Standard M (Korean Stereo) 0000 0001 01hex Reset of Ident-Filter 0011 1111 6.6. Manual/Compatibility Mode: Description of DSP Read Registers All readable registers are 16-bit wide. Transmissions via I2C bus have to take place in 16-bit words. Some of the defined 16-bit words are divided into low and high byte, thus holding two different control entities. These registers are not writable. 3Fhex To shorten the response time of the identification algorithm after a program change between two FM-Stereo capable programs, the reset of the ident-filter can be applied. Sequence: 1. Program change 2. Reset ident-filter 6.6.1. Stereo Detection Register for A2 Stereo Systems Stereo Detection Register 00 18hex Stereo Mode Reading (two’s complement) MONO near zero STEREO positive value (ideal reception: 7Fhex) BILINGUAL negative value (ideal reception: 80hex) 3. Set identification mode back to standard B/G or M 4. Wait approx. 500 ms 5. Read stereo detection register Note: This register is initialized during STANDARD SELECTION and is automatically updated when Automatic Sound Select (MODUS[0]=1) is on. H Note: It is no longer necessary to read out and evaluate the A2 identification level. All evaluation is performed in the MSP and indicated in the STATUS register. 6.5.7. FM DC Notch 6.6.2. DC Level Register The DC compensation filter (FM DC Notch) for FM input can be switched off. This is used to speed up the automatic search function (see Section 6.4.7.). In normal FM-mode, the FM DC Notch should be switched on. FM DC Notch 00 17hex L ON 0000 0000 Reset 00hex OFF 0011 1111 3Fhex 98 DC Level Readout FM1 (MSP-Ch2) 00 1Bhex H+L DC Level Readout FM2 (MSP-Ch1) 00 1Chex H+L DC Level [8000hex ... 7FFFhex] values are 16 bit two’s complement The DC level register measures the DC component of the incoming FM signals (FM1 and FM2). This can be used for seek functions in satellite receivers and for IF FM frequencies fine tuning. A too low demodulation frequency (DCO) results in a positive DC-level and vice versa. For further processing, the DC content of the demodulated FM signals is suppressed. The time constant τ, defining the transition time of the DC Level Register, is approximately 28 ms. Micronas PRELIMINARY DATA SHEET MSP 34x2G 6.7. Demodulator Source Channels in Manual Mode 6.8. Exclusions of Audio Baseband Features 6.7.1. Terrestric Sound Standards In general, all functions can be switched independently. Two exceptions exist: Table 6–17 shows the source channel assignment of the demodulated signals in case of manual mode for all terrestric sound standards. See Table 2–2 for the assignment in the Automatic Sound Select mode. In manual mode for terrestric sound standards, only two demodulator sources are defined. 1. NICAM cannot be processed simultaneously with the FM2 channel. 2. FM adaptive deemphasis cannot be processed simultaneously with FM-identification. 6.9. Compatibility Restrictions to MSP 34x0D 6.7.2. SAT Sound Standards Table 6–18 shows the source channel assignment of the demodulated signals for SAT sound standards. The MSP 34x2G is fully hardware compatible to the MSP 34x0D. However, to substitute a MSP 34x0D by the corresponding MSP 34x2G, the controller software has to be adapted slightly: 1. The register FM-Matrix (00 0Ehex low part) must be changed from “no matrix (00hex)” to “sound A mono (03hex)” during mono transmission of all TV-sound standards (see also Table 6–17). 2. With the MSP 34x2G, the STANDARD SELECTION initializes the FM-deemphasis, which is not the case for the MSP 34x0D. So, if STANDARD SELECTION is applied, this I2C instruction can be omitted. Micronas 99 MSP 34x2G PRELIMINARY DATA SHEET Table 6–17: Manual Sound Select Mode for Terrestric Sound Standards Source Channels of Sound Select Block Broadcasted Sound Standard Selected MSP Standard Code Broadcasted Sound Mode FM Matrix B/G-FM D/K-FM M-Korea M-Japan 03 04, 05 02 30 MONO B/G-NICAM L-NICAM I-NICAM D/K-NICAM D/K-NICAM 08 09 0A 0B 0C (with high deviation FM) 20 BTSC FM/AM Stereo or A/B (use 0 for channel select) (use 1 for channel select) Sound A Mono Mono Mono STEREO German Stereo Korean Stereo Stereo Stereo BILINGUAL, Languages A and B No Matrix Left = A Right = B Left = A Right = B NICAM not available or NICAM error rate too high Sound A Mono1) analog Mono no sound MONO Sound A Mono1) analog Mono NICAM Mono STEREO Sound A Mono1) analog Mono NICAM Stereo BILINGUAL, Languages A and B Sound A Mono1) analog Mono Left = NICAM A Right = NICAM B MONO Sound A Mono Mono Mono STEREO Korean Stereo Stereo Stereo MONO + SAP Sound A Mono Mono Mono STEREO + SAP Korean Stereo Stereo Stereo Sound A Mono Mono Mono No Matrix Left = Mono Right = SAP Left = Mono Right = SAP MONO Sound A Mono Mono Mono STEREO Korean Stereo Stereo Stereo MONO 21 STEREO MONO + SAP STEREO + SAP FM-Radio 1) 40 with AUTO_FM: analog Mono Automatic refresh to Sound A Mono, do not write any other value to the register FM Matrix! Table 6–18: Manual Sound Select Modes for SAT-Modes Source Channels of Sound Select Block for SAT-Modes Broadcasted Sound Standard FM SAT 100 Selected MSP Standard Code Broadcasted Sound Mode FM Matrix FM/AM Stereo or A/B Stereo or A Stereo or B (source select: 0) (source select: 1) (source select: 3) (source select: 4) 6, 50hex MONO Sound A Mono Mono Mono Mono Mono 51hex STEREO No Matrix Stereo Stereo Stereo Stereo BILINGUAL No Matrix Left = A (FM1) Right = B (FM2) Left = A (FM1) Right = B (FM2) A (FM1) B (FM2) Micronas MSP 34x2G PRELIMINARY DATA SHEET 7. Appendix D: Application Information 7.1. Phase Relationship of Analog Outputs The analog output signals: Loudspeaker, headphone, and SCART2 all have the same phases. The user does not need to correct output phases when using these analog outputs directly. The SCART1 output has opposite phase. Using the I2S-outputs for other DSPs or D/A converters, care must be taken to adjust for the correct phase. If the attached coprocessor is one of the MSP family, the following schematics help to determine the phase relationship. I2S_IN1/2 I2S_OUT1/2 Loudspeaker Center/Surround Headphone Audio Baseband Processing SCART1-Ch. SCART1 SCART1 SCART2 SCART3 SCART4 SCART DSP Input Select SCART2-Ch. SCART2 MONO MONO, SCART1...4 SCART Output Select Fig. 7–1: Phase diagram of the MSP 34x2G Micronas 101 MSP 34x2G PRELIMINARY DATA SHEET 7.2. Application Circuit IF 2 IN if ANA_IN2+ not used Signal GND 100 nF 8 V(5 V) + 3.3 µF 330 nF 330 nF 330 nF AHVSS + + XTAL_OUT (63) 72 10 µF AGNDC (42) 45 VREFTOP (54) 58 ANA_IN1+ 1 KΩ 10 µF 330 nF AHVSS 1 µF 60 (55) MONO_IN 1 nF 1 µF 1 nF 1 µF 1 nF 1 µF 1 nF 1 µF Loudspeaker DACM_R (28) 27 56 (52) SC1_IN_L DACM_SUB (31) 30 57 (53) SC1_IN_R Center DACM_C (30) 29 53 (49) SC2_IN_L 54 (50) SC2_IN_R Surround DACM_S (32) 31 52 (48) ASG 330 nF Alternative circuit for ANA_IN1+for more attenuation of video components: DACM_L (29) 28 55 (51) ASG 330 nF 56 pF 18.432 MHz + 56 pF ANA_IN2+ (60) 69 ANA_IN− (59) 68 56 pF ANA_IN1+ (58) 67 56 pF 100 nF 100 pF CAPL_A (38) 38 10 µF - IF 1 IN XTAL_IN (62) 71 Tuner 1 C s. section 4.6.2. CAPL_M (40) 40 Tuner 2 1 nF 50 (46) SC3_IN_L 1 µF DACA_L (26) 25 51 (47) SC3_IN_R 330 nF AHVSS 49 (45) ASG 330 nF 5V 330 nF 1 nF MSP 34x2G 48 (44) SC4_IN_R 80 (7) STANDBYQ 5V 1 µF Headphone DACA_R (25) 24 47 (43) SC4_IN_L 1 nF SC1_OUT_L (37) 37 DVSS 79 (6) ADR_SEL SC1_OUT_R (36) 36 DVSS 3 (10) I2C_DA SC2_OUT_L (34) 34 2 (9) I2C_CL 9 (16) ADR_WS SC2_OUT_R (33) 33 10 (17) ADR_CL 8 (15) ADR_DA D_CTR_I/O_0 (5) 78 5 (12) I2S_WS D_CTR_I/O_1 (4) 77 100 Ω 22 µF + 100 Ω 22 µF + 100 Ω 22 µF + 100 Ω 22 µF + 4 (11) I2S_CL 7 (14) I2S_DA_IN1 AUD_CL_OUT (1) 74 17 (20) I2S_DA_IN2 26 (27) VREF2 35 (35) VREF1 39 (39) AHVSUP 62 (56) AVSS AHVSS 8V (5 V) AHVSS 16 (19) DVSS 66 (57) AVSUP 5V AHVSS Note: 470 pF 1.5 nF 10 µF AHVSS 5V 470 pF 1.5 nF 10 µF AVSS (from Controller, see section 4.6.3.3.) 13 (18) DVSUP 21 (24) RESETQ RESETQ 220 pF 470 pF 1.5 nF 10 µF 43 (41) AHVSS TESTEN (61) 70 6 (13) I2S_DA_OUT Decoupling capacitors from − DVSUP to DVSS, − AVSUP to AVSS, and − AHVSUP to AHVSS are recommended as closely as possible to supply pins (see note on page 56). Note: Pin numbers refer to the PQFP80 package, numbers in brackets refer to the PSDIP64 package. 102 Micronas PRELIMINARY DATA SHEET Micronas MSP 34x2G 103 MSP 34x2G 8. Appendix E: MSP 34x2G Version History MSP 3452G-A1 First release Micronas GmbH Hans-Bunte-Strasse 19 D-79108 Freiburg (Germany) P.O. Box 840 D-79008 Freiburg (Germany) Tel. +49-761-517-0 Fax +49-761-517-2174 E-mail: [email protected] Internet: www.micronas.com Printed in Germany Order No. 6251-520-1PD 104 PRELIMINARY DATA SHEET 9. Data Sheet History 1. Preliminary data sheet: “MSP 34x2G Multistandard Sound Processor Family with Dolby Surround Pro Logic”, May 22, 2000, 6251-520-1PD. First release of the preliminary data sheet. All information and data contained in this data sheet are without any commitment, are not to be considered as an offer for conclusion of a contract, nor shall they be construed as to create any liability. Any new issue of this data sheet invalidates previous issues. Product availability and delivery are exclusively subject to our respective order confirmation form; the same applies to orders based on development samples delivered. By this publication, Micronas GmbH does not assume responsibility for patent infringements or other rights of third parties which may result from its use. Further, Micronas GmbH reserves the right to revise this publication and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. No part of this publication may be reproduced, photocopied, stored on a retrieval system, or transmitted without the express written consent of Micronas GmbH. Micronas