Vlsi HEADSPEAKER - 5.1 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Écouteurs Vlsi HEADSPEAKER - 5.1. VS1003 Datasheet Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 61
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
VS1003
VS1003 - MP3/WMA AUDIO CODEC
Features
Decodes MPEG 1 & 2 audio layer III
(CBR +VBR +ABR); WMA 4.0/4.1/7/8/9
all profiles (5-384kbit/s); WAV (PCM +
IMA ADPCM); General MIDI / SP-MIDI
files
Encodes IMA ADPCM from microphone
or line input
Streaming support for MP3 and WAV
Bass and treble controls
Operates with a single 12..13 MHz clock
Internal PLL clock multiplier
Low-power operation
High-quality on-chip stereo DAC with no
phase error between channels
Stereo earphone driver capable of driv-
ing a 30load
Separate operating voltages for analog,
digital and I/O
5.5 KiB On-chip RAM for user code /
data
Serial control and data interfaces
Can be used as a slave co-processor
SPI flash boot for special applications
UART for debugging purposes
New functions may be added with soft-
ware and 4 GPIO pins
Instruction
RAM
Instruction
ROM
Stereo
DAC
Mono
ADC
L
R
UART
Serial
Data/
Control
Interface
Stereo Ear−
phone Driver
DREQ
SO
SI
SCLK
XCS
RX
TX
audio
output
X ROM
X RAM
Y ROM
Y RAM
4
GPIO
GPIO
VSDSP
4
XDCS
VS1003
MIC AMP
Clock
multiplier
MUX
line
audio
mic
audio
Description
VS1003 is a single-chip MP3/WMA/MIDI au-
dio decoder and ADPCM encoder. It contains
a high-performance, proprietary low-power DSP
processor core VS_DSP
4
, working data mem-
ory, 5 KiB instruction RAM and 0.5 KiB data
RAM for user applications, serial control and
input data interfaces, 4 general purpose I/O
pins, an UART, as well as a high-quality variable-
sample-rate mono ADC and stereo DAC, fol-
lowed by an earphone amplifier and a com-
mon buffer.
VS1003 receives its input bitstream through
a serial input bus, which it listens to as a
system slave. The input stream is decoded
and passed through a digital volume control
to an 18-bit oversampling, multi-bit, sigma-
delta DAC. The decoding is controlled via a
serial control bus. In addition to the basic de-
coding, it is possible to add application spe-
cific features, like DSP effects, to the user
RAM memory.
Version: 1.08, 2014-12-19 1
Vue de la page 0
1 2 3 4 5 6 ... 60 61

Résumé du contenu

Page 1 - VS1003 - MP3/WMA AUDIO CODEC

