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

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
MP3 Data
MP3 Clock
4109E–8051–06/03
The MP3 decoder does not start any frame decoding before having a complete frame in
its input buffer
ware handshake consisting of data request and data acknowledgment is implemented.
Each time the MP3 decoder needs MP3 data, it sets the MPREQ, MPFREQ and
MPBREQ flags respectively in MP3STA and MP3STA1 registers. MPREQ flag can gen-
erate an interrupt if enabled as explained in Section “Interrupt”. The CPU must then load
data in the buffer by writing it through MP3DAT register thus acknowledging the previ-
ous request. As shown in Figure 43, the MPFREQ flag remains set while data (i.e a
frame) is requested by the decoder. It is cleared when no more data is requested and
set again when new data are requested. MPBREQ flag toggles at every Byte writing.
Note:
Figure 43. Data Timing Diagram
The MP3 decoder clock is generated by division of the PLL clock. The division factor is
given by MPCD4:0 bits in MP3CLK register. Figure 44 shows the MP3 decoder clock
generator and its calculation formula. The MP3 decoder clock frequency depends only
on the incoming MP3 frames.
Figure 44. MP3 Clock Generator and Symbol
As soon as the frame header has been decoded and the MPEG version extracted, the
minimum MP3 input frequency must be programmed according to Table 68.
Table 68. MP3 Clock Frequency
Write to MP3DAT
MPBREQ Flag
MPFREQ Flag
CLOCK
MPREQ Flag
PLL
1. The first request after enable, consists in 1024 Bytes of data to fill in the input buffer.
(1)
MPEG Version
. In order to manage the load of MP3 data in the frame buffer, a hard-
Cleared when Reading MP3STA
MPCD4:0
II
MP3CLK
I
MP3clk
MP3 Decoder Clock
=
----------------------------
MPCD
PLLclk
+
1
Minimum MP3 Clock (MHz)
AT8xC51SND1C
10.5
21
MP3 Clock Symbol
CLOCK
MP3
63

Related parts for AT83C51SND1C_03