Specifications

VLSI
Solution
y
VS1053b
VS1053B
8. FUNCTIONAL DESCRIPTION
When read, SCI HDAT0 and SCI HDAT1 contain header information that is extracted from MP3 stream
currently being decoded. After reset both registers are cleared, indicating no data has been found yet.
The “samplerate” field in SCI HDAT0 is interpreted according to the following table:
“samplerate” ID=3 ID=2 ID=0,1
3 - - -
2 32000 16000 8000
1 48000 24000 12000
0 44100 22050 11025
The “bitrate” field in HDAT0 is read according to the following table. Notice that for variable bitrate
stream the value changes constantly.
Layer I Layer II Layer III
“bitrate” ID=3 ID=0,1,2 ID=3 ID=0,1,2 ID=3 ID=0,1,2
kbit/s kbit/s kbit/s
15 forbidden forbidden forbidden forbidden forbidden forbidden
14 448 256 384 160 320 160
13 416 224 320 144 256 144
12 384 192 256 128 224 128
11 352 176 224 112 192 112
10 320 160 192 96 160 96
9 288 144 160 80 128 80
8 256 128 128 64 112 64
7 224 112 112 56 96 56
6 192 96 96 48 80 48
5 160 80 80 40 64 40
4 128 64 64 32 56 32
3 96 56 56 24 48 24
2 64 48 48 16 40 16
1 32 32 32 8 32 8
0 - - - - - -
The average data rate in bytes per second can be read from memory, see the byteRate extra parameter.
This variable contains the byte rate for all codecs. To get the bitrate of the file, multiply the value by 8.
The bitrate calculation is not automatically reset between songs, but it can also be reset without a software
or hardware reset by writing to SCI DECODE TIME.
8.7.10 SCI AIADDR (RW)
SCI AIADDR indicates the start address of the application code written earlier with SCI WRAMADDR
and SCI WRAM registers. If no application code is used, this register should not be initialized, or it
should be initialized to zero. For more details, see Application Notes for VS10XX.
Version 1.01, 2008-05-22 46