English
Language : 

VS1011E Datasheet, PDF (38/49 Pages) List of Unclassifed Manufacturers – MPEG AUDIO CODEC
VLSI
Solution y
VS1011e
VS1011E
9. OPERATION
9.7.1 Sine Test
Sine test is initialized with the 8-byte sequence 0x53 0xEF 0x6E n 0 0 0 0, where n defines the sine test
to use. n is defined as follows:
Name
F sIdx
S
n bits
Bits Description
7:5 Sample rate index
4:0 Sine skip speed
F sIdx
0
1
2
3
4
5
6
7
Fs
44100 Hz
48000 Hz
32000 Hz
22050 Hz
24000 Hz
16000 Hz
11025 Hz
12000 Hz
The
frequency
of the
sine
to
be output
can
now be
calculated
from
F
=
Fs
×
S
128
.
Example: Sine test is activated with value 126, which is 0b01111110. Breaking n to its components,
F sIdx = 0b011 = 3 and thus F s = 22050Hz. S = 0b11110 = 30, and thus the final sine frequency
F
=
22050H z
×
30
128
≈
5168H z .
To exit the sine test, send the sequence 0x45 0x78 0x69 0x74 0 0 0 0.
Note: Sine test signals go through the digital volume control, so it is possible to test channels separately.
9.7.2 Pin Test
Pin test is activated with the 8-byte sequence 0x50 0xED 0x6E 0x54 0 0 0 0. This test is meant for chip
production testing only.
9.7.3 Memory Test
Memory test mode is initialized with the 8-byte sequence 0x4D 0xEA 0x6D 0x54 0 0 0 0. After this
sequence, wait for 200000 clock cycles. The result can be read from the SCI register SCI HDAT0, and
’one’ bits are interpreted as follows:
Version 1.04, 2007-10-08
38