Your dedicated source for free downloadable datasheets.
Over one million datasheets
Optimized search function
Rapid quote option
Free unlimited downloads
Visit www.datasheetdirect.com
This datasheet has been downloaded by http://www.datasheetdirect.com/
to get your free datasheets.
Page 2
DSP56309 OVERVIEW
SIGNAL/CONNECTION DESCRIPTIONS
MEMORY CONFIGURATION
CORE CONFIGURATION
GENERAL PURPOSE I/O
HOST INTERFACE (HI08)
ENHANCED SYNCHRONOUS SERIAL INTERFACE
1
2
3
4
5
6
7
SERIAL COMMUNICATION INTERFACE (SCI)
TIMER MODULE
ON-CHIP EMULATION MODULE
JTAG PORT
8
9
10
11
ABOOTSTRAP PROGRAM
BEQUATES
CBSDL LISTING
DPROGRAMMING REFERENCE
IINDEX
Page 3
1
2
3
4
5
6
7
DSP56309 OVERVIEW
SIGNAL/CONNECTION DESCRIPTIONS
MEMORY CONFIGURATION
CORE CONFIGURATION
GENERAL PURPOSE I/O
HOST INTERFACE (HI08)
ENHANCED SYNCHRONOUS SERIAL INTERFACE
8
9
10
11
ABOOTSTRAP PROGRAM
BEQUATES
CBSDL LISTING
SERIAL COMMUNICATION INTERFACE (SCI)
TIMER MODULE
ON-CHIP EMULATION MODULE
JTAG PORT
DPROGRAMMING REFERENCE
IINDEX
Page 4
Rev. 0
DSP56309
24-Bit Digital Signal Processor
UserÕs Manual
Motorola, Incorporated
Semiconductor Products Sector
DSP Division
6501 William Cannon Drive West
Austin, TX 78735-8598
Page 5
ã
Ò
This document (and other documents) can be viewed on the World Wide
Web at http://www.mot.com/SPS/DSP/documentation/
This manual is one of a set of three documents. You need the following
manuals to have complete product information: Family Manual, UserÕs
Manual, and Technical Data.
OnCE
Intel
ä
is a trademark of Motorola, Inc.
Ò
is a registered trademark of the Intel Corporation.
All other trademarks are those of their respective owners.
MOTOROLA INC., 1998
Reg. U.S. Pat. & Tm. Off.
Order this document by DSP56309UM/D
Motorola reserves the right to make changes without further notice to any products
herein to improve reliability, function, or design. Motorola does not assume any
liability arising out of the application or use of any product or circuit described
herein; neither does it convey any license under its patent rights nor the rights of
others. Motorola products are not authorized for use as components in life support
devices or systems intended for surgical implant into the body or intended to
support or sustain life. Buyer agrees to notify Motorola of any such intended end use
whereupon Motorola shall determine availability and suitability of its product or
products for the use intended. Motorola and
are registered trademarks of
Motorola, Inc. Motorola, Inc. is an Equal Employment Opportunity /Affirmative
Action Employer.
This manual describes the DSP56309 24-bit digital signal processor (DSP), its memory,
operating modes, and peripheral modules. The DSP56309 is an implementation of the
DSP56300 core with a unique configuration of on-chip memory, cache, and peripherals.
This manual is intended to be used with the
DSP56300 Family Manual (DSP56300FM/AD),
which describes the central processing unit (CPU), core programming models, and
instruction set details.
DSP56309 Technical Data (DSP56309/D)
provides electrical
specifications, timing, pinout, and packaging descriptions of the DSP56309.
You can obtain these documents, as well as MotorolaÕs DSP development tools, through
a local Motorola Semiconductor Sales Office or authorized distributor.
To receive the latest information about this DSP, access the Motorola DSP home page at
the address on the back cover of this document.
1.2MANUAL ORGANIZATION
This manual contains the following sections and appendices:
Section 1ÑDSP56309 Overview
ÐFeatures list and block diagram
ÐRelated documentation needed to use this chip
ÐThe organization of this manual
Section 2ÑSignal/Connection Descriptions
ÐSignals on the DSP56309 pins and their functional groupings
Section 3ÑMemory Configuration
ÐDSP56309 memory spaces, RAM configuration, memory configuration bit
settings, memory configurations, and memory maps
Section 4ÑCore Configuration
ÐRegisters for configuring the DSP56300 core to program the DSP56309, in
particular the interrupt vector locations and the operation of the interrupt
priority registers
ÐOperating modes and how they affect the processorÕs program and data
memories
MOTOROLADSP56309UM/D 1-3
Page 33
DSP56309 Overview
Manual Organization
Section 5ÑGeneral-Purpose I/O
ÐDSP56309 general-purpose input/output (GPIO) capability and the
programming model for the GPIO signals (operation, registers, and control)
Section 6ÑHost Interface (HI08)
Ð8-bit host interface (HI08), including a quick reference to the HI08
programming model
Section 7ÑEnhanced Synchronous Serial Interface (ESSI)
Ð24-bit ESSI, which provides two identical full duplex UART-style serial ports
for communications with devices such as codecs, DSPs, microprocessors, and
peripherals implementing the Motorola serial peripheral interface (SPI)
Section 8ÑSerial Communication Interface (SCI)
Ð24-bit SCI, a full duplex serial port for serial communication to DSPs,
microcontrollers, or other peripherals (such as modems or other RS-232
devices)
Section 9ÑTriple Timer Module
ÐThe three identical internal timers/event counter devices
Section 10ÑOn-Chip Emulation Module
ÐThe On-Chip Emulation (OnCEª) module, which is accessed through the
JTAG port
Section 11ÑJTAG Port
ÐSpecifics of the Joint Test Action Group (JTAG) port on the DSP56309
ÐPeripheral addresses, interrupt addresses, and interrupt priorities for the
DSP56309
ÐProgramming sheets listing the contents of the major DSP56309 registers for
programmerÕs reference
1-4DSP56309UM/D MOTOROLA
Page 34
DSP56309 Overview
Manual Conventions
1.3MANUAL CONVENTIONS
This manual uses the following conventions:
¥Bits within registers are always listed from most significant bit (MSB) to least
significant bit (LSB).
¥Bits within a register are indicated AA[n:m], n>m, when more than one bit is
involved in a description. For purposes of description, the bits are presented as if
they are contiguous within a register. However, this is not always the case. Refer
to the programming model diagrams or to the programmerÕs sheets to see the
exact location of bits within a register.
¥When a bit is described as Òset,Ó its value is 1. When a bit is described as
Òcleared,Ó its value is 0.
¥The word ÒassertÓ means that a high true (active high) signal is pulled high to
or that a low true (active low) signal is pulled low to ground. The word
V
CC
ÒdeassertÓ means that a high true signal is pulled low to ground or that a low true
signal is pulled high to V
Table 1-1 High True/Low True Signal Conventions
. See Table 1-1.
CC
Signal/SymbolLogic StateSignal StateVoltage
PIN
1
TrueAsserted
Ground
PINFalseDeasserted
PINTrueAssertedV
2
3
V
CC
CC
PINFalseDeassertedGround
1.PIN is a generic term for any pin on the chip.
2.Ground is an acceptable low voltage level. See the
appropriate data sheet for the range of acceptable low
voltage levels (typically a TTL logic low).
3.V
is an acceptable high voltage level. See the
CC
appropriate data sheet for the range of acceptable high
voltage levels (typically a TTL logic high).
¥Pins or signals that are asserted low (made active when pulled to ground)
ÐIn text, have an overbar. For example, RESET is asserted low.
ÐIn code examples, have a tilde in front of their names. In Example 1-1, line 3
refers to the SS0
signal (shown as ~SS0).
MOTOROLADSP56309UM/D 1-5
Page 35
DSP56309 Overview
DSP56309 Features
¥Sets of signals are indicated by the first and last signals in the set, for instance
HA1ÐHA8.
¥Code examples are displayed in a monospaced font, as shown in Example 1-1.
Example 1-1 Sample Code Listing
BFSET#$0007,X:PCC; Configure:line 1
; MISO0, MOSI0, SCK0 for SPI masterline 2
; ~SS0 as PC3 for GPIOline 3
¥Hex values are indicated with a dollar sign ($) preceding the hex value. For
example, $FFFFFF is the X memory address for the core interrupt priority register
(IPR-C).
¥The word ÔresetÕ is used in four different contexts in this manual:
Ðthe reset signal, written as RESET;
Ðthe reset instruction, written as RESET;
Ðthe reset operating state, written as Reset; and
Ðthe reset function, written as reset.
1.4DSP56309 FEATURES
The DSP56309 is a member of the DSP56300 family of programmable CMOS DSPs. The
DSP56309 uses the DSP56300 core, a high-performance engine with a single clock cycle
per instruction. The DSP56300 core provides up to twice the performance of Motorola's
popular DSP56000 core family, while retaining code compatibility.
The DSP56300 core family offers a new level of performance in speed and power
provided by its rich instruction set and low-power dissipation, enabling a new
generation of wireless, telecommunications, and multimedia products. The DSP56300
core is composed of the data arithmetic logic unit (Data ALU), address generation unit
(AGU), program controller (PC), instruction cache controller, bus interface unit, direct
memory access (DMA) controller, On-Chip Emulation (OnCE) module, and a PLL-based
clock oscillator. Significant architectural enhancements to the DSP56300 core family
include a barrel shifter, 24-bit addressing, an instruction cache, and DMA.
The DSP56300 core family members contain the DSP56300 core and additional modules.
The modules are chosen from a library of standard pre-designed elements, such as
memories and peripherals. New modules can be added to the library to meet customer
1-6DSP56309UM/D MOTOROLA
Page 36
DSP56309 Overview
DSP56309 Core Description
specifications. A standard interface between the DSP56300 core and the on-chip memory
and peripherals supports a wide variety of memory and peripheral configurations.
The DSP56309 targets telecommunications applications, such as multi-line
voice/data/fax processing, video conferencing, audio applications, control, and general
digital signal processing.
1.5DSP56309 CORE DESCRIPTION
The DSP56300 Family Manual fully describes core features; this manual describes
pinout, memory, and peripheral features.
1.5.1General Features
¥80/100 million instructions per second (MIPS) with a 80/100 MHz clock at 3.0 -
3.6 V
¥Object-code compatible with the DSP56000 core
¥Highly parallel instruction set
1.5.2Hardware Debugging Support
¥On-Chip Emulation (OnCEÔ) module
¥Joint Test Action Group (JTAG) test access port (TAP)
¥Address trace mode reflects internal program RAM accesses at the external port
1.5.3Reduced Power Dissipation
¥Very low-power CMOS design
¥Wait and stop low-power standby modes
¥Fully-static logic, operation frequency down to 0 Hz (dc)
¥Optimized cycle-by-cycle power management circuitry (instruction-dependent,
peripheral-dependent, and mode-dependent)
MOTOROLADSP56309UM/D 1-7
Page 37
DSP56309 Overview
DSP56300 Core Functional Blocks
1.6DSP56300 CORE FUNCTIONAL BLOCKS
The DSP56300 core provides the following functional blocks:
¥Data ALU
¥AGU
¥PCU
¥PLL and Clock Oscillator
¥JTAG TAP and OnCE module
¥Memory
In addition, the DSP56309 provides a set of on-chip peripherals, described in
Section 1.10.
1.6.1Data ALU
The Data ALU performs all the arithmetic and logical operations on data operands in the
DSP56300 core. The components of the Data ALU are as follows:
¥Bit field unit, comprising a 56-bit parallel barrel shifter (fast shift and
normalization; bit stream generation and parsing)
¥Conditional ALU instructions
¥24-bit or 16-bit arithmetic support under software control
¥Four 24-bit input general-purpose registers: X1, X0, Y1, and Y0
¥Six Data ALU registers (A2, A1, A0, B2, B1, and B0) that are concatenated into two
general-purpose, 56-bit accumulators, A and B, accumulator shifters
¥Two data bus shifter/limiter circuits
1.6.1.1Data ALU Registers
The Data ALU registers can be read or written over the X data bus (XDB) and the Y data
bus (YDB) as 16- or 32-bit operands. The source operands for the Data ALU, which can
be 16, 32, or 40 bits, always originate from Data ALU registers. The results of all
Data ALU operations are stored in an accumulator.
1-8DSP56309UM/D MOTOROLA
Page 38
DSP56309 Overview
DSP56300 Core Functional Blocks
All the Data ALU operations are performed in two clock cycles in pipeline fashion so
that a new instruction can be initiated in every clock, yielding an effective execution rate
of one instruction per clock cycle. The destination of every arithmetic operation can be
used as a source operand for the immediately following operation without penalty.
1.6.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 unit
accepts as many as three input operands and outputs one 56-bit result of the following
form, Extension:Most Significant Product:Least Significant Product (EXT:MSP:LSP).
The multiplier executes 24-bit ´ 24-bit, parallel, fractional multiplies between
twos-complement signed, unsigned, or mixed operands. The 48-bit product is
right-justified and added to the 56-bit contents of either the A or B accumulator. A 56-bit
result can be stored as a 24-bit operand. The LSP can either be truncated or rounded into
the MSP. Rounding is performed if specified.
1.6.2Address Generation Unit (AGU)
The AGU performs the effective address calculations using integer arithmetic necessary
to address data operands in memory and contains the registers that generate the
addresses. It implements four types of arithmetic: linear, modulo, multiple wrap-around
modulo, and reverse-carry. The AGU operates in parallel with other chip resources to
minimize address-generation overhead.
The AGU is divided into two halves, each with its own address arithmetic logic unit
(Address ALU). Each Address ALU has four sets of register triplets, and each register
triplet is composed of an address register, an offset register, and a modifier register. The
two Address ALUs are identical. Each contains a 16-bit full adder (called an offset
adder).
A second full adder (called a modulo adder) adds the summed result of the first full
adder to a modulo value that is stored in its respective modifier register. A third full
adder (called a reverse-carry adder) is also provided.
The offset adder and the reverse-carry adder are in parallel and share common inputs.
The only difference between them is that they 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
MOTOROLADSP56309UM/D 1-9
Page 39
DSP56309 Overview
DSP56300 Core Functional Blocks
specifies the type of arithmetic to be used in the address register update calculation. The
modifier value is decoded in the Address ALU.
1.6.3Program Control Unit (PCU)
The PCU performs instruction prefetch, instruction decoding, hardware DO loop
control, and exception processing. The PCU implements a seven-stage pipeline and
controls the different processing states of the DSP56300 core. The PCU consists of three
hardware blocks:
¥Program decode controller (PDC)
¥Program address generator (PAG)
¥Program interrupt controller
The PDC decodes the 24-bit instruction loaded into the instruction latch and generates
all signals necessary for pipeline control. The PAG contains all the hardware needed for
program address generation, system stack, and loop control. The PIC arbitrates among
all interrupt requests (internal interrupts, as well as the five external requests IRQA
, IRQC, IRQD, and NMI) and generates the appropriate interrupt vector address.
IRQB
,
PCU features include the following:
¥Position Independent Code (PIC) support
¥Addressing modes optimized for DSP applications (including immediate offsets)
¥On-chip instruction cache controller
¥On-chip memory-expandable hardware stack
¥Nested hardware DO loops
¥Fast auto-return interrupts
The PCU implements its functions using the following registers:
¥PCÑprogram counter register
¥SRÑstatus register
¥LAÑloop address register
¥LCÑloop counter register
¥VBAÑvector base address register
¥SZÑsize register
1-10DSP56309UM/D MOTOROLA
Page 40
DSP56309 Overview
DSP56300 Core Functional Blocks
¥SPÑstack pointer
¥OMRÑoperating mode register
¥SCÑstack counter register
The PCU also includes a hardware system stack (SS).
1.6.4PLL and Clock Oscillator
The clock generator in the DSP56300 core is composed of two main blocks: the PLL,
which performs clock input division, frequency multiplication, and skew elimination;
and the clock generator (CLKGEN), which performs low-power division and clock pulse
generation.
¥Allows change of low-power divide factor (DF) without loss of lock
¥Output clock with skew elimination
The PLL allows the processor to operate at a high internal clock frequency using a
low-frequency clock input, a feature that offers two immediate benefits:
¥A lower-frequency clock input reduces the overall electromagnetic interference
generated by a system.
¥The ability to oscillate at different frequencies reduces costs by eliminating the
need to add additional oscillators to a system.
1.6.5JTAG TAP and OnCE Module
The DSP56300 core provides a dedicated user-accessible Test Access Port (TAP) that is
fully compatible with the IEEE 1149.1 Standard Test Access Port and Boundary Scan Architecture. Problems associated with testing high density circuit boards have led to
development of this standard under the sponsorship of the Test Technology Committee
of IEEE and the Joint Test Action Group (JTAG). The DSP56300 core implementation
supports circuit-board test strategies based on this standard.
The test logic includes a TAP consisting of four dedicated signals, a 16-state controller,
and three test data registers. A boundary scan register links all device signals into a
single shift register. The test logic, implemented utilizing static logic design, is
independent of the device system logic. More information on the JTAG port is provided
in Section 11ÑJTAG Port
.
MOTOROLADSP56309UM/D 1-11
Page 41
DSP56309 Overview
DSP56300 Core Functional Blocks
The OnCE module provides a means of interacting with the DSP56300 core and its
peripherals non-intrusively so that a user can examine registers, memory, or on-chip
peripherals. This facilitates hardware and software development on the DSP56300 core
processor. OnCE module functions are provided through the JTAG TAP signals. More
information about the OnCE module is provided in Section 10ÑOn-Chip Emulation
Module
.
1.6.6On-Chip Memory
The memory space of the DSP56300 core is partitioned into program memory space,
X data memory space, and Y data memory space. The data memory space is divided into
X data memory and Y data memory in order 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 under software control. More information
about the internal memory is provided in Section 3ÑMemory Configuration.
Program RAM, instruction cache, X data RAM, and Y data RAM size are programmable,
as indicated in Table 1-2.
Memory can be expanded off-chip to do the following:
¥Data memory expansion to two 256K ´ 24-bit word memory spaces (or up to two
M ´ 24-bit word memory spaces by using the address attribute AA0ÐAA3 signals)
4
¥Program memory expansion to one 256K ´ 24-bit words memory space (or up to
4 M ´ 24-bit word memory space by using the address attribute AA0ÐAA3 signals)
one
Additional features of off-chip memory include the following:
1-12DSP56309UM/D MOTOROLA
Page 42
DSP56309 Overview
Internal Buses
¥External memory expansion port
¥Simultaneous glueless interface to static random access memory (SRAM) and
dynamic random access memory (DRAM)
¥Supports interleaved, non-interfering access to both types of memory without
losing
in-page DRAM access, including DMA-driven access
1.7INTERNAL BUSES
The following buses provide data exchange between the functional blocks of the core:
¥Peripheral I/O expansion bus (PIO_EB) to peripherals
¥Program memory expansion bus (PM_EB) to Program RAM
¥X memory expansion bus (XM_EB) to X memory
¥Y memory expansion bus (YM_EB) to Y memory
¥Global data bus (GDB) between PCU and other core structures
¥Program data bus (PDB) for carrying program data throughout the core
¥X memory data bus (XDB) for carrying X data throughout the core
¥Y memory data bus (YDB) for carrying Y data throughout the core
¥Program address bus (PAB) for carrying program memory addresses throughout
the core
¥X memory address bus (XAB) for carrying X memory addresses throughout the
core
¥Y memory address bus (YAB) for carrying Y memory addresses throughout the
core
All internal buses on the DSP56300 family members are 16-bit buses except the PDB,
which is a 24-bit bus. Figure 1-1 shows a block diagram of the DSP56309.
MOTOROLADSP56309UM/D 1-13
Page 43
DSP56309 Overview
DSP56309 Block Diagram
1.8DSP56309 BLOCK DIAGRAM
616
6
3
Memory Expansion Area
EXTAL
XTAL
RESET
PINIT/NMI
Triple
Timer
Address
Generation
Unit
Six Channel
DMA Unit
Boot-
strap
ROM
Internal
Data
Bus
Switch
Clock
Generator
PLL
2
Host
Interface
HI08
Program
Interrupt
Controller
ESSI
Interface
Peripheral
Expansion Area
PIO_EB
MODD/IRQA
MODC/IRQB
MODB/IRQC
MODA/IRQD
Interface
Program
Decode
Controller
SCI
Program
RAM
DSP56300
DDB
YDB
XDB
PDB
GDB
Program
Address
Generator
X Data
RAM
PM_EB
YA B
XAB
PA B
DAB
XM_EB
24-Bit
Core
24 ´ 24 + 56 ® 56-bit MAC
Data ALU
Two 56-bit Accumulators
56-bit Barrel Shifter
Y Data
RAM
YM_EB
External
Address
Bus
Switch
External
Bus
Interface
&
I - Cache
Control
External
Data Bus
Switch
Powe r
Mgmt
JTAG
OnCEª
18
ADDRESS
13
CONTROL
24
DATA
6
AA0456
Figure 1-1 DSP56309 Block Diagram
Note:See Section 1.6.6 On-Chip Memory on page 1-12 for details on memory size.
1-14DSP56309UM/D MOTOROLA
Page 44
DSP56309 Overview
Direct Memory Access (DMA)
1.9DIRECT MEMORY ACCESS (DMA)
The DMA block has the following features:
¥Six DMA channels supporting internal and external accesses
¥One-, two-, and three-dimensional transfers (including circular buffering)
¥End-of-block-transfer interrupts
¥Triggering from interrupt lines, all peripherals, and DMA channels
1.10 DSP56309 ARCHITECTURE OVERVIEW
The DSP56309 performs a wide variety of fixed-point digital signal processing functions.
In addition to the core features previously discussed, the DSP56309 provides the
following peripherals:
¥Enhanced DSP56000-like 8-bit parallel host interface (HI08) supports a variety of
buses (e.g., industry standard architecture) and provides glueless connection to a
number of industry standard microcomputers, microprocessors, and DSPs
¥Two enhanced synchronous serial interfaces (ESSI0 and ESSI1), each with one
receiver and three transmitters (allows six-channel home theater)
¥Serial communications interface (SCI) with baud rate generator
¥Triple timer module
¥Up to 34 programmable general purpose input/output (GPIO) pins, depending
on which peripherals are enabled
1.10.1GPIO Functionality
The GPIO port consists of as many as thirty-four programmable signals, all of which are
also used by the peripherals (HI08, ESSI, SCI, and timer). There are no dedicated GPIO
signals. Peripheral pins are configured as GPIO inputs after any reset. (Data in the port
data register is not affected by a reset.) The GPIO functionality for each peripheral is
controlled by three memory-mapped registers per peripheral. The techniques for
register programming for all GPIO functionality is very similar between these interfaces.
MOTOROLADSP56309UM/D 1-15
Page 45
DSP56309 Overview
DSP56309 Architecture Overview
1.10.2Host Interface (HI08)
The HI08 is a byte-wide, full-duplex, double-buffered, parallel port that can connect
directly to the data bus of a host processor. The HI08 supports a variety of buses and
connects to a number of industry-standard DSPs, microcomputers, and microprocessors
without requiring additional logic.
The DSP core treats the HI08 as a memory-mapped peripheral occupying eight 24-bit
words in data memory space. The DSP can use the HI08 as a memory-mapped
peripheral, using either standard polled or interrupt programming techniques. Separate
transmit and receive data registers are double-buffered to allow the DSP and host
processor to transfer data efficiently at high speed. Memory mapping allows DSP core
communication with the HI08 registers using standard instructions and addressing
modes.
1.10.3Enhanced Synchronous Serial Interface (ESSI)
On the DSP56309 are two independent and identical ESSIs. Each ESSI has a full-duplex
serial port for communication with a variety of serial devices, including one or more
industry-standard codecs, other DSPs, microprocessors, and peripherals that implement
the Motorola SPI. The ESSI consists of independent transmitter and receiver sections and
a common ESSI clock generator.
The capabilities of the ESSI include the following:
¥Independent (asynchronous) or shared (synchronous) transmit and receive
sections with separate or shared internal/external clocks and frame syncs
¥Normal mode operation using frame sync
¥Network mode operation with as many as 32 time slots
¥Programmable word length (8, 12, or 16 bits)
¥Program options for frame synchronization and clock generation
¥ One receiver and three transmitters per ESSI allows six-channel home theater
1.10.4Serial Communications Interface (SCI)
The DSP56309Õs SCI provides a full-duplex port for serial communication with other
DSPs, microprocessors, or peripherals such as modems. The SCI interfaces without
1-16DSP56309UM/D MOTOROLA
Page 46
DSP56309 Overview
DSP56309 Architecture Overview
additional logic to peripherals that use TTL-level signals. With a small amount of
additional logic, the SCI can connect to peripheral interfaces that have non-TTL level
signals, such as the RS-232C, RS-422, etc.
This interface uses three dedicated signals: transmit data (TXD), receive data (RXD), and
SCI serial clock (SCLK). It supports industry-standard asynchronous bit rates and
protocols, as well as high-speed synchronous data transmission (up to 8.25 Mbps for a
66 MHz clock). The asynchronous protocols supported by the SCI include a multidrop
mode for master/slave operation with wakeup on idle line and wakeup on address bit
capability. This mode allows the DSP56309 to share a single serial line efficiently with
other peripherals.
The SCI consists of separate transmit and receive sections that can operate
asynchronously with respect to each other. A programmable baud-rate generator
provides the transmit and receive clocks. An enable vector and an interrupt vector have
been included so that the baud-rate generator can function as a general purpose timer
when it is not being used by the SCI or when the interrupt timing is the same as that
used by the SCI.
1.10.5Timer Module
The triple timer module is composed of a common 21-bit prescaler and three
independent and identical general-purpose 24-bit timer/event counters, each with its
own memory-mapped register set.
Each timer has a single signal that can function as a GPIO signal or as a timer signal.
Each timer can use internal or external clocking and can interrupt the DSP after a
specified number of events (clocks) or can signal an external device after counting
internal events. Each timer connects to the external world through one bidirectional
signal. When this signal is configured as an input, the timer can function as an external
event counter or measures external pulse width/signal period. When the signal is used
as an output, the timer can function as either a timer, a watchdog, or a Pulse Width
Modulator (PWM).
The DSP56309 input and output signals are organized into functional groups, as shown
in Table 2-1 and as illustrated in Figure 2-1.
The DSP56309 is operated from a 3 V supply.
Table 2-1 DSP56309 Functional Signal Groupings
Power (V
Functional Group
)20Table 2-2
CC
Number of
Signals
Detailed
Description
Ground (GND)19Table 2-3
Clock2Table 2-4
PLL3Table 2-5
Address Bus
Data Bus
Bus Control
Port A
1
18Table 2-6
24Table 2-7
13Table 2-8
Interrupt and Mode Control5Table 2-9
D
2
16Table 2-11
12Table 2-12
3
and
Host Interface (HI08)
Enhanced Synchronous Serial Interface
(ESSI)
Port B
Ports C and
Table 2-13
Serial Communication Interface (SCI)
Port E
4
3Table 2-14
Timer3Table 2-15
OnCE/JTAG Port6Table 2-16
Note:1.Port A signals define the external memory interface port, including the external
address bus, data bus, and control signals.
2.Port B signals are the HI08 port signals multiplexed with the GPIO signals.
3.Port C and D signals are the two ESSI port signals multiplexed with the GPIO signals.
4.Port E signals are the SCI port signals multiplexed with the GPIO signals.
Figure 2-1 is a diagram of DSP56309 signals by functional group.
MOTOROLADSP56309UM/D 2-3
Page 51
Signal/Connection Descriptions
)
Signal Groupings
PLL
Core Logic
I/O
Address Bus
Data Bus
Bus Control
HI08
ESSI/SCI/Timer
PLL
PLL
Internal Logic
Address Bus
Data Bus
Bus Control
HI08
ESSI/SCI/Timer
During
Reset
PINIT
EXTERNAL MEMORY INTERFACE
V
CCP
V
CCQL
V
CCQH
V
CCA
V
CCD
V
CCC
V
CCH
V
CCS
GND
GND
P1
GND
GND
GND
GND
GND
GND
EXTAL
XTAL
CLKOUT
PCAP
After
Reset
NMI
A0ÐA17
D0ÐD23
AA0ÐAA3/
RAS0ÐRAS3
RD
WR
TA
BR
BG
BB
CAS
BCLK
BCLK
4
3
3
4
2
2
P
4
Q
4
A
4
D
2
C
H
2
S
18
24
4
DSP56309
Power Inputs
Grounds
Clock
PLL
Port A
fs
Port B
Port C
Port D
Port E
OnCE/JTAG
During Reset
MODA
MODB
MODC
MODD
RESET
Non-Multiplexed
Bus
8
H0ÐH7
HA0
HA1
HA2
HCS/HCS
Single DS
HRW
HDS/HDS
Single HR
HREQ/HREQ
HACK/HACK
Host Interface (H108)1
After Reset
IRQA
IRQB
IRQC
IRQD
RESET
Multiplexed
Bus
HAD0ÐHAD7
HAS/HAS
HA8
HA9
HA10
Double DS
HRD/HRD
HWR/HWR
Double HR
HTRQ/HTRQ
HRRQ/HRRQ
Port B
GPIO
PB0ÐPB7
PB8
PB9
PB10
PB13
PB11
PB12
PB14
PB15
Enhanced Synchronous Serial Interface (ESSI0)
3
SC00ÐSC02
SCK0
SRD0
STD0
Enhanced Synchronous Serial Interface (ESSI1
3
SC10ÐSC12
SCK1
SRD1
STD1
Serial Communications Interface (SCI)
Port C GPIO
PC0ÐPC2
PC3
PC4
PC5
Port D GPIO
PD0ÐPD2
PD3
PD4
PD5
2
Port E GPIO
RXD
TXD
SCLK
Timers
TIO0
TIO1
TIO2
3
PE0
PE1
PE2
GPIO
TIO0
TIO1
TIO2
TCK
TDI
TDO
TMS
TRST
DE
Notes:1.The HI08 port supports a non-multiplexed or a multiplexed bus, single or double Data Strobe (DS), and single or
double Host Request (HR) configurations. Since each of these modes is configured independently, any combination
of these modes is possible. These HI08 signals can also be configured alternately as GPIO signals (PB0ÐPB15).
Signals with dual designations (e.g., HAS/HAS) have configurable polarity.
2.The ESSI0, ESSI1, and SCI signals are multiplexed with the Port C GPIO signals (PC0ÐPC5), Port D GPIO signals
(PD0ÐPD5), and Port E GPIO signals (PE0ÐPE2), respectively.
3.TIO0ÐTIO2 can be configured as GPIO signals.
AA0601
Figure 2-1 Signals Identified by Functional Group
2-4DSP56309UM/D MOTOROLA
Page 52
Signal/Connection Descriptions
2.2POWER
Power input descriptions for the DSP56309 are listed in Table 2-2.
Table 2-2 Power Inputs
Power NameDescription
Power
V
CCP
PLL PowerÑV
The voltage should be well regulated, and the input should be provided
with an extremely low impedance path to the VCC power rail. V
should be bypassed to GNDP by a stabilizing capacitor located as close
as possible to the chip package. There is one V
V
(4)Quiet Core (Low) PowerÑV
CCQL
processing logic. This input must be isolated externally from all other
chip power inputs. The user must provide adequate external decoupling
capacitors. There are four V
V
(3)Quiet External (High) PowerÑV
CCQH
lines. This input must be tied externally to all other chip power inputs,
except V
CCQL
capacitors. There are three V
(3)Address Bus PowerÑV
V
CCA
address bus I/O drivers. This input must be tied externally to all other
chip power inputs except V
external decoupling capacitors. There are three V
(4)Data Bus PowerÑV
V
CCD
I/O drivers. This input must be tied externally to all other chip power
inputs. The user must provide adequate external decoupling capacitors.
There are four V
is power dedicated for phase-locked loop (PLL) use.
CCP
CCP
input.
CCP
is an isolated power for the core
CCQL
inputs.
CCQL
is a quiet power source for I/O
CCQH
. The user must provide adequate external decoupling
inputs.
CCQH
is an isolated power for sections of the
CCA
. The user must provide adequate
CCQL
inputs.
CCA
is an isolated power for sections of the data bus
CCD
inputs.
CCD
(2)Bus Control PowerÑV
V
CCC
is an isolated power for the bus control I/O
CCC
drivers. This input must be tied externally to all other chip power inputs
V
CCH
except V
capacitors. There are two V
Host PowerÑV
. The user must provide adequate external decoupling
CCQL
inputs.
CCC
is an isolated power for the HI08 I/O drivers. This
CCH
input must be tied externally to all other chip power inputs except
V
There is one V
. The user must provide adequate external decoupling capacitors.
CCQL
input.
CCH
MOTOROLADSP56309UM/D 2-5
Page 53
Signal/Connection Descriptions
Ground
Table 2-2 Power Inputs (Continued)
Power NameDescription
V
(2)ESSI, SCI, and Timer PowerÑV
CCS
SCI, and timer I/O drivers. This input must be tied externally to all
other chip power inputs except V
external decoupling capacitors. There are two V
is an isolated power for the ESSI,
CCS
. The user must provide adequate
CCQL
inputs.
CCS
Note:These designations are package-dependent. Some packages connect all V
each other internally. On those packages, all power input, except V
of connections indicated in this table are minimum values; the total V
package-dependent.
CCP
2.3GROUND
Ground descriptions for the DSP56309 are listed in Table 2-3.
Table 2-3 Grounds
Ground NameDescription
GND
GND
P
P1
PLL GroundÑGNDP is a ground dedicated for PLL use. The connection
should be provided with an extremely low-impedance path to ground.
V
should be bypassed to GNDP by a 0.47 mF capacitor located as
CCP
close as possible to the chip package. There is one GND
PLL Ground 1ÑGNDP1 is a ground dedicated for PLL use. The
connection should be provided with an extremely low-impedance path
to ground. There is one GND
connection.
P1
inputs except V
CC
, are labeled VCC. The number
connections are
CC
connection.
P
CCP
to
GND
(4)Quiet GroundÑGNDQ is an isolated ground for the internal processing
Q
logic. This connection must be tied externally to all other chip ground
connections. The user must provide adequate external decoupling
GND
capacitors. There are four GND
(4)Address Bus GroundÑGNDA is an isolated ground for sections of the
A
connections.
Q
address bus I/O drivers. This connection must be tied externally to all
other chip ground connections. The user must provide adequate
external decoupling capacitors. There are four GND
connections.
A
2-6DSP56309UM/D MOTOROLA
Page 54
Signal/Connection Descriptions
Clock
Table 2-3 Grounds (Continued)
Ground NameDescription
GNDD (4)Data Bus GroundÑGNDD is an isolated ground for sections of the data
bus I/O drivers. This connection must be tied externally to all other chip
ground connections. The user must provide adequate external
decoupling capacitors. There are four GND
connections.
D
GND
(2)Bus Control GroundÑGNDC is an isolated ground for the bus control
C
I/O drivers. This connection must be tied externally to all other chip
ground connections. The user must provide adequate external
GND
decoupling capacitors. There are two GND
H
Host GroundÑGNDH is an isolated ground for the HI08 I/O drivers.
connections.
C
This connection must be tied externally to all other chip ground
connections. The user must provide adequate external decoupling
GND
capacitors. There is one GND
(2)ESSI, SCI, and Timer GroundÑGNDS is an isolated ground for the
S
connection.
H
ESSI, SCI, and timer I/O drivers. This connection must be tied externally
to all other chip ground connections. The user must provide adequate
external decoupling capacitors. There are two GND
Note:These designations are package-dependent. Some packages connect all GND inputs, except GNDP
and GND
GND
total GND connections are package-dependent.
, to each other internally. On those packages, all ground connections, except GNDP and
P1
, are labeled GND. The number of connections indicated in this table are minimum values; the
P1
connections.
S
2.4CLOCK
Clock Signal descriptions for the DSP56309 are listed in Table 2-4.
Table 2-4 Clock Signals
Signal
Name
Type
EXTALInputInputExternal Clock/Crystal InputÑEXTAL interfaces the
State
During
Reset
Signal Description
internal crystal oscillator input to an external crystal
or an external clock.
MOTOROLADSP56309UM/D 2-7
Page 55
Signal/Connection Descriptions
Phase-Locked Loop (PLL)
Table 2-4 Clock Signals (Continued)
Signal
Name
XTALOutputChip-drivenCrystal OutputÑXTAL connects the internal crystal
Type
State
During
Reset
Signal Description
oscillator output to an external crystal. If an external
clock is used, leave XTAL unconnected.
2.5PHASE-LOCKED LOOP (PLL)
Phase-locked loop signal descriptions are listed in Table 2-5.
Table 2-5 Phase-Locked Loop Signals
Signal
Name
PCAPInputInputPLL CapacitorÑPCAP is an input connecting an
Type
State During
Reset
Signal Description
off-chip capacitor to the PLL filter. Connect one
capacitor terminal to PCAP and the other terminal
to V
CCP
.
If the PLL is not used, PCAP can be tied to VCC,
tied to GND, or left floating.
CLKOUTOutputChip-drivenClock OutputÑCLKOUT provides an output
clock synchronized to the internal core clock
phase.
If the PLL is enabled and both the multiplication
and division factors equal one, then CLKOUT is
also synchronized to EXTAL.
If the PLL is disabled, the CLKOUT frequency is
half the frequency of EXTAL.
assertion of RESET
written into the PLL Enable (PEN) bit of the PLL
control register, determining whether the PLL is
enabled or disabled. After RESET
during normal instruction processing, the
PINIT/NMI
negative-edge-triggered Non-Maskable Interrupt
(NMI) request internally synchronized to
CLKOUT.
Schmitt-trigger input is a
, the value of PINIT/NMI is
deassertion and
2.6EXTERNAL MEMORY EXPANSION PORT (PORT A)
When the DSP56309 enters a low-power standby mode (stop or wait), it releases bus
mastership and tri-states the relevant Port A signals: A0ÐA17, D0ÐD23,
AA0/RAS0
ÐAA3/RAS3, RD, WR, BB, CAS, BCLK, BCLK.
2.6.1External Address Bus
External address bus signals for the DSP56309 are listed in Table 2-6.
Table 2-6 External Address Bus Signals
Signal
Name
A0ÐA17OutputTri-statedAddress BusÑWhen the DSP is the bus master,
Type
State
During
Reset
Signal Description
A0ÐA17 are active-high outputs that specify the
address for external program and data memory
accesses. Otherwise, the signals are tri-stated.
To minimize power dissipation, A0ÐA17 do not
change state when external memory spaces are
not being accessed.
MOTOROLADSP56309UM/D 2-9
Page 57
Signal/Connection Descriptions
External Memory Expansion Port (Port A)
2.6.2External Data Bus
External data bus signals for the DSP56309 are listed in Table 2-7.
Table 2-7 External Data Bus Signals
Signal
Name
D0ÐD23Input/
Type
Output
State
During
Reset
weakly
driven by
bus keeper
Signal Description
Data BusÑWhen the DSP is the bus master,
D0ÐD23 are active-high, bidirectional
input/outputs that provide the bidirectional
data bus for external program and data
memory accesses. Otherwise, D0ÐD23 are
weakly driven by the bus keeper.
2.6.3External Bus Control
External bus control signal descriptions for the DSP56309 are listed in Table 2-8.
Table 2-8 External Bus Control Signals
Signal
Name
Type
State
During
Reset
Signal Description
AA0Ð
AA3/
RAS0
RAS3
RD
WR
Ð
OutputTri-statedAddress Attribute or Row AddressStrobeÑWhen
defined as AA, these signals can be used as chip
selects or additional address lines. When defined as
RAS
, these signals can be used as RAS for DRAM
interface. These signals are tri-statable outputs with
programmable polarity.
OutputTri-statedRead EnableÑWhen the DSP is the bus master, RD
is an active-low output that is asserted to read
external memory on the data bus (D0ÐD23).
Otherwise, RD
OutputTri-statedWrite EnableÑWhen the DSP is the bus master, WR
is an active-low output that is asserted to write
external memory on the data bus (D0ÐD23).
Otherwise, the signals are tri-stated.
is tri-stated.
2-10DSP56309UM/D MOTOROLA
Page 58
Signal/Connection Descriptions
External Memory Expansion Port (Port A)
Table 2-8 External Bus Control Signals (Continued)
Signal
Name
TAInputIgnored
Type
State
During
Reset
Input
Signal Description
Transfer AcknowledgeÑIf the DSP56309 is the bus
master and there is no external bus activity, or the
DSP56309 is not the bus master, the TA
ignored. The TA
acknowledge (DTACK) function that can extend an
external bus cycle indefinitely. Any number of wait
states (1, 2,..., infinity) can be added to the wait states
inserted by the BCR by keeping TA
typical operation, TA
bus cycle, is asserted to enable completion of the bus
cycle, and is deasserted before the next bus cycle.
The current bus cycle completes one clock period
after TA
number of wait states is determined by the TA
or by the BCR, whichever is longer. The BCR can be
used to set the minimum number of wait states in
external bus cycles.
In order to use the TA
programmed to at least one wait state. A zero wait
state access cannot be extended by TA
otherwise, improper operation can result. TA
operate synchronously or asynchronously
depending on the setting of the TAS bit in the OMR.
You must not use TA
DRAM type accesses; otherwise, improper operation
can result.
is asserted synchronous to CLKOUT. The
input is a data transfer
input is
deasserted. In
is deasserted at the start of a
input
functionality, the BCR must be
deassertion;
can
functionality while performing
MOTOROLADSP56309UM/D 2-11
Page 59
Signal/Connection Descriptions
External Memory Expansion Port (Port A)
Table 2-8 External Bus Control Signals (Continued)
Signal
Name
BROutputOutput
Type
State
During
Reset
(deasserted)
Signal Description
Bus RequestÑBR is an active-low output, never
tri-stated. BR
mastership. BR
longer needs the bus. BR
deasserted independent of whether the DSP56309 is
a bus master or a bus slave. Bus ÒparkingÓ allows BR
to be deasserted even though the DSP56309 is the
bus master; see the description of bus ÒparkingÓ in
the BB
(BRH) bit in the BCR allows BR
software control even though the DSP does not need
the bus. BR
arbitrator that controls the priority, parking, and
tenure of each master on the same external bus. BR
only affected by DSP requests for the external bus,
never for the internal bus. During hardware reset,
BR
bus slave state.
signal description. The bus request hole
is deasserted and the arbitration is reset to the
is asserted when the DSP requests bus
is deasserted when the DSP no
can be asserted or
to be asserted under
is typically sent to an external bus
is
BG
InputIgnored
Input
Bus GrantÑBG is an active-low input. BG must be
asserted/deasserted synchronous to CLKOUT for
proper operation. BG
arbitration circuit when the DSP56309 becomes the
next bus master. When BG
must wait until BB
mastership. When BG
is typically given up at the end of the current bus
cycle. This can occur in the middle of an instruction
that requires more than one external bus cycle for
execution.
is asserted by an external bus
is asserted, the DSP56309
is deasserted before taking bus
is deasserted, bus mastership
2-12DSP56309UM/D MOTOROLA
Page 60
Signal/Connection Descriptions
External Memory Expansion Port (Port A)
Table 2-8 External Bus Control Signals (Continued)
Signal
Name
BBInput/
CAS
Type
Output
OutputTri-statedColumn Address StrobeÑWhen the DSP is the bus
State
During
Reset
InputBus BusyÑBB is a bidirectional active-low
input/output and must be asserted and deasserted
synchronous to CLKOUT. BB
is active. Only after BB
bus master become the bus master (and then assert
the signal again). The bus master can keep BB
asserted after ceasing bus activity regardless of
whether BR
Òbus parkingÓ and allows the current bus master to
reuse the bus without rearbitration until another
device requires the bus. The deassertion of BB
done by an Òactive pull-upÓ method (i.e., BB
driven high and then released and held high by an
external pull-up resistor).
BB
requires an external pull-up resistor.
master, CAS
to strobe the column address. Otherwise, if the Bus
Mastership Enable (BME) bit in the DRAM Control
Register is cleared, the signal is tri-stated.
Signal Description
indicates that the bus
is deasserted can the pending
is asserted or deasserted. This is called
is an active-low output used by DRAM
is
is
BCLKOutputTri-statedBus ClockÑWhen the DSP is the bus master, BCLK
is an active-high output. BCLK is active as a
sampling signal when the program address tracing
mode is enabled (by setting the ATE bit in the OMR).
When BCLK is active and synchronized to CLKOUT
by the internal PLL, BCLK precedes CLKOUT by 1/4
of a clock cycle. The BCLK rising edge can be used to
sample the internal program memory access on the
A0ÐA23 address lines.
BCLK
OutputTri-statedBus Clock NotÑWhen the DSP is the bus master,
BCLK
is an active-low output and is the inverse of
the BCLK signal. Otherwise, the signal is tri-stated.
MOTOROLADSP56309UM/D 2-13
Page 61
Signal/Connection Descriptions
Interrupt and Mode Control
2.7INTERRUPT AND MODE CONTROL
The interrupt and mode control signals select the chipÕs operating mode as it comes out
of hardware reset. After RESET
request lines.
Table 2-9 Interrupt and Mode Control
Signal NameType
is deasserted, these inputs are hardware interrupt
State
During
Reset
Signal Description
RESET
MODA
InputInputResetÑRESET is an active-low, Schmitt-trigger
input. Deassertion of RESET
synchronized to the clock out (CLKOUT). When
asserted, the chip is placed in the 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. If RESET
CLKOUT, exact start-up timing is guaranteed,
allowing multiple processors to start
synchronously and operate together in lock-step.
When the RESET
chip operating mode is latched from the MODA,
MODB, MODC, and MODD inputs. The RESET
signal must be asserted after power up.
InputInputMode Select AÑMODA is an active-low
Schmitt-trigger input, internally synchronized to
CLKOUT. MODA, MODB, MODC, and MODD
select one of 16 initial chip operating modes,
latched into the OMR when the RESET
deasserted.
is deasserted synchronous to
signal is deasserted, the initial
is internally
signal is
IRQA
External Interrupt Request AÑAfter reset, this
signal becomes a level-sensitive or
negative-edge-triggered, maskable interrupt
request input during normal instruction
processing. If IRQA
CLKOUT, multiple processors can be
resynchronized using the WAIT instruction and
asserting IRQA
processor is in the stop standby state and IRQA
asserted, the processor exits the stop state.
is asserted synchronous to
to exit the wait state. If the
is
2-14DSP56309UM/D MOTOROLA
Page 62
Table 2-9 Interrupt and Mode Control (Continued)
Signal NameType
State
During
Reset
Signal/Connection Descriptions
Interrupt and Mode Control
Signal Description
MODB
IRQB
MODC
InputInputMode Select BÑMODB is an active-low
Schmitt-trigger input, internally synchronized to
CLKOUT. MODA, MODB, MODC, and MODD
select one of 16 initial chip operating modes,
latched into OMR when the RESET
deasserted.
External Interrupt Request BÑAfter hardware
reset, this signal becomes a level-sensitive or
negative-edge-triggered, maskable interrupt
request input during normal instruction
processing. If IRQB
CLKOUT, multiple processors can be
resynchronized using the WAIT instruction and
asserting IRQB
InputInputMode Select CÑMODC is an active-low
Schmitt-trigger input, internally synchronized to
CLKOUT. MODA, MODB, MODC, and MODD
select one of 16 initial chip operating modes,
latched into OMR when the RESET
deasserted.
is asserted synchronous to
to exit the wait state.
signal is
signal is
IRQC
External Interrupt Request CÑAfter hardware
reset, this signal becomes a level-sensitive or
negative-edge-triggered, maskable interrupt
request input during normal instruction
processing. If IRQC
CLKOUT, multiple processors can be
resynchronized using the WAIT instruction and
asserting IRQC
is asserted synchronous to
to exit the wait state.
MOTOROLADSP56309UM/D 2-15
Page 63
Signal/Connection Descriptions
Host Interface (HI08)
Table 2-9 Interrupt and Mode Control (Continued)
State
Signal NameType
During
Reset
Signal Description
MODD
IRQD
InputInputMode Select DÑMODD is an active-low
Schmitt-trigger input, internally synchronized to
CLKOUT. MODA, MODB, MODC, and MODD
select one of 16 initial chip operating modes,
latched into OMR when the RESET
deasserted.
External Interrupt Request DÑAfter hardware
reset, this signal becomes a level-sensitive or
negative-edge-triggered, maskable interrupt
request input during normal instruction
processing. If IRQD
CLKOUT, multiple processors can be
resynchronized using the WAIT instruction and
asserting IRQD
is asserted synchronous to
to exit the wait state.
signal is
2.8HOST INTERFACE (HI08)
The HI08 provides a fast parallel 8-bit port, which can connect directly to the host bus.
The HI08 supports a variety of standard buses and can be directly connected to a
number of industry standard microcomputers, microprocessors, DSPs, and DMA
hardware.
2.8.1Host Port Usage Considerations
When reading multiple-bit registers that are written by another asynchronous system,
you must synchronize carefully. This problem commonly occurs when two
asynchronous systems are connected (as they are in the host port). The considerations
for proper operation are discussed in Table 2-10.
2-16DSP56309UM/D MOTOROLA
Page 64
Signal/Connection Descriptions
Table 2-10 Host Port Usage Considerations
ActionDescription
Host Interface (HI08)
Asynchronous read of
receive byte registers
Asynchronous write to
transmit byte registers
Asynchronous write to
host vector
When reading the receive byte registers, receive register high
(RXH), receive register middle (RXM), or receive register low
(RXL), use interrupts or poll the receive register data full
(RXDF) flag which indicates that data is available. This assures
that the data in the receive byte registers is valid.
Do not write to the transmit byte registers, transmit register
high (TXH), transmit register middle (TXM), or transmit
register low (TXL), unless the transmit register data empty
(TXDE) bit is set indicating that the transmit byte registers are
empty. This guarantees that the transmit byte registers transfer
valid data to the host receive (HRX) register.
Change the host vector (HV) register only when the host
command bit (HC) is clear. This guarantees that the DSP
interrupt control logic receives a stable vector.
2.8.2Host Port Configuration
The functions of the signals associated with the HI08 vary according to the programmed
configuration of the interface as determined by the HI08 Port Control Register (HPCR).
Refer to Section 6ÑHost Interface (HI08) for detailed descriptions of this and the other
configuration registers used with the HI08.
Host interface signal descriptions for the DSP56309 are listed in Table 2-11.
MOTOROLADSP56309UM/D 2-17
Page 65
Signal/Connection Descriptions
Host Interface (HI08)
Table 2-11 Host Interface
Signal
Name
H0ÐH7
HAD0Ð
HAD7
PB0ÐPB7
HA0
Type
Input/
Output
Input/
Output
Input or
Output
Input
State
During
Reset
Tri-statedHost DataÑWhen the HI08 is programmed
to interface a non-multiplexed host bus and
the HI function is selected, these signals are
lines 0Ð7 of the data bidirectional, tri-state
bus.
Host AddressÑWhen HI08 is programmed
to interface a multiplexed host bus and the
HI function is selected, these signals are lines
0Ð7 of the address/data bidirectional,
multiplexed, tri-state bus.
Port B 0Ð7ÑWhen the HI08 is configured as
GPIO through the HPCR, these signals are
individually programmed as inputs or
outputs through the HI08 data direction
register (HDDR).
InputHost Address Input 0ÑWhen the HI08 is
programmed to interface a non-multiplexed
host bus and the HI function is selected, this
signal is line 0 of the host address input bus.
Signal Description
HAS
PB8
/HAS
Input
Input or
Output
Host Address StrobeÑWhen HI08 is
programmed to interface a multiplexed host
bus and the HI function is selected, this
signal is the host address strobe (HAS)
Schmitt-trigger input. The polarity of the
address strobe is programmable but is
configured active-low (HAS
Port B 8ÑWhen the HI08 is configured as
GPIO through the HPCR, this signal is
individually programmed as an input or
output through the HDDR.
) following reset.
2-18DSP56309UM/D MOTOROLA
Page 66
Signal/Connection Descriptions
Table 2-11 Host Interface (Continued)
Host Interface (HI08)
Signal
HA1
HA8
PB9
HA2
Name
Type
Input
Input
Input or
Output
Input
State
During
Reset
InputHost Address Input 1ÑWhen the HI08 is
programmed to interface a non-multiplexed
host bus and the HI function is selected, this
signal is line 1 of the host address (HA1)
input bus.
Host Address 8ÑWhen HI08 is programmed
to interface a multiplexed host bus and the
HI function is selected, this signal is line 8 of
the host address (HA8) input bus.
Port B 9ÑWhen the HI08 is configured as
GPIO through the HPCR, this signal is
individually programmed as an input or
output through the HDDR.
InputHost Address Input 2ÑWhen the HI08 is
programmed to interface a non-multiplexed
host bus and the HI function is selected, this
signal is line 2 of the host address (HA2)
input bus.
Signal Description
HA9
PB10
Input
Input or
Output
Host Address 9ÑWhen HI08 is programmed
to interface a multiplexed host bus and the
HI function is selected, this signal is line 9 of
the host address (HA9) input bus.
Port B 10ÑWhen the HI08 is configured as
GPIO through the HPCR, this signal is
individually programmed as an input or
output through the HDDR.
MOTOROLADSP56309UM/D 2-19
Page 67
Signal/Connection Descriptions
Host Interface (HI08)
Table 2-11 Host Interface (Continued)
Signal
Name
HRW
HRD
PB11
/HRD
Type
Input
Input
Input or
Output
State
During
Reset
InputHost Read/WriteÑWhen HI08 is
programmed to interface a single-data-strobe
host bus and the HI function is selected, this
signal is the host read/write
Host Read DataÑWhen HI08 is
programmed to interface a
double-data-strobe host bus and the HI
function is selected, this signal is the host
read data strobe (HRD) Schmitt-trigger
input. The polarity of the data strobe is
programmable, but is configured as
active-low (HRD
Port B 11ÑWhen the HI08 is configured as
GPIO through the HPCR, this signal is
individually programmed as an input or
output through the HDDR.
Signal Description
(HRW) input.
) after reset.
HDS
HWR
HWR
PB12
/HDS
/
Input
Input
Input or
Output
InputHost Data StrobeÑWhen HI08 is
programmed to interface a single-data-strobe
host bus and the HI function is selected, this
signal is the host data strobe (HDS)
Schmitt-trigger input. The polarity of the
data strobe is programmable, but is
configured as active-low (HDS
reset.
Host Write DataÑWhen HI08 is
programmed to interface a
double-data-strobe host bus and the HI
function is selected, this signal is the host
write data strobe (HWR) Schmitt-trigger
input. The polarity of the data strobe is
programmable, but is configured as
active-low (HWR
Port B 12ÑWhen the HI08 is configured as
GPIO through the HPCR, this signal is
individually programmed as an input or
output through the HDDR.
) following reset.
) following
2-20DSP56309UM/D MOTOROLA
Page 68
Signal/Connection Descriptions
Table 2-11 Host Interface (Continued)
Host Interface (HI08)
Signal
Name
HCS
HA10
PB13
Type
Input
Input
Input or
Output
State
During
Reset
InputHost Chip SelectÑWhen HI08 is
programmed to interface a non-multiplexed
host bus and the HI function is selected, this
signal is the host chip select (HCS) input. The
polarity of the chip select is programmable,
but is configured active-low (HCS
reset.
Host Address 10ÑWhen HI08 is
programmed to interface a multiplexed host
bus and the HI function is selected, this
signal is line 10 of the host address (HA10)
input bus.
Port B 13ÑWhen the HI08 is configured as
GPIO through the HPCR, this signal is
individually programmed as an input or
output through the HDDR.
Signal Description
) after
MOTOROLADSP56309UM/D 2-21
Page 69
Signal/Connection Descriptions
Host Interface (HI08)
Table 2-11 Host Interface (Continued)
Signal
Name
HREQ/
HREQ
HTRQ
HTRQ
State
Type
Output
/
Output
During
Reset
InputHost RequestÑWhen HI08 is programmed
to interface a single host request host bus and
the HI function is selected, this signal is the
host request (HREQ) output. The polarity of
the host request is programmable, but is
configured as active-low (HREQ
reset. The host request can be programmed
as a driven or open-drain output.
Transmit Host RequestÑWhen HI08 is
programmed to interface a double host
request host bus and the HI function is
selected, this signal is the transmit host
request (HTRQ) output. The polarity of the
host request is programmable, but is
configured as active-low (HTRQ
reset. The host request can be programmed
as a driven or open-drain output.
Signal Description
) following
) following
PB14
Input or
Output
Port B 14ÑWhen the HI08 is programmed to
interface a multiplexed host bus and the
signal is configured as GPIO through the
HPCR, this signal is individually
programmed as an input or output through
the HDDR.
2-22DSP56309UM/D MOTOROLA
Page 70
Signal/Connection Descriptions
Table 2-11 Host Interface (Continued)
Host Interface (HI08)
Signal
Name
HACK/
HACK
HRRQ
HRRQ
PB15
State
Type
Input
/
Output
Input or
Output
During
Reset
InputHost AcknowledgeÑWhen HI08 is
programmed to interface a single host
request host bus and the HI function is
selected, this signal is the host acknowledge
(HACK) Schmitt-trigger input. The polarity
of the host acknowledge is programmable,
but is configured as active-low (HACK
reset.
Receive Host RequestÑWhen HI08 is
programmed to interface a double host
request host bus and the HI function is
selected, this signal is the receive host request
(HRRQ) output. The polarity of the host
request is programmable, but is configured
as active-low (HRRQ
request can be programmed as a driven or
open-drain output.
Port B 15ÑWhen the HI08 is configured as
GPIO through the HPCR, this signal is
individually programmed as an input or
output through the HDDR.
Signal Description
) after reset. The host
) after
MOTOROLADSP56309UM/D 2-23
Page 71
Signal/Connection Descriptions
Enhanced Synchronous Serial Interface
2.9ENHANCED SYNCHRONOUS SERIAL INTERFACE
Two synchronous serial interfaces (ESSI0 and ESSI1) provide a full-duplex serial port for
serial communication with a variety of serial devices, including one or more
industry-standard codecs, other DSPs, microprocessors, and peripherals which
implement the Motorola SPI.
2.9.1ESSI0
The ESSI0 signal descriptions for the DSP56309 are listed in Table 2-12.
Table 2-12 Enhanced Synchronous Serial Interface 0 (ESSI0)
Signal
Name
SC00
PC0
Type
Input or
Output
State
During
Reset
InputSerial Control 0ÑThe function of SC00 is
determined by the selection of either
synchronous or asynchronous mode. For
asynchronous mode, this signal is used for
the receive clock I/O (Schmitt-trigger input).
For synchronous mode, this signal is used
either for Transmitter 1 output or for Serial
I/O Flag 0.
This signal is driven by a weak keeper after
reset.
Port C 0ÑThe default configuration
following reset is GPIO input PC0. When this
port is configured as PC0, signal direction is
controlled through the Port C direction
register (PRR0). The signal can be configured
as ESSI signal SC00 through the Port C
control register (PCR0).
Signal Description
2-24DSP56309UM/D MOTOROLA
Page 72
Signal/Connection Descriptions
Enhanced Synchronous Serial Interface
Table 2-12 Enhanced Synchronous Serial Interface 0 (ESSI0) (Continued)
Signal
Name
SC01
PC1
SC02
Type
Input/
Output
Input or
Output
Input/
Output
State
During
Reset
InputSerial Control 1ÑThe function of this signal
is determined by the selection of either
synchronous or asynchronous mode. For
Asynchronous mode, this signal is the
receiver frame sync I/O. For synchronous
mode, this signal is used either for
Transmitter 2 output or for Serial I/O Flag 1.
This signal is driven by a weak keeper after
reset.
Port C 1ÑThe default configuration
following reset is GPIO input PC1. When this
port is configured as PC1, signal direction is
controlled through PRR0. The signal can be
configured as an ESSI signal SC01 through
PCR0.
InputSerial Control Signal 2ÑSC02 is used for
frame sync I/O. SC02 is the frame sync for
both the transmitter and receiver in
synchronous mode and for the transmitter
only in asynchronous mode. When
configured as an output, this signal is the
internally generated frame sync signal. When
configured as an input, this signal receives an
external frame sync signal for the transmitter
(and the receiver in synchronous operation).
Signal Description
This signal is driven by a weak keeper after
reset.
PC2
Input or
Output
Port C 2ÑThe default configuration
following reset is GPIO input PC2. When this
port is configured as PC2, signal direction is
controlled through PRR0. The signal can be
configured as an ESSI signal SC02 through
PCR0.
MOTOROLADSP56309UM/D 2-25
Page 73
Signal/Connection Descriptions
Enhanced Synchronous Serial Interface
Table 2-12 Enhanced Synchronous Serial Interface 0 (ESSI0) (Continued)
Signal
Name
SCK0
Type
Input/
Output
State
During
Reset
InputSerial ClockÑSCK0 is a bidirectional
Schmitt-trigger input signal providing the
serial bit rate clock for the ESSI interface. The
SCK0 is a clock input or output used by both
the transmitter and receiver in synchronous
modes or by the transmitter in asynchronous
modes.
Although an external serial clock can be
independent of and asynchronous to the DSP
system clock, it must exceed the minimum
clock cycle time of 6 T (i.e., the system clock
frequency must be at least three times the
external ESSI clock frequency). The ESSI
needs at least three DSP phases inside each
half of the serial clock.
This signal is driven by a weak keeper after
reset.
Signal Description
PC3
SRD0
PC4
Input or
Output
Input/
Output
Input or
Output
Port C 3ÑThe default configuration
following reset is GPIO input PC3. When this
port is configured as PC3, signal direction is
controlled through PRR0. The signal can be
configured as an ESSI signal SCK0 through
PCR0.
InputSerial Receive DataÑSRD0 receives serial
data and transfers the data to the ESSI receive
shift register. SRD0 is an input when data is
being received.
This signal is driven by a weak keeper after
reset.
Port C 4ÑThe default configuration
following reset is GPIO input PC4. When this
port is configured as PC4, signal direction is
controlled through PRR0. The signal can be
configured as an ESSI signal SRD0 through
PCR0.
2-26DSP56309UM/D MOTOROLA
Page 74
Signal/Connection Descriptions
Enhanced Synchronous Serial Interface
Table 2-12 Enhanced Synchronous Serial Interface 0 (ESSI0) (Continued)
Signal
Name
STD0
PC5
Input/
Output
Input or
Output
2.9.2ESSI1
Type
State
During
Reset
InputSerial Transmit DataÑSTD0 is used for
transmitting data from the serial Transmit
shift register. STD0 is an output when data is
being transmitted.
This signal is driven by a weak keeper after
reset.
Port C 5ÑThe default configuration
following reset is GPIO input PC5. When this
port is configured as PC5, signal direction is
controlled through PRR0. The signal can be
configured as an ESSI signal STD0 through
PCR0.
Signal Description
The ESSI1 signal descriptions for the DSP56309 are listed in Table 2-13.
MOTOROLADSP56309UM/D 2-27
Page 75
Signal/Connection Descriptions
Enhanced Synchronous Serial Interface
Table 2-13 Enhanced Synchronous Serial Interface 1 (ESSI1)
Signal
Name
SC10
PD0
Type
Input or
Output
State
During
Reset
InputSerial Control 0ÑThe function of SC10 is
determined by the selection of either
synchronous or asynchronous mode. For
asynchronous mode, this signal is used for
the receive clock I/O (Schmitt-trigger input).
For synchronous mode, this signal is used
either for Transmitter 1 output or for Serial
I/O Flag 0.
This signal is driven by a weak keeper after
reset.
Port D 0ÑThe default configuration
following reset is GPIO input PD0. When this
port is configured as PD0, signal direction is
controlled through the Port D direction
register (PRR1). The signal can be configured
as an ESSI signal SC10 through the Port D
control register (PCR1).
Signal Description
SC11
PD1
Input/
Output
Input or
Output
InputSerial Control 1ÑThe function of this signal
is determined by the selection of either
synchronous or asynchronous mode. For
asynchronous mode, this signal is the
receiver frame sync I/O. For synchronous
mode, this signal is used either for
Transmitter 2 output or for Serial I/O Flag 1.
This signal is driven by a weak keeper after
reset.
Port D 1ÑThe default configuration
following reset is GPIO input PD1. When this
port is configured as PD1, signal direction is
controlled through PRR1. The signal can be
configured as an ESSI signal SC11 through
PCR1.
2-28DSP56309UM/D MOTOROLA
Page 76
Signal/Connection Descriptions
Enhanced Synchronous Serial Interface
Table 2-13 Enhanced Synchronous Serial Interface 1 (ESSI1) (Continued)
Signal
Name
SC12
PD2
Type
Input/
Output
Input or
Output
State
During
Reset
InputSerial Control Signal 2ÑSC12 is used for
frame sync I/O. SC12 is the frame sync for
both the transmitter and receiver in
synchronous mode and for the transmitter
only in asynchronous mode. When
configured as an output, this signal is the
internally generated frame sync signal. When
configured as an input, this signal receives an
external frame sync signal for the transmitter.
The receiver receives an external frame sync
signal as well when in synchronous
operation).
This signal is driven by a weak keeper after
reset.
Port D 2ÑThe default configuration
following reset is GPIO input PD2. When this
port is configured as PD2, signal direction is
controlled through PRR1. The signal can be
configured as an ESSI signal SC12 through
PCR1.
Signal Description
MOTOROLADSP56309UM/D 2-29
Page 77
Signal/Connection Descriptions
Enhanced Synchronous Serial Interface
Table 2-13 Enhanced Synchronous Serial Interface 1 (ESSI1) (Continued)
Signal
Name
SCK1
Type
Input/
Output
State
During
Reset
InputSerial ClockÑSCK1 is a bidirectional
Schmitt-trigger input signal providing the
serial bit rate clock for the ESSI interface. The
SCK1 is a clock input or output used by both
the transmitter and receiver in synchronous
modes or by the transmitter in asynchronous
modes.
Although an external serial clock can be
independent of and asynchronous to the DSP
system clock, it must exceed the minimum
clock cycle time of 6T (i.e., the system clock
frequency must be at least three times the
external ESSI clock frequency). The ESSI
needs at least three DSP phases inside each
half of the serial clock.
This signal is driven by a weak keeper after
reset.
Signal Description
PD3
SRD1
PD4
Input or
Output
Input/
Output
Input or
Output
Port D 3ÑThe default configuration
following reset is GPIO input PD3. When this
port is configured as PD3, signal direction is
controlled through PRR1. The signal can be
configured as an ESSI signal SCK1 through
PCR1.
InputSerial Receive DataÑSRD1 receives serial
data and transfers the data to the ESSI receive
shift register. SRD1 is an input when data is
being received.
This signal is driven by a weak keeper after
reset.
Port D 4ÑThe default configuration
following reset is GPIO input PD4. When this
port is configured as PD4, signal direction is
controlled through PRR1. The signal can be
configured as an ESSI signal SRD1 through
PCR1.
2-30DSP56309UM/D MOTOROLA
Page 78
Signal/Connection Descriptions
Enhanced Synchronous Serial Interface
Table 2-13 Enhanced Synchronous Serial Interface 1 (ESSI1) (Continued)
Signal
Name
STD1
PD5
Type
Input/
Output
Input or
Output
State
During
Reset
InputSerial Transmit DataÑSTD1 is used for
transmitting data from the serial transmit
shift register. STD1 is an output when data is
being transmitted.
This signal is driven by a weak keeper after
reset.
Port D 5ÑThe default configuration
following reset is GPIO input PD5. When this
port is configured as PD5, signal direction is
controlled through PRR1. The signal can be
configured as an ESSI signal STD1 through
PCR1.
Signal Description
MOTOROLADSP56309UM/D 2-31
Page 79
Signal/Connection Descriptions
Serial Communication Interface (SCI)
2.10SERIAL COMMUNICATION INTERFACE (SCI)
SCI provides a full duplex port for serial communication to other DSPs, microprocessors,
or peripherals such as modems. SCI signal descriptions are listed in Table 2-14.
Table 2-14 Serial Communication Interface (SCI)
Signal
RXD
PE0
TXD
Name
Type
Input
Input or
Output
Output
State
During
Reset
InputSerial Receive DataÑThis input receives
byte oriented serial data and transfers it to
the SCI receive shift register.
This signal is driven by a weak keeper after
reset.
Port E 0ÑThe default configuration
following reset is GPIO input PE0. When this
port is configured as PE0, signal direction is
controlled through the SCI Port E direction
register (PRR). The signal can be configured
as an SCI signal RXD through the SCI Port E
control register (PCR).
InputSerial Transmit DataÑThis signal transmits
data from SCI transmit data register.
This signal is driven by a weak keeper after
reset.
Signal Description
PE1
Input or
Output
Port E 1ÑThe default configuration
following reset is GPIO input PE1. When this
port is configured as PE1, signal direction is
controlled through the SCI PRR. The signal
can be configured as an SCI signal TXD
through the SCI PCR.
2-32DSP56309UM/D MOTOROLA
Page 80
Signal/Connection Descriptions
Table 2-14 Serial Communication Interface (SCI) (Continued)
Timers
Signal
Name
SCLK
PE2
Type
Input/
Output
Input or
Output
State
During
Reset
InputSerial ClockÑThis is the bidirectional
Schmitt-trigger input signal providing the
input or output clock used by the transmitter
and/or the receiver.
This signal is driven by a weak keeper after
reset.
Port E 2ÑThe default configuration
following reset is GPIO input PE2. When this
port is configured as PE2, signal direction is
controlled through the SCI PRR. The signal
can be configured as an SCI signal SCLK
through the SCI PCR.
2.11TIMERS
Signal Description
Three identical and independent timers are implemented in the DSP56309. Each timer
can use internal or external clocking; each timer can interrupt the DSP56309 after a
specified number of events (clocks) or can signal an external device after counting a
specific number of internal events. Triple timer signal descriptions are listed in
Table 2-15.
MOTOROLADSP56309UM/D 2-33
Page 81
Signal/Connection Descriptions
Timers
Table 2-15 Triple Timer Signals
Signal
Name
TIO0Input or
TIO1Input or
Type
Output
Output
State
During
Reset
InputTimer 0 Schmitt-Trigger Input/OutputÑ
When timer 0 functions as an external event
counter or in measurement mode, TIO0 is
used as input. When timer 0 functions in
watchdog, timer, or pulse modulation mode,
TIO0 is used as output.
This signal is driven by a weak keeper after
reset.
The default mode after reset is GPIO input.
This can be changed to output or configured
as a timer input/output through the timer 0
control/status register (TCSR0).
InputTimer 1 Schmitt-Trigger Input/OutputÑ
When Timer 1 functions as an external event
counter or in measurement mode, TIO1 is
used as input. When timer 1 functions in
watchdog, timer, or pulse modulation mode,
TIO1 is used as output.
Signal Description
This signal is driven by a weak keeper after
reset.
The default mode after reset is GPIO input.
This can be changed to output or configured
as a timer input/output through the timer 1
control/status register (TCSR1).
2-34DSP56309UM/D MOTOROLA
Page 82
Signal/Connection Descriptions
Table 2-15 Triple Timer Signals (Continued)
OnCE/JTAG Interface
Signal
Name
TIO2Input or
Type
Output
State
During
Reset
InputTimer 2 Schmitt-Trigger Input/OutputÑ
2.12OnCE/JTAG INTERFACE
Signal Description
When Timer 2 functions as an external event
counter or in measurement mode, TIO2 is
used as input. When timer 2 functions in
watchdog, timer, or pulse modulation mode,
TIO2 is used as output.
This signal is driven by a weak keeper after
reset.
The default mode after reset is GPIO input.
This can be changed to output or configured
as a timer input/output through the timer 2
control/status register (TCSR2).
OnCE/JTAG interface signal descriptions are listed in Table 2-16.
Table 2-16 OnCE/JTAG Interface
Signal
Name
TCKInputInputTest ClockÑTCK is a test clock input signal
TDIInputInputTest Data InputÑTDI is a test data serial
Type
State
During
Reset
Signal Description
used to synchronize the JTAG test logic. Its
pin has a pull-up resistor.
input signal used for test instructions and
data. TDI is sampled on the rising edge of
TCK and has an internal pull-up resistor.
MOTOROLADSP56309UM/D 2-35
Page 83
Signal/Connection Descriptions
OnCE/JTAG Interface
Table 2-16 OnCE/JTAG Interface (Continued)
Signal
Name
TDOOutputTri-statedTest Data OutputÑTDO is a test data serial
TMSInputInputTest Mode SelectÑTMS is an input signal
TRST
Type
InputInputTest ResetÑTRST is an active-low
State
During
Reset
Signal Description
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.
used to sequence the test controllerÕs state
machine. TMS is sampled on the rising edge
of TCK and has an internal pull-up resistor.
Schmitt-trigger input signal used to
asynchronously initialize the test controller.
TRST
has an internal pull-up resistor. TRST
must be asserted after power up.
2-36DSP56309UM/D MOTOROLA
Page 84
Signal/Connection Descriptions
Table 2-16 OnCE/JTAG Interface (Continued)
OnCE/JTAG Interface
Signal
Name
DEInput/
Type
Output
State
During
Reset
InputDebug EventÑDE is an open-drain,
bidirectional, active-low signal providing, as
an input, a means of entering debug mode of
operation from an external command
controller, and as an output, a means of
acknowledging that the chip has entered
debug mode. This signal, when asserted as
an input, causes the DSP56300 core to finish
the current instruction being executed, save
the instruction pipeline information, enter
debug mode, and wait for commands to be
entered from the debug serial input line. This
signal is asserted as an output for three clock
cycles when the chip enters debug mode as a
result of a debug request or as a result of
meeting a breakpoint condition. The DE
an internal pull-up resistor.
This is not a standard part of the JTAG TAP
controller. The signal connects directly to the
OnCE module to initiate debug mode
directly or to provide a direct external
indication that the chip has entered debug
mode. All other interfacing with the OnCE
module must occur through the JTAG port.
The DSP56309 provides three independent memory spaces:
¥Program
¥X data
¥Y data
Each memory space uses 24-bit addressing by default. The program and data word
length is 24 bits. Moreover, this device supports remapping address attribute registers
Òon the fly,Ó thus allowing access to 16 M of memory.
The DSP56309 provides a sixteen-bit compatibility mode that effectively uses 16-bit
addressing for each memory space, allowing access to 64K each of memory. This mode
puts zeroes in the most significant byte of the usual (24-bit) program and data word; it
ignores the zeroed byte, thus effectively using 16-bit program and data words. The
sixteen-bit compatibility mode allows the DSP56309 to use 56000 object code without
change, thus minimizing system cost for applications that use the smaller address space.
See the DSP56300 Family Manual for further information.
3.1.1Program Memory Space
Program memory space consists of the following:
¥Internal program memory (Program RAM, 20K by default)
¥Bootstrap Program ROM (192 x 24-bit)
¥(Optionally) off-chip memory expansion (as much as 16 M in 24-bit mode and
64K in 16-bit mode)
¥(Optionally) instruction cache (1K) formed from Program RAM
Program memory space at locations $FF00C0 to $FFFFFF is reserved and should not be
accessed.
3.1.2Data Memory Spaces
Data memory space is divided into X data memory and Y data memory to match the
natural partitioning of DSP algorithms. The data memory partitioning allows the
MOTOROLADSP56309UM/D 3-3
Page 89
Memory Configuration
Memory Spaces
DSP56309 to feed two operands to the Data ALU simultaneously, enabling it to perform
a multiply-accumulate operation in one clock cycle.
X and Y data memory are identical in structure and functionality except for the upper
128 words of each space. The upper 128 words of X data memory are reserved for
internal I/O. We recommend that the programmer reserve the upper 128 words of Y
data memory for external I/O. (For further information, see Section 3.1.2.1 X Data Memory Space and Section 3.1.2.2 Y Data Memory Space.)
X and Y data memory space each consist of the following:
¥Internal data memory (X data RAM and Y data RAM, the default size of each is
7K, but they can be switched to 5K each)
¥(Optionally) Off-chip memory expansion (up to 16 M in the 24-bit address mode
and 64K in the 16-bit address mode)
3.1.2.1X Data Memory Space
The on-chip peripheral registers and some of the DSP56309 core registers occupy the top
128 locations of X data memory ($FFFF80Ð$FFFFFF in the 24-bit Address mode or
$FF80Ð$FFFF in the 16-bit Address mode). This area is called X-I/O space, and it can be
accessed by MOVE and MOVEP instructions and by bit oriented instructions (BCHG,
BCLR, BSET, BTST, BRCLR, BRSET, BSCLR, BSSET, JCLR, JSET, JSCLR, and JSSET). For
a listing of the contents of this area, see the programming sheets in
Appendix DÑProgramming Reference.
The X memory space at locations $FF0000 to $FFEFFF is reserved and should not be
accessed by the programmer.
3.1.2.2Y Data Memory Space
The off-chip peripheral registers should be mapped into the top 128 locations of Y data
memory ($FFFF80Ð$FFFFFF in the 24-bit address mode or $FF80Ð$FFFF in the 16-bit
address mode) to take advantage of the move peripheral data (MOVEP) instruction and
the bit oriented instructions (BCHG, BCLR, BSET, BTST, BRCLR, BRSET, BSCLR, BSSET,
JCLR, JSET, JSCLR, and JSSET).
The Y memory space at locations $FF0000 to $FFEFFF is reserved and should not be
accessed by the programmer.
3-4DSP56309UM/D MOTOROLA
Page 90
Memory Configuration
RAM Configuration
3.1.3Memory Space Configuration
Memory space addressing is 24-bit by default. The DSP56309 switches to sixteen-bit
address compatibility mode by setting the sixteen-bit compatibility (SC) bit in the Status
Register (SR).
Table 3-1 Memory Space Configuration Bit Settings for the DSP56309
Bit
Abbreviation
SCSixteen-bit
Compatibility
Bit NameBit Location
SR 1316M word
Cleared = 0
Effect (Default)
address space
(24-bit address)
Set = 1 Effect
64K word
address space
(16-bit address)
Memory maps for the different configurations are shown in Figure 3-1 through
Figure 3-8.
3.2 RAM CONFIGURATION
The DSP56309 contains 34K of RAM, divided by default into the following:
¥Program RAM (20K)
¥X data RAM (7K)
¥Y data RAM (7K)
RAM configuration depends on two bits: the Cache Enable (CE) of the SR and the
Memory Select (MS) of the Operating Mode Register (OMR).
Table 3-2 RAM Configuration Bit Settings for the DSP56309
Bit
Abbreviation
CECache
MSMemory
Bit Name
Enable
Switch
Bit
Location
SR 19Cache DisabledCache Enabled
OMR 7Program RAM 20K
Cleared = 0 Effect
(Default)
X data RAM 7K
Y data RAM 7K
Set = 1 Effect
1K
Program RAM 24K
X data RAM 5K
Y data RAM 5K
MOTOROLADSP56309UM/D 3-5
Page 91
Memory Configuration
RAM Configuration
Memory maps for the different configurations are shown in Figure 3-1 through
Figure 3-8.
Note:The MS bit cannot be changed when CE is set. The instruction cache occupies
the top 1K of what would otherwise be Program RAM; if you switch memory
into or out of Program RAM when the cache is enabled, the switch causes
conflicts. To change the MS bit when CE is set, do the following:
1. Clear CE.
2. Change MS.
3. Set CE.
3.2.1On-Chip Program Memory (Program RAM)
The on-chip Program RAM consists of 24-bit wide, high-speed, internal Static RAM
occupying the lowest 20K (default), 23K, 24K, or 19K locations in the program memory
space (depending on the settings of the MS and CE bits). The Program RAM default
organization is 80 banks of 256 24-bit words (20K). The upper eight banks of both X data
RAM and Y data RAM can be configured as Program RAM by setting the MS bit. When
the CE is set, the upper 1K of Program RAM is used as an internal Instruction Cache.
CAUTION
While the contents of Program RAM are unaffected by toggling the
MS bit, the location of program data placed in the Program
RAM/Instruction Cache area changes after the MS bit is toggled, since
the cache always occupies the top-most 1K Program RAM addresses.
To preserve program data integrity, do not set or clear the MS bit
when the CE bit is set. See Section 3.2 on page 3-5 for the correct
procedure.
3.2.2On-Chip X Data Memory (X Data RAM)
The on-chip X data RAM consists of 24-bit wide, high-speed, internal Static RAM
occupying the lowest 7K (default) or 5K locations in the X memory space. The size of the
X data RAM depends on the setting of the MS bit (default: MS is cleared). The X data
RAM default organization is 28 banks of 256 (7K) 24-bit words. Eight banks of RAM can
be switched from the X data RAM to the Program RAM by setting the MS bit (leaving 5K
of X data RAM).
3-6DSP56309UM/D MOTOROLA
Page 92
Memory Configuration
Memory Configurations
3.2.3On-Chip Y Data Memory (Y Data RAM)
The on-chip Y data RAM consists of 24-bit wide, high-speed, internal Static RAM
occupying the lowest 7K (default) or 5K locations in the Y memory space. The size of the
Y data RAM is dependent on the setting of the MS bit (default: MS is cleared). The Y data
RAM default organization is 28 banks of 256 (7K) 24-bit words. Eight banks of RAM can
be switched from the Y data RAM to the Program RAM by setting the MS bit (leaving 5K
of Y data RAM).
3.2.4Bootstrap ROM
The bootstrap code is accessed at addresses $FF0000 to $FFF0BF (192 words) in program
memory space. The bootstrap ROM cannot be accessed in 16-bit address compatibility
mode. See Appendix AÑBootstrap Programs for a complete listing of the bootstrap
code.
3.3MEMORY CONFIGURATIONS
Memory configuration determines the size and address range for addressable memory,
as well as the amount of memory allocated to Program RAM, data RAM, and the
instruction cache.
3.3.1Memory Space Configurations
The memory space configurations are listed in Table 3-3.
Table 3-3 Memory Space Configurations for the DSP56309
SC Bit
Setting
016M words$000000Ð
164K words$0000Ð$FFFF16
Addressable
Memory Size
Address Range
$FFFFFF
Number of
Address Bits
24
MOTOROLADSP56309UM/D 3-7
Page 93
Memory Configuration
Memory Configurations
3.3.2RAM Configurations
The RAM configurations for the DSP56309 appear in Table 3-4.
Table 3-4 RAM Configurations for the DSP56309
Bit SettingsMemory Sizes (in K)
MSCE
0020770
0119771
1024550
1123551
Program
RAM
X data
RAM
Y data
RAM
Cache
The actual memory locations for Program RAM and the instruction cache in the Program
memory space are determined by the MS and CE bits. Their addresses appear in
Table 3-5.
Table 3-5 Memory Locations for Program RAM and Instruction Cache
MSCE
00$0000Ð$4FFFN/A
01$0000Ð$4BFF$4C00Ð$4FFF
Program RAM
Location
Cache Location
10$0000Ð$5FFFN/A
11$0000Ð$5BFF$5C00Ð$5FFF
3-8DSP56309UM/D MOTOROLA
Page 94
Memory Configuration
Memory Maps
The actual memory locations for both X and Y data RAM in their own memory space are
determined by the MS bit. Their addresses appear in Table 3-6.
Table 3-6 Memory Locations for Data RAM
MS
0$0000Ð$1BFF
1$0000Ð$13FF
Data RAM
Location
3.4 MEMORY MAPS
Figure 3-1 through Figure 3-8 illustrate each of the memory space and RAM
configurations defined by the settings of the SC, MS, and CE bits. The figures show the
configuration, and the accompanying tables show the bit settings, memory sizes, and
memory locations.
MOTOROLADSP56309UM/D 3-9
Page 95
Memory Configuration
Memory Maps
ProgramX DataY Data
$FFFFFF
$FFF0C0
$FF0000
$005000
$000000
Internal
Reserved
Bootstrap ROM
External
Internal
Program RAM
20K
$FFFFFF
$FFFF80
$FFF000
$FF0000
$001C00
$000000
Internal I/O
External
Internal
Reserved
External
Internal
X data RAM
7K
$FFFFFF
$FFFF80
$FFF000
$FF0000
$001C00
$000000
Bit SettingsMemory Configuration
SCMSCE
Program
RAM
X Data RAMY Data RAMCache
External I/O
External
Internal
Reserved
External
Internal
Y data RAM
7K
Addressable
Memory Size
00020K
None16M
$0000Ð$4FFF7K$0000Ð$1BFF7K$0000Ð$1BFF
AA0557
Figure 3-1 Default Settings (0, 0, 0)
3-10DSP56309UM/D MOTOROLA
Page 96
Memory Configuration
ProgramX DataY Data
Memory Maps
$FFFFFF
$FFF0C0
$FF0000
$005000
$004C00
$000000
Internal
Reserved
Bootstrap ROM
External
I-Cache
1K
Internal
Program RAM
19K
$FFFFFF
$FFFF80
$FFF000
$FF0000
$001C00
$000000
Internal I/O
External
Internal
Reserved
External
Internal
X data RAM
7K
$FFFFFF
$FFFF80
$FFF000
$FF0000
$001C00
$000000
Bit SettingsMemory Configuration
SCMSCE
Program
RAM
X Data
RAM
Y Data
RAM
External I/O
External
Internal
Reserved
External
Internal
Y data RAM
7K
Cache
Addressable
Memory Size
00119K
$0000Ð
$4BFF
7K
$0000Ð
$1BFF
7K
$0000Ð
$1BFF
1K
$4C00Ð
$4FFF
16 M
AA0561
Figure 3-2 Instruction Cache Enabled (0, 0, 1)
MOTOROLADSP56309UM/D 3-11
Page 97
Memory Configuration
Memory Maps
ProgramX DataY Data
$FFFFFF
$FFF0C0
$FF0000
$006000
$000000
Internal
Reserved
Bootstrap ROM
External
Internal
Program RAM
24K
$FFFFFF
$FFFF80
$FFF000
$FF0000
$001400
$000000
Internal I/O
External
Internal
Reserved
External
Internal
X data RAM
5K
$FFFFFF
$FFFF80
$FFF000
$FF0000
$001400
$000000
Bit SettingsMemory Configuration
SCMSCE
Program
RAM
X Data
RAM
Y Data
RAM
External I/O
External
Internal
Reserved
External
Internal
Y data RAM
5K
Cache
Addressable
Memory Size
01024K
$0000Ð
$5FFF
5K
$0000Ð
$13FF
5K
$0000Ð
$13FF
None16 M
AA0559
Figure 3-3 Switched Program RAM (0, 1, 0)
3-12DSP56309UM/D MOTOROLA
Page 98
Memory Configuration
ProgramX DataY Data
Memory Maps
$FFFFFF
$FFF0C0
$FF0000
$006000
$005C00
$000000
Internal
Reserved
Bootstrap ROM
External
I-Cache
1K
Internal
Program
RAM 23K
$FFFFFF
$FFFF80
$FFF000
$FF0000
$001400
$000000
Internal I/O
External
Internal
Reserved
External
Internal
X data RAM
5K
$FFFFFF
$FFFF80
$FFF000
$FF0000
$001400
$000000
Bit SettingsMemory Configuration
SCMSCE
Program
RAM
X Data
RAM
Y Data
RAM
External I/O
External
Internal
Reserved
External
Internal
Y data RAM
5K
Cache
Addressable
Memory Size
01123K
$0000Ð
$5BFF
5K
$0000Ð
$13FF
5K
$0000Ð
$13FF
1K
$5C00Ð
$5FFF
16 M
AA0563
Figure 3-4 Switched Program RAM and Instruction Cache Enabled (0, 1, 1)
MOTOROLADSP56309UM/D 3-13
Page 99
Memory Configuration
Memory Maps
ProgramX DataY Data
$FFFF
$5000
$0000
External
Internal
Program RAM
20K
$FFFF
$FF80
$1C00
$0000
Internal I/O
External
Internal
X data RAM
7K
$FFFF
$FF80
$1C00
$0000
Bit SettingsMemory Configuration
SCMSCE
Program
RAM
X Data
RAM
Y Data
RAM
External I/O
External
Internal
Y data RAM
7K
Cache
Addressable
Memory Size
10020K
$0000Ð
$4FFF
7K
$0000Ð
$1BFF
7K
$0000Ð
$1BFF
None64K
AA0558
Figure 3-5 16-bit Space with Default RAM (1, 0, 0)
3-14DSP56309UM/D MOTOROLA
Page 100
$FFFF
Memory Configuration
ProgramX DataY Data
External
$FFFF
$FF80
Internal I/O
External
$FFFF
$FF80
External I/O
External
Memory Maps
$5000
$4C00
$0000
I-Cache
1K
Internal
Program RAM
19K
$1C00
$0000
$1C00
Internal
X data RAM
7K
$0000
Bit SettingsMemory Configuration
SCMSCE
Program
RAM
10119K
$0000Ð
$4BFF
X Data
RAM
7K
$0000Ð
$1BFF
Y Data
RAM
7K
$0000Ð
$1BFF
Internal
Y data RAM
7K
Cache
1K
$4C00Ð
$4FFF
Addressable
Memory Size
64K
AA0562
Figure 3-6 16-bit Space with Instruction Cache Enabled (1, 0, 1)
MOTOROLADSP56309UM/D 3-15
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.