English
Language : 

VS1001K Datasheet, PDF (32/40 Pages) List of Unclassifed Manufacturers – MPEG AUDIO CODEC
VLSI
Solution y
DATASHEET
VS1001K
7. OPERATION
7.8.3 Sine Test
Sine test is initialized with the 8-byte sequence: 0x53 0xEF 0x6E n 0 0 0 0, where n (48..119) defines
the sine test to use. If we define F sIdx = (n − 48)mod9 and F Sin = (n − 48)/9, the following tables
may be used:
FsIdx
0
1
2
3
4
5
6
7
8
Fs
44100 Hz
48000 Hz
32000 Hz
22050 Hz
24000 Hz
16000 Hz
11025 Hz
12000 Hz
8000 Hz
FSin
0
1
2
3
4
5
6
7
Length of Sin
32.000 samples
16.000 samples
10.667 samples
8.000 samples
6.400 samples
5.333 samples
4.571 samples
4.000 samples
Example: Sine test is called with a test value of 62. 62-48 = 14, FsIdx = 5 and FSin = 1. From the tables
we get the sample rate 16000 Hz, and the sine wave length, which is 16 samples. Thus, we’ll get a 1 kHz
voice.
To exit the sine test, send the sequence 0x45 0x78 0x69 0x74 0 0 0 0.
Note: The sine test signals go through the digital volume control, so it is possible to test channels
separately.
Version 4.14, 2004-02-10
32