VS1003VS1003 - MP3/WMA AUDIO CODECFeatures• Decodes MPEG 1 & 2 audio layer III(CBR +VBR +ABR); WMA 4.0/4.1/7/8/9all profiles (5-384kbit/s); WAV (PC

Page 2 - Contents

VS10034 CHARACTERISTICS & SPECIFICATIONS4.7 Typical characteristics4.7.1 Line input ADC 20 30 40 50 60 70 80 90 100 0.001 0.01 0.1 1dBinput vol

Page 3

VS10034 CHARACTERISTICS & SPECIFICATIONS4.7.3 RIGHT and LEFT outputs 0 20 40 60 80 100 0.001 0.01 0.1 1dBoutput voltage (rms)SNR 30R LOADSNR AW

Page 4

VS10035 PACKAGES AND PIN DESCRIPTIONS5 Packages and Pin Descriptions5.1 PackagesBoth LPQFP-48 and BGA-49 are lead (Pb) free and also RoHS compliant pa

Page 5 - List of Figures

VS10035 PACKAGES AND PIN DESCRIPTIONS5.2 LQFP-48 and BGA-49 Pin DescriptionsPin Name LQFP-48PinBGA49BallPinTypeFunctionMICP 1 C3 AI Positive different

Page 6 - 3 Definitions

VS10035 PACKAGES AND PIN DESCRIPTIONSPin types:Type DescriptionDI Digital input, CMOS Input PadDO Digital output, CMOS Input PadDIO Digital input/outp

Page 7 - 4.1 Absolute Maximum Ratings

VS10036 CONNECTION DIAGRAM, LQFP-486 Connection Diagram, LQFP-48Figure 7: Typical Connection Diagram Using LQFP-48.The common buffer GBUF can be used

Page 8 - 4.3 Analog Characteristics

VS10037 SPI BUSES7 SPI Buses7.1 GeneralThe SPI Bus - that was originally used in some Motorola devices - has been used for bothVS1003’s Serial Data In

Page 9 - 4.5 Digital Characteristics

VS10037 SPI BUSES7.3 Data Request Pin DREQThe DREQ pin/signal is used to signal if VS1003’s FIFO is capable of receiving data. If DREQis high, VS1003

Page 10 - 4.7 Typical characteristics

VS10037 SPI BUSES7.4.3 SDI in VS1001 Compatibility ModeBSYNCSDATADCLKD7 D6 D5 D4 D3 D2 D1 D0Figure 8: BSYNC Signal - one byte transfer.When VS1003 is

Page 11

VS10037 SPI BUSES7.5.2 SCI Read0 1 2 3 4 5 6 7 8 9 10 11 12 13 30 3114 15 16 170 0 0 0 0 0 1 1 0 0 0 03 2 1 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 015 14 1 0X

Page 12 - 5.1 Packages

VS1003CONTENTSContentsVS1003 1Table of Contents 2List of Figures 51 Licenses 62 Disclaimer 63 Definitions 64 Characteristics & Specifications 74.1 A

Page 13 - Version: 1.08, 2014-12-19 13

VS10037 SPI BUSESAfter the word has been shifted in and the last clock has been sent, XCS should be pulled highto end the WRITE sequence.After the las

Page 14 - Version: 1.08, 2014-12-19 14

VS10037 SPI BUSES7.7 SPI Examples with SM_SDINEW and SM_SDISHARED set7.7.1 Two SCI Writes01 2 3 30 311 0 1 00 0 0 0 0 0X XXCSSCKSI232 33 61 62 63SCI W

Page 15 - 6 Connection Diagram, LQFP-48

VS10037 SPI BUSES7.7.3 SCI Operation in Middle of Two SDI Bytes01XCSSCKSI77 6 5 10 00 7 6 5 1 0SDI ByteSCI OperationSDI Byte8 9 39 40 41 46 47XDREQ hi

Page 16 - 7 SPI Buses

VS10038 FUNCTIONAL DESCRIPTION8 Functional Description8.1 Main FeaturesVS1003 is based on a proprietary digital signal processor, VS_DSP. It contains

Page 17 - 7.3 Data Request Pin DREQ

VS10038 FUNCTIONAL DESCRIPTION8.2.2 Supported WMA FormatsWindows Media Audio codec versions 2, 7, 8, and 9 are supported. All WMA profiles (L1, L2,and

Page 18 - D7 D6 D5 D4 D3 D2 D1 D0

VS10038 FUNCTIONAL DESCRIPTION8.2.3 Supported RIFF WAV FormatsThe most common RIFF WAV subformats are supported.Format Name Supported Comments0x01 PCM

Page 19

VS10038 FUNCTIONAL DESCRIPTION8.2.4 Supported MIDI FormatsGeneral MIDI and SP-MIDI format 0 files are played. Format 1 and 2 files must be converted tof

Page 20 - 7.6 SPI Timing Diagram

VS10038 FUNCTIONAL DESCRIPTION8.3 Data Flow of VS1003VolumecontrolAudioFIFOS.rate.conv.and DACRBitstreamFIFOSDILSCI_VOLSM_ADPCM=02048 stereo samples

Page 21 - SDI Byte 2

VS10038 FUNCTIONAL DESCRIPTION8.5 Serial Control Interface (SCI)The serial control interface is compatible with the SPI bus specification. Data transfe

Page 22

VS10038 FUNCTIONAL DESCRIPTION8.6.1 SCI_MODE (RW)SCI_MODE is used to control the operation of VS1003 and defaults to 0x0800 (SM_SDINEWset).Bit Name Fu

Page 23 - 8 Functional Description

VS1003CONTENTS7.7.2 Two SDI Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217.7.3 SCI Operation in Middle of Two SDI Bytes . . .

Page 24

VS10038 FUNCTIONAL DESCRIPTIONSM_STREAM activates VS1003’s stream mode. In this mode, data should be sent with aseven intervals as possible (and prefe

Page 25 - Version: 1.08, 2014-12-19 25

VS10038 FUNCTIONAL DESCRIPTION8.6.2 SCI_STATUS (RW)SCI_STATUS contains information on the current status of VS1003 and lets the user shutdownthe chip

Page 26

VS10038 FUNCTIONAL DESCRIPTION8.6.4 SCI_CLOCKF (RW)The operation of SCI_CLOCKF is different in VS1003 than in VS1001, VS1011, and VS1002.SCI_CLOCKF bi

Page 27 - 8.3 Data Flow of VS1003

VS10038 FUNCTIONAL DESCRIPTION8.6.5 SCI_DECODE_TIME (RW)When decoding correct data, current decoded time is shown in this register in full seconds.The

Page 28 - 8.6 SCI Registers

VS10038 FUNCTIONAL DESCRIPTION8.6.9 SCI_HDAT0 and SCI_HDAT1 (R)For WAV files, SCI_HDAT0 and SCI_HDAT1 read as 0x7761, and 0x7665, respectively.For WMA

Page 29

VS10038 FUNCTIONAL DESCRIPTIONWhen read, SCI_HDAT0 and SCI_HDAT1 contain header information that is extracted fromMP3 stream currently being decoded.

Page 30

VS10038 FUNCTIONAL DESCRIPTION8.6.11 SCI_VOL (RW)SCI_VOL is a volume control for the player hardware. For each channel, a value in the range of0..254

Page 31

VS10039 OPERATION9 Operation9.1 ClockingVS1003 operates on a single, nominally 12.288 MHz fundamental frequency master clock. Thisclock can be generat

Page 32 - XT ALI−8000000

VS10039 OPERATION9.4 ADPCM RecordingThis chapter explains how to create RIFF/WAV file with IMA ADPCM format. This is a widelysupported ADPCM format and

Page 33

VS10039 OPERATIONNote: if SCI_HDAT1 ≥ 896, it may be better to wait for the buffer to overflow and clear beforereading samples. That way you may avoid

Page 34

VS1003CONTENTS10.4 SCI Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4510.5 Serial Data Registers . . . . . . .

Page 35

VS10039 OPERATIONA way to see if you have written the file in the right way is to check bytes 2 and 3 (the first bytecounts as byte 0) of each 256-byte

Page 36

VS10039 OPERATIONvoid RecordAdpcm1003(void) { /* VS1003b/VS1033c */u_int16 w = 0, idx = 0;... /* Check and locate free space on disk */SetMp3Vol(0x141

Page 37 - 9 Operation

VS10039 OPERATION9.5 SPI BootIf GPIO0 is set with a pull-up resistor to 1 at boot time, VS1003 tries to boot from external SPImemory.SPI boot redefines

Page 38 - 9.4 ADPCM Recording

VS10039 OPERATION9.8 SDI TestsThere are several test modes in VS1003, which allow the user to perform memory tests, SCIbus tests, and several differen

Page 39

VS10039 OPERATION9.8.2 Pin TestPin test is activated with the 8-byte sequence 0x50 0xED 0x6E 0x54 0 0 0 0. This test is meantfor chip production testi

Page 40

VS100310 VS1003 REGISTERS10 VS1003 Registers10.1 Who Needs to Read This ChapterUser software is required when a user wishes to add some own functional

Page 41 - Version: 1.08, 2014-12-19 41

VS100310 VS1003 REGISTERS00000000Instruction (32−bit) Y (16−bit)X (16−bit)System Vectors UserInstruction RAMX DATA RAMY DATA RAM0030 0030Y DAT

Page 42 - 9.7 Feeding PCM data

VS100310 VS1003 REGISTERS10.6 DAC RegistersDAC registers, prefix DAC_Reg Type Reset Abbrev[bits] Description0xC013 rw 0 FCTLL DAC frequency control, 16

Page 43 - 9.8 SDI Tests

VS100310 VS1003 REGISTERS10.8 Interrupt RegistersInterrupt registers, prefix INT_Reg Type Reset Abbrev[bits] Description0xC01A rw 0 ENABLE[7:0] Interru

Page 44

VS100310 VS1003 REGISTERS10.9 A/D Modulator RegistersInterrupt registers, prefix AD_Reg Type Reset Abbrev[bits] Description0xC01E rw 0 DIV A/D Modulato

Page 45 - 10 VS1003 Registers

VS1003LIST OF FIGURESList of Figures1 Measured ADC performance of the LINEIN pin. . . . . . . . . . . . . . . . . . . . 102 Measured ADC performance o

Page 46 - 10.5 Serial Data Registers

VS100310 VS1003 REGISTERS10.10 Watchdog v1.0 2002-08-26The watchdog consist of a watchdog counter and some logic. After reset, the watchdog isinactive

Page 47 - 10.7 GPIO Registers

VS100310 VS1003 REGISTERS10.11 UART v1.0 2002-04-23RS232 UART implements a serial interface using rs232 standard.StartbitD0D1 D2 D3D4D5D6 D7StopbitFig

Page 48 - 10.8 Interrupt Registers

VS100310 VS1003 REGISTERS10.11.3 Data UARTx_DATAA read from UARTx_DATA returns the received byte in bits 7:0, bits 15:8 are returned as ’0’. Ifthere i

Page 49 - 10.9 A/D Modulator Registers

VS100310 VS1003 REGISTERSExample UART Speeds, fm= 26MHzComm. Speed [bps] UART_DIV_D1 UART_DIV_D24800 85 639600 42 6314400 42 4219200 51 2628800 42 213

Page 50

VS100310 VS1003 REGISTERS10.12 Timers v1.0 2002-04-23There are two 32-bit timers that can be initialized and enabled independently of each other. Ifen

Page 51 - 10.11 UART v1.0 2002-04-23

VS100310 VS1003 REGISTERS10.12.3 Configuration TIMER_ENABLETIMER_ENABLE BitsName Bits DescriptionTIMER_EN_T1 1 Enable timer 1TIMER_EN_T0 0 Enable timer

Page 52

VS100310 VS1003 REGISTERS10.13 System Vector TagsThe System Vector Tags are tags that may be replaced by the user to take control over severaldecoder

Page 53

VS100310 VS1003 REGISTERSThe user may, at will, replace the instruction with a jmpi command to gain control over the ADModulator interrupt.10.13.5 TxI

Page 54 - 10.12 Timers v1.0 2002-04-23

VS100310 VS1003 REGISTERS10.13.9 UserCodec, 0x0Normally contains the following VS_DSP assembly code:jrnopIf the user wants to take control away from t

Page 55

VS100310 VS1003 REGISTERS10.14.3 DataBytes(), 0x6VS_DSP C prototype:u_int16 DataBytes(void);If the user has taken over the normal operation of the sys

Page 56 - 10.13 System Vector Tags

VS10033 DEFINITIONS1 LicensesMPEG Layer-3 audio decoding technology licensed from Fraunhofer IIS and Thomson.VS1003 contains WMA decoding technology f

Page 57

VS100311 LATEST DOCUMENT VERSION CHANGES11 Latest Document Version ChangesThis chapter describes the latest and most important changes to this documen

Page 58 - 10.14 System Vector Functions

VS100312 CONTACT INFORMATION12 Contact InformationVLSI Solution OyEntrance G, 2nd floorHermiankatu 8FI-33720 TampereFINLANDURL: http://www.vlsi.fi/Phone

Page 59

VS10034 CHARACTERISTICS & SPECIFICATIONS4 Characteristics & Specifications4.1 Absolute Maximum RatingsParameter Symbol Min Max UnitAnalog Posit

Page 60

VS10034 CHARACTERISTICS & SPECIFICATIONS4.3 Analog CharacteristicsUnless otherwise noted: AVDD=2.85V, CVDD=2.5V, IOVDD=-2.8V, TA=-25..+70◦C,XTALI=

Page 61 - 12 Contact Information

VS10034 CHARACTERISTICS & SPECIFICATIONS4.4 Power ConsumptionTested with an MPEG 1.0 Layer-3 128 kbit/s sample and generated sine. Output at full

Commentaires sur ces manuels

Pas de commentaire