close

Вход

Забыли?

вход по аккаунту

?

How To Install Your New DSP Board Welcome to - savtech.se

код для вставки
Start Here
How To Install Your New DSP Board
Welcome to Hitech’s world of signal processing!
To get started :
1. Install your Blue Waves LS-PC/C32 board as described on the next few pages.
2. On Windows 95/98 systems, reserve the necessary “hardware resources” in the
Device Manager, as described below.
3. On Windows NT/2000 systems, determine available hardware resources in the
Diagnostics tool, as described below.
4. Install the DSPgateв„ў driver from the DSPgate disk.
5. Install your application software, such as AladdinTM or SwellTM from the other
disk.
6. Test that they work together.
ABOUT THIS BOOKLET
This booklet is specific to the LS-PC/C32 board, and is independent of whatever DSP
application software you have bought. The booklet serves three purposes.
1. It helps you install your board. This is the one section that you must read.
2. It describes in general terms the particular hardware on the LS-PC/32. You can
refer to this section to learn more about the board and what to expect in terms of
performance.
3. It describes in detail how the DSPgate TM driver exploits the hardware on the
board. You will need to refer to this section only if you are coding your own DSP
applications using DSPgate.
2
LS-PC/C32
Start Here
INSTALLING THE BOARD
Setting the I/O port base address
To work properly, the LS-PC/32-board must be configured correctly. The parameters are
software selectable, except for the I/O port base address.
This control interface consists of five 16 bit registers in the PC I/O map. The board is
supplied with a default base address (IOBase) of 290h for this register set. This base address
should be acceptable. If, however, this address causes the LS-PC/C32 to conflict with other
boards mapped into your PC’s I/O map, this setting can be easily altered using two on-board
rotary switches. Note! If two daughter modules are installed on your board, the switches are
hidden under one of the modules. The setting of these switches, SW1 and SW2, is illustrated
as follows:
0
E
0
2
C
E
4
A
6
8
SW1
2
C
4
A
6
8
SW2
Rotary switches set to default IO base address of 290h
Boards with two daughter modules
If you have two daughter modules on your board, they might need to be electrically synchronized. At
the top of the board, right next to the endplate, there are four pairs of jumper posts, labelled LK1. For
those daughter modules indicated as compatible for synchronous operation in the table below, an
electrical jumper must be installed on each pair in order to synchronise the two daughter modules.
Hitech Development AB
Part No LI-000013
Hitech Development AB
3
Daughter Module
Master
AM/D16QS
AM/D16QS
AM/D16QS
AM/D16QS
AM/D16QS
AM/D16QS
AM/D16DS
AM/D16DS
AM/D16DS
AM/D16DS
AM/D16DS
AM/D16DS
DM/D24AES
DM/D24AES
DM/D24AES
DM/D24AES
DM/D24AES
DM/D24AES
AM/D16SA
AM/D16SA
AM/D16SA
AM/D16SA
AM/D16SA
AM/D16SA
AM/D12SF
AM/D12SF
AM/D12SF
AM/D12SF
AM/D12SF
AM/D12SF
AM/T1E1
AM/T1E1
AM/T1E1
AM/T1E1
AM/T1E1
AM/T1E1
Slave
AM/D16QS
AM/D16DS
AM/D24AES
AM/D16SA
AM/D12SF
AM/T1E1
AM/D16QS
AM/D16DS
AM/D24AES
AM/D16SA
AM/D12SF
AM/T1E1
AM/D16QS
AM/D16DS
AM/D24AES
AM/D16SA
AM/D12SF
AM/T1E1
AM/D16QS
AM/D16DS
AM/D24AES
AM/D16SA
AM/D12SF
AM/T1E1
AM/D16QS
AM/D16DS
AM/D24AES
AM/D16SA
AM/D12SF
AM/T1E1
AM/D16QS
AM/D16DS
AM/D24AES
AM/D16SA
AM/D12SF
AM/T1E1
Compatible for Synchronous
Operation?
YES
NO
YES
NO
YES
NO
NO
YES
NO
NO
YES
NO
NO
Inserting the board
1. Turn off your PC, unplug the power cord, and open the case.
2. Even small discharges of static electricity can damage your board or other boards in your
PC. Make sure that you touch the metal frame inside your PC before handling the board.
Touch the board only at its edges.
3. Mount the board in a vacant ISA slot. The board gets rather hot in operation, so it is
desirable to mount it where the cooling fan has best effect.
4. Close the PC case and plug in the power cord again.
Hitech Development AB
Part No LI-000013
4
LS-PC/C32
Start Here
5. Plug the 4-way audio cable into the top endplate connector on the DSP, and connect your
external equipment to the BNC connectors. The “In” (or A,B) and “Out” (or C,D) labels
on the cable mean that the signals travel into and out of the computer, respectively.
Hitech Development AB
Part No LI-000013
Hitech Development AB
5
CONFIGURING THE HARDWARE SETTINGS
When you run the Hitech Development Setup program for DSPgate, you will be asked to
select the hardware settings. You will need to specify a vacant IRQ, I/O port range and
memory range. The procedures for choosing these settings are slightly different on Windows
95/98 and Windows NT/2000.
In Windows 95/98, there is a Device Manager that can show you which resources are
available (not used). Because our DSPgate driver is not Plug-and-Play compliant, however, it
cannot negotiate with the Device Manager for resources. You will need to reserve the chosen
hardware resources by hand. This should be done before running the Setup program for
DSPgate.
In Windows NT/2000, you will need to examine the resources available for the DSP board.
This should be done before running the Setup program for DSPgate. Log in as Administrator,
Select Programs | Administrative Tools | Windows NT Diagnostics in the Start menu.
Click the “Resources” tab to display the different resources used.
On some Windows NT/2000 computers, you will need to run the PC-BIOS to change the interrupt
assignment. Usually, the interrupts are either assigned to the PCI bus or automatically detected. However,
with Blue Wave LS- PC/C32 DSP board, you must tell the BIOS to assign the interrupt line to the ISA
bus.
To do so, refer to your BIOS documentation, or see the BIOS advanced options.
To open the BIOS menu, switch on your computer and press the “Delete” or “F1” button when prompted.
Interrupt level (IRQ)
The board can use an IRQ of 3, 5, 10, 11 or 15. Of these, 10 and 11 are the least likely to
conflict with other devices in your PC.
Port address (I/O)
The board is shipped with the switches set for a port address of 290 (hex). Other values that
usually work are 280 and 390.
Memory range
The board needs 4 kilobytes of shared address space. The suggested starting address is
0EF000 (hex). If this is occupied, try 0D0000 as a second choice.
DEVICE MANAGER SETTINGS (WINDOWS 95/98 ONLY)
Choose: My Computer (right-click) – Properties – Device Manager – Computer – Reserve
Resources.
1.
2.
3.
4.
Reserve one IRQ number.
Reserve 16 I/O port locations, e.g., 0290-029F (hex).
Reserve 1000 (hex) bytes, e.g. 0EF000-0EFFFF. (hex bytes)
Restart your computer.
Hitech Development AB
Part No LI-000013
6
LS-PC/C32
Start Here
INSTALLING DSPGATEп›› SOFTWARE
Now is the time to install the DSPgateв„ў driver software. Insert the Hitech Product CD in the
CD-ROM drive, or if you have downloaded the program from our web site run “setup.exe”.
Follow the instructions that are shown on the screen.
To test the installation, you must also install an application that uses the driver, such as
Aladdin Interactive DSP or the Soundswell Signal Workstation. Run the application’s Install
or Setup program and follow its instructions.
Using the DM/D24AES digital audio interface module on the PC/C32
If you plan to use this module with the balanced input (XLR connector) rather than the
unbalanced input (RCA connector), then an extra setting is needed in WIN.INI, see below.
The Setup program does not ask for this setting.
Technical Description
of the LS-PC/C32 implementation of DSPgateв„ў
HARDWARE DESCRIPTION
The Blue Waves LS-PC/C32 board is a real-time applications platform based around the
TMS320C32 32-bit floating-point Digital Signal Processor (DSP) from Texas Instruments.
For a full technical description of the board, you can order the Blue Waves documentation
from Hitech Development AB. What follows here is an overview.
There are several on-board memory options. The two contiguous memory banks, Bank 0 and
Bank 1, hold fast SRAM (Static RAM).
The LS-PC/C32 has several methods of application signal input/output:
• Using up to two I/O daughter modules (supported by DSPgate).
• Expanding I/O capability with a range of peripheral boards interfaced via the DSPLINK2
parallel expansion connector.
• Using the TMS320C32 serial port which is brought out to a header on the board.
TMS320C32 PROCESSOR
The TMS320C32 is a low cost variant of the industry standard Texas InstrumentsВґ floatingpoint TMS320C30 and is code compatible with it. The TMS320C32 has a core architecture
well suited to real-time operations integrated with a 32 bit timer, a DMA controller and a
serial port. It has a 32 bit data bus and a 24 bit address bus.
Hitech Development AB
Part No LI-000013
DSPgate Technical Description
LS-PC/C32
7
The LS-PC/C32 is available with either a 50 MHz or 60 MHz C32 processor. Operating
from a 50 MHz clock, a performance of 25 million instructions per second (MIPS) is
achieved, and a peak floating-point performance of 50 million floating-point operations per
second (MFLOPS) can be attained. With a 50 MHz clock a performance of 25.0 MIPS is
achieved. and a peak floating-point performance of 50 MFLOPS can be attained.
MEMORY ORGANISATION
On-board memory consists of two contiguous banks, Bank 0 (holds 32K or 128K) and Bank
1 (holds 0K or 128K), and a 1K block of Dual-port RAM (DRAM). DPRAM allows fast
information exchange between the PC and DSP with little disruption of the processing of
either device.
PC INTERFACE
The I/O interface is essentially a control interface providing access to various facilities, such
as resets and interrupts. The LS-PC/C32 board uses the full 16 bit interface as provided by
the ISA bus in PC's. Communication betweeen the PC and board takes place over two
autonomous interfaces:
Memory-Mapped Interface that consists of a dual-port RAM and allows both
simultaneous accesses and semaphore logic.
I/O Mapped Interface which essentially is a control interface that provides access to
various board facilities, such as resets and interrupts, through software programmable control
registers.
EXPANSIONS
Serial
The TMS320C32 DSP has one bidirectional serial port that can be configured to transfer 8,
16, 24, or 32 bits of data per word simultaneously in both directions. This port is brought out
to a 20-way header on the board.
Parallel (DSPLINK2)
DSPLINK stands for digital system expansion interface. DSPLINK2 consists of a high speed,
bidirectional bus that allows input/output directly to/from the DSP, without using the I/O
bus on the PC.
DSP INTERRUPTS
There are four maskable interrupt lines (INTO, 1, 2, and 3) to the TMS320C32 DSP . These
are driven by AMELIA A and B (the control interfaces to daughter module sites A and B),
DSPLINK2 and the PC respectively. The board can interrupt the PC on one of five maskable
interrupt request lines (IRQ 3, 5, 10, 11 and 15).
Hitech Development AB
Part No LI-000013
8
Hitech Development AB
DAUGHTER MODULE INTERFACE
Daughter Modules are small plug-in cards which allow a Blue Wave DSP board to be
configured for a particular I/O requirement while still adhering to single height constraints in
the host environment. The LS-PC/C32 has two DM Sites, site A and site B. When both sites
are occupied by compatible DMs, the two DMs can operate synchronously if required.
DSPgate currently suppports five different DMВґs, of which three models are analog
(AM/D16DS, AM/D16SA, AM/D16QS) and two are digital (DM/D24AES, AM/T1E1).
AM/D16DS
The AM/D16DS is analog and the converter type is delta-sigma oversampling, manufactured
by Crystal Semiconductors. The maximum samling rate per channel is 48 kHz and lower
sampling rates can be divided from 48 and 44.1 kHz, down to about 5 kHz. There is a
conversion delay of about 30 samples that is due to the integral anti-aliasing filters. The
polarity of the signal is inverted on both input and output.
Harmonic distortion
A pure sine wave signal was synthesized to a 16-bit sample file. The file was processed by
the Aladdin model shown here: file read, D/A output, A/D input, file write. The spectrum of
the signal in the output file was computed using Swell and Sect and is shown below for a
signal of about 1 kHz. The board was mounted inside a 90 MHz Pentium computer.
The peak amplitude is about 6 dB down due to the Hanning window applied for the FFT. As
can be seen, the harmonic distortion over 16-bit integer D/A and A/D is lower than 78 dB
below full signal. The LSI documentation illustrates better than -100 dB for A/D only.
Hitech Development AB
Part No LI-000013
DSPgate Technical Description
LS-PC/C32
9
AM/D16QS
The AM/D16QS provides a quad-channel 16 bit Analog to Digital Converter (ADC).
AM/D16QS provides a complete delta-sigma ADC solution designed on a compact,
lowprofile four layer PCB. The module is aimed at users who require high performance to a
maximum sample rate of 48kHz. There is a conversion delay of about 30 samples that is due
to the integral anti-aliasing filters. The polarity of the signal is inverted on both input and
output.
AM/D16SA
The AM/D16SA is analog and the converter type is successive approximation, manufactured
by Burr-Brown. The hardware’s maximum sampling rate per channel is 200 kHz. There are
analog anti-aliasing filters whose frequency is fixed by the selection of removable resistor
networks. There is a minimal conversion delay. The polarity of the signal is inverted on both
input and output.
DM/D24AES
The DM/D24AES is digital and the converter type is BBC ASIC. The only available
sampling rates are 32, 44.1, and 48 kHz per channel. The inputs and outputs are available
both as balanced (professional AES/EBU) and unbalanced (consumer SP/DIF).
AM/T1E1
The AM/T1E1 module provides an interface between the DSP boards and standard T1 and
E1 telecommunications signals. This allows data to be read/written from/to equipment
which provides a standard T1 and/or E1 interface. The module is aimed at users who require
a development system for T1/E1 data communications.
PHYSICAL
LS-PC/C32 is a full height, two thirds length PC AT board. It occupies one bit PC slot,
adhering to single slot width requirements, and (when occupied with a Burr-Brown daughter
module) draws the following current from the PC supply rails:
+5V 2.50 A
В±12V 80mA
Hitech Development AB
Part No LI-000013
10
Hitech Development AB
DSPGATEв„ў SOFTWARE IMPLEMENTATION
This section describes to what extent the various analog daughter modules are supported. For
programmers using the DSPgate interface, it also details how our DSPgate driver software
exploits the hardware on the board.
DSP GUEST HARDWARE USAGE
Figure 1 illustrates how DSPgate exploits the hardware on the board
Host computer
640kb 1Mb
CPU
Memory
interrupt
i/o
DSP guest
i/o
control
Dual port
memory
DMA
controller
interrupt
data
DSP
memory
DSP
TMS 320C32
Daughter
module
A/D
D/A
A/D
D/A
Fig 1
DSP Memory
DSPgate autodetects the amount of memory installed on the board. However, only the
configurations mentioned in the Blue Waves Technical Reference are tested. It is acceptable
to have only 32K in bank 0 and more in bank 1. The amount found can be determined using
the message DM_GATEESCAPE:GE_MEMINSTALLED, with an lParam value of zero; or,
it can be overridden with a non-zero lParam specifying the number of contiguous memory
Hitech Development AB
Part No LI-000013
DSPgate Technical Description
LS-PC/C32
11
words actually installed. This would only be necessary if there are faulty memory chips on the
board.
Memory Banks
Name
base
addr
BANK 0 8000
min.
size
32K
with
add-ons
128K
BANK 1
DPRAM
RAM0
RAM1
0K
1K
256
256
128K
1K
256
256
80000
C00000
87FE00
87FF00
used by
DSPgate
1K(ATW:
1.5K)
0
1K
0
0
wait states
0
0
2 or more
0
0
DSPgate requires only the minimum memory configuration.
DSPgate reserves the entire DPRAM for its own use.
Expansion
Devices connected across LSI’s DSPLINK. Please inquire with Hitech Development AB for
support for DSPLINK2 and DSPLINK buses.
Interrupts
The PC-to-DSP interrupt is used for controlling the DSP's DMA controller
Analog I/O
Support for Daughter Modules (DM’s):
The on-board DSPgate library supports the following DM’s from LSI, described above:
1.
2.
3.
4.
AM/D16SA
AM/D16DS
DM/D24AES
AM/D16QS
(Burr-Brown, 2 channels A/D-D/A)
(Crystal Semiconductor, 2 channels A/D-D/A)
(BBC AES/EBU digital audio interface)
(Crystal Semiconductor, 4 channels A/D)
The following module is supported only with the L32T DSPgate driver.
5. DM/T1E1
(Siemens FALC54, 1 Input, 1 output)
Important: The Burr-Brown and Crystal modules both invert the polarity of the analog signal,
both on input and on output. You may therefore need to negate the signal in software. In
Aladdin, this can be done with a UNOP: NEGATE block.
Hitech Development AB
Part No LI-000013
12
Hitech Development AB
The following restrictions apply in version 2.10 :
•
•
•
•
DSPgate supports one or two modules on one board. Access to modules on other
boards is not supported in this version. Inquire with Hitech Development AB if you
need support for devices on the DSPLINK extension bus.
External clocking of sample rates is not supported.
When two DM’s are installed, one will be used as Master, and the other as Slave. On
some modules this requires certain jumper settings for synchronizing the two DM’s.
This is a change from DSPgate releases prior to 2.00.
When the DM/D24AES (DAT interface) module is used, it must be installed as a
Master in site A. If a second module is used also, it must be connected as a Slave
(install LK4 a-d and some external wiring). If the PLL loses lock, DSPgate will send a
DM_ERROR message to the on-board application’s MessageProc.
PC HOST HARDWARE USAGE
PC Memory
The PC/C32 board requires an 4 Kbyte window in the PC's address space, for dual-ported
RAM. The PC address of this window is software-selectable. DSPgate reads a registry key to
find out the chosen address.
Memory API Restrictions
WriteDSPWord
DPRAM only, at any time
ReadDSPWord
DPRAM only, at any time
WriteDSPBlock
any DSP address, even on-chip,
but the DSP must be running
ReadDSPBlock
any DSP address, even on-chip,
but the DSP must be running
There are no address restrictions on the functions WriteDSPBlock and ReadDSPBlock.
DSPgate uses the DPRAM, the PC-to-DSP interrupt (INT3), and the ’C32 DMA controller
to implement transparent reads and writes of blocks up to 64K bytes in size, at any DSP
memory address, while the DSP is running. The PC accesses one half of DPRAM while the
on-board DMA accesses the other half. The functions will return FALSE if there is a DMA
timeout or other error. This may occur if INT3 on the DSP is heavily preempted by a higher
priority interrupt; as, for example, if a sample interrupt INT0 has a very long interrupt service
routine at a low sampling rate.
The hardware semaphore at 820000h is used only by the LSI boot loader in EPROM.
Port I/O Interface
The board has 16 registers and occupies 10h (hexadecimal) of the PC I/O address space
(default 290h-29Fh). The I/O address is set by rotating the switches on the DSP board.
DSPgate reads a registry key to find out the chosen address.
Interrupts
The DSP-to-PC interrupt is used for posting messages to the PC.
DSPgate reads a registry key to find out the chosen interrupt number.
Hitech Development AB
Part No LI-000013
DSPgate Technical Description
LS-PC/C32
13
USE OF THE DM_GATEESCAPE MESSAGE
The DM_GATEESCAPE message is used by DSPgate to inform the board side of the driver
of the current hardware configuration, and by applications to control the driver’s resources
directly. There are a number of generic DM_GATEESCAPE messages, which are
documented in WinHelp files that are available from Hitech Development AB. In addition,
there are a few board-specific messages for each board.
For the LS-PC/C32, the following board-specific messages are defined. Normally these are
used only by the driver.
Message Name
GE_DM_A_TYPE
GE_DM_B_TYPE
GE_POKEAMELIA
wParam lParam
0x103 DM type in site A.
0=none, 1=AM/D16SA, 2=AM/D16DS,
3=DM/D24AES, 4= AM/D16QS,
5=DM/T1E1
0x104 DM type in site B, 0...5 as above
0x105 Write direct to Amelia register. Bits 0-3 are the
register number, bit 4 is the Amelia number (0
or 1), bits 16-31 are the data.
GE_SETDIGITALIN
0x106
Choose AES/EBU input if lParam=1, else
SP/DIF input
The T1E1 daughter module supports other DM_GATEESCAPE messages described in
"E1T1 DM_GATEESCAPE specific messages" documentation.
Hitech Development AB
Part No LI-000013
Документ
Категория
Без категории
Просмотров
22
Размер файла
46 Кб
Теги
1/--страниц
Пожаловаться на содержимое документа