Specifications

16
AT83SND2CMP3
7524D–MP3–07/07
Audio Output
Interface
The product implements an audio output interface allowing the audio bitstream to be
output in various formats. It is compatible with right and left justification PCM and I
2
S for-
mats and thanks to the on-chip PLL (see Section “Clock Controller”, page 10) allows
connection of almost all of the commercial audio DAC families available on the market.
The audio bitstream can be from 2 different types:
The MP3 decoded bitstream coming from the MP3 decoder for playing songs.
The audio bitstream coming from the MCU for outputting voice or sounds.
Description
The control unit core interfaces to the audio interface through five special function regis-
ters: AUDCON0 and AUDCON1, the Audio Control registers ; AUDSTA, the Audio
Status register; AUDDAT, the Audio Data register; and AUDCLK, the Audio Clock
Divider register.
Figure 13 shows the audio interface block diagram, blocks are detailed in the following
sections.
Figure 13. Audio Interface Block Diagram
AUD
CLOCK
UDRN
AUDSTA.6
0
1
DSIZ
AUDCON0.1
DSEL
Clock Generator
DCLK
DOUT
SCLK
JUST4:0
AUDCON0.7:3
POL
AUDCON0.2
AUDEN
AUDCON1.0
HLR
AUDCON0.0
0
1
SRC
AUDCON1.7
8
Data Converter
Audio Data
From C51
Audio Data
From MP3
DUP1:0
AUDCON1.2:1
16
16
SREQ
AUDSTA.7
Audio Buffer
AUBUSY
AUDSTA.5
Data Ready
DRQEN
AUDCON1.6
MP3 Buffer
Decoder
16
Sample
Request To
MP3 Decoder
AUDDAT