Motorola, Inc.
Semiconductor Products Sector
DSP Division
6501 William Cannon Drive, West
Austin, Texas 78735-8598
Order this document by DSP56KFAMUM/AD
Motorola reserves the right to make changes without further notice to any products herein to improve reliability, function or design. Motorola does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under its
patent rights nor the rights of others. Motorola products are not authorized for use as components
in life support devices or systems intended for surgical implant into the body or intended to support
or sustain life. Buyer agrees to notify Motorola of any such intended end use whereupon Motorola
shall determine availability and suitability of its product or products for the use intended. Motorola
and M are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Employment Opportunity /Affirmative Action Employer.
OnCE is a trade mark of Motorola, Inc.
Motorola Inc., 1994
“1 ≤ N ≤
”.
Order this document by
MOTOROLA
SEMICONDUCTOR
DSP56KFAMUM/AD
TECHNICAL DATA
DSP56K Family
Addendum to
24-bit Digital Signal Processor
Family Manual
This document, containing changes, additional features, further explanations, and clarifications, is
a supplement to the original document:
DSP56KFAMUM/ADFamily ManualDSP56K Family
24-bit Digital Signal Processors
Change the following:
TM
Page 11-4, Section 11.2.1 - Delete “4. NeXT
Page A-83, third line - Replace
Page A-104, Under the “Operation:” heading - Replace “
Page A-104, Second sentence after “Description:” heading - Replace “
of D.
” with “
One is added to the LSB of D; i.e. bit 0 of A0 or B0.
“1;leN;le24”
under Mach”.
with
24”
D -1 ⇒ D
” with “
”
D+1 ⇒ D
One is added from the LSB
”.
Page A-130, First symbolic description under the “Operation:” heading - Replace “
“
Page B-11, An inch below the middle of the page - Replace the “
Page B-16, 7
”.
”.
”.
”.
”.
”.
th
instruction from bottom - Replace “
2+mvp oscillator clock cycles
2+mvp oscillator clock cycles
4+mvp oscillator clock cycles
4 oscillator clock cycles
1 program words
cir
” instruction with “
lsl A,n0
” with “
lsl B A,n0
” with “ Timing:
” with “Memory:
If S[n]=0
” with “ Timing:
” with “ Timing:
” with “ Timing:
clr
” with
2+mvp
1+ mv
”.
MOTOROLA INC., 1995
MOTOROLA
SEMICONDUCTOR
TECHNICAL DATA
MOTOROLA INC., 1995
OnCE
TM
is a trade mark of Motorola, Inc.
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability
arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters can and do vary in different applications. All operating parameters, including “Typical”, must be validated for each customer application by customer's technical experts. Motorola does not
convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized
for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain
life, or for any other application in which the failure of the Motorola product could create a situation where personal injury or death
may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall
indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims,
costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or
death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the
design or manufacture of the part.
Motorola and
b are registered trademarks of Motorola, Inc.
Literature Distribution Centers:
USA: Motorola Literature Distribution; P.O. Box 20912; Phoenix, Arizona 85036.
EUROPE: Motorola Ltd.; European Literature Center; 88 Tanners Drive, Blakelands, Milton
The DSP56K Family is Motorola’s series of 24-bit general purpose Digital Signal Processors (DSPs
*
). The family architecture features a central processing module that is
common to the various family members, such as the DSP56002 and the DSP56004.
Note: The DSP56000 and the DSP56001 are not based on the central processing module
architecture and should not be used with this manual. They will continue to be described
in the DSP56000/DSP56001 User’s Manual (DSP56000UM/AD Rev. 2).
This manual describes the DSP56K Family’s central processor and instruction set. It is
intended to be used with a family member’s User’s Manual, such as the DSP56002 User’s
Manual .
The User’s Manual presents the device’s specifics, including pin descriptions, operating
modes, and peripherals. Packaging and timing information can be found in the device’s
Technical Data Sheet.
This chapter introduces general DSP theory and discusses the features and benefits of
the Motorola DSP56K family of 24-bit processors. It also presents a brief description of
each of the sections of the manual.
1.2ORIGIN OF DIGITAL SIGNAL PROCESSING
DSP is the arithmetic processing of real-time signals sampled at regular intervals and digitized. Examples of DSP processing include the following:
•Filtering of signals
•Convolution, which is the mixing of two signals
•Correlation, which is a comparison of two signals
•Rectification, amplification, and/or transformation of a signal
All of these functions have traditionally been performed using analog circuits. Only recent-
ly has semiconductor technology provided the processing power necessary to digitally
perform these and other functions using DSPs.
Figure 1-1 shows a description of analog signal processing. The circuit in the illustration
filters a signal from a sensor using an operational amplifier, and controls an actuator with
the result. Since the ideal filter is impossible to design, the engineer must design the filter
for acceptable response, considering variations in temperature, component aging, power
supply variation, and component accuracy. The resulting circuit typically has low noise immunity, requires adjustments, and is difficult to modify.
*This manual uses the acronym DSP for Digital Signal Processing or Digital Signal Processor, de-
pending on the context.
MOTOROLA DSP56K FAMILY INTRODUCTION1 - 3
x(t)
INPUT
FROM
SENSOR
ORIGIN OF DIGITAL SIGNAL PROCESSING
ANALOG FILTER
R
f
C
f
x(t)
R
i
+
-
y(t)
OUTPUT
ACTUATOR
y(t)
TO
GAIN
FREQUENCY
t
yt()
---------
xt()
FREQUENCY CHARACTERISTICS
IDEAL
FILTER
f
c
f
R
f
------
–=
R
i
1
----------------------------- +
1jwR
fCf
Figure 1-1 Analog Signal Processing
The equivalent circuit using a DSP is shown in Figure 1-2. This application requires an
analog-to-digital (A/D) converter and digital-to-analog (D/A) converter in addition to the
DSP. Even with these additional parts, the component count can be lower using a DSP
due to the high integration available with current components.
Processing in this circuit begins by band-limiting the input with an anti-alias filter, eliminating out-of-band signals that can be aliased back into the pass band due to the sampling
process. The signal is then sampled, digitized with an A/D converter, and sent to the DSP.
The filter implemented by the DSP is strictly a matter of software. The DSP can directly
implement any filter that can also be implemented using analog techniques. Also, adaptive filters can be easily implemented using DSP, whereas these filters are extremely
difficult to implement using analog techniques.
The DSP output is processed by a D/A converter and is low-pass filtered to remove the
effects of digitizing. In summary, the advantages of using the DSP include the following:
1- 4DSP56K FAMILY INTRODUCTION
MOTOROLA
ORIGIN OF DIGITAL SIGNAL PROCESSING
•Fewer components
•Stable, deterministic performance
•Wide range of applications
•High noise immunity and
•
Self-test can be built in
•
No filter adjustments
•
Filters with much closer tolerances
•
Adaptive filters easily implemented
power-supply rejection
LOW-PASS
ANTIALIASING
FILTER
ANALOG INANALOG OUT
SAMPLER AND
ANALOG-TO-DIGITAL
CONVERTER
A/DD/A
x(n)y(n)y(t)x(t)
A
IDEAL
FILTER
GAIN
DSP OPERATION
FIR FILTER
N
ck() nk–()×
∑
k0=
FINITE IMPULSE
RESPONSE
DIGITAL-TO-ANALOG
CONVERTER
RECONSTRUCTION
LOW-PASS
FILTER
FREQUENCY
A
ANALOG
FILTER
DIGITAL
FILTER
GAIN
FREQUENCY
A
GAIN
FREQUENCY
Figure 1-2 Digital Signal Processing
f
f
c
f
f
c
f
f
c
MOTOROLA DSP56K FAMILY INTRODUCTION1 - 5
ORIGIN OF DIGITAL SIGNAL PROCESSING
The DSP56K family is not designed for a particular application but is designed to execute
commonly used DSP benchmarks in a minimum time for a single-multiplier architecture.
For example, a cascaded, 2nd-order, four-coefficient infinite impulse response (IIR) biquad section has four multiplies for each section. For that algorithm, the theoretical
minimum number of operations for a single-multiplier architecture is four per section. Table 1-1 shows a list of benchmarks with the number of instruction cycles a DSP56K chip
uses compared to the number of multiplies the algorithm requires.
Table 1-1 Benchmark Summary in Instruction Cycles
Number of
BenchmarkNumber of Cycles
Algorithm
Multiplies
Real Multiply31
N Real Multiplies2NN
Real Update41
N Real Updates2NN
N Term Real Convolution (FIR)NN
N Term Real * Complex Convolution2NN
Complex Multiply64
N Complex Multiplies4NN
Complex Update74
N Complex Updates4N4N
N Term Complex Convolution (FIR)4N4N
th
- Order Power Series2N2N
N
2nd - Order Real Biquad Filter74
N Cascaded 2
N Radix Two FFT Butterflies6N4N
nd
- Order Biquads4N4N
These benchmarks and others are used independently or in combination to implement
functions whose characteristics are controlled by the coefficients of the benchmarks being
executed. Useful functions using these and other benchmarks include the following:
Scaler, Vector, and Matrix Arithmetic
Transcendental Function Computation
(e.g., Sin(X), Exp(X))
Other Nonlinear Functions
Pseudo-Random-Number Generation
Modulation
Amplitude
Frequency
Phase
Spectral Analysis
Fast Fourier Transform (FFT)
Discrete Fourier Transform (DFT)
Sine/Cosine Transforms
Moving Average (MA) Modeling
Autoregressive (AR) Modeling
ARMA Modeling
Useful applications are based on combining these and other functions. DSP applications
affect almost every area in electronics because any application for analog electronic circuitry can be duplicated using DSP. The advantages in doing so are becoming more
compelling as DSPs become faster and more cost effective.Some typical applications for
DSPs are presented in the following list:
Telecommunication
Tone Generation
Dual-Tone Multifrequency (DTMF)
Subscriber Line Interface
Full-Duplex Speakerphone
Teleconferencing
Voice Mail
Adaptive Differential Pulse Code
Modulation (ADPCM) Transcoder
Medium-Rate Vocoders
Noise Cancelation
Repeaters
Integrated Services Digital Network
Navigation
Oceanography
Automatic Vehicle Location
Search and Tracking
Seismic Processing
Oil Exploration
Geological Exploration
As shown in Figure 1-3, the keys to DSP are as follows:
•The Multiply/Accumulate (MAC) operation
•Fetching operands for the MAC
•Program control to provide versatile operation
•Input/Output to move data in and out of the DSP
MAC is the basic operation used in DSP. The DSP56K family of processors has a dual
Harvard architecture optimized for MAC operations. Figure 1-3 shows how the DSP56K
1- 8DSP56K FAMILY INTRODUCTION
MOTOROLA
SUMMARY OF DSP56K FAMILY FEATURES
architecture matches the shape of the MAC operation. The two operands, C() and X(), are
directed to a multiply operation, and the result is summed. This process is built into the
chip by using two separate memories (X and Y) to feed a single-cycle MAC. The entire
process must occur under program control to direct the correct operands to the multiplier
and save the accumulator as needed. Since the two memories and the MAC are independent, the DSP can perform two moves, a multiply and an accumulate, in a single
operation. As a result, many of the benchmarks shown in Table 1-1 can be executed at or
near the theoretical maximum speed for a single-multiplier architecture.
1.3SUMMARY OF DSP56K FAMILY FEATURES
The high throughput of the DSP56K family of processors makes them well suited for communication, high-speed control, numeric processing and computer and audio
applications. The main features that contribute to this high throughput include:
• Speed — Speeds high enough to easily address applications traditionally served by
low-end floating point DSPs.
FIR FILTER
N
ck() nk–()×
A/DD/A
x(n)y(n)y(t)x(t)
∑
k0=
X
∑
X
MEMORY
Y
MEMORY
X
PROGRAM
∑
MAC
Figure 1-3 DSP Hardware Origins
MOTOROLA DSP56K FAMILY INTRODUCTION1 - 9
SUMMARY OF DSP56K FAMILY FEATURES
• Precision — The data paths are 24 bits wide, providing 144 dB of dynamic range;
intermediate results held in the 56-bit accumulators can range over 336 dB.
• Parallelism — Each on-chip execution unit (AGU, program control unit, data ALU),
memory, and peripheral operates independently and in parallel with the other units
through a sophisticated bus system. The data ALU, AGU, and program control unit
operate in parallel so that an instruction prefetch, a 24-bit x 24-bit multiplication, a 56bit addition, two data moves, and two address-pointer updates using one of three
types of arithmetic (linear, modulo, or reverse-carry) can be executed in a single
instruction cycle. This parallelism allows a four-coefficient IIR filter section to be
executed in only four cycles, the theoretical minimum for single-multiplier architecture.
At the same time, the two serial controllers can send and receive full-duplex data, and
the host port can send/receive simplex data.
• Flexibility — While many other DSPs need external communications circuitry to
interface with peripheral circuits (such as A/D converters, D/A converters, or host
processors), the DSP56K family provides on-chip serial and parallel interfaces which
can support various configurations of memory and peripheral modules
• Sophisticated Debugging — Motorola’s on-chip emulation technology (OnCE) allows
simple, inexpensive, and speed independent access to the internal registers for
debugging. OnCE tells application programmers exactly what the status is within the
registers, memory locations, buses, and even the last five instructions that were
executed.
• Phase-locked Loop (PLL) Based Clocking — PLL allows the chip to use almost any
available external system clock for full-speed operation while also supplying an output
clock synchronized to a synthesized internal core clock. It improves the synchronous
timing of the processors’ external memory port, eliminating the timing skew common
on other processors.
• Invisible Pipeline — The three-stage instruction pipeline is essentially invisible to the
programmer, allowing straightforward program development in either assembly
language or a high-level language such as a full Kernighan and Ritchie C.
• Instruction Set — The instruction mnemonics are MCU-like, making the transition
from programming microprocessors to programming the chip as easy as possible. The
orthogonal syntax controls the parallel execution units. The hardware DO loop
instruction and the repeat (REP) instruction make writing straight-line code obsolete.
1- 10DSP56K FAMILY INTRODUCTION
MOTOROLA
MANUAL ORGANIZATION
DSP56001 Compatibility — All members of the DSP56K family are downward
compatible with the DSP56001, and also have added flexibility, speed, and
functionality.
• Low Power — As a CMOS part, the DSP56000/DSP56001 is inherently very low
power and the STOP and WAIT instructions further reduce power requirements.
1.4MANUAL ORGANIZATION
This manual describes the central processing module of the DSP56K family in detail and
provides practical information to help the user:
•Understand the operation of the DSP56K family
•Design parallel communication links
•Design serial communication links
•Code DSP algorithms
•Code communication routines
•Code data manipulation algorithms
•Locate additional support
•
The following list describes the contents of each section and each appendix:
Section 2 – DSP56K Central Architecture Overview
The DSP56K central architecture consists of the data arithmetic logic unit (ALU), address generation unit (AGU), program control unit, On-Chip Emulation (OnCE)
circuitry, the phase locked loop (PLL) based clock oscillator, and an external memory
port (Port A). This section describes each subsystem and the buses interconnecting
the major components in the DSP56K central processing module.
Section 3 – Data Arithmetic Logic Unit
This section describes in detail the data ALU and its programming model.
Section 4 – Address Generation Unit
This section specifically describes the AGU, its programming model, address indirect
modes, and address modifiers.
Section 5 – Program Control Unit
This section describes in detail the program control unit and its programming model.
Section 6 – Instruction Set Introduction
This section presents a brief description of the syntax, instruction formats, operand/memory references, data organization, addressing modes, and instruction set. A
detailed description of each instruction is given in APPENDIX A - INSTRUCTION SET
DETAILS.
MOTOROLA DSP56K FAMILY INTRODUCTION1 - 11
MANUAL ORGANIZATION
Section 7 – Processing States
This section describes the five processing states (normal, exception, reset, wait, and
stop).
Section 8 – Port A
This section describes the external memory port, its control register, and control
signals.
Section 9 – PLL Clock Oscillator
This section describes the PLL and its functions
Section 10 – On-Chip Emulator (OnCE)
This section describes the OnCE circuitry and its functions.
Section 11 – Additional Support
This section presents a brief description of current support products and services and
information on where to obtain them.
Appendix A – Instruction Set Details
A detailed description of each DSP56K family instruction, its use, and its affect on the
processor are presented.
Appendix B – Benchmarks
DSP5K family benchmark results are listed in this appendix.
1- 12DSP56K FAMILY INTRODUCTIONMOTOROLA
SECTION 2
DSP56K CENTRAL ARCHITECTURE
OVERVIEW
MOTOROLA DSP56K CENTRAL ARCHITECTURE OVERVIEW2 - 1
SECTION CONTENTS
SECTION 2.1 DSP56K CENTRAL ARCHITECTURE OVERVIEW ..................3
SECTION 2.2 DATA BUSES .............................................................................3
SECTION 2.9 PHASE-LOCKED LOOP (PLL) BASED CLOCKING ..................6
2 - 2DSP56K CENTRAL ARCHITECTURE OVERVIEW
MOTOROLA
DSP56K CENTRAL ARCHITECTURE OVERVIEW
2.1DSP56K CENTRAL ARCHITECTURE OVERVIEW
The DSP56K family of processors is built on a standard central processing module. In the
expansion area around the central processing module, the chip can support various configurations of memory and peripheral modules which may change from family member to
family member. This section introduces the architecture and the major components of the
central processing module.
The central components are:
•Data Buses
•Address Buses
•Data Arithmetic Logic Unit (data ALU)
•Address Generation Unit (AGU)
•Program Control Unit (PCU)
•Memory Expansion (Port A)
•On-Chip Emulator (OnCE™) circuitry
•Phase-locked Loop (PLL) based clock circuitry
Figure 2-1 shows a block diagram of a typical DSP56K family processor, including the
central processing module and a nonspecific expansion area for memory and peripherals.
The following paragraphs give brief descriptions of each of the central components. Each
of the components is explained in detail in subsequent chapters.
2.2DATA BUSES
The DSP56K central processing module is organized around the registers of three independent execution units: the PCU, the AGU, and the data ALU. Data movement between
the execution units occurs over four bidirectional 24-bit buses: the X data bus (XDB), the
Y data bus (YDB), the program data bus (PDB), and the global data bus (GDB). (Certain
instructions treat the X and Y data buses as one 48-bit data bus by concatenating them.)
Data transfers between the data ALU and the X data memory or Y data memory occur
over XDB and YDB, respectively. XDB and YDB are kept local on the chip to maximize
speed and minimize power dissipation. All other data transfers, such as I/O transfers with
peripherals, occur over the GDB. Instruction word prefetches occur in parallel over the
PDB.
The bus structure supports general register-to-register, register-to-memory, and memoryto-register data movement. It can transfer up to two 24-bit words and one 56-bit word in
the same instruction cycle. Transfers between buses occur in the internal bus switch.
MOTOROLA DSP56K CENTRAL ARCHITECTURE OVERVIEW2 - 3
Loading...
+ 566 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.