Sampling Rates Proportionally Reducing to
3·125MHz
● 16-bit Data and 32-bit Accumulators
● Can be configured as One Long Filter or Two
Half-Length Filters
● Decimate-by-two Option will Double the Filter
Length
● Coefficients supplied from Host System or local
EPROM
Applications
● High Performance Digital Filters
Description
The PDSP16256 contains sixteen multiplier accumulators, which can be multi cycled to provide
from 16 to 128 stages of digital filtering. Input data
and coefficients are both represented by 16-bit
two’s complement numbers with coefficients
converted internally to 12 bits and the results being
accumulated up to 32 bits.
In 16-tap mode the device samples data at the
system clock rate of up to 25MHz. If a lower sample
rate is acceptable then the number of stages can be
increased in powers of two up to a maximum of 128.
Each time the number of stages is doubled, the
sample clock rate must be halved with respect to the
system clock. With 128 stages the sample clock is
therefore one eighth of the system clock.
In all speed modes devices can be cascaded to
provide filters of any length, only limited by the
possibility of accumulator overflow. The 32-bit
results are passed between cascaded devices
without any intermediate scaling and subsequent
loss of precision.
The device can be configured as either one long
filter or two separate filters with half the number of
taps in each. Both networks can have independent
inputs and outputs.
Both single and cascaded devices can be operated
in decimate-by-two mode. The output rate is then
half the input rate, but twice the number of stages
are possible at a given sample rate. A single device
with a 20MHz clock would then, for example,
provide a 128-stage low pass filter, with a 5MHz
input rate and 2·5MHz output rate.
Coefficients are stored internally and can be down
loaded from a host system or an EPROM. The latter
requires no additional support, and is used in stand
alone applications. A full set of coefficients is then
automatically loaded at power on, or at the request
of the system. A single EPROM can be used to
provide coefficients for up to 16 devices.
PDSP16256
CHANGE
COEFF
POWER-ON
RESET
RES
PDSP
16256
EPROM
GNDSCLK
OUTPUT
DATA
INPUT
DATA
EPROM
ADDR DATA
Figure. 1 A dual filter application
ANALOG
INPUT
EPROM
ADDR DATA
COEFFICIENTS
CHANGE
COEFF
POWER-ON
RESET
RES
PDSP
16256
ADC
CLKOP
EPROM
GNDSCLK
OUTPUT
Figure. 2 Typical system application
DATA
2
PDSP16256
Signal
Description
DA15:016-bit data input bus to Network A.
DB15:0Delayed data output bus in the single filter mode. Connected to the data input bus of the next device in a
cascaded chain. Input to Network B in the dual filter modes.
X31:0Expansion input bus in the single filter mode. Connected to the previous filter output in a cascaded chain.
The inputs are not used on a single device system or on the Termination device in a cascaded chain. The
X bus provides the output from Network B in both dual modes.
F31:0In single filter mode this bus holds the main device output. In dual mode it holds the output from Network A.
FENFilter enable. The first high present on an SCLK rising edge defines the first data sample. The control register
and coefficient memory must be configured befor FEN is enabled.The signal must stay active whilst valid
data is being received and must be low if FRUN is high.
DFENDelayed filter enable. This output is connected to the Filter Enable input of the next device in a cascaded
chain when moving towards the termination device and with multiple stand-alone EPROM-loaded
configurations. It is used to coordinate the control logic within each device.
SWAPSelects either the upper or lower set of coefficients for Bank Swap. A low selects the lower bank, a high the
upper bank.
FRUNIn EPROM load mode, when high this signal allows continuous filter operations to occur without the need for
the initial FEN edge. If the device is not a single, interface or master device then this pin must be tied low.
DCLR
A low on this signal on the SCLK rising edge will clear all the internal accumulators.
low for a single cycle, signal BUSY will indicate when the internal clearing is complete. After a clear the
need only remain
DCLR
device must be re-synchronised to the data stream using FEN. It is recommended that FEN is taken low
at the same time as clear. FEN may then be taken high to synchronise the data stream once BUSY has
returned low.
C15:016-bit coefficient input bus. In the Byte mode of operation, C15:8 have alternative uses as explained in the
text.
A7:0Coefficient address bus. In the EPROM mode A7:0 are address outputs for an EPROM. In the remote host
mode they are inputs from the host. A7 is not used when coefficients are loaded as 16-bit words.
CCSThis pin is similar in operation to A7:0 and provides a higher order address bit. When low the coefficients
WEN
CS
BYTE
EPROM
are loaded, when high the control register is loaded.
In the remote mode this pin is an input which when low enables the load operation. In the EPROM mode
it is an output which provides the write enable for other slave devices.
This pin is always an input and must also be low for the internal write operation to occur.
When this pin is tied low, coefficients are loaded as two 8-bit bytes. When the pin is high they are loaded
as 16-bit words. In the EPROM mode this pin is ignored.
When this pin is tied low coefficients are loaded as bytes from an external EPROM. The device outputs an
address on A7:0. When the pin is high coefficients must be loaded from a remote master. They can then
be transferred individually rather than as a complete set.
SCLKThe main system clock; all operations are synchronous with this clock. The clock rate must be either 1, 2,
4, or 8 times the required data sampling rate. The factor used depends on the required filter length.
CLKOPThis output, when used to enable SCLK, can provide a data sampling clock. It has the effect of dividing the
OEN
SCLK rate by 1, 2, 4 or 8 depending on the filter mode selected.
Tri-state enable for the F bus. When high the outputs will be high impedance.
device and does not therefore take effect until the first SCLK rising edge
OEN
is registered onto the
BUSYA high on this signal indicates that the device is completing internal operations and is not yet able to accept
RES
new data. The signal is used during automatic EPROM loading, reset and accumulator clearing.
When this pin is low the control logic and accumulators are reset. In the EPROM mode it will initiate a load
sequence when it goes high.
NOTES
1. Unused buses (e.g. X31:0 when the device is configured in single or termination mode) can be set to any value. They should however be
maintained at a valid logic level to avoid an increase in power consumption.
2. To ensure correct input voltage thresholds are maintained all the VDD and GND pins must be connected to adequate power and ground planes.
T able 2 Pin connections for AC144 and GC172 packages
5
PDSP16256
DA15:0F31:0OEN
SCLKFRUN
SWAP
A7:0
C15:0
CCS
WEN
CS
BYTE
EPROM
FEN
DFEN
DCLR
RES
COEFFICIENT
STORAGE
AND
CONTROL
CLKOPBUSY
Figure. 4 Block Diagram
Operational Overview
The PDSP16256 is an application specific FIR filter for
use in high performance digital signal processing
systems. Sampling rates can be up to 25MHz. The
device provides the filter function without any software
development, and the options are simply selected by
loading a control register. The device can be user
configured as either a single filter, or as two separate
filters. The latter can provide two independent filters for
the in-phase and quadrature channels after IQ splitting,
or can provide two filters in cascade for greater stop
band rejection.
The device operates from a system clock, with rates up
to 25MHz. This clock must be 1, 2, 4, or 8 times the
required sampling frequency, with the higher
multiplication rates producing longer filter networks at
the expense of lower sampling rates. Devices can be
connected in cascade to produce longer filter lengths.
This can be accomplished without the need for any
additional external data delays, and all the single device
options remain available.
Continuous inputs are accepted, and continuous results
produced after the internal pipeline delay. Connection
can be made directly to an A-D converter. The filter
operation can be synchronised to a Filter Enable signal
(FEN) whose positive going edge marks the first data
sample. The internal multiplier accumulator array can be
cleared with a dedicated input. This is necessary if
erroneous results obtained during the normal data ‘flush
6
NETWORK
A
DUAL
MUX
NETWORK
B
SINGLE
MODE
DB15:0X31:0
MODE
through’ are not permissible in the system.
Coefficients can be loaded from a host system using a
conventional peripheral interface and separate data
bus. Alternatively, they can be loaded as a complete set
from a byte wide EPROM. The device produces
addresses for the EPROM and a BUSY output indicates
that the transfer is occurring. Up to sixteen devices can
have their coefficients supplied from a single EPROM.
These devices need not necessarily be part of the same
filter network.
Each of the filter networks shown in Fig. 4 contains eight
systolic multiplier accumulator stages; an example with
four stages is shown in Fig. 5. Input data flows through
the delay lines and is presented for multiplication with the
required coefficient. This is added to either the last result
from this accumulator or the result from the previous
accumulator. The filter results progress along the adders
at the data sample rate. If the sample rate equals SCLK
divided by four, for example, then the accumulated result
is passed onto the next stage every fourth cycle. The
structure described is highly efficient when used to
calculate filtered results from continuous input data.
A comprehensive digital filter design program is
available for PC compatible machines. This will optimise
the filter coefficients for the filter type required and
number of taps available at the selected sample rate
within the PDSP16256 device. An EPROM file can be
automatically generated in Motorola S-record format.
PDSP16256
DATA
OUT
ACCUMULATE
EXPANSION
IN
DATA
DELAY LINE
COEFF
ADDER
2
1
Z
RAM
DATA
DELAY LINE
COEFF
ADDER
2
1
Z
RAM
Figure. 5 Filter network diagram
Single Filter Options
When operating as a single filter the device accepts data
on the 16-bit DA bus at the selected sample rate, see
Figs. 5 and 6. Results are presented on the 32-bit F bus,
which may be tristated using the
registered onto the device and does not therefore take
effect until the first SCLK rising edge. Devices may be
cascaded this allows filters with more taps than available
from a single device. To accomplish this two further
buses are utilised. The DB bus presents the input data to
the next device in cascade after the appropriate delay,
while, partial results are accepted on the X bus.
input. Signal
OEN
OEN
DATA
DELAY LINE
COEFF
ADDER
2
1
Z
RAM
DATA
DELAY LINE
COEFF
ADDER
2
1
Z
RAM
the higher frequency components present in the input.
The Nyquist criterion, specifying that the sampling rate
must be at least double the highest frequency component, can still then be satisfied even though the sampling
rate has been halved.
is
The system clock latency for a single device is shown in
Table 3. This is defined as the delay from a particular data
sample being available on the input pins to the first result
including that input appearing on the output pins. It does
not include the delay needed to gather N samples, for an
N tap filter, before a mathematically correct result is
obtained.
DATA
IN
RESULT
OUT
Single filter mode is selected by setting control register bit
15 to a one. The required filter length is then selected
using control register bits 14 and 13 as summarised in
Table 3. The options define the number of times each
multiplier accumulator is used per sample clock period.
This can be once, twice, four times, or eight times.
In addition a normal/decimate bit (CR12) allows the filter
length to be doubled at any sample rate. This is possible
when the filter coefficients are selected to produce a low
pass filter, since the filtered output would then not contain
Table 3 Single Filter optionsFigure. 6 Single Filter bus utilisation
DA15:0F31:0OEN
NETWORK
A
DUAL
MUX
NETWORK
B
SINGLE
MODE
DB15:0X31:0
MODE
7
PDSP16256
SPEED MODE 0 (Data input and output at f
SCLK
FEN
DA15:0
F31:0
CLKOP
123
ABC
) CR14:13 = 00, CR12 = 0. CLKOP held high.
SCLK
161718
First data point (A)
is read on edge 1
SPEED MODE 1 (Data input and output at half f
SCLK
FEN
DA15:0
F31:0
CLKOP
123
AB
SCLK
161718
First data point (A)
is read on edge 1
SPEED MODE 2 (Data input and output at a quarter f
SCLK
FEN
DA15:0
123
AB
4523 24
A′B′C′
First valid result
including data point (A)
available after edge 16
) CR14:13 = 01, CR12 = 0
A′B′
First valid result
including data point (A)
available after edge 16
) CR14:13 = 10, CR12 = 0
SCLK
2021 22
313233
A′′B′′C′′
3435
D′′E′′
Valid result contains
the first 16 data points
available after edge 31
787980
A′′B′′C′′
8182
Valid result contains
the first 32 data points
available after edge 78
272 273
274 275 276
F31:0
CLKOP
First data point (A)
is read on edge 1
SPEED MODE 3 (Data input and output at an eighth f
SCLK
FEN
DA15:0
F31:0
CLKOP
SPEED MODE 1 Decimating (Data input at half f
SCLK
FEN
DA15:0
F31:0
123
A
45
First data point (A)
is read on edge 1
123
AB
6789
B
SCLK
181920
A′B′
First valid result
including data point (A)
available after edge 20
) CR14:13 = 11, CR12 = 0
SCLK
2425 26
A′B′
27 28
29 3031 32
First valid result
including data point (A)
available after edge 24
and output at a quarter f
2122
B′
SCLK
A′′B′′
Valid result contains
the first 64 data points
available after edge 272
1040
1041 1042 1043
A′′
Valid result contains
the first 128 data points
available after edge 1040
) CR14:13 = 01, CR12 = 1.
142143144
B′′
145
CLKOP
First data point (A)
is read on edge 1
First valid result
including data point (A)
available after edge 18
Valid result contains
the first 64 data points
available after edge 142
Figure. 7 Single Filter timing diagrams
8
PDSP16256
Dual Indipendant Filter Options
When operating as two independent filters the device
accepts 16 bit data on both the DA and DB buses at the
selected sample rate, see Fig. 8. Results are available
from both the F and X buses. The F bus may be tristated
using the
OEN
input. Signal
device and does not therefore take effect until the first
SCLK rising edge
Each filter must be configured in the same manner, and
multiple device expansion is not possible due to the pin
re-organization. The latter requirement can, of course,
still be satisfied by several devices configured as single
filters.
Dual independent filter mode is selected by setting
control register bits 15 and 4 to a zero. The required filter
length is selected using control register bits 14 and 13 as
summarised in Table 4, which also shows the resulting
latency. As in single filter mode normal or decimate-bytwo operation can be selected using control register bit
12.
Dual Cascaded Filter Options
When operating as two cascaded filters the device accepts 16 bit data on the DA bus at the selected sample
rate. Results are presented on the 32-bit X bus, see Fig.
9. Each filter must be configured in the same manner.
Multiple device expansion is not possible in this mode.
Dual cascaded filter mode is selected by setting control
register bit 15 to a zero and bit 4 to a one. The required
filter length is selected using control register bits 14 and
13 as summarised in Table 4, which also shows the
resulting latency. The decimate-by-two option is not
available in this mode.
The data for the second filter network is extracted as the
middle 16 bits from the first networks accumulated result.
For successful operation the first filter network must have
unity gain. See the section on filter accuracy for more
details.
The cascade option is used to increase the stop band
rejection in a practical filter application. Theoretically,
increasing the number of taps in an FIR filter will increase
the stop band rejection, but this assumes floating point
calculations with no accuracy limitations. In practice, with
fixed point arithmetic, better performance is achieved
with two smaller filters in series.
NETWORK
A
MUX
NETWORK
B
SINGLE
MODE
DB15:0X31:0
DUAL
MODE
DA15:0F31:0OEN
NETWORK
A
DUAL
MUX
NETWORK
B
SINGLE
MODE
DB15:0X31:0
MODE
Figure. 9 Dual cascaded filter bus utilisationFigure. 8 Dual independent filter bus utilisation
9
Loading...
+ 19 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.