Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ USB Vocoder Device Version 1.
USB-3000™ Vocoder Device User’s Manual Version 1.6a May, 2012 Copyright, 2010 Digital Voice Systems, Inc 234 Littleton Road Westford, MA 01886 (The most up to date version of the manual is always available at www.dvsinc.com) This document may not, in whole or in part be copied, photocopied, reproduced, translated, or reduced to any electronic medium or machine readable form without prior consent in writing from Digital Voice Systems, Incorporated.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a Information – Section The Speech Compression Specialists USB-3000™ END USER License Agreement *** Important Read Carefully *** 1. Preliminary Statements and Definitions 1.1 This nonexclusive end user product license agreement is a legal agreement between the customer (the END USER) and Digital Voice Systems, Inc.
6.1 END USER shall maintain and not remove any copyright or proprietary notice on or in the PRODUCT. 6.2 Reproduction of non-proprietary information found in DVSI Users Manuals or data sheets is permissible only if the END USER reproduces without alteration, and includes all copyright and other proprietary notices, all associated warranties, conditions and limitations on all copies, in any form. 7. Proprietary Information 7.1 The parties agree that the PRODUCT shall be considered Proprietary Information. 7.
Special Handling Instructions To avoid damage from the accumulation of a static charge, industry standard electrostatic discharge precautions and procedures must be employed during handling and installation the USB-3000™. Read Instructions and Users Manual – All of the safe handling and operating instructions should be read before integration of the USB-3000™ begins. Failure to exercise reasonable care and to follow all instructions and heed all warnings may result in injury to property or to individuals.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a Table of Contents The Speech Compression Specialists Table of Contents 1. INTRODUCTION ...................................................................................... 1 1.1. 1.2. 1.3. 1.4. 1.5. 1.6. 2. INSTALLATION ..................................................................................... 12 2.1. 2.2. 2.3. 2.4. 2.5. 2.6. 2.7. 2.8. 3. 3.4. 3.5. OVERVIEW .............................................................
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a Table of Contents The Speech Compression Specialists 5.1. 5.2. 5.3. 6. APPENDIX ........................................................................................... 51 6.1. 6.2. 6.3. 7. OVERVIEW .......................................................................................................................... 50 BOARD CONNECTION...............................................................................................
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Table of Contents FIGURE 17 VERIFICATION OF WINDOWS XP COMPATIBILITY ..........................................................17 FIGURE 18 INSTALLATION OF THE DRIVER SOFTWARE ...................................................................17 FIGURE 19 DRIVER INSTALLATION COMPLETE...............................................................................
Digital Voice Systems, Inc. The Speech Compression Specialists 1. USB-3000™ User’s Manual Version 1.6a Section 1 – Introduction Introduction 1.1. Overview The USB-3000™ contains Digital Voice Systems’ proprietary and patented Advanced Multi-Band Excitation AMBE® voice compression technology. The USB-3000™ provides the flexibility to operate at virtually any data rate from 2000 bps to 9600 bps.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a Section 1 – Introduction The Speech Compression Specialists 1.3. What’s Included with the USB-3000™ The USB-3000™ is a complete hardware package. The device comes with a CD that contains documentation and operation software. Documentation includes a USB-3000™ User's manual and an AMBE-3000™ Users Manual. The software on the CD is an executable program that can be run to encode or decode files.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 1 – Introduction addition to the APCO Project 25 rates, the USB-3000™ P25 also supports all of the 61 built in rates that are available on the standard version USB-3000™. The USB-3000™ P25 is identical to DVSI’s USB-3000™ except that it includes two additional custom rates which are not supported by the standard USB-3000™.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 1 – Introduction 3. Look under “Ports (COM & LPT)" for USB Serial Port (COMXX). Right click on this and select properties. 4. A new window will open, then select the Details tab. In the Details window select Hardware IDs under the Property pulldown menu.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a Section 1 – Introduction The Speech Compression Specialists For more detailed information regarding the FT_PROG.exe refer to the following document that can be found on FTDI’s website http://www.ftdichip.com/ Future Technology Devices International Ltd.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 1 – Introduction Figure 3 Scan for devices Step 5. Scan the USB bus for USB-3000™ devices, by clicking on the "Scan and Parse" magnifying glass button on the toolbar (see Figure 3 Scan for device). Alternatively, select “Scan and Parse” from the “Devices” menu.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 1 – Introduction Step 6. To change the Product ID from DVSI’s PID to the FTDI’s default PID select the USB Device Descriptor in the left window panel. Expand it by clicking on the “+” sign. Figure 4 Select USB device Then in the right side window panel click on the Custom VID/PID pull down menu and select FTDI Default.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 1 – Introduction Figure 6 Program default settings to device The “Program Devices” window [as below Figure 7 Review settings and proceed to program] will appear. From this interface, select the USB-3000™ device from the “Device List” on the left of the window.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 1 – Introduction USB-3000™ device after the EEPROM has been reprogrammed. This is useful because the device only reads the EEPROM when it is enumerated on USB, so it forces the device to use the new EEPROM contents. Figure 8 Cycle Port Visually check the right side panel in the window now indicates the USB-3000™ Product ID is 0x6001. See Figure 9 Verify device is programmed correctly.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 1 – Introduction Figure 9 Verify device is programmed correctly Step 9. Follow the instructions on the FTDI website for installing the latest version of the D2XX drivers (as required to run the application). http://www.ftdichip.com/Support/Knowledgebase/index.
Digital Voice Systems, Inc. The Speech Compression Specialists 1.6.1. USB-3000™ User’s Manual Version 1.6a Section 1 – Introduction Reverting back to DVSI factory settings To change the USB-3000™ back to the original settings as it was delivered from DVSI follow steps 1 through 5 as described herein. Then follow this Step 6. Revert Step 6: To change the Product ID from FTDI’s default PID to DVSI’s PID select the USB Device Descriptor in the left window panel. Expand it by clicking on the “+” sign.
Digital Voice Systems, Inc. The Speech Compression Specialists 2. USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Installation 2.1. PC Requirements The USB-3000™ has been tested and run on PCs running Microsoft Windows XP and Vista operating systems. The USB-3000™ uses the USB 2.0 connection for all communication, system setup, and file I/O. Figure 11 USB-3000™ Block Diagram 2.2. Installation Steps Installation of the USB-3000™ USB consists of the following steps: Step 1.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 12 USB-3000™ - CD Folder structure 2.4. USB-3000™ USB Driver Description The USB-3000™ incorporates a USB to serial UART Integrated Circuit Device manufactured by Future Technology Devices International Ltd. (FTDI) (P/N FT232R). DVSI has modified the generic FTDI drivers so that the USB-3000™ uses a virtual COM port on the PC to provide access to the USB-3000™.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 13 Found New Hardware Indication After the Found new hardware balloon is displayed, the Found New Hardware wizard screen will appear.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 15 Search location for drivers Windows displays the following screen.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 16 Wait for the wizard to search After Windows finds the driver, another screen is displayed. Windows now will locate the driver and try to verify its compatibility with Windows XP. The driver for the USB-3000 has been tested by DVSI to function with Windows XP. Click “Continue anyway”.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 19 Driver installation complete The first driver is now installed. Click Finish to begin installation of the Second driver (USB Serial Port). Figure 20 Found New hardware for the Serial port Use the same install procedure for the USB Serial Port as described above for the USB-3000 USB driver installation.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 21 Both USB-3000™ drivers installed To verify the drivers are installed and find out which COM port it was assigned use Windows’ Device Manager. To open Windows “Device Manager“ Click “Start”, click “Run”, and then type "devmgmt.msc" (without the quotation marks).
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 22 Windows Device Manager showing the USB-3000 USB on COM 15 Note: Write down the Com Port that is being used for the USB Driver, this value will be required to run the USB3000 USB control program. In Figure 22 the COM port is shown as COM15.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation NOTE: If the Device is shown with a yellow exclamation point then the USB driver is not completely installed. To fix this, uninstall the Device, disconnect the USB-3000™ from the PC’s USB port and then reconnect the USB-3000™ to the PC’s USB port and allow MS Windows to find new hardware. When prompted locate the driver to install, enter the following directory C:\USB3000\drivers.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Windows Vista now asks for the disk to be installed to get the software. At this point, either put the CD into the CD drive and click “Next” or Select “I don’t have a disk. Show me other options.” and click “Next” NOTE: The content of the USB-3000 ™ USB CD should have already been copied to the PC as described in section Copying the USB-3000™ Software disk to the PC.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Windows needs the path to where the driver software is located. In this example, it is located in one of the subdirectories of C:\usb3000\USB3K_Drivers. For Windows-32 bit OS use the Windows-32 directory (as shown in Figure 26 Search location for driver software), for Windows-64 bit OS use the Windows-64 directory.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 26 Search location for driver software The USB-3000™ uses drivers customized by DVSI. The drivers that are on the CD that came with the USB3000™ are considered safe, do not use drivers obtained from a third party.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 27 Driver software verification Vista begins driver installation.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation The driver for the USB-3000™ is now installed. Figure 29 Driver installation successful Windows Vista then finds more hardware (USB COM Port) and wants to install the driver for the USB Serial Port. Select “I don’t have the disk. Show me other options” then click “Next”.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 30 Found USB port Driver From this point, the installation procedure is similar to what was just explained above. To follow along refer back to Figure 25 Vista wants to copy driver from disk Windows Vista then finishes installing the driver for the COM port and displays the software for this device has been successfully installed.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 32 USB-3000™ drivers are installed After both drivers are installed, it is important to determine which COM port has been assigned to the device. To do this either make note of the COM Port in the displayed window for when windows Vista finishes installation of the USB-3000 USB driver or use Windows Device Manager.
USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Digital Voice Systems, Inc. The Speech Compression Specialists Switch Position 1 Switch Position 2 Switch Position 3 Switch Position 4 (Not Used) ON ON ON ON OFF ON ON OFF OFF ON ON OFF ON OFF ON OFF OFF OFF OFF OFF 28,800 57,600 115,200 230,400 460,800 Table 1 UART Baud Rates DVSI strongly recommends using the default COM Port Baud rate of 460,800 baud.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation Figure 34 USB-3000 Serial Port Properties Window Select Port Settings TAB Select Advanced Button The window shown in Figure 35 COM Port Advanced Settings appears Verify the setting in this window. Figure 35 COM Port Advanced Settings 2.8.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 2 – Installation addition, for the usb3kverify.bat file the test vectors (tv.zip file) must be unzipped to the /usb3000/tv directory. To set up the USB-3000™ run usb3ksetup.bat (see section bin folder contents) as follows: usb3ksetup.bat [no options] the response will be Enter COM Port: This is the port the USB-3000™ is using (to find what port it is on see section USB COM rate settings).
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation 3. Operation 3.1. Overview The USB-3000™ is setup, controlled and operated through the PC’s USB interface using the program executable named usb3kcom.exe. The usb3kcom.exe program is run from a Command Prompt window using command line instructions.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation using the user entered information. It also adds the \bin directory to the path on the PC. The command line syntax is as follows: usb3ksetup.bat [no options] the response will be Enter COM Port: This is the port the USB-3000™ is using to find what port it is on see section USB COM rate settings.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation The response for the USB-3000™ P25 and USB-3000™ P25-OEM versions will include the following as the last line printed to screen when this command line is used: C: \usb3000\bin>usb3kcom port COM16 460800 -version Product=,Version=
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation usb3kpacket.bat runs extensive packet mode tests. It processes all the test vectors included on the CD, for every rate (0-61). Each file is processed using linear PCM samples plus A-law and u-law companding. Each file is processed with DTX disabled and again with DTX enabled. The command line syntax is as follows: usb3kpacket.bat [no options] usb3kpacketsub.bat The usb3kpacketsub.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation USB-3000™ User’s Manual (USB_3000_Manual.pdf) AMBE-3000™ Vocoder Chip User’s Manual (AMBE-3000_Manual.pdf) 3.3.3. Software folder contents The Source folder contains all of the source code required to build the usb3kcom.exe executable file. Review of this code can be beneficial in writing customized programs the fit specific needs. Makefile a3kpacket.h cmode.h comport.cpp comport.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation .pcma -- (a-law format audio file 8 bit audio file sampled at 8kHz.) .pcmu -- (µ-law format audio file 8 bit audio file sampled at 8kHz.) Encoded Files Encoded Files are files that have been encoded using the USB-3000™. They are located in each of r subdirectories of the tv directory. Encoded files are indicated with a .
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation 3000™ Vocoder Chip and is a good reference to use as a starting point for more complex designs tailored to specific needs. The usb3kcom.exe program allows users to encode a PCM file and save it to the PC, or decode an encoded file and save it to the PC, or do both. The USB-3000™ is set-up, and controlled from a PC.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation Vocoder Options Format -r <”rate index#” or “custom rate words”> where the ”rate index#” sets the bit rate of the AMBE-3000™ encoder.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation -r39 is the rate index of the bit rate the file is to be encoded at 3600 bps. -enc encodes the PCM file and saves it to a file dvsi.pcm is the name of the PCM file to be encoded dvsi36tst.bit is the name of the file to be saved To validate that the file was encoded correctly simply compare the created file dvsi36tst.bit with the similar file dvsi36.bit included on the USB-3000™ CD.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a The Speech Compression Specialists Section 3- Operation dvsi36tst.pcm is the name of the file to be saved To validate that the file was decoded correctly simply compare the created file dvsi36tst.pcm with the similar file dvsi36.pcm included on the USB-3000™ CD. In the USB-3000™ directory use the following DOS command. C:\ Command Prompt - ’ X cmp dvsi36.pcm dvsi36tst.pcm Figure 40 Command line to check bit exact 3.5.3.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 3- Operation TerreStar 2450 bps rate To configure the USB-3000™ SAT and USB-3000™ SAT-OEM to run the 2450 bps TerreStar vocoder the usb3kcom.exe program command line must include either the Rate index control word 62 (see example Figure 43 Encode - File Rate Index command line example – TerreStar 2450 bps) C:\ Command Prompt - ’ X usb3kcom.exe –port COM4 460800 –r 62 -enc dvsi.pcm dvsi.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.
Digital Voice Systems, Inc. The Speech Compression Specialists USB-3000™ User’s Manual Version 1.6a Section 4 - Data and Configuration Packets 4. Packet Interface 4.1. Overview The USB-3000™ packet interface is ideal for situations where the usb3kcom.exe program is not feasible. The packets are used when communicating with the USB-3000™ to configure the AMBE-3000™ vocoder chip, poll vocoder status information, as well as, the ability to transfer speech data samples to the encoder or from the decoder.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a The Speech Compression Specialists Section 4 - Data and Configuration Packets 4.2. Packet Structure The USB-3000™ transmits / receives data packets via the USB to the onboard FTDI USB chip. Then through the FTDI chip’s UART Serial interface packets are sent/received to/from the AMBE-3000™ vocoder chip. The packet is the same structure as described in the AMBE-3000™ Vocoder chip Users Manual.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a The Speech Compression Specialists Section 4 - Data and Configuration Packets The USB-3000™ will respond with the following configuration / control packet (hexadecimal).
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a The Speech Compression Specialists Section 4 - Data and Configuration Packets 4.5. USB-3000™ P25 and USB-3000™ P25-OEM Packet Interface The packet interface used by the USB-3000™ P25 and USB-3000™ P25-OEM is the same as to the one used in the USB-3000™, except that the PKT_RATEP field is expanded to support two additional custom rates . To run the APCO Project 25 rates the following packet fields can be used.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.
USB-3000™ User’s Manual Version 1.6a Section 5 – Hardware Specifications Digital Voice Systems, Inc. The Speech Compression Specialists 5. Hardware Specifications 5.1. Overview This section contains hardware Specifications of the USB-3000™. NOTE: All specifications subject to change. 5.2. 5.3.
USB-3000™ User’s Manual Version 1.6a Section 6 –Appendix Digital Voice Systems, Inc. The Speech Compression Specialists 6. Appendix 6.1.
USB-3000™ User’s Manual Version 1.6a Section 6 –Appendix Digital Voice Systems, Inc.
USB-3000™ User’s Manual Version 1.6a Section 6 –Appendix Digital Voice Systems, Inc.
USB-3000™ User’s Manual Version 1.6a Section 6 –Appendix Digital Voice Systems, Inc.
USB-3000™ User’s Manual Version 1.6a Section 6 –Appendix Digital Voice Systems, Inc.
USB-3000™ User’s Manual Version 1.6a Section 6 –Appendix Digital Voice Systems, Inc. The Speech Compression Specialists 2. Hard-Decision Bit File Type. A hard-decision bit file contains compressed speech data output by the encoder. The bit file can be used as input to the decoder. The data is packed using 8 bits per byte. For hard-decision, each bit must be 0 or 1. If the 16 bits a, b, c, d, e f, g, h, i, j, k, l, m, n, o, p are the first 16 bits stored in a hard-decision bit file.
Digital Voice Systems, Inc. The Speech Compression Specialists 7. USB-3000™ User’s Manual Version 1.6a Section 7 – Support Support 7.1. DVSI Contact Information If you have questions about the USB-3000™ please contact: Digital Voice Systems, Inc. 234 Littleton Road Westford, MA 01886 USA Phone: (978) 392-0002 Fax: (978) 392-8866 email: info@dvsinc.com web: www.dvsinc.
USB-3000™ Digital Voice Systems, Inc. User’s Manual Version 1.6a Section 7 – Support The Speech Compression Specialists 7.2. Table of Revisions 39B History of Revisions Revision Number Date of Revision Description Page 1.0 Oct.2010 Initial Release 1.1 Nov. 2010 Revised Section 2.3 Copying the USB-3000™ Software disk to the PC 1.2 March 2011 Editied D-Star Control words Table 15 Custom Rate Control Words 1.3 March 2011 Added the availability of Windows-64 bit drivers. 1.