Download Print this page
ST STA013 Application Note
ST STA013 Application Note

ST STA013 Application Note

Mpeg 2.5 layer iii source decoder

Advertisement

Quick Links

®
STA013 MPEG 2.5 LAYER III SOURCE DECODER
This Application Note helps the user to work with STA013 Evaluation Board, installing the PC Soft-
ware Driver, understanding how STA013 MPEG 2.5 Layer III Source Decoder works, and explaining
how to control the device functions.
The document is composed by 5 main points:
- MPEG 2.5 Layer III Technical Introduction
- STA013 Device Description
- STA013 Evaluation Board Description
- STA013 PC Software Driver Description
- General Information on STA013 Evaluation Environment
MPEG 2.5 LAYER III TECHNICAL INTRODUCTION
An Overview
Since 1988 MPEG group has been working on the standardisation of high-quality low-bitrate audio cod-
ing techniques. Two standards have been completed: MPEG 1 (coding of mono and stereo signals at
sampling rates of 32, 44.1, and 48 KHz) and MPEG 2 (backward-compatible coding of 5+1 multichannel
sound signals and low-bitrate coding of mono and stereo at sampling rates of 16, 22.05, 24 KHz).
A non standardized evolution of MPEG 2 has been developed by industry, called MPEG 2.5.
It is practically the extension to the sampling rates 8, 11.025, and 12 KHz, of the current MPEG 2 stand-
ard.
The basic idea behind perceptual coding, the general audio coding theory implemented by MPEG, is to
hide the quantisation noise below the signal-dependent tresholds of hearing. In this view, the most im-
portant question in perceptual coding is: "how much noise can be introduced to the signal without being
audible?". The most prominent feature in psychoacoustics is masking in the frequency domain. A fainter
signal is completely masked by a masker that is louder and has a similar frequency content.
The overall processing chain of an MPEG encoder can summarised in the following four steps:
A filter bank is used to decompose the input signal into subsampled spectral components (time to
frequency domain). Together with the corresponding filter bank in the decoder it forms an analysis-
synthesis system.
Using either the time-domain input signal or the output of the analysis filter bank, an estimate of the
actual (time-dependent) masked threshold is computed using rules known from psychoacoustic.
This is called the perceptual encoding system.
The spectral components are quantized and coded with the aim of keeping the noise, which is intro-
duced by quantizing, below the masking treshold. Depending on the algorithm, this step is done in
different ways, from simple block companding to analysis-by-synthesis system using additional
noiseless compression.
A bitstream formatter is used to assemble the bitstream, which typically consists of the quantized
and coded spectral coefficients and some side information, such as bit allocation information.
March 1999
APPLICATION NOTE
by Ruggero DE LUCA
AN1090
1/17

Advertisement

loading
Need help?

Need help?

