|
VS1053B Datasheet, PDF (42/79 Pages) List of Unclassifed Manufacturers – Ogg Vorbis/MP3/AAC/WMA/MIDI AUDIO CODEC | |||
|
◁ |
VLSI
Solution y
VS1053b preliminary
VS1053B
8. FUNCTIONAL DESCRIPTION
8.7.4 SCI CLOCKF (RW)
The operation of SCI CLOCKF has changed slightly in VS1053b compared to VS1003 and VS1033.
Multiplier 1.5à and addition 0.5à have been removed to allow higher clocks to be conï¬gured.
Name
SC MULT
SC ADD
SC FREQ
SCI CLOCKF bits
Bits Description
15:13 Clock multiplier
12:11 Allowed multiplier addition
10: 0 Clock frequency
SC MULT activates the built-in clock multiplier. This will multiply XTALI to create a higher CLKI.
The values are as follows:
SC MULT
0
1
2
3
4
5
6
7
MASK
0x0000
0x2000
0x4000
0x6000
0x8000
0xa000
0xc000
0xe000
CLKI
XTALI
XTALIÃ2.0
XTALIÃ2.5
XTALIÃ3.0
XTALIÃ3.5
XTALIÃ4.0
XTALIÃ4.5
XTALIÃ5.0
SC ADD tells, how much the decoder ï¬rmware is allowed to add to the multiplier speciï¬ed by SC MULT
if more cycles are temporarily needed to decode a WMA or AAC stream. The values are:
SC ADD
0
1
2
3
MASK
0x0000
0x0800
0x1000
0x1800
Multiplier addition
No modiï¬cation is allowed
1.0Ã
1.5Ã
2.0Ã
SC FREQ is used to tell if the input clock XTALI is running at something else than 12.288 MHz. XTALI
is set
in
4
kHz steps.
The
formula
for
calculating
the
correct value
for this
register is
XT ALIâ8000000
4000
(XTALI is in Hz).
Note: The default value 0 is assumed to mean XTALI=12.288 MHz.
Note:
because
maximum
samplerate
is
XT ALI
256
,
all
samplerates
are
not
available
if
XTALI
<
12.288
MHz.
Note: Automatic clock change can only happen when decoding WMA and AAC ï¬les. Automatic clock
change is done one 0.5Ã at a time. This does not cause a drop to 1.0Ã clock and you can use the same
SCI and SDI clock throughout the ï¬le.
Example: If SCI CLOCKF is 0x9BE8, SC MULT = 4, SC ADD = 3 and SC FREQ = 0x3E8 = 1000.
This means that XTALI = 1000Ã4000+8000000 = 12 MHz. The clock multiplier is set to 3.5ÃXTALI =
42 MHz, and the maximum allowed multiplier that the ï¬rmware may automatically choose to use is
(3.5 + 2.0)ÃXTALI = 66 MHz.
Version 0.5, 2007-12-03
42
|
▷ |