VS1000b
VS1000
VS1000 - Ogg Vorbis Player IC with
USB and NAND FLASH Interface
Hardware Features
•
Low-power operation
•
Single input voltage: Internal voltage regu-
lation for analog, digital, and I/O power
•
Operates with a single 12 MHz clock
•
Internal PLL clock multiplier
•
Power button pin,
software-controlled power-off
•
USB Full Speed hardware
•
NAND FLASH interface with ECC
•
I/O for user interface
•
High-quality on-chip stereo DAC with no
phase error between channels
•
Stereo earphone driver capable of driving a
30
Ω
load
•
Lead-free RoHS-compliant package (Green)
Description
VS1000 is a single-chip Ogg Vorbis (license-free
audio codec) player. VS1000 contains a high-per-
formance low-power DSP core VS DSP
4
, NAND
FLASH interface, Full Speed USB port, general
purpose I/O pins, SPI, UART, as well as a high-
quality variable-sample-rate stereo DAC, and an
earphone amplifier and a common voltage buffer.
VS1000 firmware implements a default player that
reads and plays files from the NAND FLASH.
The player can be customized or replaced by us-
ing boot from NAND FLASH.
When connected to USB, the firmware implements
USB Mass Storage Device protocol or acts as an
Audio Device, providing a single-chip USB head-
phone application.
EarSpeaker spatial processing provides more nat-
ural sound in headphone listening conditions. It
widens the stereo image and positions the sound
sources outside the listener’s head.
SPI EEPROM can be used to load code in appli-
cations that do not use NAND FLASH.
Firmware Features
•
Implements USB Mass Storage Device and
Audio Device
•
NAND FLASH handling with error correc-
tion, block remapping, and wear levelling
•
Default player application in firmware
–
Decodes Ogg Vorbis, sound level
normalization using Replay Gain
–
Pause / Play
–
Volume control
–
Next / Previous Song
–
Rewind and Fast Forward
–
Random Play
– EarSpeaker
Spatial Processing
•
Bass and treble controls for customized player
•
NAND FLASH boot for customized player
•
SPI FLASH boot for special applications
•
UART for debugging and special applica-
tions
Version 1.0,
2007-09-11
1
VLSI
Solution
y
VS1000b
VS1000
CONTENTS
Contents
1 Disclaimer
4
2
Definitions
4
3
Characteristics & Specifications
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Characteristics of Audio Outputs . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Characteristics of Regulators . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Characteristics of VHIGH voltage monitor . . . . . . . . . . . . . . . . . . . .
Analog Characteristics of CVDD voltage monitor . . . . . . . . . . . . . . . . . . . . .
Analog Characteristics of USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Digital Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
4
5
5
6
6
6
7
7
7
4
Packages and Pin Descriptions
4.1
4.2
Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LQFP-48 Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
8
9
5
Example Schematic
11
6
VS1000 Functional Blocks
6.1
6.2
6.3
Regulator Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Digital Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
12
13
14
Version 1.0,
2007-09-11
2
VLSI
Solution
y
VS1000b
VS1000
LIST OF FIGURES
7 Firmware Operation
7.1
7.2
7.3
7.4
SPI Boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NAND FLASH Probe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UART Boot/Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Default Firmware Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.4.1
7.4.2
7.5
USB Mass Storage and Audio Device . . . . . . . . . . . . . . . . . . . . . . .
Default Player Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
15
16
16
17
17
17
19
19
20
Supported Audio Codecs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.5.1
Supported Ogg Vorbis Formats . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.6
EarSpeaker Spatial Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8 VS1000 Errata
21
9
Document Version Changes
22
10 Contact Information
23
List of Figures
1
2
3
Pin Configuration, LQFP-48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VS1000 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EarSpeaker externalized sound sources vs. normal inside-the-head sound . . . . . . . . .
8
12
20
Version 1.0,
2007-09-11
3
VLSI
Solution
y
VS1000b
VS1000
1. DISCLAIMER
1
Disclaimer
All properties and figures are subject to change.
2
Definitions
B
Byte, 8 bits.
b
Bit.
Ki
“Kibi” =
2
10
= 1024 (IEC 60027-2).
Mi
“Mebi” =
2
20
= 1048576 (IEC 60027-2).
VS DSP
VLSI Solution’s DSP core.
W
Word. In VS DSP, instruction words are 32-bit and data words are 16-bit wide.
3
3.1
Characteristics & Specifications
Absolute Maximum Ratings
Symbol
VHIGH
AVDD
CVDD
IOVDD
Min
-0.3
-0.3
-0.3
-0.3
-0.3
-40
-65
Max
5.25
3.6
2.7
3.6
IOVDD+0.3
1
±200
2
+85
+150
Unit
V
V
V
V
V
mA
◦
C
◦
C
Parameter
Regulator input voltage
Analog Positive Supply
Digital Positive Supply
I/O Positive Supply
Voltage at Any Digital Input
Total Injected Current on Pins
Operating Temperature
Storage Temperature
1
2
Must not exceed 3.6 V
Latch-up limit
Version 1.0,
2007-09-11
4
VLSI
Solution
y
VS1000b
3. CHARACTERISTICS & SPECIFICATIONS
VS1000
3.2
Recommended Operating Conditions
Symbol
AGND DGND
VHIGH
AVDD
CVDD
IOVDD
XTALI
CLKU
CLKI
Min
-40
AVDD+0.3
2.75
2.2
1.8
12
48
12
40
Typ
0.0
4.0
2.8
2.3
2.8
12
5
Max
+85
5.25
3.6
2.65
3.6
13
48
48
60
Unit
◦
C
V
V
V
V
V
MHz
MHz
MHz
%
Parameter
Operating temperature
Analog and digital ground
1
Regulator input voltage
2
Analog positive supply
3
Digital positive supply
3
I/O positive supply
3
Input clock frequency
4
Internal clock frequency, USB connected
Internal clock frequency, USB disconnected
Master clock duty cycle
1
2
50
Must be connected together as close the device as possible for latch-up immunity.
4.0 V is required for compliant USB level.
3
Regulator output of the device.
4
The maximum sample rate that can be played with correct speed is XTALI/256. With 12 MHz XTALI
sample rates over 46875 Hz are played at 46875 Hz.
5
To be able to use USB, XTALI must be 12 MHz.
3.3
Analog Characteristics of Audio Outputs
Unless otherwise noted:
AVDD
=2.8V,
CVDD
=2.4V,
IOVDD=2.8V, TA=-40..+85
◦
C, XTALI=12 MHz,
Internal Clock Multiplier
3.0×.
DAC tested with full-scale output sinewave, measurement bandwidth 20..20000 Hz,
analog output load: LEFT to CBUF 30
Ω,
RIGHT to CBUF 30
Ω.
Parameter
DAC Resolution
Dynamic range (DAC unmuted, A-weighted, min gain)
S/N ratio (full scale signal, no load)
S/N ratio (full scale signal, 30 ohm load)
Total harmonic distortion, max level, no load
Total harmonic distortion, max level, 30 ohm load
Crosstalk (L/R to R/L), 30 ohm load, without CBUF
1
Crosstalk (L/R to R/L), 30 ohm load, with CBUF
Gain mismatch (L/R to R/L)
Frequency response
Full scale output voltage
Deviation from linear phase
Analog output load resistance
Analog output load capacitance
DC level (CBUF, LEFT, RIGHT)
CBUF disconnect current (short-circuit protection)
1
2
Symbol
IDR
SNR
SNRL
THD
THDL
XTALK1
XTALK2
GERR
AERR
LEVEL
PH
AOLR
AOLC
Min
75
Typ
18
96
92
90
0.01
0.1
75
54
Max
0.3
-0.5
-0.05
450
530
0
30
2
0.5
0.05
600
5
100
1.3
200
3
Unit
bits
dB
dB
dB
%
%
dB
dB
dB
dB
mVrms
◦
1.1
130
Ω
pF
V
mA
Loaded from Left/Right pin to analog ground via 100
µF
capacitors.
AOLR may be lower than
Typical,
but distortion performance may be compromised. Also, there is a maximum
current that the internal regulators can provide.
3
CBUF must have external 10
Ω
+ 47 nF load, LEFT and RIGHT must have external 20
Ω
+ 10 nF load for
optimum stability and ESD tolerance.
Version 1.0,
2007-09-11
5