Do you have a question about the STA013 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STA013

  • Page 1 STA013 MPEG 2.5 LAYER III SOURCE DECODER by Ruggero DE LUCA This Application Note helps the user to work with STA013 Evaluation Board, installing the PC Soft- ware Driver, understanding how STA013 MPEG 2.5 Layer III Source Decoder works, and explaining how to control the device functions.
  • Page 2 (8 Kbit/s ..320 Kbit/s) STA013 DEVICE DESCRIPTION The STA013 is an MPEG 2.5 Layer III Audio Decoder capable of decoding elementary streams from 8 up to 320 Kbit/sec. The full sampling frequencies range is supported, from 8 up to 48 KHz. For this reason we use the name "MPEG 2.5".
  • Page 3 The Input Connector is indicated on STA013EVB with J6. The Serial Input Clock line for STA013 has to be connected to pin no. 1 of J6. On the STA013EVB, it is connected to pin no. 6 of STA013 (SCKR). The polarity of the STA013 receiver clock can be programmed, as described in the data sheet.
  • Page 4 AN1090 APPLICATION NOTE The JP3 connection point no. 3 is connected to pin no. 3 of STA013 and is the I2C Serial Data line (SDA). The STA013 I2C interface is used to: Figure 3. STA013EVB Functional Diagram CONNECTOR JP3 STA013 HEADPHONE MPEG 2.5 LAYER III DECODER...
  • Page 5 4.7K 4.7K CONNECTED AT ONLY ONE POINT BENEATH THE BOARD SCANEN FILT OUT_CLK/DATA_REQ 74LVX04 74LVX04 4.7nF 470pF 0.1µF 0.1µF R13 4.7 PGND STA013 0.1µF R14 4.7 PVDD 74LVX04 74LVX04 4.7K 74LVX04 74LVX04 SCKR R5 1M BIT-EN 4.7K X1 XTAL TESTEN 0.1µF...
  • Page 6: Power Supply

    STA013EVB SIGNAL LEVELS The STA013 and all the components on the board work at 3V of power supply. The STA013 EVB Input Connector is bufferized by an interface IC stage (U1A - U1F are six inverters included an 74lVX04 IC) by allowing the user to use directly a data source with signals level up to 5V without further stages.
  • Page 7 AN1090 APPLICATION NOTE Figure 6. 1134-137.7 PC INTERFACE BOARD (not in scale) 7/17...
  • Page 8 AN1090 APPLICATION NOTE Figure 7. PC Interface Schematic. 8/17...
  • Page 9 AN1090 APPLICATION NOTE STA013 PC CONTROL SOFTWARE The STA013EVB is provided with a PC Control Software Driver (STA013SDR), allowing the user evalu- ating all the device functions and controlling the device operation. The STA013SDR is a Win3.x / Win 95 software that can be installed directly by the user on a standard PC.
  • Page 10 AN1090 APPLICATION NOTE Registers Button this function allow the read and/or the write op- eration on all the STA013 registers. To write the registers the user has to update the register set- ting before pressing the write button. Status Button by pressing this button the user open a window displaying the status of STA013.
  • Page 11 AN1090 APPLICATION NOTE Tone Button by selecting this function, the user opens a window describing the ideal frequency response of the Tone Control function. The window is updated when the Tone Control pa- rameters are modified by the users. Header Button by pressing this button the STA013SDR displays all the relevant information contained in the MPEG Frame Headers of the incoming compressed bit-...
  • Page 12 AN1090 APPLICATION NOTE Ancillary Button this function allow the user to read the Ancillary Data coded in the MPEG stream. The Ancillary Data are displayed as ASCII characters. PLL Button by pressing this button, all the PLL configuration register become visible and can be read or writ- ten.
  • Page 13 Init Button initialisation file to bootstrap the STA013 on the application board. The initialisation file must be called sta013.ini and must be placed in the directory where the STA013SDR is installed 13/17...
  • Page 14 AN1090 APPLICATION NOTE STA013 PC TRANSMISSION SOFTWARE DRIVER DESCRIPTION The STA013EVB is provided with the PC Software Transmission Driver (STA013TXD), allowing the user to send the MPEG bitstream to the device. The STA013TXD is a Win 3xx/Win95 software and can be installed by the user on a standard PC (see...
  • Page 15 To minimise the effect, it is suggested to copy the mp3 files on the P.C. HDD and run a de fragmentation tool. The STA013TXD can handle data rates up to 128Kbit/sec. PC Parallel Port Pinout for STA013TXD STA013 SERIAL DATA (to STA013EVB J6) STA013 DATA REQUEST (from STA013EVB J6) STA013 SERIAL CLOCK (to STA013EVB J6)
  • Page 16 AN1090 APPLICATION NOTE GENERAL INFORMATION ON STA013 EVALUATION ENVIRONMENT The STA013 Evaluation toolkit is composed by a set of components, as follows: STA013EVB STA013 Evaluation Board (already described in the previous section). STA013TXD STA013 Software Transmission Driver (already described in the previous section).
  • Page 17 STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics © 1999 STMicroelectronics – Printed in Italy – All Rights Reserved...