Back to the Utilities main page

AVR UC3 Series Software Framework: DSPLib - IMA/DVI ADPCM streaming tool for Windows.

Copyright © 2007 Atmel Corporation

Introduction

This tool permits to send IMA/DVI ADPCM data through the serial port of a computer. It takes in parameter the IMA/DVI ADPCM encoded wav file you want to transfer and if the file is valid, it will cut the file into blocks to send them trough the serial port. The serial port used for transferring the data is the COM1 and is configured as follow: 57600 bauds, 8 bits, no parity and 1 stop bit.

Usage

To use this tool you have two different ways. You can just drag the IMA/DVI ADPCM encoded wave file you want to transfer through the serial port or follow the following process. Open a command window, go to the sources directory (cd "dsplib path/UTILS/PROGRAMS/WINDOWS/ADPCM_STREAMING/") and launch the ADPCM_IMA_DVI.exe file with an argument corresponding to the file path of the ADPCM encoded file you want to send (ADPCM_IMA_DVI.exe toto.wav)

Once the transfer is running, the software will tell you about the processing advancement and some useful data about the original wav file.

You can abort the transfer when you want by pressing a key.

Compilation

Tool sources descriptions:

  • Directory: [ DSPLIB ]/UTILS/PROGRAMS/WINDOWS/ADPCM_STREAMING/
  • Language: C
  • Disclaimer: This tool has been tested on Windows XP Professional.
  • First of all, to compile this software you need to download a free compiler called Dev-C++, available here.

    Then double click on the ADPCM_IMA_DVI.dev file and Dev-C++ will open. To compile the software, go to Execute>Compile and it will create an executable called ADPCM_IMA_DVI.exe that you can launch following the section "Usage" .
    If you want to change the parameters of the serial port, you just have to modify the constants RS232_PORT, RS232_BAUD_RATE, RS232_BYTE_SIZE, RS232_PARITY and RS232_STOP_BIT defined at the beginning of the "main.c" file.

     


    AVR is a registered trademark of Atmel Corporation.