Freescale Semiconductor
Technical Information Center, CH370
1300 N. Alma School Road
Chandler, Arizona 85224
+1-800-521-6274 or +1-480-768-2130
support@freescale.com
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064, Japan
0120 191014 or +81 3 5437 9125
support.japan@freescale.com
Asia/Pacific:
Freescale Semiconductor Hong Kong Ltd.
Technical Information Center
2 Dai King Street
Tai Po Industrial Estate
Tai Po, N.T., Hong Kong
+800 2666 8080
support.asia@freescale.com
For Literature Requests Only:
Freescale Semiconductor Literature Distribution Center
P.O. Box 5405
Denver, Colorado 80217
1-800-521-6274 or 303-675-2140
Fax: 303-675-2150
LDCForFreescaleSemiconductor@hibbertgroup.com
Information in this document is provided solely to enable system and software implementers to use
Freescale Semiconductor products. There are no express or implied copyright licenses granted
hereunder to design or fabricate any integrated circuits or integrated circuits based on the information
in this document.
Freescale Semiconductor reserves the right to make changes without further notice to any products
herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the
suitability of its products for any particular purpose, nor does Freescale Semiconductor 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
that may be provided in Freescale Semiconductor 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.
Freescale Semiconductor does not convey any license under its patent rights nor the rights of others.
Freescale Semiconductor 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 Freescale Semiconductor product
could create a situation where personal injury or death may occur. Should Buyer purchase or use
Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall
indemnify and hold Freescale Semiconductor 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 Freescale Semiconductor was
negligent regarding the design or manufacture of the part.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other
product or service names are the property of their respective owners.
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductorxiii
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
xivFreescale Semiconductor
Preface
This manual contains the following sections and appendices.
SECTION 1—DSP56364 OVERVIEW
•Provides a brief description of the DSP56364, including a features list and block diagram. Lists
related documentation needed to use this chip and describes the organization of this manual.
SECTION 2—SIGNAL/CONNECTION DESCRIPTIONS
•Describes the signals on the DSP56364 pins and how these signals are grouped into interfaces.
SECTION 3—MEMORY CONFIGURATION
•Describes the DSP56364 memory spaces, RAM and ROM configuration, memory configurations
and their bit settings, and memory maps.
SECTION 4—CORE CONFIGURATION
•Describes the registers used to configure the DSP56300 core when programming the DSP56364,
in particular the interrupt vector locations and the operation of the interrupt priority registers.
Explains the operating modes and how they affect the processor’s program and data memories.
SECTION 5—GENERAL PURPOSE INPUT/OUTPUT (GPIO)
•Describes the DSP56364 GPIO capability and the programming model for the GPIO signals
(operation, registers, and control).
SECTION 6—ENHANCED SERIAL AUDIO INTERFACE (ESAI)
•Describes the full-duplex serial port for serial communication with a variety of serial devices.
SECTION 7—SERIAL HOST INTERFACE (SHI)
•Describes the serial input/output interface providing a path for communication and
program/coefficient data transfers between the DSP and an external host processor. The SHI can
also communicate with other serial peripheral devices.
APPENDIX A—BOOTSTRAP PROGRAM
•Lists the bootstrap code used for the DSP56364.
APPENDIX B—BSDL LISTING
•Provides the BSDL listing for the DSP56364.
APPENDIX C—PROGRAMMING REFERENCE
•Lists peripheral addresses, interrupt addresses, and interrupt priorities for the DSP56364. Contains
programming sheets listing the contents of the major DSP56364 registers for programmer
reference.
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductorxv
Manual Conventions
The following conventions are used in this manual:
•Bits within registers are always listed from most significant bit (MSB) to least significant bit
(LSB).
•When several related bits are discussed, they are referenced as AA[n:m], where n>m. For purposes
of description, the bits are presented as if they are contiguous within a register. However, this is not
always the case. Refer to the programming model diagrams or to the programmer’s 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.
•The word “assert” means that a high true (active high) signal is pulled high to VCC or that a low
true (active low) signal is pulled low to ground. The word “deassert” means that a high true signal
is pulled low to ground or that a low true signal is pulled high to VCC.
Signal/SymbolLogic StateSignal StateVoltage
1
PIN
PINFalseDeassertedV
PINTrueAssertedV
PINFalseDeassertedGround
1
PIN is a generic term for any pin on the chip.
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
VCC is an acceptable high voltage level. See the appropriate data sheet for the range of acceptable
high voltage levels (typically a TTL logic high).
High True/Low True Signal Conventions
TrueAssertedGround
CC
CC
2
3
•Pins or signals that are asserted low (made active when pulled to ground)
— In text, have an overbar (e.g., RESET is asserted low).
— In code examples, have a tilde in front of their names. In example below, line 3 refers to the
SS0 pin (shown as ~SS0).
•Sets of pins or signals are indicated by the first and last pins or signals in the set (e.g., HA1–HA8).
•Code examples are displayed in a monospaced font, as shown below:
.
BFSET#$0007,X:PCC; Configure:line 1
; MISO0, MOSI0, SCK0 for SPI masterline 2
; ~SS0 as PC3 for GPIOline 3
Example Sample Code Listing
•Hex values are indicated with a dollar sign ($) preceding the hex value, as follows: $FFFFFF is the
X memory address for the core interrupt priority register (IPR-C).
•The word “reset” is used in four different contexts in this manual:
— the reset signal, written as “RESET,”
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
xviFreescale Semiconductor
— the reset instruction, written as “RESET,”
— the reset operating state, written as “Reset,” and
— the reset function, written as “reset.”
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductorxvii
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
xviiiFreescale Semiconductor
1Overview
1.1Introduction
The DSP56364 24-Bit Digital Signal Processor, a new audio digital signal processor based on the 24-bit
DSP56300 architecture, is targeted to applications that require digital audio signal processing such as
sound field processing, acoustic equalization and other digital audio algorithms.
The DSP56364 supports digital audio applications requiring sound field processing, acoustic equalization,
and other digital audio algorithms. The DSP56364 uses the high performance, single-clock-per-cycle
DSP56300 core family of programmable CMOS digital signal processors (DSPs) combined with the audio
signal processing capability of the Freescale Symphony™ DSP family, as shown in Figure 1-1. This
design provides a two-fold performance increase over Freescale’s popular Symphony family of DSPs
while retaining code compatibility. Significant architectural enhancements include a barrel shifter, 24-bit
addressing, instruction cache, and direct memory access (DMA).
This document is intended to be used with the following Freescale publications:
•DSP56300 24-Bit Digital Signal Processor Family Manual, Freescale publication DSP56300FM.
•DSP56364 24-Bit Digital Signal Processor Technical Data Sheet, Freescale publication
DSP56364.
The DSP56300 24-Bit Digital Signal Processor Family Manual, Freescale publication DSP56300FM
provides a description of the components of the DSP56300 modular chassis which is common to all
DSP56300 family processors and includes a detailed description of the instruction set. This document
provides a detailed description of the core configuration, memory, and peripherals that are specific to the
DSP56364. The electrical specifications, timings and packaging information can be found in the
DSP56364 Technical Data Sheet.
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductor1-1
Features
PERIPHERAL
EXPANSION
AREA
GENERATION UNIT
INTERNAL
DATA BU S
SWITCH
CLOCK
GEN
GPIO
ADDRESS
SIX CHANNELS
DMA UNIT
PLL
4
PROGRAM
INTERRUPT
CONT
ESAI
12
PIO_EB
5
SHI
24-BIT
DSP56300
CORE
PROGRAM
DECODE
CONT
PROGRAM
RAM
0.5K x 24
PR O GR A M R O M
8K x 24
Bootstrap ROM
192 x 24
PROGRAM
ADDRESS
GEN
X
MEMORY
RAM
1K X 24
XM_EB
YA B
PM_EB
XAB
PA B
DAB
DDB
YDB
XDB
PDB
GDB
DATA A L U
24 X 24+56
TWO 56-BIT ACCUMULATORS
56-BIT MAC
→
BARREL SHIFTER
Y MEMORY
RAM
1.5K X 24
MEMORY
EXPANSION
AREA
YM_EB
ADDRESS BUS
DRAM & SRAM
INTERFACE
EXTERNAL
EXTERNAL
SWITCH
BUS
DATA BUS
SWITCH
POWER
MGMT
JTAG
OnCE™
ADDRESS
18
CONTROL
6
8
4
DATA
EXTAL
RESET
PINIT/NMI
1.2Features
•DSP56300 modular chassis
— 100 Million Instructions Per Second (MIPS) with an 100 MHz clock at 3.3V.
— Object Code Compatible with the 56K core.
— Data ALU with a 24 × 24 bit multiplier-accumulator and a 56-bit barrel shifter. 16-bit
arithmetic support.
— Program Control with position independent code support and instruction cache support.
— Six-channel DMA controller.
— PLL based clocking with a wide range of frequency multiplications (1 to 4096), predivider
factors (1 to 16) and power saving clock divider (2i: i = 0 to 7). Reduces clock noise.
— Internal address tracing support and OnCE‰ for Hardware/Software debugging.
— JTAG port.
MODA/IRQA
MODB/IRQB
MODD/IRQD
24 BITS BUS
Figure 1-1 DSP56364 Block Diagram
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
1-2Freescale Semiconductor
Audio Processor Architecture
— Very low-power CMOS design, fully static design with operating frequencies down to DC.
— STOP and WAIT low-power standby modes.
•On-chip Memory Configuration
— 1.5K × 24 Bit Y-Data RAM.
—1K × 24 Bit X-Data RAM.
—8K × 24 Bit Program ROM.
— 0.5K × 24 Bit Program RAM and 192 × 24 Bit Bootstrap ROM.
— 0.75K × 24 Bit from Y Data RAM can be switched to Program RAM resulting in up to
1.25K × 24 Bit of Program RAM.
•Off-chip memory expansion
— External Memory Expansion Port with 8-bit data bus.
— Off-chip expansion up to 2 × 16M x 8-bit word of Data memory when using DRAM.
— Off-chip expansion up to 2 × 256K x 8-bit word of Data memory when using SRAM.
— Simultaneous glueless interface to SRAM and DRAM.
•Peripheral modules
— Serial Audio Interface (ESAI): up to 4 receivers and up to 6 transmitters, master or slave. I2S,
Sony, AC97, network and other programmable protocols. Unused pins of ESAI may be used
as GPIO lines.
— Serial Host Interface (SHI): SPI and I2C protocols, multi master capability, 10-word receive
FIFO, support for 8, 16 and 24-bit words.
— Four dedicated GPIO lines.
•100-pin plastic TQFP package.
1.3Audio Processor Architecture
This section defines the DSP56364 audio processor architecture. The audio processor is composed of the
following units:
•The DSP56300 core is composed of the Data ALU, Address Generation Unit, Program Controller,
Instruction-Cache Controller, DMA Controller, PLL-based clock oscillator, Memory Module
Interface, Peripheral Module Interface and the On-Chip Emulator (OnCE). The DSP56300 core is
described in the document DSP56300 24-Bit Digital Signal Processor Family Manual, Motorola publication DSP56300FM.
•Memory modules.
•Peripheral modules. The SHI, ESAI and GPIO peripheral are described in this document.
See Figure 1-1 for the block diagram of the DSP56364.
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductor1-3
Core Description
1.4Core Description
The DSP56364 uses the DSP56300 core, a high-performance, single clock cycle per instruction engine that
provides up to twice the performance of Freescale's popular DSP56000 core family while retaining code
compatibility with it.
The DSP56300 core provides the following functional blocks:
•Data arithmetic logic unit (Data ALU)
•Address generation unit (AGU)
•Program control unit (PCU)
•Bus interface unit (BIU)
•DMA controller (with six channels)
•Instruction cache controller
•PLL-based clock oscillator
•OnCE module
•JTAG TAP
•Memory
The DSP56300 core family offers a new level of performance in speed and power, provided by its rich
instruction set and low power dissipation, thus enabling a new generation of wireless, telecommunications,
and multimedia products. Significant architectural enhancements to the DSP56300 core family include a
barrel shifter, 24-bit addressing, an instruction cache, and direct memory access (DMA).
Core features are described fully in the DSP56300 Family Manual. Pinout, memory, and peripheral
features are described in this manual.
1.5DSP56300 Core Functional Blocks
1.5.1Data ALU
The Data ALU performs all the arithmetic and logical operations on data operands in the DSP56300 core.
The components of the Data ALU are as follows:
•Bit field unit, comprising a 56-bit parallel barrel shifter (fast shift and normalization; bit stream
generation and parsing)
•Conditional ALU instructions
•24-bit or 16-bit arithmetic support under software control
•Four 24-bit input general purpose registers: X1, X0, Y1, and Y0
•Six Data ALU registers (A2, A1, A0, B2, B1, and B0) that are concatenated into two general
purpose, 56-bit accumulators (A and B), accumulator shifters
•Two data bus shifter/limiter circuits
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
1-4Freescale Semiconductor
DSP56300 Core Functional Blocks
1.5.1.1Data ALU Registers
The Data ALU registers can be read or written over the X memory data bus (XDB) and the Y memory data
bus (YDB) as 24- or 48-bit operands (or as 16- or 32-bit operands in 16-bit arithmetic mode). The source
operands for the Data ALU, which can be 24, 48, or 56 bits (16, 32, or 40 bits in 16-bit arithmetic mode),
always originate from Data ALU registers. The results of all Data ALU operations are stored in an
accumulator.
All the Data ALU operations are performed in two clock cycles in pipeline fashion so that a new
instruction can be initiated in every clock, yielding an effective execution rate of one instruction per clock
cycle. The destination of every arithmetic operation can be used as a source operand for the immediately
following arithmetic operation without a time penalty (in other words, without a pipeline stall).
1.5.1.2Multiplier-Accumulator (MAC)
The MAC unit comprises the main arithmetic processing unit of the DSP56300 core and performs all of
the calculations on data operands. In the case of arithmetic instructions, the unit accepts as many as three
input operands and outputs one 56-bit result of the following form- Extension:Most Significant
Product:Least Significant Product (EXT:MSP:LSP).
The multiplier executes 24-bit × 24-bit, parallel, fractional multiplies, between two’s-complement signed,
unsigned, or mixed operands. The 48-bit product is right-justified and added to the 56-bit contents of either
the A or B accumulator. A 56-bit result can be stored as a 24-bit operand. The LSP can either be truncated
or rounded into the MSP. Rounding is performed if specified.
1.5.2Address Generation Unit (AGU)
The AGU performs the effective address calculations using integer arithmetic necessary to address data
operands in memory and contains the registers used to generate the addresses. It implements four types of
arithmetic: linear, modulo, multiple wrap-around modulo, and reverse-carry. The AGU operates in parallel
with other chip resources to minimize address-generation overhead.
The AGU is divided into two halves, each with its own Address ALU. Each Address ALU has four sets of
register triplets, and each register triplet is composed of an address register, an offset register, and a
modifier register. The two Address ALUs are identical. Each contains a 24-bit full adder (called an offset
adder).
A second full adder (called a modulo adder) adds the summed result of the first full adder to a modulo
value that is stored in its respective modifier register. A third full adder (called a reverse-carry adder) is
also provided.
The offset adder and the reverse-carry adder are in parallel and share common inputs. The only difference
between them is that the carry propagates in opposite directions. Test logic determines which of the three
summed results of the full adders is output.
Each Address ALU can update one address register from its respective address register file during one
instruction cycle. The contents of the associated modifier register specifies the type of arithmetic to be used
in the address register update calculation. The modifier value is decoded in the Address ALU.
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductor1-5
DSP56300 Core Functional Blocks
1.5.3Program Control Unit (PCU)
The PCU performs instruction prefetch, instruction decoding, hardware DO loop control, and exception
processing. The PCU implements a seven-stage pipeline and controls the different processing states of the
DSP56300 core. The PCU consists of the following three hardware blocks:
•Program decode controller (PDC)
•Program address generator (PAG)
•Program interrupt controller (PIC)
The PDC decodes the 24-bit instruction loaded into the instruction latch and generates all signals necessary
for pipeline control. The PAG contains all the hardware needed for program address generation, system
stack, and loop control. The PIC arbitrates among all interrupt requests (internal interrupts, as well as the
five external requests: IRQA, IRQB, IRQD, and NMI), and generates the appropriate interrupt vector
address.
PCU features include the following:
•Position independent code support
•Addressing modes optimized for DSP applications (including immediate offsets)
•On-chip instruction cache controller
•On-chip memory-expandable hardware stack
•Nested hardware DO loops
•Fast auto-return interrupts
The PCU implements its functions using the following registers:
•PC—program counter register
•SR—Status register
•LA—loop address register
•LC—loop counter register
•VBA—vector base address register
•SZ—stack size register
•SP—stack pointer
•OMR—operating mode register
•SC—stack counter register
The PCU also includes a hardware system stack (SS).
1.5.4Internal Buses
To provide data exchange between blocks, the following buses are implemented:
•Peripheral input/output expansion bus (PIO_EB) to peripherals
•Program memory expansion bus (PM_EB) to program memory
•X memory expansion bus (XM_EB) to X memory
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
1-6Freescale Semiconductor
DSP56300 Core Functional Blocks
•Y memory expansion bus (YM_EB) to Y memory
•Global data bus (GDB) between registers in the DMA, AGU, OnCE, PLL, BIU, and PCU as well
as the memory-mapped registers in the peripherals
•DMA data bus (DDB) for carrying DMA data between memories and/or peripherals
•DMA address bus (DAB) for carrying DMA addresses to memories and peripherals
•Program Data Bus (PDB) for carrying program data throughout the core
•X memory Data Bus (XDB) for carrying X data throughout the core
•Y memory Data Bus (YDB) for carrying Y data throughout the core
•Program address bus (PAB) for carrying program memory addresses throughout the core
•X memory address bus (XAB) for carrying X memory addresses throughout the core
•Y memory address bus (YAB) for carrying Y memory addresses throughout the core
All internal buses on the DSP56300 family members are 24-bit buses. See Figure 1-1, DSP56364 block
diagram.
1.5.5Direct Memory Access (DMA)
The DMA block has the following features:
•Six DMA channels supporting internal and external accesses
•One-, two-, and three-dimensional transfers (including circular buffering)
•End-of-block-transfer interrupts
•Triggering from interrupt lines and all peripherals
1.5.6PLL-based Clock Oscillator
The clock generator in the DSP56300 core is composed of two main blocks: the PLL, which performs
clock input division, frequency multiplication, and skew elimination; and the clock generator (CLKGEN),
which performs low-power division and clock pulse generation. PLL-based clocking:
•Allows change of low-power divide factor (DF) without loss of lock
•Provides output clock with skew elimination
•Provides a wide range of frequency multiplications (1 to 4096), predivider factors (1 to 16), and a
power-saving clock divider (2
The PLL allows the processor to operate at a high internal clock frequency using a low frequency clock
input. This feature offers two immediate benefits:
•A lower frequency clock input reduces the overall electromagnetic interference generated by a
system.
•The ability to oscillate at different frequencies reduces costs by eliminating the need to add
additional oscillators to a system.
i
: i = 0 to 7) to reduce clock noise
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductor1-7
Data and Program memory
1.5.7JTAG TAP and OnCE Module
The DSP56300 core provides a dedicated user-accessible TAP fully compatible with the IEEE 1149.1
Standard Test Access Port and Boundary Scan Architecture. Problems associated with testing high-density
circuit boards led to developing this standard under the sponsorship of the Test Technology Committee of
IEEE and JTAG. The DSP56300 core implementation supports circuit-board test strategies based on this
standard.
The test logic includes a TAP consisting of four dedicated signals, a 16-state controller, and three test data
registers. A boundary scan register links all device signals into a single shift register. The test logic,
implemented utilizing static logic design, is independent of the device system logic.
The OnCE module provides a nonintrusive means of interacting with the DSP56300 core and its
peripherals so a user can examine registers, memory, or on-chip peripherals. This facilitates hardware and
software development on the DSP56300 core processor. OnCE module functions are provided through the
JTAG TAP signals.
1.6Data and Program memory
The on-chip memory configuration of the DSP56364 is affected by the state of the MS (Memory Switch)
control bit in the OMR register, and by the SC bit in the Status Register. Refer to Section 3, "Memory
Configuration".
1.6.1Reserved Memory Spaces
The reserved memory spaces should not be accessed by the user. They are reserved for future expansion.
1.6.2Program ROM Area Reserved for Freescale Use
The last 128 words ($FF2F80-$FF2FFF) of the Program ROM are reserved for Freescale use. This
memory area is reserved for use as expansion area for the bootstrap ROM as well as for testing purposes.
Customer code should not use this area. The contents of this Program ROM segment is defined by the
Bootstrap ROM source code in Appendix A, "Bootstrap ROM".
1.6.3Bootstrap ROM
The 192-word Bootstrap ROM occupies locations $FF0000-$FF00BF. The bootstrap ROM is
factory-programmed to perform the bootstrap operation following hardware reset. The contents of the
Bootstrap ROM are defined by the Bootstrap ROM source code in Appendix A, "Bootstrap ROM".
1.6.4Dynamic Memory Configuration Switching
The internal memory configuration is altered by re-mapping RAM modules from Y data memory into
program memory space and vice-versa. The contents of the switched RAM modules are preserved.
The memory can be dynamically switched from one configuration to another by changing the MS bit in
OMR. The address ranges that are directly affected by the switch operation are specified in Tab le 3-1 The
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
1-8Freescale Semiconductor
Internal I/O Memory Map
memory switch can be accomplished provided that the affected address ranges are not being accessed
during the instruction cycle in which the switch operation takes place. Accordingly, the following
condition must be observed for trouble-free dynamic switching:
NOTE
No accesses (including instruction fetches) to or from the affected address
ranges in program and data memories are allowed during the switch cycle.
NOTE
The switch cycle actually occurs 3 instruction cycles after the instruction
that modifies the MS bit.
Any sequence that complies with the switch condition is valid. For example, if the program flow executes
in the address range that is not affected by the switch, the switch condition can be met very easily. In this
case a switch can be accomplished by just changing the MS bit in OMR in the regular program flow,
assuming no accesses to the affected address ranges of the data memory occur up to 3 instructions after the
instruction that changes the OMR bit. Special care should be taken in relation to the interrupt vector
routines since an interrupt could cause the DSP to fetch instructions out of sequence and might violate the
switch condition.
Special attention should be given when running a memory switch routine using the OnCE™ port. Running
the switch routine in Trace mode, for example, can cause the switch to complete after the MS bit change
while the DSP is in Debug mode. As a result, subsequent instructions might be fetched according to the
new memory configuration (after the switch), and thus might execute improperly.
1.6.5External Memory Support
The DSP56364 does not support the SSRAM memory type. It does support SRAM and DRAM as
indicated in the DSP56300 24-Bit Digital Signal Processor Family Manual, Motorola publication DSP56300FM. Note that the DSP56364 has only an 8-bit data bus. This means that no instruction fetches
from external memory are possible, and care should be taken to ensure that no program memory instruction
fetch access occurs in the external memory space. The DMA may be used to automatically pack and
unpack 24-bit data into the 8-bit wide external memory, during DMA data transfers.
Also, care should be taken when accessing external memory to ensure that the necessary address lines are
19
available. For example, when using glueless SRAM interfacing, it is possible to directly address 2
memory locations (512K) when using the 18 address lines and the two programmable address attribute
lines. Using DRAM access mode, the full 16M addressing range may be used.
1.7Internal I/O Memory Map
The DSP56364 on-chip peripheral modules have their register files programmed to the addresses in the
internal X-I/O memory range (the top 128 locations of the X data memory space). See Section 3, “Memory
Configuration.”
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductor1-9
Status Register (SR)
1.8Status Register (SR)
Refer to the DSP56300 24-Bit Digital Signal Processor Family Manual, Freescale publication
DSP56300FM/AD for a description of the Status Register bits.
The Cache Enable bit (Bit 19) in the Status Register must be kept cleared since the DSP56364 does not
have an on-chip instruction cache.
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
1-10Freescale Semiconductor
2Signal/Connection Descriptions
2.1Signal Groupings
The input and output signals of the DSP56364 are organized into functional groups, which are listed in
Table 2-1 and illustrated in Figure 2-1.
The DSP56364 is operated from a 3.3 V supply; however, some of the inputs can tolerate 5 V. A special
notice for this feature is added to the signal descriptions of those inputs.
Table 2-1 DSP56364 Functional Signal Groupings
Functional Group
Power (V
Ground (GND)14Ta bl e 2 - 3
Clock and PLL3Tab l e 2-4
Address bus
Data bus8Tab l e 2-6
Bus control6Tab l e 2-7
Interrupt and mode control4Tab l e 2-8
General Purpose I/O Port B
SHI5Tab l e 2-9
ESAIPort C
JTAG/OnCE Port4Ta b le 2 - 1 1
1
Port A is the external memory interface port, including the external address bus, data bus, and control signals.
2
Port B signals are the GPIO signals.
3
Port C signals are the ESAI port signals multiplexed with the GPIO signals.
)18Ta bl e 2 - 2
CC
1
Por t A
2
3
Number of
Signals
18Ta bl e 2 - 5
4Ta b le 2 - 1 2
12Ta ble 2 - 1 0
Detailed
Description
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductor2-1
Signal Groupings
PORT A ADDRESS BUS
A0-A17
VCCA (4)
GNDA (4)
PORT A DATA BUS
D0-D7
VCCD (1)
GNDD (1)
PORT A BUS CONTROL
AA0-AA1/RAS0-RAS1
RESERVED (4)
CAS
RD
WR
TA
VCCC (1)
GNDC (1)
INTERRUPT AND
MODE CONTROL
MODA/IRQA
MODB/IRQB
MODD/IRQD
RESET
PLL AND CLOCK
PINIT/NMI
DSP56364
Port B
Port C
OnCE ON-CHIP EMULATION/
TDI
TCK
TDO
TMS
JTAG PORT
GPIO
PB0-PB3
SERIAL AUDIO INTERFACE (ESAI)
SCKT [PC3]
FST [PC4]
HCKT [PC5]
SCKR [PC0]
FSR [PC1]
HCKR [PC2]
SDO0 [PC11]
SDO1 [PC10]
SDO2/SDI3 [PC9]
SDO3/SDI2 [PC8]
SDO4/SDI1 [PC7]
SDO5/SDI0 [PC6]
VCCSS (3)
GNDS (3)
PCAP
VCCP
GNDP
EXTAL
SERIAL HOST INTERFACE (SHI)
MOSI/HA0
SS/HA2
MISO/SDA
SCK/SCL
HREQ
QUIET POWER
VCCHQ (4)
VCCLQ (4)
GNDQ (4)
Figure 2-1 Signals Identified by Functional Group
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
2-2Freescale Semiconductor
Loading...
+ 154 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.