Motorola, Incorporated
Semiconductor Products Sector
DSP Division
6501 William Cannon Drive West
Austin, TX 78735-8598
DSP56012UM/D
Rev. 0
Published 11/98
This document (and other documents) can be viewed on the World Wide
Web at http://www.motorola-dsp.com.
This manual is one of a set of three documents. You need the following
manuals to have complete product information: Family Manual, User’s
Manual, and Technical Data.
OnCE
is a trademark of Motorola, Inc.
MOTOROLA INC., 1998
Order this document by DSP56012UM/AD
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 which may be provided in Motorola data
sheets and/or specifications can and do vary in different applications and actual
performance may vary over time. All operating parameters, including “Typicals”
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 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 are registered trademarks of
Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
This manual describes in detail the DSP56012 24-bit Digital Signal Processor (DSP),
its memory, operating modes, and peripheral modules. This manual is intended to be
used with the
Technical Data
Processing Unit (CPU), programming models, and the instruction set. The data sheet
provides electrical specifications, timing, pinouts, and packaging descriptions. These
documents, as well as Motorola’s DSP development tools, can be obtained through a
local Motorola Semiconductor Sales Office or authorized distributor.
To receive the latest information, access the Motorola DSP home page located at
http://www.motorola-dsp.com
DSP56000 Family Manual
sheet (DSP56012/D). The family manual describes the Central
(DSP56KFAMUM/AD) and the
DSP56012
The DSP56012 is a high-performance programmable DSP specifically developed for
Digital Versatile Disk (DVD), High-Definition Television (HDTV), and advanced
set-top audio decoding. Flexible peripheral modules and interface software allow
simple connection to a wide variety of video and audio system decoders. The
memory configuration and peripherals differentiate this DSP from the other 56000
family members. The DSP56012 also provides the following on-chip peripherals to
support its target applications:
•Parallel Host Interface (HI)—a byte-wide parallel port with Direct Memory
Access (DMA) support
Serial Host Interface (SHI)—simple communications and control interface
•
between a host processor and the DSP
Serial Audio Interface (SAI)—user-programmable interface that provides
•
support for a wide variety of serial audio formats to support a number of
standard audio devices
Dedicated General Purpose Input/Output (GPIO) Signals—eight additional
•
individually controlled input or output signals
Digital Audio Transmitter (DAX)—outputs digital audio data in AES/EBU,
•
CP-340, and IEC958 formats
The DSP56012 has the power and ease-of-programming required for stand-alone,
embedded applications. The versatile, on-board peripherals allow the DSP to be
connected easily to almost any other processor with little or no additional logic.
MOTOROLADSP56012 User’s Manual 1-3
Overview
Introduction
1.1.1Manual Organization
This manual includes the following sections:
•
Section 1—Overview furnishes a description of the manual organization and
provides a brief description of the DSP56012.
Section 2—Signal Descriptions describes the DSP56012 signals and signal
•
groupings.
Section 3—Memory, Operating Modes, and Interrupts describes the internal
•
memory organization, operating modes, interrupt processing, and chip
initialization during hardware reset.
Section 5—Serial Host Interface describes the operation, registers, and control of
•
the Serial Host Interface (SHI).
Section 6—Serial Audio Interface describes the operation of the Serial Audio
•
Interface (SAI), its registers, and its controls.
Section 7—Digital Audio Transmitter describes the Digital Audio Transmitter
•
(DAX) functionality, architecture, registers, and programming considerations.
Section 8—Serial Audio Interface describes the operation of the Serial Audio
•
Interface (SAI), its registers, and its controls.
Appendix A—Bootstrap Code Listings lists the code used to bootstrap the
•
DSP56012.
Appendix B—Programming Reference provides a quick reference for the
•
instructions and registers used by the DSP56012. These sheets are provided
with the expectation that they be photocopied and used by programmers
when programming the registers.
1-4DSP56012 User’s Manual MOTOROLA
Overview
Introduction
1.1.2Manual Conventions
The following conventions are used in this manual:
•The word “reset” is used in three different contexts in this manual. There is a
reset pin that is always written as “RESET”, there is a reset instruction that is
always written as “RESET”, and the word reset, used to refer to the reset
function, is written in lower case (with a leading capital letter as grammar
dictates.)
•Bits within a register are indicated AA[n:0] when more than one bit is
involved in a description. For purposes of description, the bits are presented
as if they are contiguous within the register; however, this is not always the
case. Refer to the programming model diagrams or to the programming sheets
to see the exact location of bits within a register.
•When a bit is described as “set”, its value is 1. When a bit is described as
“cleared”, its value is 0.
•Hex (hexadecimal) values are indicated with a dollar sign ($) preceding the
hex value, as in “$FFFB is the X memory address for the Interrupt Priority
Register (IPR).”
•Code examples are displayed in a monospaced font, as shown in
Example 1-1
.
Example 1-1 Sample Code Listing
movep #0,x:EOR0; drive 2nd read trigger
bset #ERTS,x:ECSR; set read triggers by reading EDDR
do #(N-2),end_OL; loop to drive more (N-2) triggers
•Pins or signals listed in code examples that are asserted low have a tilde (~) in
front of their names.
•The word “assert” means that a high true (active high) signal is pulled high (to
) or that a low true (active low) signal is pulled low (to ground).
V
CC
•The word “deassert” means that a high true signal is pulled low (to ground) or
that a low true signal is pulled high (to V
CC
).
•Overbars are used to indicate a signal that is active when pulled to ground
(see Table 1-1
Therefore, references to the RESET
). For example, the RESET pin is active when pulled to ground.
pin will always have an overbar. Such pins
and signals are also said to be “active low” or “low true.”
MOTOROLADSP56012 User’s Manual 1-5
Overview
DSP56012 Features
Table 1-1 High True / Low True Signal Conventions
Signal/SymbolLogic StateSignal StateVoltage
1
PIN
1
PIN
1
PIN
1
PIN
Notes: 1.PIN is a generic term for any pin on the device.
2.Ground is an acceptable low voltage level. See the appropriate data sheet for the range
of acceptable low voltage levels (typically a TTL logic low).
3.V
is an acceptable high voltage level. See the appropriate data sheet for the range of
CC
acceptable high voltage levels (typically a TTL logic high).
TrueAsserted
FalseDeasserted
TrueAsserted
FalseDeasserted
1.2DSP56012 FEATURES
•Digital Signal Processing Core
–Efficient, object-code compatible, 24-bit DSP56000 family DSP engine
3
V
CC
Ground
Ground
3
V
CC
2
2
–40.5 Million Instructions Per Second (MIPS)—24.69 ns instruction cycle at
81 MHz
–Highly parallel instruction set with unique DSP addressing modes
–Two 56-bit accumulators including extension byte
–Parallel 24 ×
24-bit multiply-accumulate in 1 instruction cycle (2 clock
cycles)
–Double precision 48 ×
48-bit multiply with 96-bit result in 6 instruction
cycles
–56-bit addition/subtraction in 1 instruction cycle
–Fractional and integer arithmetic with support for multi-precision
arithmetic
–Hardware support for block-floating point Fast Fourier Transforms (FFT)
–Hardware nested DO loops
–Zero-overhead fast interrupts (2 instruction cycles)
1-6DSP56012 User’s Manual MOTOROLA
Overview
DSP56012 Features
–PLL-based clocking with a wide range of frequency multiplications (1 to
i
4096) and power saving clock divider (2
: i = 0 to 15), which reduces clock
noise
–Four 24-bit internal data buses and three 16-bit internal address buses for
simultaneous accesses to one program and two data memories
•Memory
–Modified Harvard architecture allows simultaneous access to program and
data memories
–15360 ×
24-bit on-chip Program ROM1
–4096 × 24-bit on-chip X-data RAM and 3584 × 24-bit on-chip X-data ROM*
–4352 × 24-bit on-chip Y-data RAM and 2048 × 24-bit on-chip Y-data ROM*
–256 × 24-bit on-chip Program RAM and 32 × 24-bit bootstrap ROM
–As much as 2304 × 24 bits of X- and Y-data RAM can be switched to
Program RAM, giving a total of 2560 × 24 bits of Program RAM
Table 1-2 lists the memory configurations of the DSP56012.
Table 1-2 DSP56012 Internal Memory Configurations
No Switch
(PEA=0, PEB=0)
P: RAM0.25 K1.0 K1.75 K2.5 K
X: RAM4.0 K3.25 K3.25 K2.5 K
Y: RAM4.25 K4.25 K3.5 K3.5 K
P: ROM15 K15 K15 K15 K
X: ROM3.5 K3.5 K3.5 K3.5 K
Y: ROM2.0 K2.0 K2.0 K2.0 K
Switch A
(PEA=1, PEB=0)
Switch B
(PEA=0, PEB=1)
(PEA=1, PEB=1)
•Peripheral and Support Circuits
–SAI includes:
•Two receivers and three transmitters
•Master or slave capability
2
S, Sony, and Matshushita audio protocol implementations
•I
Switch A+B
1.These ROMs may be factory programmed with data/program provided by the application developer.
MOTOROLADSP56012 User’s Manual 1-7
Overview
DSP56012 Architectural Overview
•Two sets of SAI interrupt vectors
–SHI features:
•Single master capability
•SPI and I2C protocols
•10-word receive FIFO
•Support for 8-, 16- and 24-bit words.
–Byte-wide Parallel Host Interface with DMA support capable of
reconfiguration as fifteen General Purpose Input/Output (GPIO) lines
–DAX features one serial transmitter capable of supporting S/PDIF, IEC958,
CP-340, and AES/EBU formats.
–Eight dedicated, independent, programmable GPIO lines
–On-chip peripheral registers memory mapped in data memory space
–OnCE™ port for unobtrusive, processor speed-independent debugging
–Software programmable PLL-based frequency synthesizer for the core
clock
–Power saving Wait and Stop modes
–Fully static, HCMOS design for operating frequencies from 81 MHz down
to DC
–100-pin plastic Thin Quad Flat Pack (TQFP) surface-mount package
–5 V power supply
1.3DSP56012 ARCHITECTURAL OVERVIEW
The DSP56012 is a member of the 24-bit DSP56000 family. The DSP is composed of
the 24-bit DSP56000 core, memory, and a set of peripheral modules, as shown in
Figure 1-1. The 24-bit DSP56000 core is composed of a Data Arithmetic Logic Unit
(ALU), an Address Generation Unit (AGU), a Program Controller, an On-Chip
Emulation (OnCE) port, and a PLL designed to allow the DSP to run at full speed
while using a low-speed clock. The DSP56000-family architecture, upon which the
DSP56012 is built, was designed to maximize throughput in data-intensive digital
signal processing applications. The result is a dual-natured, expandable architecture
with sophisticated on-chip peripherals and versatile GPIO.
1-8DSP56012 User’s Manual MOTOROLA
Overview
DSP56012 Architectural Overview
Parallel
Host
Interface
(HI)
24-Bit
DSP56000
Core
Internal
OnCETM Port
Clock
PLL
Gen.
EXTAL
15
Data
Bus
Switch
General
Purpose
I/O
(GPIO)
Controller
43
8
Interface
Program
Interrupt
IRQA
9
Serial
Audio
(SAI)
Address
Generation
Program Control Unit
4
, IRQB, NMI, RESET
Serial
Host
Interface
(SHI)
Unit
Program
Decode
Controller
52
Digital
Audio
Transmitter
(DAX)
GDB
PDB
XDB
YDB
Generator
Program
Address
PAB
XAB
YAB
Program
Memory
24 × 24 + 56 → 56-Bit MAC
Two 56-Bit Accumulators
X Data
Memory
Data ALU
16-Bit Bus
24-Bit Bus
Y Data
Memory
Expansion
Area
Figure 1-1 DSP56012 Block Diagram
The DSP56000 core is dual-natured in that there are two independent data memory
spaces, two address arithmetic units, and a Data ALU that has two accumulators and
two shifter/limiters. The duality of the architecture makes it easier to write software
for DSP applications. For example, data is naturally partitioned into coefficient and
data spaces for filtering and transformations, and into real and imaginary spaces for
performing complex arithmetic.
Note: Although the DSP56000 core has built-in support for external memory
expansion, the DSP56012 does not implement this function. For DSP56012
applications, external memory expansion is a function of the host processor.
The DSP56000 architecture is especially suited for audio applications since its
arithmetic operations are executed on 24-bit or 48-bit data words. This is a significant
advantage for audio over 16-bit and 32-bit architectures—16-bit DSP architectures
have insufficient precision for CD-quality sound, and while 32-bit DSP architectures
possess the necessary precision, with extra silicon and cost overhead they are not
suitable for high-volume, cost-driven audio applications
MOTOROLADSP56012 User’s Manual 1-9
Overview
DSP56012 Architectural Overview
1.3.1Peripheral Modules
The following peripheral modules are included on the DSP56012:
•Parallel Host Interface—The Host Interface (HI) provides a byte-wide parallel
interface for parallel data transfer between the DSP56012 and a host processor
or another parallel peripheral device. The HI will operate with 8-, 16-, and
24-bit words
•Serial Host Interface (SHI)—The Serial Host Interface provides a fast, yet
simple serial interface to connect the DSP56012 to a host processor or to
another serial peripheral device. Two serial protocols are available: the
Motorola Serial Peripheral Interface (SPI) bus and the Philips Inter
Integrated-circuit Control (I
24-bit words and the receiver contains an optimal 10-word First-In, First-Out
(FIFO) register to reduce the receive interrupt rate.
•Serial Audio Interface (SAI)—The SAI provides a synchronous serial
interface that allows the DSP56012 to communicate using a wide range of
standard serial data formats used by audio manufacturers at bit rates up to
one third the DSP core clock rate (e.g., 27 MHz for an 81 MHz clock). There
are three synchronized data transmission lines and two synchronized data
reception lines, all of which are double-buffered.
2
C) bus. The SHI will operate with 8-, 16-, and
•General Purpose Input/Output (GPIO)—The GPIO has eight dedicated
signal lines that can be independently programmed to be inputs, standard
TTL outputs, open collector outputs, or disconnected.
•Digital Audio Transmitter (DAX)—The DAX is a serial audio interface
module that outputs digital audio data in AES/EBU, CP-340, and IEC958
formats.
1.3.2DSP Core Processor
The 24-bit DSP56000 core is composed of a Data ALU, an AGU, a program controller,
and the buses that connect them together. The OnCE port and a PLL are integral
parts of this processor. Figure 1-1 on page 1-9 illustrates the DSP block diagram,
showing the components of the core processor, as well as the peripherals specific to
the DSP56012. The following paragraphs present a brief overview of the DSP56000
core processor. For more thorough detail, refer to the
DSP56000 Family Manual
.
1-10DSP56012 User’s Manual MOTOROLA
Loading...
+ 240 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.