AT83C51SND1C_03 ATMEL [ATMEL Corporation], AT83C51SND1C_03 Datasheet - Page 65

no-image

AT83C51SND1C_03

Manufacturer Part Number
AT83C51SND1C_03
Description
Single-Chip Flash Microcontroller with MP3 Decoder and Human Interface
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Frame Information
Ancillary Data
4109E–8051–06/03
The MP3 frame header contains information on the audio data contained in the frame.
These informations is made available in the MP3STA register for you information.
MPVER and MPFS1:0 bits allow decoding of the sampling frequency according to
Table 71. MPVER bit gives the MPEG version (2 or 1).
Table 71. MP3 Frame Frequency Sampling
MP3 frames also contain data bits called ancillary data. These data are made available
in the MP3ANC register for each frame. As shown in Figure 45, the ancillary data are
available by Bytes when MPANC flag in MP3STA register is set. MPANC flag is set
when the ancillary buffer is not empty (at least one ancillary data is available) and is
cleared only when there is no more ancillary data in the buffer. This flag can generate an
interrupt as explained in Section "Interrupt", page 66. When set, software must read all
Bytes to empty the ancillary buffer.
Figure 45. Ancillary Data Block Diagram
Data To C51
MPVER
0
0
0
0
1
1
1
1
Ancillary
8
MPFS1
0
0
1
1
0
0
1
1
MP3ANC
MPFS0
0
1
0
1
0
1
0
1
8
Ancillary Buffer
Fs (kHz)
22.05 (MPEG II)
24 (MPEG II)
16 (MPEG II)
Reserved
44.1 (MPEG I)
48 (MPEG I)
32 (MPEG I)
Reserved
7-Byte
AT8xC51SND1C
MP3STA.7
MPANC
65

Related parts for AT83C51SND1C_03