Freescale Semiconductor, Inc.
Technical Information Center, EL516
2100 East Elliot Road
Tempe, Arizona 85284
+1-800-521-6274 or
+1-480-768-2130
www.freescale.com/support
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku
Tokyo 153-0064
Japan
0120 191014 or
+81 3 5437 9125
[email protected]
Asia/Pacific:
Freescale Semiconductor China Ltd.
Exchange Building 23F
No. 118 Jianguo Road
Chaoyang District
Beijing 100022
China
+86 010 5879 8000
[email protected]
For Literature Requests Only:
Freescale Semiconductor
Literature Distribution Center
P.O. Box 5405
Denver, Colorado 80217
+1-800 441-2447 or
+1-303-675-2140
Fax: +1-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 o r 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 author ized for use as components
in systems intended for surgical implant into the b ody, 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, emp loyees, 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 injur y 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.
21.2Ext e r n a l Si g n a l D escripti o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 -3
21.2.1Detail ed Si g n a l D escripti o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-4
22.3Ext e r n a l Si g n a l D escripti o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 -4
The Symphony™ DSP56724/DSP56725 Multi-Core Audio Processors Reference Manual describes the
features and operation of the SymphonyTM DSP56724/DSP56725 Multi-Core Audio Processors,
including, for example, their main features, architecture, function blocks, operation modes, pin signals,
clocks, interrupts, DMA operations, and memory maps.
The DSP56724/DSP56725 Multi-Core Audio Processors are devices of the DSP5672x family of
programmable CMOS DSPs, designed using dual DSP56300 24-bit cores. The DSP56724/DSP56725 are
intended for automotive, consumer, and professional audio applications that require high performance for
audio processing. Potential applications include A/V receivers, car audio/amplifiers, and professional
audio equipment.
Revision History
The following table summarizes revisions to this document.
Table 1. Revision History
RevisionDescription
0Initial release
Audience
The Symphony DSP56724/DSP56725 Multi-Core Audio Processors Reference Manual provides to the
design engineer the necessary data to success fully integrate t he proces sor s into a wide variety of
applications.
The intended audience for this document includes system architects, system modeling teams, IC designers,
software architects/designers, and the platform integration and testing teams. The level of detail in this
document is intended to provide the reader with sufficient information to validate the capabilities of the
processes in the targeted applications.
Organization
This reference manual is organized into chapters that describe the operation and programming of the
processors. It includes brief summaries of the major components, as well as listings of the memory maps
for the processors and shared memories.
This manual also contains chapters that describe the operations and configuration of the peripherals,
including the modules that provide bootmodes, memory, and connectivity.
Suggested Reading
The DSP56300 Family Manual (DSP56300FM) is suggested for a complete description of the Symphony
DSP56724/DSP56725 Multi-Core Audio Processors, and is necessary to design with the devices. This
document is helpful when used in conjunction with this reference manual.
Conventions
This reference manual uses the following conventions:
•OVERBAR is used to indicate a signal that is active when pulled low: for example, RESET.
•Logic level one is a voltage that corresponds to Boolean true (1) state.
•Logic level zero is a voltage that corresponds to Boolean false (0) state.
•To set a bit or bits means to establish logic level one.
•To clear a bit or bits means to establish logic level zero.
•A signal is an electronic construct whose state conveys or changes in state convey information.
•A pin is an external physical connection. The s ame pin can be used to connect a number of signals.
•Asserted means that a discrete signal is in active logic state.
— Active low signals change from logic level one to logic level zero.
— Active high signals change from logic level zero to logic level one.
•Negated means that an asserted discrete signal changes logic state.
— Active low signals change from logic level zero to logic level one.
— Active high signals change from logic level one to logic level zero.
•LSB means least significant bit or bits, and MSB means most significant bit or bits. R eferences to
low and high bytes or words are spelled out.
•Numbers preceded by a percent sign (%) are binary. Numbers preceded by a 0x are hexadecimal.
•Courier monospaced type indicate commands, command parameters, code examples, expressions,
data types, and directives.
•Italic type indicates replaceable command parameters.
The SymphonyTM DSP56724 and DSP56725 Multi-Core Audio Processors are devices of the DSP5672x
family of programmable CMOS DSPs, designed using multiple DSP56300 24-bit cores. The DSP56724
and DSP56725 are intended for automotive, consumer, and professional audio applications that require
high performance for audio processing. These processors also support professional audio applications,
including audio recording, signal processing and digital audio synthesis. Potential applications include
A/V receivers, car audio/amplifiers, and professional audio equipment. Additional device features include
support for digital audio compression/decompression, sound field processing, acoustic equalization and
other digital audio algorithms. With two DSP56300 cores, the DSP56724 (or DSP56725) device can
replace two DSP devices in designs, providing high MIPs and lower cost.
DSP56724/DSP56725 features include:
•Two DSP56300 enhanced cores: 400 MIPs (200 MIPs/core) with a 200 MHz clock; each core
includes:
— Highly parallel instruction set
— Hardware debugging support (JTAG TAP, OnCETM module)
— Eight-channel DMA controller
— Wait and Stop low-power standby modes
•Configurable and flexible arbitration method for the shared peripherals and shared memory blocks
•Powerful audio data communication ability:
— Four Enhanced Serial Audio Interface (ESAI) modules to transmit and receive audio data. Two
ESAI modules are provided for each core. For each ESAI, up to 4 receivers and up to 6
transmitters, master or slave. Protocols include I
AC97, network and other programmable protocols.
— One S/PDIF module is shared by the two cores to transmit and receive audio data in IEC958
format.
•Powerful host communication port: Two Serial Host Interface (SHI, SHI_1) modules, with one
module for each core. SHIs support SPI and I2C protocols, multi-master capability in I2C mode,
10-word receive FIFO, and support for 8, 16 and 24-bit words.
•Two triple-timer modules (TEC, TEC_1), with one timer module for each core.
•T wo watchdog timer modules (WDT, WDT_1), with one watchdog timer module for each core, to
prevent code runaway problems.
•An External Memory Controller (EMC) that can be accessed by both DSP cores, which supports
SDRAM, SRAM, EPROM, flash EPROM, burstable RAM, regular DRAM devices, and extended
data output DRAM devices. Note that the EMC is only available on DSP56724 devices, and is not
available on DSP56725 devices. The EMC includes:
— High performance SDRAM machine
— A general-purpose chip-select machine (GPCM)
— Up to three user-programmable machines (UPMs)
•A seamless hardware Asynchronous Sampling Rate Converter (ASRC) that is accessible to both
cores, to support different sample rate audio data transmission reception. Three data sampling rate
convert pairs can be supported at the same time. Different pairs can be used by different cores at
the same time.
•Inter-Core Communication (ICC) module:
— 32K shared memory between the two DSP56300 cores
— Supports a flexible arbitration system which allows multiple methods of arbitration
— Non-maskable and maskable interrupts between the two cores
— Poll data registers for simple data transfers
•Includes as many as 79 GP IO pins, s hared with other peripherals function pins; the actual number
is different for different device packages.
In addition to high MIPS, the DSP56724/DSP56725 provides powerful and flexible audio data
communications and supports a wide variety of audio applications. This section provides a brief
description of the DSP56724/DSP56725 processor features.
The DSP56724/DSP56725 has two DSP56300 DSP cores. The high throughput of the DSP56300 family
of processors makes them well-suited for high-speed control, efficient signal processing, numeric
processing, and audio applications. Benefits of using DSP56300 cores include:
•Speed: The DSP56300 family supports most high-performance DSP applications.
•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, memory, and peripheral operates independently and in
parallel with the other units through a sophisticated bus system. The Data ALU, AGU, and program
controller operate in parallel so that the following operations can execute in a single instruction:
— An instruction pre-fetch
— A 24-bit × 24-bit multiplication
— A 54-bit addition
— Two data moves
— Two address-pointer updates using either linear or modulo arithmetic
•Flexibility: While many other DSPs require external communication devices to interface with
peripheral circuits (such as A/D converters, D/A converters, or processors), the DSP56300 family
provides on-chip serial and parallel interfaces that support various configurations of memory and
peripheral modules. The peripherals are interfaced to the DSP56300 family core through a
peripheral interface bus that provides a common interface to many different peripherals.
•Sophisticated Debugging: Freescale’s On-Chip Emulation (OnCE) technology allows simple,
inexpensive, and speed-independent access to the internal registers for debugging. With the OnCE
module, you can easily determine the exact status of the registers and memory locations, plus
identify which instructions were executed last.
•Phase Locked Loop (PLL)-Based Clocking: The PLL allows the chip to use almost any availa ble
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 external memory
port, eliminating the timing skew common on other processors.
•Invisible Pipeline: The seven-stage instruction pipeline is essentially invisible to the programmer ,
allowing straightforward program development in either assembly language or high-level
languages such as C or C++.
•Similar Instruction Set: The instruction mnemonics are similar to those used for microcontroller
units, making an easy transition from programming microprocessors to programming the device.
New microcontroller ins tructions, addressing modes, and bit field instructions allow for significant
decreases in program code size. The orthogonal syntax controls the parallel execution units. The
hardware DO loop and the repeat (REP) instructions make writing straight-line code obsolete.
•Low Power: Designed in CMOS, the DSP56300 family consumes very little power . T wo additional
low-power modes, Stop and Wait, further reduce power requirements. Wait is a low-power mode
in which the DSP56300 core shuts down, but the peripherals and interrupt controller continue to
operate, so that an interrupt can bring the chip out of Wait mode. In Stop mode, even more of
circuitry is shut down for the lowest power consumption. Several different methods are available
to bring the chip out of Stop mode: hardware RESET, IRQA, and DE.
1.4Overview of Peripherals
The peripherals include the following:
•DMA
•PIC
•ESAI
•SHI
•TEC
•WDT
•CIM
•S/PDIF
•ASRC
Introduction
•EMC
•CGM
•Shared memory
•ICC
•Shared bus arbiters
•Chip configuration module
•JTAG controller
1.4.1Direct Memory Access Controller (DMA, DMA_1)
The DMA controller enables data transfers without any interactions with the DSP cores. During DMA
accesses, it supports any combination of source and destination between internal memory, internal
peripheral I/O, and external memory. DMA features include:
•Eight 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.4.2Program Interrupt Controller (PIC, PIC_1)
The Program Interrupt Controller arbitrates among all interrupt requests (internal interrupts and the five
external re q ue sts IRQA, IRQB, IRQC, IRQD, and NMI), and generates the appropriate interrupt vector
address.
The Program Interrupt Controller supports the following:
•Both non-maskable and maskable interrupts
•Up to 18 DMA interrupts and 24 Peripheral interrupts
•Up to 9 non-maskable interrupts
1.4.3Enhanced Serial Audio Interfaces (ESAI, ESAI_1, ESAI_2, ESAI_3)
The enhanced serial audio interfaces provide full-duplex serial GPIO pins or serial communications with
a variety of serial devices, including one or more industry-standard codecs, other DSPs, microprocessors
and other peripherals that implement the serial peripheral interface (SPI) serial protocol. Each ESAI
consists of independent transmitter and receiver sections, each with its own clock generator, and is a
superset of the DSP56300 family ESSI peripherals and the DSP56000 family SAI peripherals.
1.4.4Serial Host Interfaces (SHI, SHI_1)
Each serial host interface provides a path for communications and program/coefficient data transfers
between the DSP core and an external host processor. The SHI can interface direc tly to either of two
well-known and widely used synchronous serial buses: the SPI bus and t he Phillips inter -integrated-circuit
control (I2C) bus. The SHI supports either the SPI or I2C bus protocol, as required, from a slave or a
single-master device. To minimize DSP overhead, the SHI supports single-, double- and triple-byte data
transfers. The SHI has a 10-word receive FIFO that permits receiving up to 30 bytes before generating a
receive interrupt, reducing the overhead for data reception.
1.4.5Triple Timers (TEC, TEC_1)
Each Triple T imer is composed of a common 21-bit prescaler and three independent and identical general
purpose 24-bit timer event counters, with each timer having its own register set. Each timer can use internal
or external clocking, and can also interrupt the DSP after a specified number of events (clocks). Each of
the three timers can signal an external device after counting internal events. Each timer can also be used
to trigger DMA transfers after a specified number of events (clocks) have occurred.
Each of the three timers connects to the external world through bidirectional pins (TIO0, TIO1 and TIO2).
When a TIO pin is configured as input, the timer functions as an external event counter or can measure
external pulse width/signal period. When a TIO pin is used as output, the timer is functioning as either a
timer, a watchdog or a P ulse Width Modulator. When a TIO pin is not used by the timer, it can be used as
a General Purpose Input/Output Pin. Not all timer pins are available on all packages.
1.4.6Watch Dog Timers (WDT, WDT_1)
Each watchdog timer is a 16-bit timer used to help software recover from runaway code. The timer is a
free-running down-counter used to generate a reset on underflow. Software must periodically service the
watchdog timer to restart the count down
Each DSP core has a Core Integration Module. Each core integration module includes a chip ID register,
DMA stall monitor function, and OnCE global data bus (GDB) register.
1.4.8Sony/Philips Digital Interface (S/PDIF)
The Sony/Philips Digital Interface (S/PDIF) audio module is a transceiver that allows the DSP to r eceive
and transmit digital audio via this module. There is one S/PDIF in each DSP56724/DSP56725 device,
shared by the two DSP cores. The DSP provides a single S/PDIF receiver with four multiplexed inputs,
and one S/PDIF transmitter with two outputs. The S/PDIF module can also transmit and receive the
S/PDIF channel status (CS) and user (U) data. Not all S/PDIF pins are available on all packages.
1.4.9Asynchronous Sample Rate Converter (ASRC)
Incoming audio data to the DSP can be received from various sources at different sampling rates. Outgoing
audio data from the DSP can have different sampling rates, and additionally, it can be associated with
output clocks that are asynchronous to the input clocks. The Asynchronous Sample Rate Converter
(ASRC) converts the sampling rate of a signal associated to an input clock into a signal associated to a
different output clock.
The ASRC supports concurrent sample rate conversion of up to 10 channels of about 120 dB THD+N. The
sample rate conversion of each channel is associated to a pair of incoming and outgoing sampling rates.
The ASRC supports up to three sampling rate pairs. Although there is only one ASRC in the
DSP56724/DSP56725 device (shared by the two DSP cores), the three sample rate pairs can be used by
both DSP cores at the same time. The ASRC is hard-c ode d and imple mente d a s a c o-proce s sor, requiring
minimal CPU or DSP controller intervention.
1.4.10External Memory Controller (EMC)
There is one EMC in each DSP56724 device, shared by the two DSP cores. Both cores can access external
memory using the EMC. (DSP56725 devices do not have an EMC.) The EMC provides a seamless
interface to many types of memory devices and peripherals over a shared address and data bus and
dedicated control signals. The memory controller in the EMC controls a parameteriz ed number of memory
banks shared by a high performance SDRAM machine, a general-purpose chip- select machi ne (GPCM),
and up to three user-programmable machines (UPMs).
With external latching, it supports connections to synchronous DRAM (SDRAM), SRAM, EPROM, flash
EPROM, burstable RAM, regular DRAM devices, extended data output DRAM devices, and other
peripherals. Support signals for external address latch (LALE) allows multiplexing of address with data
lines in devices with strict pin count limitations.
1.4.11Clock Generation Module (CGM)
The Clock Generation Module generates all clocks in the DSP56724/DSP56725 device; the output is a
series of gated clocks. The CGM uses a low jitter phase-locked loop (PLL). The PLL has a wide range of
frequency multiplications (1 to 256), predivider factors (1 to 32) and output divider (1 to 8). The CGM also
has a power saving clock divider (2i: i = 0 to 7).
In functional mode, the PLL control register (P CTL) sits on the Shared Peripheral bus; both DSP cores can
read and write these registers to change the chip’s working frequency. Additionally, each core can
independently enter stop or wait mode to save power. The shared peripherals enter power-saving mode
only when both DSP cores enter the stop mode.
1.4.12Shared Memory
The shared memory is a shared memory space accessible by either DSP Core-0 or DSP Core-1. The
DSP56724/DSP56725 shared memory has four 8K x 24 words memory blocks for a total of 32K shared
words and is located starting from $030000. It can be accessed as X or Y memory (with zero wait states)
or as P memory (with 1 wait state).
The 8K x 24 words blocks are single port SRAMs; the Shared Bus Arbiter perform arbitration when the
two DSP cores try to access the same 8K x 24 SRAM block at the same time. No bus contentions occur
when the two DSP cores access different 8K x 24 SRAM blocks simultaneously.
1.4.13Inter-Core Communication (ICC)
Using the inter-core communication module, each DSP core can issue a maskable interrupt or
non-maskable interrupt to the other core, and each core has its own write data register (which passes data
to the other core when the interrupt is generated). There are also poll data registers for inter-core data
exchange in the ICC. The ICC module interfaces with both cores’ dedicated peripheral buses.
1.4.14Shared Bus Arbiters
The Shared Bus Arbiter provides arbitration between the two DSP cores for the shared peripherals, shared
memory and shared external memory interface (if available). It is a configurable arbiter, so users can
choose the arbitration method via the appropriate chip configuration registers. The Shared Bus Arbiter
supports using one of three arbitration schemes:
•Always round-robin method
•DSP Core-0 always has high priority
•DSP Core-1 always has high priority
1.4.15Chip Configuration Module
The Chip Configuration module contains several registers which establish the mode of operation for
various internal blocks, modules, and some of the peripherals. These registers include:
•Control bits of Shared Bus Arbiters
•EMC Burst Mode control bits
•Pin mux/switch control of ESAI, S/PDIF, S/PDIF Rx Clock output mux on ESAI HCKR pins
•Shared peripherals Soft Reset triggering and auto-release
In the DSP56724/DSP56725 devices, two separate DSP cores are supported, each with their own OnCE
and JTAG TAP controller. The two JTAG TAPs are daisy-chained, and appear to be two separate single
core devices to the outside world.
Each product (DSP56724, DSP56725) is available in a variety of packages, which affects whether some
modules use dedicated or shared external pins. See Table 2-1.
The voltage (3.3 V) should be well-regulated and the input should be provided with an extremely low impedance
path to the 3.3 V
PLL Power
The voltage (1.0 V) should be well-regulated and the input should be provided with an extremely low impedance
path to the 1.0 V
The voltage (1.0 V) should be well-regulated and the input should be provided with an extremely low impedance
path to the 1.0 V
The voltage (3.3 V) should be well-regulated and the input should be provided with an extremely low impedance
path to the 3.3 V
Timer I/O, and other IO signals. The user must provide adequate external decoupling capacitors.
power rail. The user must provide adequate external decoupling capacitors.
DD
power rail. The user must provide adequate external decoupling capacitors.
DD
power rail. The user must provide adequate decoupling capacitors.
DD
power rail. This is an isolated power for the SHI, SHI_1, ESAI, ESAI_1, ESAI_2, ESAI_3,
DD
2.2.2Ground
Table 2-4. Ground Pins
Ground NameDescription
PLLA_GND
PLLP_GND
PLLA1_GND
PLLP1_GND
PLL Ground
The PLL ground should be provided with an extremely low-impedance path to ground. The user must provide
adequate external decoupling capacitors.
PLLD_GND
PLLD1_GND
CORE_GNDCore Ground
IO_GNDI/O Ground
GNDGround
Freescale Semiconductor2-5
PLL Ground
The PLL ground should be provided with an extremely low-impedance path to ground. The user must provide
adequate external decoupling capacitors.
The Core ground should be provided with an extremely low-impedance path to ground. This connection must
be tied externally to all other chip ground connections. The user must provide adequate external decoupling
capacitors.
IO_GND is an isolated ground for the SHIs, ESAIs, Timer I/O and LIBU IO. This connection must be tied
externally to all other chip ground connections. The user must provide adequate external decoupling
capacitors.
This connection must be tied externally to all other chip ground connections. The user must provide adequate
external decoupling capacitors.
Manufacturing test pin. This pin should be pulled low.
Uses internal pull-down resistor.
2.2.4Clock and PLL
Table 2-6. Clock and PLL Signals
Signal
Name
EXTALInputInputExternal Clock / Crystal Input
XTALOutputChip Driven Crystal Output
PLOCKOutputMODC0
Type
State During
Reset
Input
An external clock source must be connected to EXTAL to supply the clock to the
internal clock generator and PLL.
Connects the internal Crystal Oscillator output to an external crystal. If an external
clock is used, leave XTAL unconnected.
PLL Lock/GPIO Port G Pin 0
During assertion of RESET
RESET
is de-asserted, the state of the PLOCK pin is latched into the Core-0 (MDC
of Core-0’s OMR). After RESET
when the internal PLL is locked.
Description
Description
, the PLOCK pin acts as a mode pin input, and when
is de-asserted, PLOCK is output “0”; and goes high
MODC0InputMODC0
MODA0, MODB0, MODC0, and MODD0 levels select one of 16 initial chip operating
modes of DSP Core-0, and are latched into the DSP Core-0’s OMR when the
RESET
PG0Input, Output,
Disconnected
PINIT/NMI
InputInputPLL Initial/Nonmaskable Interrupt for DSP Core-0
or
GPIO Port G0
When the PLOCK is configured as GPIO, this pin is individually programmable as
input, output, or internally disconnected.
Uses an internal pull-up resistor.
During assertion of RESET
(PEN) bit of the PLL control register, determining whether the PLL is enabled or
disabled.
After RESET
Schmitt-trigger input is a negative-edge-triggered nonmaskable interrupt (NMI)
request for DSP Core-0, internally synchronized to the internal system clock.
Uses an internal pull-up resistor.
signal is de-asserted.
, the value of PINIT/NMI is written into the PLL Enable
de-assertion and during normal instruction processing, the PINIT/NMI
Assert Reset to low and then high, to force a reset of the DSP cores. Table 2-7 provides the Reset pin
description information.
Table 2-7. Reset Pin
Signal
Name
RESET
State During
Type
InputInputRESET is an active-low, Schmitt-trigger input. When asserted, the chip is placed in the Reset
Reset
state and the internal phase generator is reset. The Schmitt-trigger input allows a slowly rising
input (such as a capacitor charging) to reset the chip reliably. When the RESET
de-asserted, the initial two cores operating modes are latched from the MODA0, MODB0,
MODC0, MODD0, MODA1, MODB1, MODC1, and MODD1 inputs. The RESET
asserted during power up. A stable EXTAL signal must be supplied while RESET
asserted. Uses an internal pull-up resistor.
Description
signal is
signal must be
is being
2.2.6Interrupt and Mode Control
The interrupt and mode control signals select the operating mode of the DSP cores as the cores come out
of hardware reset. After RESET is de-asserted, these inputs are used as hardware interrupt request lines.
Table 2-8. Interrupt and Mode Control
Signal NameType
MODA0/IRQA
InputMODA0
State During
Reset
Input
Description
Mode Select A0/External Interrupt Request A
MODA0/IRQA
the DSP clock. MODA0/IRQA
hardware reset, and becomes a two-core shared, level-sensitive or
negative-edge-triggered, maskable interrupt request input during normal
instruction processing, This pin can also be programmed as GPIO.
MODA0, MODB0, MODC0, and MODD0 levels select one of 16 initial chip
operating modes, and are latched into the DSP Core-0’s OMR when the RESET
signal is de-asserted. If the processor is in the stop standby state and the
MODA0/IRQA
is an active-low Schmitt-trigger input, internally synchronized to
selects the initial Core-0 operating mode during
pin is pulled to GND, the processor will exit the stop state.
When the MODA0/IRQA
programmable as input, output, or internally disconnected; and can be controlled
by either of the two cores. Uses an internal pull-up resistor.
Mode Select B0/External Interrupt Request B
MODB0/IRQB
the DSP clock. MODB0/IRQB
during hardware reset and becomes a two-core shared, level-sensitive or
negative-edge-triggered, maskable interrupt request input during normal
instruction processing. This pin can also be programmed as GPIO.
MODA0, MODB0, MODC0, and MODD0 levels select one of 16 initial chip
operating modes, and are latched into the DSP Core-0’s OMR when the RESET
signal is de-asserted.
is an active-low Schmitt-trigger input, internally synchronized to
is configured as GPIO, this signal is individually
selects the initial DSP Core-0 operating mode
Page 30
Signal Descriptions
Table 2-8. Interrupt and Mode Control (Continued)
Signal NameType
PG6In put, Output,
or
Disconnected
MODA1/IRQC
PG7In put, Output,
MODB1/IRQD
InputMODA1
or
Disconnected
InputMODB1
State During
Reset
Input
Input
Description
GPIO Port G6
When the MODB0/IRQB
programmable as input, output, or internally disconnected; and can be controlled
by either of the two cores. Uses an internal pull-up resistor.
Mode Select A1/External Interrupt Request C
MODA1/IRQC
the DSP clock. MODA1/IRQC
during hardware reset and becomes a level-sensitive or negative-edge-triggered,
maskable interrupt request input during normal instruction processing. This pin
can also be programmed as GPIO.
MODA1, MODB1, MODC1, and MODD1 levels select one of 16 initial chip
operating modes, and are latched into the DSP Core-1 OMR when the RESET
signal is de-asserted.
GPIO Port G7
When the MODA1/IRQC
programmable as input, output, or internally disconnected; and this signal can be
controlled by either of the two cores. Uses an internal pull-up resistor.
Mode Select B1/External Interrupt Request D
MODB1/IRQD
the DSP clock. MODB1/IRQD
during hardware reset and becomes a level-sensitive or negative-edge-triggered,
maskable interrupt request input during normal instruction processing. This pin
can also be programmed as GPIO.
MODA1, MODB1, MODC1, and MODD1 levels select one of 16 initial chip
operating modes, and are latched into the DSP Core-1 OMR when the RESET
signal is de-asserted.
is an active-low Schmitt-trigger input, internally synchronized to
is an active-low Schmitt-trigger input, internally synchronized to
is configured as GPIO, this signal is individually
selects the initial DSP Core-0 operating mode
is configured as GPIO, this signal is individually
When the MODB1/IRQD
programmable as input, output, or internally disconnected; and can be controlled
by either of the two cores. Uses an internal pull-up resistor.
is configured as GPIO, this signal is individually
2-8Freescale Semiconductor
Page 31
2.2.7DSP Core-1 Non-Maskable Interrupt (NMI1)
DSP Core-1 has a dedicated NMI pin.
Table 2-9. Non-Maskable Interrupt for DSP Core-1 (NMI1)
Signal Descriptions
Signal Name Type
NMI1
MODC1InputOperating modes
State During
Reset
InputMODC1
Input
Description
Nonmaskable interrupt for DSP Core-1
After RESET
Schmitt-trigger input is a negative-edge-triggered nonmaskable interrupt request for DSP
Core-1, and is internally synchronized to the internal system clock.
MODA1, MODB1, MODC1, and MODD1 levels select one of 16 initial chip operating
modes of DSP Core-1, and are latched into the DSP Core-1’s OMR when the RESET
signal is de-asserted.
Uses an internal pull-up resistor.
deassertion and during normal instruction processing, the NMI1
2.2.8Serial Host Interface (SHI and SHI_1)
There are two SHI modules in each DSP56724/DSP56725 device: SHI and SHI_1. SHI is used by DSP
Core-0, while SHI_1 is used by DSP Core-1. Each of the two SHI modules has five I/O signals that can be
configured in either SPI or I2C mode.
In the DSP56724 144-pin and DSP56725 80-pin packages, the two SHI modules share one group of SHI
pins, with separate SS/HA2 and SS_1/HA2_1 pins.
Table 2-10. DSP56724/DSP56725 SHI Pin Configuration
ProductPackageSHI Pin Configuration
DSP56724144-pinBoth SHI modules (SHI, SHI_1) share one group of SHI pins, except for the SS
DSP5672580-pinBoth SHI modules (SHI, SHI_1) share one group of SHI pins, except for the SS
When the SPI is configured as a master, the SCK signal is an output; when the SPI
is configured as a slave, the SCK signal is a Schmitt-trigger input.
When the SPI is configured as a master, the SCK signal is derived from the internal
SHI clock generator.
When the SPI is configured as a slave, the SCK signal is an input, and the clock
signal from the external master synchronizes the data transfer. The SCK signal is
ignored by the SPI if it is defined as a slave and the slave select (SS
asserted.
In both the master and slave SPI devices, data is shifted on one edge of the SCK
signal and is sampled on the opposite edge where data is stable. Edge polarity is
determined by the SPI transfer protocol.
2
I
C Serial Clock
SCL carries the clock for I
configured as a master, SCL is an open-drain output; when the SPI is configured as
a slave, SCL is a Schmitt-trigger input.
SCL should be connected to V
This signal is tri-stated during hardware, software and individual reset. Thus, there
is no need for an external pull-up in this state.
This pin is shared by SHI and SHI_1 in DSP56725 80-pin and DSP56724 144-pin
packages.
Uses an internal pull-up resistor.
Description
) signal is not
2
C bus transactions in the I2C mode. When the SPI is
through a pull-up resistor.
DD
MISOInput or
Output
SDAInput or
Open-drain
Output
Tri-statedSPI Master-In-Slave-Out
When the SPI is configured as a master, MISO is the master data input line. The
MISO signal is used in conjunction with the MOSI signal for transmitting and
receiving serial data.
When the SPI is configured as a master, MISO is a Schmitt-trigger input; when the
SPI is configured as a slave, MISO is an output, and is tri-stated when SS
deasserted.
An external pull-up resistor is not required for SPI operation.
2
I
C Data and Acknowledge
2
In I
C mode, SDA is a Schmitt-trigger input when receiving and an open-drain output
when transmitting. SDA should be connected to V
SDA carries the data for I
high period of SCL. The data in SDA is only allowed to change when SCL is low.
When the bus is free, SDA is high.
In start and stop events, the SDA line is only allowed to change during the time SCL
is high.
A start event is a high-to-low transition of the SDA line while SCL is high. A stop event
is a low-to-high transition of SDA while SCL is high.
This signal is tri-stated during hardware, software and individual reset. Thus, there
is no need for an external pull-up in this state.
This pin is shared by SHI and SHI_1 in DSP56725 80-pin and DSP56724 144-pin
packages.
Uses an internal pull-up resistor.
is
through a pull-up resistor.
2
C transactions. The data in SDA must be stable during the
Table 2-11. Serial Host Interface Signals (SHI) (Continued)
Signal Descriptions
Signal
Name
Signal Type
MOSIInput or
State
During
Reset
Tri-statedSPI Master-Out-Slave-In
Output
HA0InputI
SS
InputTri-statedSPI Slave Select
Description
When the SPI is configured as a master, MOSI is the master data output line. The
MOSI signal is used in conjunction with the MISO signal for transmitting and
receiving serial data.
When the SPI is configured as a slave, MOSI is the slave data input line, and is a
Schmitt-trigger input.
2
C Slave Address 0
When configured for I
and is a Schmitt-trigger input.
When configured for I
2
C slave mode, HA0 is used to form the slave device address,
2
C master mode, HA0 is ignored.
This signal is tri-stated during hardware, software and individual reset. Thus, there
is no need for an external pull-up in this state.
This pin is shared by SHI and SHI_1 in DSP56725 80-pin and DSP56724 144-pin
packages.
Uses an internal pull-up resistor.
When configured for SPI Slave mode, SS
is used to enable the SPI slave for transfer,
and is an active low Schmitt-trigger input.
When configured for SPI master mode, SS
If SS
is asserted while configured in SPI master mode, a bus error condition is
flagged. If SS
is de-asserted while configured in SPI master mode, the SHI ignores
should be kept de-asserted (pulled high).
SCK clocks and keeps the MISO output signal in the high-impedance state.
HA2InputI
2
C Slave Address 2
When configured for I
and is a Schmitt-trigger input.
When configured for I
2
C slave mode, HA2 is used to form the slave device address,
2
C master mode, HA2 is ignored.
This signal is tri-stated during hardware, software and individual reset. Thus, there
is no need for an external pull-up in this state.
Uses an internal pull-up resistor.
Table 2-11. Serial Host Interface Signals (SHI) (Continued)
Signal
Name
Signal Type
HREQInput or
Output
Input, Output,
or
Disconnected
State
During
Reset
Tri-statedSHI_1’s Host Request
When configured for SPI master mode, this signal is an active low Schmitt-trigger
input. When asserted by the external slave device, HREQ
data word transfer by the master. After finishing the data word transfer, the master
will await the next assertion of HREQ
also be programmed as GPIO.
When configured for SPI slave mode, this signal is an active low output. HREQ
asserted to indicate that the SHI is ready for the next data word transfer; HREQ
de-asserted at the first clock pulse of the new data word transfer.
PH4Port H4
When HREQ
input, output, or internally disconnected.
This signal is tri-stated during hardware, software and individual reset, or when the
HREQ1-HREQ0 bits in the HCSR are cleared. There is no need for an external
pull-up in this state.
This pin is shared by SHI and SHI_1 in DSP56725 80-pin and DSP56724 144-pin
packages.
Uses an internal pull-up resistor.
Description
will trigger the start of the
to proceed to the next transfer. This pin can
is
is
is configured as GPIO, this signal is individually programmable as
Table 2-12. Serial Host Interface Signals (SHI_1)
Signal
Name
SS_1
Signal Type
InputTri-statedSHI_1’s SPI Slave Select
HA2_1InputSHI_1’s I
State
during
Reset
When configured for SPI_1 Slave mode, SS_1
for transfer, and is an active low Schmitt-trigger input.
When configured for SPI_1 master mode, SS_1
(pulled high). If SS
error condition is flagged. If SS_1
master mode, the SHI_1 ignores SCK_1 clocks and keeps the MISO_1 output
signal in the high-impedance state
When configured for I
address, and is a Schmitt-trigger input.
When configured for I
This signal is tri-stated during hardware, software and individual reset. Thus,
there is no need for an external pull-up resistor in this state.
Uses an internal pull-up resistor.
is asserted while configured in SPI_1 master mode, a bus
2
C Slave Address 2
2
C slave mode, HA2_1 is used to form the slave device
2.2.9Enhanced Serial Audio Interface Signals (ESAI, ESAI_1, ESAI_2,
ESAI_3)
There are four groups of ESAI pins: ESAI, ESAI_1, ESAI_2 and ESAI_3. ESAI and ESAI_1 pins are used
by the DSP Core-0. ESAI_2 and ESAI_3 are used by DSP Core-1. The next four tables show the pins for
each ESAI group.
Pin switching between ESAI modules features are supported: ESAI can switch pins with ESAI_2, and
ESAI_1 can switch pins with ESAI_3. The switch controls are pin by pin.
Table 2-13. Enhanced Serial Audio Interface Signals (ESAI)
Signal NameSignal Type
HCKR Input or OutputGPIO
PC2Input, Output, or
Disconnected
SRCKOutputS/PDIF Receive Clock— This Pin can be used as S/PDIF receive clock
HCKTInput or OutputGPIO
PC5Input, Output, or
Disconnected
State during
Reset
Disconnected
Disconnected
Description
ESAI’s High Frequency Clock for Receiver
When programmed as an input, this signal provides a high frequency clock
source for the ESAI receiver (as an alternative to the DSP core clock).
When programmed as an output, this signal can serve as a high-frequency
sample clock (for example, for DACs or as an additional system clock.
GPIO Port C2
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
output; this clock is generated by the internal S/PDIF’s DPLL, controlled
by the ERC0 bits in Pin MUX Control Register of the Chip Configuration
Module.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
ESAI’s High Frequency Clock for Transmitter
When programmed as an input, this signal provides a high frequency clock
source for the ESAI transmitter (as an alternative to the DSP core clock).
When programmed as an output, this signal can serve as a high frequency
sample clock (for example, for external DACs) or as an additional system
clock.
GPIO Port C5
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
STCLKInputS/PDIF Transmit Clock— This Pin can be used as S/PDIF transmit clock
input; controlled by the ClkSrc_Sel bits in the S/PDIF PhaseConfig
Register.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
Table 2-13. Enhanced Serial Audio Interface Signals (ESAI) (Continued)
Signal NameSignal Type
FSRInput or OutputGPIO
PC1Input, Output, or
Disconnected
FSTInput or OutputGPIO
State during
Reset
Disconnected
Disconnected
Description
ESAI’s Frame Sync for Receiver
This is the receiver frame sync input/output signal.
In the asynchronous mode (SYN=0), the FSR pin operates as the frame
sync input or output used by all the enabled receivers.
In the synchronous mode (SYN=1), the FSR pin operates as either the
serial flag 1 pin (TEBE=0), or as the transmitter external buffer enable
control (TEBE=1, RFSD=1).
When the FSR pin is configured as serial flag pin, its direction is
determined by the RFSD bit in the RCCR register.
When configured as the output flag OF1, the FSR pin will reflect the value
of the OF1 bit in the SAICR register, and the data in the OF1 bit will show
up at the pin synchronized to the frame sync in normal mode or to the slot
in network mode.
When configured as the input flag IF1, the data value at the FSR pin will be
stored in the IF1 bit in the SAISR register, synchronized by the frame sync
in normal mode or by the slot in network mode.
GPIO Port C1
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
ESAI’s Frame Sync for Transmitter
This is the transmitter frame sync input/output signal.
For synchronous mode, this signal is the frame sync for both transmitters
and receivers.
For asynchronous mode, FST is the frame sync for the transmitters only.
The direction is determined by the transmitter frame sync direction (TFSD)
bit in the ESAI transmit clock control register (TCCR).
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
Page 37
Table 2-13. Enhanced Serial Audio Interface Signals (ESAI) (Continued)
Signal Descriptions
Signal NameSignal Type
SCKRInput or OutputGPIO
PC0Input, Output, or
Disconnected
SCKTInput or OutputGPIO
State during
Disconnected
Disconnected
Reset
Description
ESAI’s Receiver Serial Clock
SCKR provides the receiver serial bit clock for the ESAI. The SCKR
operates as a clock input or output used by all the enabled receivers in the
asynchronous mode (SYN=0), or as serial flag 0 pin in the synchronous
mode (SYN=1).
When the SCKR pin is configured as serial flag pin, its direction is
determined by the RCKD bit in the RCCR register.
When configured as the output flag OF0, the SCKR pin will reflect the value
of the OF0 bit in the SAICR register, and the data in the OF0 bit will show
up at the pin synchronized to the frame sync in normal mode or to the slot
in network mode.
When configured as the input flag IF0, the data value at the SCKR pin will
be stored in the IF0 bit in the SAISR register, synchronized by the frame
sync in normal mode or by the slot in network mode.
GPIO Port C0
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
ESAI’s Transmitter Serial Clock
SCKT provides the serial bit rate clock for the ESAI. SCKT is a clock input
or output used by all enabled transmitters and receivers in synchronous
mode, or by all enabled transmitters in asynchronous mode.
PC3Input, Output, or
Disconnected
SDO5OutputGPIO
Disconnected
SDI0 InputESAI’s Serial Data Input 0
PC6 Input, Output, or
Disconnected
GPIO Port C3
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
ESAI’s Serial Data Output 5
When programmed as a transmitter, SDO5 is used to transmit data from
the TX5 serial transmit shift register.
When programmed as a receiver, SDI0 is used to receive serial data into
the RX0 serial receive shift register.
GPIO Port C6
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected. After the Reset
pin is deasserted, this pin’s function is GPIO disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
Table 2-13. Enhanced Serial Audio Interface Signals (ESAI) (Continued)
Signal NameSignal Type
SDO4OutputGPIO
SDI1InputESAI’s Serial Data Input 1
PC7Input,
Output, or
Disconnected
SDO3OutputGPIO
SDI2InputESAI’s Serial Data Input 2
PC8Input, Output, or
Disconnected
State during
Reset
Disconnected
Disconnected
ESAI’s Serial Data Output 4
When programmed as a transmitter, SDO4 is used to transmit data from
the TX4 serial transmit shift register.
When programmed as a receiver, SDI1 is used to receive serial data into
the RX1 serial receive shift register.
GPIO Port C7
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected. After the Reset
pin is deasserted, this pin’s function is GPIO disconnected
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
ESAI’s Serial Data Output 3
When programmed as a transmitter, SDO3 is used to transmit data from
the TX3 serial transmit shift register.
When programmed as a receiver, SDI2 is used to receive serial data into
the RX2 serial receive shift register.
GPIO Port C8
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
Description
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
SDO2OutputGPIO
Disconnected
SDI3InputESAI’s Serial Data Input 3
PC9Input,Output, or
Disconnected
ESAI’s Serial Data Output 2
When programmed as a transmitter, SDO2 is used to transmit data from
the TX2 serial transmit shift register
When programmed as a receiver, SDI3 is used to receive serial data into
the RX3 serial receive shift register.
GPIO Port C9
When the ESAI is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
Table 2-14. Enhanced Serial Audio Interface Signals (ESAI_1) (Continued)
Signal NameSignal Type
SDO2_1OutputGPIO
SDI3_1InputESAI_1’s Serial Data Input 3
PE9Input,Output, or
Disconnected
State during
Reset
Disconnected
ESAI_1’s Serial Data Output 2
When programmed as a transmitter, SDO2_1 is used to transmit data from
the TX2 serial transmit shift register.
When programmed as a receiver, SDI3_1 is used to receive serial data
into the RX3 serial receive shift register.
GPIO Port E9
When the ESAI_1 is configured as GPIO, PE9 is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
Table 2-15. Enhanced Serial Audio Interface Signals (ESAI_2)
Signal NameSignal Type
SDO5_2OutputGPIO
SDI0_2 InputESAI_2’s Serial Data Input 0
State during
Reset
Disconnected
ESAI_2’s Serial Data Output 5
When programmed as a transmitter, SDO5_2 is used to transmit data
from the TX5 serial transmit shift register.
When programmed as a receiver, SDI0_2 is used to receive serial data
into the RX0 serial receive shift register.
Description
Description
PC6_1Input, Output, or
Disconnected
SDO4_2OutputGPIO
Disconnected
SDI1InputESAI_2’s Serial Data Input 1
PC7_1Input,
Output, or
Disconnected
GPIO Port C6_1
When the ESAI_2 is configured as GPIO, PC6_1 is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses internal pull-down resistor in the DSP56724 144-pin package.
Uses internal pull-up resistor in DSP56725 80-pin and 144-pin packages.
ESAI_2’s Serial Data Output 4
When programmed as a transmitter, SDO4_2 is used to transmit data
from the TX4 serial transmit shift register.
When programmed as a receiver, SDI1 is used to receive serial data into
the RX1 serial receive shift register.
GPIO Port C7_1
When the ESAI_2 is configured as GPIO, PC7_1 is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses internal pull-down resistor in the DSP56724 144-pin package.
Uses internal pull-up resistor in DSP56725 80-pin and 144-pin packages.
Table 2-15. Enhanced Serial Audio Interface Signals (ESAI_2) (Continued)
Signal Descriptions
Signal NameSignal Type
SDO3_2OutputGPIO
SDI2_2InputESAI_2’s Serial Data Input 2
PC8_1Input, Output, or
Disconnected
SPDIFOUT1InputS/PDIF Audio Output Line1— In DSP56725 80-Pin Package, this pin
SDO2_2OutputGPIO
SDI3_2InputESAI_2’s Serial Data Input 3
State during
Reset
Disconnected
Disconnected
Description
ESAI_2’s Serial Data Output 3
When programmed as a transmitter, SDO3_2 is used to transmit data
from the TX3 serial transmit shift register.
When programmed as a receiver, SDI2_2 is used to receive serial data
into the RX2 serial receive shift register.
GPIO Port C8_1
When the ESAI_2 is configured as GPIO, PC8_1 is individually
programmable as input, output, or internally disconnected.
can be used as S/PDIF Output Line 1. Controlled by the spdifout_en bit
of the Pin MUX Control Register.
The default state after reset is GPIO disconnected.
Uses internal pull-down resistor in the DSP56724 144-pin package.
Uses internal pull-up resistor in DSP56725 80-pin and 144-pin packages.
ESAI_2’s Serial Data Output 2
When programmed as a transmitter, SDO2_2 is used to transmit data
from the TX2 serial transmit shift register
When programmed as a receiver, SDI3_2 is used to receive serial data
into the RX3 serial receive shift register.
PC9_1Input,Output, or
Disconnected
SPDIFIN1InputS/PDIF Audio Input Line1— In DSP56725 80-Pin Package, this pin can
GPIO Port C9_1
When the ESAI_2 is configured as GPIO, PC9_1 is individually
programmable as input, output, or internally disconnected.
be used as S/PDIF Input Line 1. Controlled by the spdifin1_en bit of the
Pin MUX Control Register.
The default state after reset is GPIO disconnected.
Uses internal pull-down resistor in the DSP56724 144-pin package.
Uses internal pull-up resistor in DSP56725 80-pin and 144-pin packages.
Table 2-16. Enhanced Serial Audio Interface Signals (ESAI_3)
Signal NameSignal Type
HCKR_3Input or OutputGPIO
PE2_1Input, Output, or
Disconnected
SRCKOutputS/PDIF Receive Clock— This Pin can be used as S/PDIF receive clock
HCKT_3Input or OutputGPIO
State during
Reset
Disconnected
Disconnected
Description
ESAI_3’s High Frequency Clock for Receiver
When programmed as an input, HCKR_3 provides a high frequency clock
source for the ESAI receiver (as an alternative to the DSP core clock).
When programmed as an output, HCKR_3 can serve as a high-frequency
sample clock (for example, for external DACs) or as an additional system
clock.
GPIO Port E2_1
When the ESAI_3 is configured as GPIO, PE2_1 is individually
programmable as input, output, or internally disconnected.
output; this clock is generated by the internal S/PDIF’s DPLL, S/PDIF
Receive Clock output controlled by the ERC3 bits in Pin MUX Control
Register of the Chip Configuration Module.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
ESAI_3’s High Frequency Clock for Transmitter
When programmed as an input, HCKT_3 provides a high frequency clock
source for the ESAI_3 transmitter (as an alternative to the DSP core
clock).
When programmed as an output, HCKT_3 can serve as a high frequency
sample clock (for example, for external DACs) or as an additional system
clock.
PE5_1Input, Output, or
Disconnected
STCLKInputS/PDIF Transmit Clock— This Pin can be used as S/PDIF transmit
GPIO Port E5_1
When the ESAI_3 is configured as GPIO, PE5_1 is individually
programmable as input, output, or internally disconnected.
clock input; controlled by the ClkSrc_Sel bits in the S/PDIF PhaseConfig
Register.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
Table 2-16. Enhanced Serial Audio Interface Signals (ESAI_3) (Continued)
Signal Descriptions
Signal NameSignal Type
FSR_3Input or OutputGPIO
PE1_1Input, Output, or
Disconnected
FST_3Input or OutputGPIO
State during
Disconnected
Disconnected
Reset
Description
ESAI_3’s Frame Sync for Receiver
FSR_3 is the receiver frame sync input/output signal.
In the asynchronous mode (SYN=0), the FSR_3 pin operates as the
frame sync input or output used by all the enabled receivers.
In the synchronous mode (SYN=1), the FSR_3 pin operates as either the
serial flag 1 pin (TEBE=0), or as the transmitter external buffer enable
control (TEBE=1, RFSD=1).
When the FSR_3 pin is configured as serial flag pin, its direction is
determined by the RFSD bit in the RCCR register.
When configured as the output flag OF1, the FSR_3 pin will reflect the
value of the OF1 bit in the SAICR register, and the data in the OF1 bit will
show up at the pin synchronized to the frame sync in normal mode or to
the slot in network mode.
When configured as the input flag IF1, the data value at the FSR_3 pin will
be stored in the IF1 bit in the SAISR register, synchronized by the frame
sync in normal mode or by the slot in network mode.
GPIO Port E1_1
When the ESAI_3 is configured as GPIO, PE1_1 is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
ESAI_3’s Frame Sync for Transmitter
FST_3 is the transmitter frame sync input/output signal.
For synchronous mode, FST_3 is the frame sync for both transmitters and
receivers.
For asynchronous mode, FST_3 is the frame sync for the transmitters
only.
The direction is determined by the transmitter frame sync direction
(TFSD) bit in the ESAI_3 transmit clock control register (TCCR).
When the ESAI_3 is configured as GPIO, PE4_1 is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
Page 44
Signal Descriptions
Table 2-16. Enhanced Serial Audio Interface Signals (ESAI_3) (Continued)
Signal NameSignal Type
SCKR_3Input or OutputGPIO
PE0_1Input, Output, or
Disconnected
SCKT_3Input or OutputGPIO
State during
Disconnected
Disconnected
Reset
Description
ESAI_3’s Receiver Serial Clock
SCKR_3 provides the receiver serial bit clock for the ESAI_3. The
SCKR_3 pin operates as a clock input or output used by all the enabled
receivers in the asynchronous mode (SYN=0), or as serial flag 0 pin in the
synchronous mode (SYN=1).
When the SCKR_3 pin is configured as serial flag pin, its direction is
determined by the RCKD bit in the RCCR register.
When configured as the output flag OF0, the SCKR_3 pin will reflect the
value of the OF0 bit in the SAICR register, and the data in the OF0 bit will
show up at the pin synchronized to the frame sync in normal mode or to
the slot in network mode.
When configured as the input flag IF0, the data value at the SCKR_3 pin
will be stored in the IF0 bit in the SAISR register, synchronized by the
frame sync in normal mode or by the slot in network mode.
GPIO Port E0_1
When the ESAI_3 is configured as GPIO, PE0_1 is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
ESAI_3’s Transmitter Serial Clock
SCKT_3 provides the serial bit rate clock for the ESAI_3. SCKT_3 is a
clock input or output used by all enabled transmitters and receivers in
synchronous mode, or by all enabled transmitters in asynchronous mode.
PE3_1Input, Output, or
Disconnected
SDO5_3OutputGPIO
Disconnected
SDI0_3 InputESAI_3’s Serial Data Input 0
PE6_1 Input, Output, or
Disconnected
GPIO Port E3_1
When the ESAI_3 is configured as GPIO, PE3_1 is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor.
ESAI_3’s Serial Data Output 5
When programmed as a transmitter, SDO5_3 is used to transmit data
from the TX5 serial transmit shift register.
When programmed as a receiver, SDI0_3 is used to receive serial data
into the RX0 serial receive shift register.
GPIO Port E6_1
When the ESAI_3 is configured as GPIO, PE6_1 is individually
programmable as input, output, or internally disconnected. After the Reset
pin is deasserted, this pins function is GPIO disconnected.
The default state after reset is GPIO disconnected.
Uses internal pull-down resistor in the DSP56724 144-pin package.
Uses an internal pull-up resistor in DSP56725 80-pin and 144-pin
packages.
Table 2-16. Enhanced Serial Audio Interface Signals (ESAI_3) (Continued)
Signal Descriptions
Signal NameSignal Type
SDO4_3OutputGPIO
SDI1InputESAI_3’s Serial Data Input 1
PE7_1Input,
Output, or
Disconnected
SDO3_3OutputGPIO
SDI2_3InputESAI_3’s Serial Data Input 2
PE8_1Input, Output, or
Disconnected
State during
Reset
Disconnected
Disconnected
ESAI_3’s Serial Data Output 4
When programmed as a transmitter, SDO4_3 is used to transmit data
from the TX4 serial transmit shift register.
When programmed as a receiver, SDI1 is used to receive serial data into
the RX1 serial receive shift register.
GPIO Port E7_1
When the ESAI_3 is configured as GPIO, PE7_1 is individually
programmable as input, output, or internally disconnected. After Reset pin
is deasserted, this pins function is GPIO disconnected
The default state after reset is GPIO disconnected.
ESAI_3’s Serial Data Output 3
When programmed as a transmitter, SDO3_3 is used to transmit data
from the TX3 serial transmit shift register.
When programmed as a receiver, SDI2_3 is used to receive serial data
into the RX2 serial receive shift register.
GPIO Port E8_1
When the ESAI_3 is configured as GPIO, PE8_1 is individually
programmable as input, output, or internally disconnected.
Description
The default state after reset is GPIO disconnected.
Uses an internal pull-down resistor in the DSP56724 144-pin package.
Uses an internal pull-up resistor in the DSP56725 80-pin package.
SDO2_3OutputGPIO
Disconnected
SDI3_3InputESAI_3’s Serial Data Input 3
PE9_1Input,Output, or
Disconnected
ESAI_3’s Serial Data Output 2
When programmed as a transmitter, SDO2_3 is used to transmit data
from the TX2 serial transmit shift register
When programmed as a receiver, SDI3_3 is used to receive serial data
into the RX3 serial receive shift register.
GPIO Port E9_1
When the ESAI_3 is configured as GPIO, PE9_1 is individually
programmable as input, output, or internally disconnected.
The default state after reset is GPIO disconnected.
Uses internal pull-down resistor in the DSP56724 144-pin package.
Uses an internal pull-up resistor in the DSP56725 80-pin package.
OutputWDT output This signal is asserted low when the hardware watchdog timer counts down
State after
Reset
Description
to zero. This pin is controlled by both WDT and WDT_1 modules, and is
asserted when the watchdog timer counts down to zero in either WDT or
WDT_1 modules.
There is an external memory interface controller (EMC) in the DSP56724. (There is no EMC in the
DSP56725.) The EMC module is shared by both DSP cores. All of the EMC signals are available in the
DSP56724 144-pin package.
Table 2-18. External Memory: EMC Signals
Signal NameType
LALEOutputLALE
LCS
[7:0]OutputLCS[7:0]
LWE
/
LSDDQM
OutputLWE/
State during
Reset
function
function
LSDDQM
Description
External Address Latch Enable
The EMC provides control for an external address latch, which allows address
and data to be multiplexed on the device pins.
Asserted
memory-controller transaction. If ORx[EAD] = 1, LALE is asserted for (
bus clock cycles.
in the CRR. Note that no other control signals are asserted when LALE is
asserted.
Negated
phase. LALE is negated 1/2 bus clock cycle earlier than the next positive edge
of bus clock, to get additional hold time for external latch device.
Uses an internal pull-down resistor.
Chip Selects
Eight mutually exclusive chip selects are provided.
Asserted/Negated
connected to the EMC. LCS[
corresponding to the chip select for memory bank 0, which has the memory type
and attributes defined by BR0 and OR0.
Uses an internal pull-up resistor.
GPCM Write Enable / SDRAM Data Mask
Asserted/Negated
SDRAM operation, LSDDQM functions as the DQM or data mask signals
provided by JEDEC-compliant SDRAM devices. When the EMC wishes to mask
a write or disable read data output from the SDRAM, LSDDQM is driven high.
Uses an internal pull-up resistor.
—LALE is asserted for at least 1/2 bus clock cycle for each
N
+1/2)
N
is the number of bus clock cycles defined by the EADC field
—LALE is negated at the negative edge of bus clock during address
—Used to enable specific memory devices or peripherals
7:0] are provided on a per-bank basis, with LCS0
—For GPCM operation, LWE is asserted for writing. For
10. When the row address is driven, this signal drives the value of address bit
10.
When the column address is driven, this signal forms part of the SDRAM
command. This signal is one of six general purpose signals when in UPM mode
and drives a value programmed in the UPM array.
Uses an internal pull-up resistor.
SDRAM Write Enable / General-Purpose Line 1
Asserted/Negated
and acts as the SDRAM write enable when accessing SDRAM.This signal is one
of six general purpose signals when in UPM mode, and drives a value
programmed in the UPM array.
Uses an internal pull-up resistor.
—For SDRAM accesses, this signal represents address bit
—This signal is connected to the SDRAM device WE input
GPCM Output Enable / SDRAM RAS / General-Purpose Line 2
Asserted/Negated
accessing memory/devices in GPCM mode. For SDRAM accesses, this signal
is the row address strobe (RAS). This signal is one of six general purpose lines
when in UPM mode, and drives a value programmed in the UPM array.
Uses an internal pull-up resistor.
SDRAM CAS / General-Purpose Line 3
Asserted/Negated
This signal is one of six general purpose signals when in UPM mode, and drives
a value programmed in the UPM array.
Uses an internal pull-up resistor.
GPCM Terminate Access / General-Purpose Line 4 / UPM Wait
Asserted/Negated
transaction termination. This signal may also be configured as one of six general
purpose output signals when in UPM mode or as an input to force the UPM
controller to wait for the memory/device.
Uses an internal pull-up resistor.
Asserted/Negated
UPM mode, and drives a value programmed in the UPM array.
Uses an internal pull-up resistor.
Description
—This signal controls the output buffer of memory when
—In SDRAM mode, drives the column address strobe (CAS).
—This signal is an input in GPCM mode and is used for
—This signal is one of six general purpose signals when in
LBCTL OutputLBCTLData Buffer Control
When a GPCM- or UPM-controlled bank is accessed, the memory controller
activates a data buffer control signal (BCTL) for the external memory. Access to
an SDRAM machine-controlled bank does not activate the buffer control. The
buffer control can be disabled by setting ORx[BCTLD].
Asserted/Negated
for a bus transceiver connected to the LAD lines. Because LBCTL remains high
after reset and during address phases, an external data buffer must not drive the
LAD lines in conflict with the EMC when LBCTL is high.
Uses an internal pull-up resistor.
LA[2:0] OutputGPIO
Disconnected
External Memory Non-Multiplexed Address LSBs
All bits driven on LA[2:0] are defined for 24-bit port sizes.
Asserted/Negated
to three least significant bits of the RAM address always appear on the
dedicated address pins LA[2:0]. These may be used, unlatched, in place of
LAD[2:0], to connect the three least significant bits of the address for address
phases. For some RAM devices, such as fast-page DRAM, LA[2:0] serve as the
column address offset during a burst access.
PA[26:24]Input or
Output or
Disconnected
GPIO Port A, Pin26–Pin24
When the EMC is configured as GPIO, these signals are individually
programmable as input, output, or internally disconnected. PA24 is multiplexed
with LA0; PA25 is multiplexed with LA1; PA26 is multiplexed with LA2.
The default state after reset for these signals is GPIO disconnected.
Internal Pull-Down Resistor for these 3 signals.
—The LBCTL pin normally functions as a Write/Read control
—Even though the EMC shares an address and data bus, up
For configuration of a port size in BRx[PS] as 32 bits, all of LAD[23:0] needs to
be connected to the external RAM data bus, with LAD[23] occupying the most
significant bit.
Asserted/Negated
through which external RAM devices transfer data and receive addresses.
Assertion/Negation
RAM address for the access to follow. External logic should propagate the
address on LAD[23:0] while LALE is asserted, and latch the address upon
negation of LALE. After LALE is negated, LAD[23:0] are either driven by write
data or are made high-impedance by the EMC to sample read data driven by an
external device. Following the last data transfer of a write access, LAD[23:0] are
again taken into a high-impedance state.
GPIO Port A, Pin[23:0]
When the EMC is configured as GPIO, these signals are individually
programmable as input, output, or internally disconnected. PA23 is multiplexed
with LAD23, PA22 is multiplexed with LAD22,..., and PA0 is multiplexed with
LAD0.
The default state after reset for these signals is GPIO disconnected.
Internal Pull-Down Resistor for these signals.
Asserted/Negated
JEDEC-standard SDRAM devices. This signal is asserted during normal
SDRAM operation.
Uses an internal pull-up resistor.
—LAD[23:0] is the shared 24-bit address and data bus
—During assertion of LALE, LAD[23:0] are driven with the
—LCKE is the bus clock enable signal (CKE) for
Description
LCLK OutputLCLKExternal Memory Clocks
Asserted/Negated
phase-locked loop (PLL) is enabled (see CRR[DBYP]), the bus clock phase is
shifted earlier than transitions on other EMC signals (such as LAD[23:0] and
LCSx) by a time delay matching the delay of the PLL timing loop set up between
LSYNC_OUT and LSYNC_IN.
Uses an internal pull-down resistor.
LSYNC_OUT
OutputLSYNC_OUT PLL Synchronization Out
Asserted/Negated
should be propagated through a passive timing loop and returned to LSYNC_IN
for achieving correct PLL lock.
Assertion/Negation
compensates for the round-trip flight time of LCLK and clocked drivers in the
system. No load other than a timing loop should be placed on LSYNC_OUT.
Uses an internal pull-down resistor.
LSYNC_IN
InputLSYNC_INPLL Synchronization Input
Asserted/Negated
Uses an internal pull-down resistor.
—LCLK drive external memory clock signal. If the EMC
—A replica of the bus clock, appearing on LSYNC_OUT
—The time delay of the timing loop should be such that it
Table 2-19. Digital Audio Interface: S/PDIF Signals
Signal
Name
SPDIFIN1InputGPIO
PG9Input, Output or
SPDIFOUT1InputGPIO
PG13Input or Output
Type
Disconnected
or
Disconnected
State During
Reset
Disconnected
Disconnected
Description
S/PDIF Input Line 1
IEC958 data in biphase mark format.
GPIO Port G9
When the S/PDIF is configured as GPIO, these signals are individually
programmable as input, output, or internally disconnected.
This signal can used by the GPIO port G function.
GPIO functions are controlled by GPIO port G registers. There is a bit in the
chip
configuration registers that set it to S/PDIF.
The default state after reset for these signals is GPIO disconnected.
Uses an internal pull-down resistor.
This pin is only available in the DSP56724 and DSP56725 144-pin package.
Audio Data Output Line 1
IEC958 data in biphase mark format. (Consumer C channel).
GPIO Port G13
When the S/PDIF is configured as GPIO, these signals are individually
programmable as input, output, or internally disconnected.
This signal can used by the GPIO port G function.
GPIO functions are controlled by GPIO port G registers. There is a bit in the
chip
configuration registers that set it to S/PDIF.
The default state after reset for these signals is GPIO disconnected.
Uses an internal pull-down resistor.
This pin is only available in the DSP56724 and DSP56725 144-pin package.
2.2.13Dedicated Port G GPIOs
Table 2-20. Dedicated Port G Signals and Mode Pins
Signal NameType
PG1I nput, Output, or
Disconnected
MODD0InputMODA0 MODB0, MODC0, and MODD0 levels select one of 16 initial chip
State During
Reset
MODD0 Input Port G1
When the PLOCK is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
operating modes of DSP Core-0, and are latched into the DSP Core-0’s
OMR when the RESET
Uses an internal pull-down resistor.
This signal is only available in the DSP56724 144-pin package. This signal
is not available in the DSP56725 80-pin package.
Table 2-20. Dedicated Port G Signals and Mode Pins (Continued)
Signal Descriptions
Signal NameType
PG2I nput, Output, or
Disconnected
MODD1InputMODA1, MODB1, MODC1, and MODD1 levels select one of 16 initial chip
State During
Reset
MODD1 Input Port G2
When the PLOCK is configured as GPIO, this signal is individually
programmable as input, output, or internally disconnected.
operating modes of DSP Core-1, and are latched into the DSP Core-1’s
OMR when the RESET
Uses an internal pull-down resistor.
This signal is only available in the DSP56724 144-pin package. This signal
is not available in the DSP56725 80-pin package.
Description
signal is deasserted.
2.2.14JTAG/OnCE Interface Signals
Table 2-21. JTAG/OnCE Interface
Signal
Name
TCKInputInputTest Clock
TDIInputInputTest Data Input
Signal
Type
State During
Reset
Description
TCK is a test clock input signal used to synchronize the JTAG test logic. It uses an
internal pull-up resistor.
TDI is a test data serial input signal used for test instructions and data. TDI is sampled
on the rising edge of TCK and uses an internal pull-up resistor.
TDOOutputTri-StatedTest Data Output
TDO is a test data serial output signal used for test instructions and data. TDO is
tri-statable and is actively driven in the shift-IR and shift-DR controller states. TDO
changes on the falling edge of TCK.
TMSInputInputTest Mode Select
TMS is an input signal used to sequence the test controller’s state machine. TMS is
sampled on the rising edge of TCK and uses an internal pull-up resistor.
The memory space of each DSP56300 core is partitioned into three main parts: program memory space,
X data memory space, and Y data memory space. The data memory space is divided into X and Y data
memory to work with the two address ALUs and to feed two operands simultaneously to the data ALU.
Memory space includes internal RAM and ROM, and can be expanded off-chip.
Figure 3-1 shows the memory address allocations for the DSP56724 and DSP 56725 DSPs.
Figure 3-1. DSP56724 and DSP56725 Memory Address Allocation
In the DSP56724/DSP56725, the lowest addresses are used for on-chip internal Program, X, and Y RAM.
The DSP56724 supports using a memory switch mode to increase the size of program RAM as needed.
Some X RAM bank(s) and/or Y RAM bank(s) can be switched to Program RAM. Program, X, and Y RAM
allocation on each DSP can be configured as five types of memory maps: a default mode plus four
additional memory maps based on two bit settings (MSW0, MSW1).
Four blocks of 8K shared memory (RAM) are accessible in the DSP56724/DSP56725. The shared
memory blocks occupy addresses from $030000 to $037FFF (including $037F FF), accessible by both DSP
cores. When the DSP cores access the shar ed memor y, the Program, X, and Y memory addresses are
mapped into same physical location, which means that there is no difference in accessing the shared
memory from Program, X, or Y memory space.
External Memory addresses from $040000 are used for internal RAM/ROM expansion. In the DSP56724,
the expansion is implemented via the EMC module, using the EMC’s external interface signals.
On-chip peripherals are connected to the core using the peripheral bus or Shared Peripheral bus. The
on-chip peripherals use the addresses above $FFF000 (including $FFF000).
3.2Data and Program Memory Maps
The on-chip memory configuration for each DSP is affected by the state of the memory switch control bits
in the Operating Mode Register (OMR). These bits are the Master Memory Switch Mode (MS) bit, the
Memory Switch Mode 0 (MSW0) bit, and the Memory Switch Mode 1 (MSW1) bit.
The dedicated and shared peripherals for each DSP core are the same, and the peripherals’ register memory
map for the both cores are the same.
DSP Core-0’s on-chip peripherals X-Memory map are listed in Table 3-7 DSP Core-0’s on-chip
peripheral’s Y-Memory Map is listed in Table 3-8.
The X-Memory map and Y-Memory map of DSP Core-1 are essentially the same as the DSP Core-0; the
difference being the names of the dedicated peripherals. For example, DSP Core-0 is PIC, while DSP
Core-1 is PIC_1.
The DSP56724 and DSP56725 have two DSP56300 platforms, which are identical. Each DSP56300
platform includes a DSP56300 core, a direct memory access unit (DMA), a program interrupt controller
(PIC), and a Co re /D MA Arb ite r.
Figure 4-1 provides the block diagram for the DSP56300 Core in DSP56724 and DSP56725.
AB = Address bus
DB = Data bus
GDB = Global data bus
Figure 4-1. DSP56300 Core in DSP56724/DSP56725
The dedicated peripheral bus interface includes PM_EB and GDB signals, and connects to dedicated
peripherals. Peripherals can also be connected via the shared bus.
The DSP56300 core is a high-performance, single clock-cycle-per-instruction engine that provides up to
twice the performance of Freescale's popular DSP56000 core family, while also retaining code
compatibility with it.
4.2DSP56300 Core Features
The DSP56300 core family provides 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, telecommuni cations
and multimedia products. Significant architectural enhancements to the DSP56300 core family include a
barrel shifter, 24-bit addressing, an instruction patch module and direct memory access (DMA).
DSP56300 core features include:
•DSP56300 modular chassis
•250 million instructions per second (MIPS) with a 150 MHz clock with 1.2 V internal logic supply
•Object code-compatible with DSP56000 core
•Data ALU with 24 × 24 bit multiplier-accumulator and 56-bit barrel shifter plus support for 16-bit
arithmetic
•Program control with support for position-independent code and instruction patches
•8-channel DMA controller
•Support for internal address-tracing plus OnCE for hardware/software debugging
•STOP and WAIT low-power standby modes
4.3DSP56300 Block Descriptions
The DSP56300 core provides five main functional blocks:
•Data arithmetic logic unit (Data ALU)
•Address generation unit (AGU)
•Program control unit (PCU)
•Internal Data Bus Switch
•OnCE module
DSP56300 core features are described fully in the DSP56300 Family Manual.
4.3.1Data ALU
The Data ALU performs all the arithmetic and logical operations on data operands in the DSP56300 core.
Data ALU features include:
•Fully pipelined 24-bit × 24-bit paralle l multiplier-accumulator (MAC)
•Bit field unit, comprising a 56-bit parallel barrel shifter (fast shift and normalization, bit strea m
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), plus accumulator shifters
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 arithme tic 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 on every cloc k, yielding an effective exec ution rate of one instruction per cloc k
cycle. The destination of every arithmetic operation can be used as a source operand for the immediately
following arithmetic operation without a time penalty (without a pipeline stall).
4.3.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. For arithmetic instructions, the MAC accepts as many as three input
operands and outputs one 56-bit result with the following form: Extension:Most Significant Product:L east
Significant Product (EXT:MSP:LSP).
The multiplier exec utes 24-bit × 24-bit, parallel, f ractional mul tiplies, betwe en 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.
4.3.2Address Generation Unit (AGU)
The Address Generation Unit performs effective address calculations using integer arithmetic necessary
to address data operands in memory, and contains the registers used to generate the addresses. The AGU
implements four types of arithmetic (linear, modulo, multiple wrap-around modulo, reverse-carry), and
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 s ets of
register triplets. Each register triplet is composed of an address register, an offset register and a modifier
register. The two Address ALUs are identical. Each Address ALU contains a full 24-bit 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 the offset and reverse-carry adders 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.
The Program control unit 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 three hardware blocks:
•Program decode controller (PDC)
•Program address generator (PAG)
•Program interrupt controller (PIC)
The Program Decode controller decodes the 24-bit instruction loaded into the instruction latch and
generates all signals necessary for pipeline control. The Program Address Generator contains all the
hardware needed for program address generation, system stack and loop control. The Program Interrupt
Controller arbitrates among all interrupt requests (internal interrupts, as well as the five external requests:
IRQA, I R Q B, IRQC, IRQ D and NMI) and generates the appropriate interrupt vector address.
PCU features include:
•Position-independent code support
•Addressing modes optimized for DSP applications (including immediate of fs ets)
•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 Po i nter
•OMR: Operating Mode Register
•SC: Stack Counter Register
The PCU also includes a hardware system stack (SS).
4.3.4Internal Buses
To provide data exchange between blocks, the following buses are implemented:
•Peripheral input/output expansion bus (PIO_EB) to peripherals
•Global data bus (GDB) between registers in the DMA, AGU, OnCE, and PCU, as well as the
memory-mapped registers in the peripherals
•DMA data bus (DDB), which carries DMA data between memories and/or peripherals
•DMA address bus (DAB), which carries DMA addresses to memories and peripherals
•Program Data Bus (PDB), which carries program data between the core and internal memory
•X memory Data Bus (XDB), which carries X data between the core and internal memory
•Y memory Data Bus (YDB), which carries Y data between the core and internal memory
•Program address bus (PAB), which carries program memory addresses throughout the core
•X memory address bus (XAB), which carries X memory addresses throughout the core
•Y memory address bus (YAB), which carries Y memory addresses throughout the core
•Shared Bus for external memory expansion or external shared memory-mapped peripherals or
memory . The Shared Bus is an enhanced feature which replaces the Port A external memory
interface from the DSP56300 family. All accesses via the Shared Bus behave as a zero wait state
SSRAM access from the Port A external memory inter fac e, potenti all y extended by a transfer
acknowledge. For this reason, all Program memory accesses by the DSP core over the Shared Bus
take one additional wait state to complete.
All internal buses on the DSP56300 family members are 24-bit buses.
4.3.5OnCE Module
An On-chip Emulation (OnCE) port supports hardware and software development on the DSP56300 core
processor. It allows non-intrusive interaction with the core and its peripherals, so that developers can
examine registers, memory , or on-chip peripherals. This facilitate s hardware and software development on
the DSP56300 core processor. OnCE module functions are provided through the JTAG TAP pins.
This chapter contains configuration details specific to the two DSP cores of the DSP56724/DSP56725
device, which includes:
•Operating modes register (OMR)
•Status Register (SR)
•Operating modes
•Interrupt sources and priorities
•DMA request sources
•Chip ID
For more information about specific registers or modules in the DSP56300 core, see the DSP56300 Family Manual (DSP56300FM).
5.2Operating Mode Register (OMR)
Both DSP cores have the operating mode register (OMR) as shown in Table 5-1. See the DSP56300
Family Manual (DSP56300FM) for a description of the all of the OMR bits.
Table 5-1. Operating Mode Register (OMR)
SCSEOMCOM
23222120191817161514131211109876543210
MSW 1: 0 SEN WRP EOV EUN XYSCDP1:0 MS SDMD MC MB MA
Reset:
0 0 0 0 0 0 0 0 0 00000 110000****
Note: After reset, these bits reflect the corresponding value of the mode input (that is, MODD, MODC, MODB, or
MODA, respectively).
- Reserved bit. Read as zero, should be written with zero for future compatibility
OMR (Table 5-1) is a 24-bit register that is partitioned into the following three bytes:
•OMR[23:16], System Stack Control/Status (SCS) Byte: Controls and monitors the stack extension
in the data memory. The SCS byte is referenced implicitly by an instruction such as DO, JSR, or
RTI, or referenced directly by the MOVEC instruction.
•OMR[15:8], Extended Chip Operating Mode (EOM) Byte: Determines the operating mode of the
chip. This byte is affected onl y by hardware reset and by instructions directly referencing the OMR
(that is, ANDI, ORI, and other instructions, such as MOVEC, that specify OMR as a destination).
•OMR[7:0], Chip Operating Mode (COM) Byte: Determines the operating mode of the chip. This
byte is affected only by hardware reset and by instructions directly referencing the OMR (that is,
ANDI, ORI, and other instructions, such as MOVEC, that specify OMR as a destination). During
hardware reset, the chip operating mode bits (MD, MC, MB, and MA) are loaded from the external
mode select pins MODD, MODC, MODB, and MODA, respectively.
Table 5-2. Operation Mode Register Bit Definitions
Bit
Number
23
22:21MSW1,
20SEN0Stack Extension Enable
19WRP0Extended Stack Wrap Flag
18EOV0Extended Stack Overflow Flag
17ENU
16XYS0Stack Extension Space Select
15:100Reserved
9:8CDP1:02’b11 Core-DMA Priority 1,0
Bit
Name
MSW0
Reset
Value
0Reserved
Write to zero for future compatibility.
0Memory Switch Mode 1, Memory Switch Mode 0
See the
document.
See the
See the
See the
0Extended Stack Underflow Flag
See the
See the
Write to zero for future compatibility.
Specifies the priority between core accesses and DMA accesses to the on-chip shared memory,
shared peripherals and external memory bus. For a detailed description of the priority, see the
Table 5-2. Operation Mode Register Bit Definitions (Continued)
Core Configuration
Bit
Number
3MD*Operating Mode D
2MC*Operating Mode C
1MB*Operating Mode B
0MA*Operating Mode A
Bit
Name
Reset
Value
See the
See the
See the
See the
Description
DSP56300 FM 5.4.1.1 Operation Mode Register(OMR)
DSP56300 FM 5.4.1.1 Operation Mode Register(OMR)
DSP56300 FM 5.4.1.1 Operation Mode Register(OMR)
DSP56300 FM 5.4.1.1 Operation Mode Register(OMR)
5.3Status Register (SR)
The Status Register (SR) (Table 5-3) is a 24-bit register that consists of three 8-bit control registers. These
three registers are defined within the SR primarily for compatibility with other Freescale DSPs.
•Extended Mode Register (EMR) (SR[23:16]):
Defines the current system state of the processor . The EMR bits are affected by hardware reset,
exception processing, DO FOREVER instructions, ENDDO (end current DO loop) instructions,
BRKcc instructions, RTI (return from interrupt) instructions, TRAP instructions, and instr uct ions
that specify the Status Register (SR) as their destination (for example, MOVEC). During hardware
reset, all EMR bits are cleared.
•Mode Register (MR) (SR[15:8]):
Defines the current system state of the processor . The MR bits are affected by hardware reset,
exception processing, DO instructions, ENDDO (end current DO loop) instructions, RTI (return
from interrupt) instructions, TRAP instructions, and instructions that directly reference the Mode
Register (MR) (for example, ANDI, ORI, or instructions, such as MOVEC, that specify the Status
Register (SR) as the destination). During hardware reset, the interrupt mask bits are set and all other
bits are cleared.
•Condition Code Register (CCR) (SR[7:0]):
Defines the res ults of pre vious arithmetic c omputations. The CCR register bits are affected by Data
Arithmetic Logic Unit (Data ALU) operations, parallel move operations, instructions that directly
reference the CCR register (ORI and ANDI), and by instructions that specify the Status Register
(SR) as a destination (for example, MOVEC). Parallel move operations affect only the S and L bits
of the CCR register. During hardware reset, all CCR register bits are cleared.
The Status Register is pushed onto the System Stack when the following conditions are true:
Under the control of CDP[1:0] bits in the Operating Mode Register (OMR), the Core Priority bits
(CP1, CP0) specify the priority of core accesses tothe internal shared memory, peripherals, as
well as the external memory bus.
The CP[1:0]bits are compared against the priority bits of the active DMA channel:
• If the core priority is greater than the DMA priority, the DMA waits for a free time slot on the
external shared bus.
• If the core priority is less than the DMA priority, the core waits for a free time slot on the
external shared bus.
• If the core priority equals the DMA priority, the core and DMA take turns accessing in a
round-robin pattern (for example, ... P, X, Y, DMA, P, X, Y, ...).
The core priority bits are set during hardware reset.
Priority
Mode
Core
Priority
DMA
Priority
OMR
(CDP[1:0])
SR (CP[1:])
0000
Dynamic
0
(Lowest)
10001
Determined by
DCRn (DPR[1:0])
for acti ve DMA
channels.
20010
3
0011
(Highest)
Core < DMA01xx
Static
Core = DMA10xx
Core > DMA11xx
21RM0Rounding Mode
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
20SM0Arithmetic Saturation Mode
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
Table 5-4. Status Register Bit Definitions (Continued)
Core Configuration
Bit Name
Reset
Value
18EMA0Extended Modulo Addressing
Control bit to enable modulo ranges of up to 24 bits when enabled (when bit is set).
When 24 bit modulo addressing is enabled:
• A linear modifier requires Mn = $FFFFFF;
• A reverse-carry modifier requires Mn = $000000;
• A modulo modifier requires Mn = modulus - 1, where modulus can range from 2 to 2
• A multiple wrap-around modulo modifier requires bit 23 of Mn to be set, bit 22 to be clear, and
the remaining bits set to one less than the modulus (which must be a power of two from 2
22
to 2
).
When disabled, the existing 16-bit modulo range is supported for backwards compatibility, as
defined in the
DSP56300 Family Manual
If an RTI instruction is executed and EMA changes due to restoring the Status Register from the
stack, the first instruction after RTI does not use the correct value of EMA. It is recommended
that EMA be restored from the stack before executing an RTI instruction.
17SA0Sixteen-Bit Arithmetic Mode
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
16FV0DO FOREVER Flag
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
15LF0DO Loop Flag
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
14-120Reserved
Write to zero for future compatibility.
Description
.
23
;
1
11-10S[1:0]0Scaling Mode
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
9-8I[1:0]0Interrupt Mask
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
7S0Scaling
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
6L0Limit
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
5E0Extension
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
4U0Unnormalized
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
3N0Negative
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
2Z0Zero
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
1V0Overflow
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
0C0Carry
See the
DSP56300 Family Manual 5.4.1.2 Status Register (SR).
The operating modes are defined in Table 5-5 and Table 5-6. During reset, C ore-0’ s OMR: MA , MB, MC,
MD bits are latched from the MODA0, MODB0, MODC0, and MODD0 pins. During reset, Core-1’s
OMR:MA, MB, MC, MD bits are latched from MODA1, MODB1,MODC1, and MODD1 pins.
Mode 0Boot via SHI (SPI)In Mode 0, the internal PRAM is loaded from the Serial Host Interface (SHI). The SHI
operates in the SPI slave mode, with 24-bit word width.
The bootstrap code expects to read a single 24-bit word specifying the number of program
words, another 24-bit word specifying the address to start loading the program words, and
then a 24-bit word for each program word to be loaded.
The program words will be stored in contiguous PRAM memory locations starting at the
specified starting address. After reading the program words, program execution starts from
the same address where loading started.
Mode 1Boot via SHI
2
(I
C Filter)
Mode 1 boot mode uses the same operation as Mode 0
the SHI interface operates in the I
2
C slave mode, with HCKFR set to 1 and the 100 ns filter
enabled.
Mode 2 Jump to PROM (SPI)The DSP starts fetching instructions from the starting address of the on-chip Program
The DSP starts fetching instructions from the starting address of the on-chip Program
ROM. SHI operates in I2C mode with the 100 ns filter enabled.
Mode 4Boot from Other CoreWhen bit 23 of the ICPR1 register (Y:$FFFFFD1) is set, the DSP starts fetching
instructions from the shared memory area. The DSP fetches instructions from the shared
memory starting at the address indicated in bits 17–0 of the ICPR1 register.
The bootstrap code expects to read a 24-bit word specifying the number of program words,
another 24-bit word specifying the address to start loading the program words, and then a
24-bit word for each program word to be loaded.
The program words will be stored in contiguous PRAM memory locations starting at the
specified starting address. After reading the program words, program execution starts from
the same address where loading started.
Mode 5Boot via SHI Master
(SPI-EEPROM)
In Mode 5, the internal memory (PRAM, XRAM, or YRAM) is loaded from an external serial
EEPROM or FLASH in SPI mode.
PH4 (HREQ) is used to determine the range of memory to be loaded. When PH4 is
cleared, the 2-byte addressing format is used. When PH4 is set, the 3-byte addressing
format is used.
Mode 5 supports using ST M95xxx, M25Pxx and the Atmel AT25xxx family of
FLASH/EEPROM memories.
Mode 6Boot via SHI Master
2
(I
C-EEPROM)
In Mode 6, the internal memory (PRAM, XRAM, or YRAM) is loaded from an external serial
EPROM in I2C mode with the 100 ns filter enabled.
Mode 6 supports using ST M24256 and the Atmel AT24C256 memories.
Mode 7Boot via GPIO
(SPI-EEPROM/FLASH)
In Mode 7, the internal memory (PRAM, XRAM, or YRAM) is loaded from an external serial
EPROM in SPI mode via the GPIO pins.
(Core-0 GPIO pins: PE6 - Chip Select, PE7 - Data in, PE8 - Data out and PE9 - clock)
or
(Core-1 GPIO pins: PC6_2 - Chip Select, PC7_2 - Data in, PC8_2 - Data out and PC9_2clock)
Mode 7 supports using ST M95256 and Atmel AT25256 memories.
Mode 8Boot via EMC
(Word-Wide
EERPOM/FLASH)
In Mode 8, the internal memory (PRAM) is loaded from an external EEPROM or FLASH in
word-wide mode.
The bootstrap code reads the first word in external memory (address $800000). The
bootstrap code expects to read a 24-bit word specifying the number of program words,
another 24-bit word specifying the address to start loading the program words, and then a
24-bit word for each program word to be loaded.
The program words will be stored in contiguous PRAM memory locations starting at the
specified starting address. After reading the program words, program execution starts from
the same address where loading started.
Mode 9Boot via EMC
(Byte-Wide
Mode 9 boot mode uses the same operation as Mode 8, except that the data is accessed
in byte-wide mode, and three bytes form a 24-bit word with big-endian format.
There are two PIC blocks in the DSP56724/DSP56725 device, with one PIC block for each DSP core. The
PIC has also been enhanced to support additional DMA and peripheral interrupts. T wo additional registers
(IPR-C1, IPR-P1) have been added to the PIC to a llow an additional 12 DMA interrupts and an additional
12 peripheral interrupts.
•IPR-C is dedicated for DSP56724/DSP56725: 4 external interrupts and the first 6 DMA channels
interrupts.
•IPR-P is dedicated for DSP56724/DSP56725: 12 peripheral interrupt requests.
•IPR-C1 is dedicated for an additional 12 DMA channels interrupts; only 2 additional DMA
channels are used in the DSP56724/DSP56725.
•IPR-P1 is dedicated for an additional 12 peripheral interrupt sources; only parts of the additional
interrupts are used in the DSP56724/DSP56725.
The Interrupt Priority registers are shown in Figure 5-1 through Figure 5-8. The Interrupt Priority Level
bits are defined in Table 5-8 and Table 5-9. The interrupt priorities are shown in Table 5-10. The interrupt
vectors are shown in Table 5-11.
Table 5-8. Peripherals and DMA Interrupt Priority Level Bits
users can mask it or enable it by setting
the corresponding Priority bits in IPRP1
bit 23 and 22.)
5.6DMA Request Sources
In previous DSP563xx products, 6 DMA channels were supported. In the DSP56724/DSP56725 , the DMA
blocks are updated, and up to 8 DMA channels can be supported.
Additional registers for the additional two DMA channels are included in the DMA modules. In the
DSP56724/DSP56725, each DMA channel receives its own 32 request lines, allowing more flexibility in
the DMA request sources for the different channels, and potentially support for a greater number of DMA
request sources.
Each DMA channel’s Request Source bits (DRS4-DRS0 bits in the DMA Control/Status registers) encode
the source of DMA requests used to trigger the DMA channels’ transfers. The DMA request sources may
be internal peripherals, or external devices requesting service through the IRQA
pins.
, IRQB, I RQC and IRQD
The additional registers for the two additional DMA channels are the same as the registers for the other
DMA channels. The previous section shows the addresses of these registers. The DMA status register is
slightly different with 8 channels of DMA:
•DSTR[6]: DTD6, DMA channel 6 (the seventh channel) transfer has finished.
•DSTR[7]: DTD7, DMA channel 7 (the eighth channel) transfer has finished.
•DSTR[10:9]: DCH[2:0]; when DCH[2:0] = 6, it indicates that the active channel is DMA channel
6; when DCH[2:0] = 7, it indicates that the active channel is DMA channel 7.
Table 5-12 shows the DMA request sources for all of the 8 DMA channels. All of the 34 DMA request
lines are covered by two request line subsets: one line subset is for DMA channels 0–5, while the other
line subset is for DMA channels 6–7. External request lines are only supported by DMA channel 0–5.
Table 5-12. DMA Request Sources
Source Select Bits BSR[4:0]
of DMA Channel 0–5
1External IRQA0_0000No support for these requests.
There are two Core Integration Module (CIM) modules in the DSP56724/DSP56725 devices: CIM and
CIM_1. CIM is used by DSP Core-0, while CIM_1 is used by DSP Core-1. Both CIM blocks are identical,
so only one CIM block is described in detail here.
The CIM block contains three registers: Chip ID number register, OnCE global data bus (GDB) register,
and DMA Stall register. In more detail:
•The Chip ID Register contains the chip ID number.
•The CIM includes a DMA Monitor that optionally supports a non-maskable interrupt after the
DMA has been stalled due to int ernal memory contention, for mor e than N cycles (where N can be
from 2 to 224 cycles).
•The OnCE GDB register is a 24 bit register that can be read through the J TAG port, and is used for
passing data between the chip and an external command controller.
The DMA Stall Register is 24-bit read/write register that defines the threshold value of DMA counter of
CIM. The DMA Stall Register and an associated interrupt (DMA Stall non-maskable interrupt) allow a
limit to be placed on the number of cycles that the DMA is stalled, due to internal memory contention for
a single DMA memory access.
•When the DMA Stall Register is set to zero, the DMA Stall Interrupt is disabled.
•When the DMA Stall Register is set to a non-zero value, a stall counter will keep track of the
number of cycles the DMA is stalled due to internal memory contention for a single memory
access. If the stall counter is ever larger than the value stored in the DMA Stall Register, the DMA
Stall non-maskable Interrupt will be asserted.
•The DMA Stall Interrupt remains asserted until the internal memory contenti on ends (us ual ly due
to the interrupt routine) or until the DMA Stall Register is written with zero. The stall counter clears
when the internal memory contention ends or when the DMA Stall Register is written with zero.
Table 6-7. DMA Stall Register (DMAS)
232221201918171615141312
11109876543210
DMA Stall
Register
(DMAS)
R
D23D22D21D20D19D18D17D16D15D14D13D12
W
R
D11D10D9D8D7D6D5D4D3D2D1D0
W
6.2.3OnCE Global Data Bus Register (OGDB)
The OnCE GDB Register is 24-bit read/write register that can be read through the JT AG port, and is used
for passing data between the chip and an external command controller.