This revision history highlights the technical changes made to SPRS163G to generate SPRS163H.
Scope:
Revision History
PAGE(S)
NO.
18Table 2−3, Signal Descriptions (Continued):
− Updated/changed D[15:0] FUNCTION description from “... The data bus keepers are disabled at reset, ...” to “... The
data bus keepers are enabled at reset, ...”.
D2.7-V – 3.6-V I/O Supply Voltage
D1.6-V Core Supply Voltage
TMS320C55x and MicroStar BGA are trademarks of Texas Instruments.
All trademarks are the property of their respective owners.
†
IEEE Standard 1149.1-1990 Standard-Test-Access Port and Boundary Scan Architecture.
April 2001 − Revised January 2008SPRS163H
11
Introduction
2Introduction
This section describes the main features of the TMS320VC5509, lists the pin assignments, and describes the
function of each pin. This data manual also provides a detailed description section, electrical specifications,
parameter measurement information, and mechanical data about the available packaging.
NOTE: This data manual is designed to be used in conjunction with theTMS320C55x DSP Functional
Overview (literature number SPRU312), the TMS320C55x DSP CPU Reference Guide (literature
number SPRU371), and the TMS320C55x DSP Peripherals Overview Reference Guide (literature
number SPRU317).
2.1Description
The TMS320VC5509 fixed-point digital signal processor (DSP) is based on the TMS320C55x DSP generation
CPU processor core. The C55x DSP architecture achieves high performance and low power through
increased parallelism and total focus on reduction in power dissipation. The CPU supports an internal bus
structure that is composed of one program bus, three data read buses, two data write buses, and additional
buses dedicated to peripheral and DMA activity. These buses provide the ability to perform up to three data
reads and two data writes in a single cycle. In parallel, the DMA controller can perform up to two data transfers
per cycle independent of the CPU activity.
The C55x CPU provides two multiply-accumulate (MAC) units, each capable of 17-bit x 17-bit multiplication
in a single cycle. A central 40-bit arithmetic/logic unit (ALU) is supported by an additional 16-bit ALU. Use of
the ALUs is under instruction set control, providing the ability to optimize parallel activity and power
consumption. These resources are managed in the Address Unit (AU) and Data Unit (DU) of the C55x CPU.
The C55x DSP generation supports a variable byte width instruction set for improved code density. The
Instruction Unit (IU) performs 32-bit program fetches from internal or external memory and queues instructions
for the Program Unit (PU). The Program Unit decodes the instructions, directs tasks to AU and DU resources,
and manages the fully protected pipeline. Predictive branching capability avoids pipeline flushes on execution
of conditional instructions.
The general-purpose input and output functions and the10-bit A/D provide sufficient pins for status, interrupts,
and bit I/O for LCDs, keyboards, and media interfaces. The parallel interface operates in two modes, either
as a slave to a microcontroller using the HPI port or as a parallel media interface using the asynchronous EMIF .
Serial media is supported through two MultiMedia Card/Secure Digital (MMC/SD) peripherals and three
McBSPs.
The 5509 peripheral set includes an external memory interface (EMIF) that provides glueless access to
asynchronous memories like EPROM and SRAM, as well as to high-speed, high-density memories such as
synchronous DRAM. Additional peripherals include Universal Serial Bus (USB), real-time clock, watchdog
2
timer, I
C multi-master and slave interface, and a unique device ID. Three full-duplex multichannel buffered
serial ports (McBSPs) provide glueless interface to a variety of industry-standard serial devices, and
multichannel communication with up to 128 separately enabled channels. The enhanced host-port interface
(HPI) is a 16-bit parallel interface used to provide host processor access to 32K bytes of internal memory on
the 5509. The HPI can be configured in either multiplexed or non-multiplexed mode to provide glueless
interface to a wide variety of host processors. The DMA controller provides data movement for six independent
channel contexts without CPU intervention, providing DMA throughput of up to two 16-bit words per cycle. T wo
general-purpose timers, up to eight dedicated general-purpose I/O (GPIO) pins, and digital phase-locked loop
(DPLL) clock generation are also included.
The 5509 is supported by the industry’s award-winning eXpressDSP, Code Composer Studio Integrated
Development Environment (IDE), DSP/BIOS, Texas Instruments’ algorithm standard, and the industry’s
largest third-party network. The Code Composer Studio IDE features code generation tools including a
C Compiler and Visual Linker, simulator, RTDX, XDS510 emulation device drivers, and evaluation
modules. The 5509 is also supported by the C55x DSP Library which features more than 50 foundational
software kernels (FIR filters, IIR filters, FFTs, and various math functions) as well as chip and board support
libraries.
C55x, eXpressDSP, Code Composer Studio, DSP/BIOS, RTDX, and XDS510 are trademarks of Texas Instruments.
12
April 2001 − Revised January 2008SPRS163H
The TMS320C55x DSP core was created with an open architecture that allows the addition of
application-specific hardware to boost performance on specific algorithms. The hardware extensions on the
5509 strike the perfect balance of fixed function performance with programmable flexibility, while achieving
low-power consumption, and cost that traditionally has been difficult to find in the video-processor market. Th e
extensions allow the 5509 to deliver exceptional video codec performance with more than half its bandwidth
available for performing additional functions such as color space conversion, user-interface operations,
security, TCP/IP, voice recognition, and text-to-speech conversion. As a result, a single 5509 DSP can power
most portable digital video applications with processing headroom to spare. For more information, see the
TMS320C55x Hardware Extensions for Image/Video Applications Programmer’s Reference (literature
number SPRU098). For more information on using the the DSP Image Processing Library, see the
TMS320C55x Image/Video Processing Library Programmer’s Reference (literature number SPRU037).
2.2Pin Assignments
Figure 2−1 illustrates the ball locations for the 179-pin ball grid array (BGA) package and is used in conjunction
with Table 2−1 to locate signal names and ball grid numbers. DV
CV
is the power supply for the core CPU. VSS is the ground for both the I/O pins and the core CPU.
The TMS320VC5509PGE 144-pin low-profile quad flatpack (LQFP) pin assignments are shown in Figure 2−2
and is used in conjunction with Table 2−2 to locate signal names and pin numbers. DV
for the I/O pins while CV
the core CPU.
108
is the power supply for the core CPU. VSS is the ground for both the I/O pins and
Table 2−3 lists each signal, function, and operating mode(s) grouped by function. See Section 2.2 for pin
locations based on package type.
Table 2−3. Signal Descriptions
TERMINAL
NAME
A[13:0]I/O/Z
A′[0]
(BGA only)
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
HPI.HA[13:0]I
EMIF.A[13:0]O/Z
GPIO.A[13:0]I/O/Z
EMIF.A′[0]O/Z
I/O/Z
†
PARALLEL BUS
A subset of the parallel address bus A13−A0 of the C55x DSP core
bonded to external pins. These pins serve in one of three functions: HPI
address bus (HPI.HA[13:0]), EMIF address bus (EMIF.A[13:0]), or
general-purpose I/O (GPIO.A[13:0]). The initial state of these pins
depends on the GPIO0 pin. See Section 3.5.1 for more information.
The address bus has a bus holder feature that eliminates passive
component requirement and the power dissipation associated with them.
The bus holders keep the address bus at the previous logic level when the
bus goes into a high-impedance state.
HPI address bus. HPI.HA[13:0] is selected when the Parallel Port Mode bit
field of the External Bus Selection Register is 10. This setting enables the
HPI in non-multiplexed mode.
HPI.HA[13:0] provides DSP internal memory access to host. In
non-multiplexed mode, these signals are driven by an external host as
address lines.
EMIF address bus. EMIF.A[13:0] is selected when the Parallel Port Mode
bit field of the External Bus Selection Register is 01. This setting enables
the full EMIF mode and the EMIF drives the parallel port address bus. The
internal A[14] address is exclusive-ORed with internal A[0] address and
the result is routed to the A[0] pin.
General-purpose I/O address bus. GPIO.A[13:0] is selected when the
Parallel Port Mode bit field of the External Bus Selection Register is 11.
This setting enables the HPI in multiplexed mode with the Parallel Port
GPIO register controlling the parallel port address bus. GPIO is also
selected when the Parallel Port Mode bit field is 00, enabling the Data
EMIF mode.
EMIF address bus A′[0]. This pin is not multiplexed with EMIF.A[14] and is
used as the least significant external address pin on the BGA package.
FUNCTIONBK
BK
‡
RESET
CONDITION
GPIO0 = 1:
Output,
EMIF.A[13:0]
GPIO0 = 0:
Input,
HPI.HA[13:0]
Output
April 2001 − Revised January 2008SPRS163H
17
Introduction
BK
GPIO.A[15:14]
HPI.HD[15:0]
Table 2−3. Signal Descriptions (Continued)
TERMINAL
NAME
A[15:14]
(BGA only)
A[20:16]
(BGA only)
D[15:0]I/O/Z
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
I/O/Z
EMIF.A[15:14]O/Z
GPIO.A[15:14]I/O/Z
EMIF.A[20:16]O/Z
EMIF.D[15:0]I/O/Z
HPI.HD[15:0]I/O/Z
†
PARALLEL BUS (CONTINUED)
A subset of the parallel address bus A15−A14 of the C55x DSP core
bonded to external pins. These pins serve in one of two functions: EMIF
address bus (EMIF.A[15:14]), or general-purpose I/O (GPIO.A[15:14]).
The initial state of these pins depends on the GPIO0 pin. See Section 3.5.1
for more information.
The address bus has a bus holder feature that eliminates passive
component requirement and the power dissipation associated with them.
The bus holders keep the address bus at the previous logic level when the
bus goes into a high-impedance state.
EMIF address bus. EMIF.A[15:14] is selected when the Parallel Port Mode
bit field of the External Bus Selection Register is 01. This setting enables
the full EMIF mode and the EMIF drives the parallel port address bus.
General-purpose I/O address bus. GPIO.A[15:14] is selected when the
Parallel Port Mode bit field of the External Bus Selection Register is 11.
This setting enables the HPI in multiplexed mode with the Parallel Port
GPIO register controlling the parallel port address bus. GPIO is also
selected when the Parallel Port Mode bit field is 00, enabling the Data
EMIF mode.
EMIF address bus. At reset, these address pins are set as output.
NOTE:These pins only function as EMIF address pins and they are not
multiplexed for any other function.
A subset of the parallel bidirectional data bus D31−D0 of the C55x DSP
core. These pins serve in one of two functions: EMIF data bus
(EMIF.D[15:0]) or HPI data bus (HPI.HD[15:0]). The initial state of these
pins depends on the GPIO0 pin. See Section 3.5.1 for more information.
The data bus includes bus keepers to reduce the static power dissipation
caused by floating, unused pins. This eliminates the need for external bias
resistors on unused pins. When the data bus is not being driven by the
CPU, the bus keepers keep the pins at the logic level that was most
recently driven. (The data bus keepers are enabled at reset, and can be
enabled/disabled under software control.)
EMIF data bus. EMIF.D[15:0] is selected when the Parallel Port Mode bit
field of the External Bus Selection Register is 00 or 01.
HPI data bus. HPI.HD[15:0] is selected when the Parallel Port Mode bit
field of the External Bus Selection Register is 10 or 11.
FUNCTIONI/O/Z
BK
BK
‡
RESET
CONDITION
GPIO0 = 1:
Output,
EMIF.A[15:14]
GPIO0 = 0:
Input,
Output
GPIO0 = 1:
Input,
EMIF.D[15:0]
GPIO0 = 0:
Input,
18
April 2001 − Revised January 2008SPRS163H
Introduction
EMIF.ARE
EMIF.ARE
Input,
EMIF.AOE
EMIF.AOE
Output,
Input,
Input,
Table 2−3. Signal Descriptions (Continued)
TERMINAL
NAME
C0I/O/Z
C1O/Z
C2I/O/Z
C3I/O/Z
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
EMIF.AREO/Z
GPIO8I/O/Z
EMIF.AOEO/Z
HPI.HINTO/Z
EMIF.AWEO/Z
HPI.HR/WI
EMIF.ARDYI
HPI.HRDYO/Z
†
PARALLEL BUS (CONTINUED)
EMIF asynchronous memory read enable or general-purpose IO8. This
pin serves in one of two functions: EMIF asynchronous memory read
enable (EMIF.ARE
this pin depends on the GPIO0 pin. See Section 3.5.1 for more information.
Active-low EMIF asynchronous memory read enable. EMIF.ARE is
selected when the Parallel Port Mode bit field of the External Bus Selection
Register is 00 or 01.
General-purpose IO8. GPIO8 is selected when the Parallel Port Mode bit
field of the External Bus Selection Register is set to 10 or 11.
EMIF asynchronous memory output enable or HPI interrupt output. This
pin serves in one of two functions: EMIF asynchronous memory output
enable (EMIF.AOE
this pin depends on the GPIO0 pin. See Section 3.5.1 for more information.
Active-low asynchronous memory output enable. EMIF.AOE is selected
when the Parallel Port Mode bit field of the External Bus Selection Register
is 00 or 01.
Active-low HPI interrupt output. HPI.HINT is selected when the Parallel
Port Mode bit field of the External Bus Selection Register is 10 or 11.
EMIF asynchronous memory write enable or HPI read/write. This pin
serves in one of two functions: EMIF asynchronous memory write enable
(EMIF.AWE
depends on the GPIO0 pin. See Section 3.5.1 for more information.
Active-low EMIF asynchronous memory write enable. EMIF.AWE is
selected when the Parallel Port Mode bit field of the External Bus Selection
Register is 00 or 01.
HPI read/write. HPI.HR/W is selected when the Parallel Port Mode bit field
of the External Bus Selection Register is 10 or 11. HPI.HR/W
direction of the HPI transfer.
EMIF data ready input or HPI ready output. This pin serves in one of two
functions: EMIF data ready input (EMIF.ARDY) or HPI ready output
(HPI.HRDY). The initial state of this pin depends on the GPIO0 pin. See
Section 3.5.1 for more information.
EMIF data ready input. Used to insert wait states for slow memories.
EMIF.ARDY is selected when the Parallel Port Mode bit field of the
External Bus Selection Register is 00 or 01.
NOTE: With the buskeeper being active after reset, a strong 2.2K pullup is
necessary on this signal.
HPI ready output. HPI.HRDY is selected when the Parallel Port Mode bit
field of the External Bus Selection Register is 10 or 11.
) or general-purpose IO8 (GPIO8). The initial state of
) or HPI interrupt output (HPI.HINT). The initial state of
) or HPI read/write (HPI.HR/W). The initial state of this pin
FUNCTIONI/O/Z
controls the
BK
BK
BK
BK
‡
RESET
CONDITION
GPIO0 = 1:
Output,
GPIO0 = 0:
Input,
GPIO8
GPIO0 = 1:
Output,
GPIO0 = 0:
Output,
HPI.HINT
GPIO0 = 1:
Output,
EMIF.AWE
GPIO0 = 0:
HPI.HR/W
GPIO0 = 1:
EMIF.ARDY
GPIO0 = 0:
Output,
HPI.HRDY
April 2001 − Revised January 2008SPRS163H
19
Introduction
EMIF.CE0
EMIF.CE0
Input,
EMIF.CE1
EMIF.CE1
Input,
Output,
Output,
GPIO0 = 0:
Output,
GPIO0 = 0:
GPIO0 = 0:
HPI.HCNTL1
TERMINAL
NAME
C4I/O/Z
C5I/O/Z
MULTIPLEXED
SIGNAL NAME
EMIF.CE0O/Z
GPIO9I/O/Z
EMIF.CE1O/Z
GPIO10I/O/Z
Table 2−3. Signal Descriptions (Continued)
†
PARALLEL BUS (CONTINUED)
EMIF chip select for memory space CE0 or general-purpose IO9. This pin
serves in one of two functions: EMIF chip select for memory space CE0
(EMIF.CE0
depends on the GPIO0 pin. See Section 3.5.1 for more information.
Active-low EMIF chip select for memory space CE0. EMIF.CE0 is selected
when the Parallel Port Mode bit field of the External Bus Selection Register
is set to 00 or 01.
General-purpose IO9. GPIO9 is selected when the Parallel Port Mode bit
field of the External Bus Selection Register is set to 10 or 11.
EMIF chip select for memory space CE1 or general-purpose IO10. This pin
serves in one of two functions: EMIF chip-select for memory space CE1
(EMIF.CE1
depends on the GPIO0 pin. See Section 3.5.1 for more information.
Active-low EMIF chip select for memory space CE1. EMIF.CE1 is selected
when the Parallel Port Mode bit field of the External Bus Selection Register
is set to 00 or 01.
General-purpose IO10. GPIO10 is selected when the Parallel Port Mode
bit field of the External Bus Selection Register is set to 10 or 11.
) or general-purpose IO9 (GPIO9). The initial state of this pin
) or general-purpose IO10 (GPIO10). The initial state of this pin
FUNCTIONI/O/Z
BK
BK
BK
‡
RESET
CONDITION
GPIO0 = 1:
Output,
GPIO0 = 0:
Input,
GPIO9
GPIO0 = 1:
Output,
GPIO0 = 0:
Input,
GPIO10
EMIF chip select for memory space CE2 or HPI control input 0. This pin
C6I/O/Z
EMIF.CE2O/Z
HPI.HCNTL0I
C7I/O/Z
EMIF.CE3O/Z
GPIO11I/O/Z
HPI.HCNTL1I
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
serves in one of two functions: EMIF chip-select for memory space CE2
(EMIF.CE2
pin depends on the GPIO0 pin. See Section 3.5.1 for more information.
Active-low EMIF chip select for memory space CE2. EMIF.CE2 is selected
when the Parallel Port Mode bit field of the External Bus Selection Register
is set to 00 or 01.
HPI control input 0. This pin, in conjunction with HPI.HCNTL1, selects a
host access to one of the three HPI registers. HPI.HCNTL0 is selected
when the Parallel Port Mode bit field of the External Bus Selection Register
is set to 10 or 11.
EMIF chip select for memory space CE3, general-purpose IO11, or HPI
control input 1. This pin serves in one of three functions: EMIF chip-select
for memory space CE3 (EMIF.CE3
HPI control input 1 (HPI.HCNTL1). The initial state of this pin depends on
the GPIO0 pin. See Section 3.5.1 for more information.
Active-low EMIF chip select for memory space CE3. EMIF.CE3 is selected
when the Parallel Port Mode bit field is of the External Bus Selection
Register set to 00 or 01.
General-purpose IO11. GPIO11 is selected when the Parallel Port Mode
bit field is set to 10.
HPI control input 1. This pin, in conjunction with HPI.HCNTL0, selects a
host access to one of the three HPI registers. The HPI.HCNTL1 mode is
selected when the Parallel Port Mode bit field is set to 11.
) or HPI control input 0 (HPI.HCNTL0). The initial state of this
), general-purpose IO11 (GPIO11), or
GPIO0 = 1:
EMIF.CE2
BK
GPIO0 = 0:
Input,
HPI.HCNTL0
GPIO0 = 1:
EMIF.CE3
BK
Input,
HPI.HCNTL1
20
April 2001 − Revised January 2008SPRS163H
Introduction
EMIF.BE0
EMIF.BE1
Table 2−3. Signal Descriptions (Continued)
TERMINAL
NAME
C8I/O/Z
C9I/O/Z
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
EMIF.BE0O/Z
HPI.HBE0I
EMIF.BE1O/Z
HPI.HBE1I
†
PARALLEL BUS (CONTINUED)
EMIF byte enable 0 control or HPI byte identification. This pin serves in one
of two functions: EMIF byte enable 0 control (EMIF.BE0
identification (HPI.HBE0). The initial state of this pin depends on the
GPIO0 pin. See Section 3.5.1 for more information.
Active-low EMIF byte enable 0 control. EMIF.BE0 is selected when the
Parallel Port Mode bit field of the External Bus Selection Register is set to
00 or 01.
HPI byte identification. This pin, in conjunction with HPI.HBE1, identifies
the first or second byte of the transfer. HPI.HBE0
Parallel Port Mode bit field is set to 10 or 11.
NOTE:As of Revision 3.1 of the silicon, the byte-enable function on the
HPI will no longer be supported. HPI.HBE0
be pulled down by external resistors or driven low by the host
processor.
EMIF byte enable 1 control or HPI byte identification. This pin serves in one
of two functions: EMIF byte enable 1 control (EMIF.BE1
identification (HPI.HBE1). The initial state of this pin depends on the
GPIO0 pin. See Section 3.5.1 for more information.
Active-low EMIF byte enable 1 control. EMIF.BE1 is selected when the
Parallel Port Mode bit field of the External Bus Selection Register is set to
00 or 01.
HPI byte identification. This pin, in conjunction with HPI.HBE0, identifies
the first or second byte of the transfer. HPI.HBE1
Parallel Port Mode bit field is set to 10 or 11.
NOTE:As of Revision 3.1 of the silicon, the byte-enable function on the
HPI will no longer be supported. HPI.HBE0
be pulled down by external resistors or driven low by the host
processor.
FUNCTIONI/O/Z
) or HPI byte
is selected when the
and HPI.HBE1 must
) or HPI byte
is selected when the
and HPI.HBE1 must
BK
BK
BK
‡
RESET
CONDITION
GPIO0 = 1:
Output,
EMIF.BE0
GPIO0 = 0:
Input,
HPI.HBE0
GPIO0 = 1:
Output,
EMIF.BE1
GPIO0 = 0:
Input,
HPI.HBE1
April 2001 − Revised January 2008SPRS163H
21
Introduction
Output,
GPIO0 = 0:
GPIO0 = 0:
Input,
EMIF.SDWE
EMIF.SDWE
GPIO0 = 0:
Table 2−3. Signal Descriptions (Continued)
TERMINAL
NAME
C10I/O/Z
C11I/O/Z
C12I/O/Z
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
EMIF.SDRASO/Z
HPI.HASI
GPIO12I/O/Z
EMIF.SDCASO/Z
HPI.HCSI
EMIF.SDWEO/Z
HPI.HDS1I
†
PARALLEL BUS (CONTINUED)
EMIF SDRAM row strobe, HPI address strobe, or general-purpose IO12.
This pin serves in one of three functions: EMIF SDRAM row strobe
(EMIF.SDRAS
(GPIO12). The initial state of this pin depends on the GPIO0 pin. See
Section 3.5.1 for more information.
Active-low EMIF SDRAM row strobe. EMIF.SDRAS is selected when the
Parallel Port Mode bit field of the External Bus Selection Register is set to
00 or 01.
Active-low HPI address strobe. This signal latches the address in the HPIA
register in the HPI Multiplexed mode. HPI.HAS
Parallel Port Mode bit field is set to 11.
General-purpose IO12. GPIO12 is selected when the Parallel Port Mode
bit field is set to 10.
EMIF SDRAM column strobe or HPI chip select input. This pin serves in
one of two functions: EMIF SDRAM column strobe (EMIF .SDCAS
chip select input (HPI.HCS). The initial state of this pin depends on the
GPIO0 pin. See Section 3.5.1 for more information.
Active-low EMIF SDRAM column strobe. EMIF.SDCAS is selected when
the Parallel Port Mode bit field of the External Bus Selection Register is set
to 00 or 01.
HPI Chip Select Input. HPI.HCS is the select input for the HPI and must be
driven low during accesses. HPI.HCS
Mode bit field is set to 10 or 11.
EMIF SDRAM write enable or HPI Data Strobe 1 input. This pin serves in
one of two functions: EMIF SDRAM write enable (EMIF.SDWE
data strobe 1 (HPI.HDS1
GPIO0 pin. See Section 3.5.1 for more information.
EMIF SDRAM write enable. EMIF. SDWE is selected when the Parallel
Port Mode bit field of the External Bus Selection Register is set to 00 or 01 .
HPI Data Strobe 1 Input. HPI.HDS1 is driven by the host read or write
strobes to control the transfer. HPI.HDS1
Port Mode bit field is set to 10 or 11.
), HPI address strobe (HPI.HAS), or general-purpose IO12
FUNCTIONI/O/Z
is selected when the
is selected when the Parallel Port
). The initial state of this pin depends on the
is selected when the Parallel
) or HPI
) or HPI
BK
BK
BK
BK
‡
RESET
CONDITION
GPIO0 = 1:
EMIF.SDRAS
Input,
HPI.HAS
GPIO0 = 1:
Output,
EMIF.SDCAS
GPIO0 = 0:
HPI.HCS
GPIO0 = 1:
Output,
GPIO0 = 0:
Input,
HPI.HDS1
22
April 2001 − Revised January 2008SPRS163H
Introduction
EMIF.CLKMEM
EMIF.CLKMEM
Input,
Table 2−3. Signal Descriptions (Continued)
TERMINAL
NAME
C13I/O/Z
C14I/O/Z
INT[4:0]I
RESETI
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
EMIF.SDA10O/Z
GPIO13I/O/Z
EMIF.CLKMEMO/Z
HPI.HDS2I
†
PARALLEL BUS (CONTINUED)
SDRAM A10 add r e s s l i n e o r g e n e r a l- p u r p o s e I O 1 3 . T h i s p i n s er v e s i n o n e
of two functions: SDRAM A10 address line (EMIF.SDA10) or
general-purpose IO13 (GPIO13). The initial state of this pin depends on
the GPIO0 pin. See Section 3.5.1 for more information.
SDRAM A10 address line. Address line/autoprecharge disable for
SDRAM memory. Serves as a row address bit (logically equivalent to A12)
during ACTV commands and also disables the autoprecharging function
of SDRAM during read or write operations. EMIF .SDA10 is selected when
the Parallel Port Mode bit field of the External Bus Selection Register is set
to 00 or 01.
General-purpose IO13. GPIO13 is selected when the Parallel Port Mode
bit field is set to 10 or 11.
Memory interface clock for SDRAM, HPI Data Strobe 2 input, or
general-purpose IO14. This pin serves in one of two functions: memory
interface clock for SDRAM (EMIF.CLKMEM) or HPI data strobe 2
(HPI.HDS2
Section 3.5.1 for more information.
Memory interface clock for SDRAM. EMIF.CLKMEM is selected when the
Parallel Port Mode bit field of the External Bus Selection Register is set to
00 or 01.
HPI Data Strobe 2 Input. HPI.HDS2 is driven by the host read or write
strobes to control the transfer. HPI.HDS2
Port Mode bit field is set to 10 or 11.
Active-low external user interrupt inputs. INT[4:0] are maskable and are
prioritized by the interrupt enable register (IER) and the interrupt mode bit.
Active-low reset. RESET causes the digital signal processor (DSP) to
terminate execution and forces the program counter to FF8000h. When
RESET
program memory. RESET
external pullup resistor on this pin.
). The initial state of this pin depends on the GPIO0 pin. See
INTERRUPT AND RESET PINS
is brought to a high level, execution begins at location FF8000h of
SDAI/O/ZI2C (bidirectional) data. At reset, this pin is in high-impedance mode.Hi-Z
SCLI/O/ZI2C (bidirectional) clock. At reset, this pin is in high-impedance mode.Hi-Z
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
†
BIT I/O SIGNALS
7-bit (LQFP package) or 8-bit (BGA package) Input/Output lines that can
be individually configured as inputs or outputs, and also individually set or
reset when configured as outputs. At reset, these pins are configured as
I/O/Z
inputs. After reset, the on-chip bootloader sample GPIO[3:0] to determine
the boot mode selected.
External flag. XF is set high by the BSET XF instruction, set low by BCLR
XF instruction or by loading ST1. XF is used for signaling other processors
in multiprocessor configurations or used as a general-purpose output pin.
XF goes into the high-impedance state when OFF
following reset.
OSCILLATOR/CLOCK SIGNALS
DSP clock output signal. CLKOUT cycles at the machine-cycle rate of the
CPU. CLKOUT goes into high-impedance state when OFF
System clock/oscillator input. If the internal oscillator is not being used,
X2/CLKIN functions as the clock input.
NOTE: The USB module requires a 48 MHz clock. Since this input clock
is used by both the CPU PLL and the USB module PLL, it must
be a factor of 48 MHz in order for the programmable PLL to
produce the required 48 MHz USB module clock.
In CLKGEN domain idle (oscillator idle) mode, this pin becomes
output and is driven low to stop external crystals (if used) from
oscillating or an external clock source from driving the DSP’s
internal logic.
Output pin from the internal system oscillator for the crystal. If the internal
oscillator is not used, X1 should be left unconnected. X1 does not go into
the high-impedance state when OFF
TIMER SIGNALS
Timer0 Input/Output. When output, TIN/TOUT0 signals a pulse or a
change of state when the on-chip timer counts down past zero. When
input, TIN/TOUT0 provides the clock source for the internal timer module.
At reset, this pin is configured as an input.
NOTE: Only the Timer0 signal is brought out. The Timer1 signal is
terminated internally and is not available for external use.
REAL-TIME CLOCK
FUNCTIONI/O/Z
is low, and is set high
is low.
I2C
is low.
‡
BK
BK
(GPIO5
only)
RESET
CONDITION
Input
Output
Output
Oscillator
Input
Oscillator
Output
Input
24
April 2001 − Revised January 2008SPRS163H
Introduction
Table 2−3. Signal Descriptions (Continued)
TERMINAL
NAME
CLKR0I/O/Z
DR0IMcBSP0 receive dataInput
FSR0I/O/Z
CLKX0I/O/Z
DX0O/Z
FSX0I/O/Z
S10I/O/Z
S11I/O/Z
S12I/O/Z
S13O/Z
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
McBSP1.CLKRI/Z
MMC1.CMD
SD1.CMD
McBSP1.DRI/Z
SD1.DAT1I/O/Z
McBSP1.FSRI/Z
SD1.DAT2I/O/Z
McBSP1.DXO/Z
MMC1.CLK
SD1.CLK
I/O/Z
O
†
MULTICHANNEL BUFFERED SERIAL PORTS SIGNALS
McBSP0 receive clock. CLKR0 serves as the serial shift clock for the serial
port receiver. At reset, this pin is in high-impedance mode.
McBSP0 receive frame synchronization. The FSR0 pulse initiates the data
receive process over DR0. At reset, this pin is in high-impedance mode.
McBSP0 transmit clock. CLKX0 serves as the serial shift clock for the
serial port transmitter. The CLKX0 pin is configured as input after reset.
McBSP0 transmit data. DX0 is placed in the high-impedance state when
not transmitting, when RESET
McBSP0 transmit frame synchronization. The FSX0 pulse initiates the
data transmit process over DX0. Configured as an input following reset.
McBSP1 receive clock or MultiMedia Card/Secure Digital1
command/response. At reset, this pin is configured as McBSP1.CLKR.
McBSP1 receive clock. McBSP1.CLKR serves as the serial shift clock for
the serial port receiver. McBSP1.CLKR is selected when the External Bus
Selection Register has 00 in the Serial Port1 Mode bit field or following
reset.
MMC1 or SD1 command/response is selected when the External Bus
Selection Register has 10 in the Serial Port1 Mode bit field.
McBSP1 data receive or Secure Digital1 data1. At reset, this pin is
configured as McBSP1.DR.
McBSP1 serial data receive. McBSP1.DR is selected when the External
Bus Selection Register has 00 in the Serial Port1 Mode bit field or following
reset.
SD1 data1 is selected when the External Bus Selection Register has 10 in
the Serial Port1 Mode bit field.
McBSP1 receive frame synchronization or Secure Digital1 data2. At reset,
this pin is configured as McBSP1.FSR.
McBSP1 receive frame synchronization. The McBSP1.FSR pulse initiates
the data receive process over McBSP1.DR.
SD1 data2 is selected when the External Bus Selection Register has 10 in
the Serial Port1 Mode bit field.
McBSP1 serial data transmit or MultiMedia Card/Secure Digital1 serial
clock. At reset, this pin is configured as McBSP1.DX.
McBSP1 serial data transmit. McBSP1.DX is placed in the
high-impedance state when not transmitting, when RESET
when OFF is low. McBSP1.DX is selected when the External Bus
Selection Register has 00 in the Serial Port1 Mode bit field or following
reset.
MMC1 or SD1 serial clock is selected when the External Bus Selection
Register has 10 in the Serial Port1 Mode bit field.
FUNCTIONI/O/Z
is asserted, or when OFF is low.
is asserted, or
‡
BK
HHi-Z
HInput
HInput
BKHi-Z
RESET
CONDITION
Hi-Z
Hi-Z
Input
Input
Input
April 2001 − Revised January 2008SPRS163H
25
Introduction
Table 2−3. Signal Descriptions (Continued)
TERMINAL
NAME
S14I/O/Z
S15I/O/Z
S20I/O/Z
S21I/O/Z
S22I/O/Z
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
MULTICHANNEL BUFFERED SERIAL PORTS SIGNALS (CONTINUED)
McBSP1.CLKXI/O/Z
MMC1.DAT
SD1.DAT0
McBSP1.FSXI/O/Z
SD1.DAT3I/O/Z
McBSP2.CLKRI
MMC2.CMD
SD2.CMD
McBSP2.DRI
SD2.DAT1I/O/Z
McBSP2.FSRI
SD2.DAT2I/O/Z
I/O/Z
I/O/Z
†
McBSP1 transmit clock or MultiMedia Card/Secure Digital1 data0. At
reset, this pin is configured as McBSP1.CLKX.
McBSP1 transmit clock. McBSP1.CLKX serves as the serial shift clock for
the serial port transmitter. The McBSP1.CLKX pin is configured as input
after reset. McBSP1.CLKX is selected when the External Bus Selection
Register has 00 in the Serial Port1 Mode bit field or following reset.
MMC1 or SD1 data0 is selected when the External Bus Selection Register
has 10 in the Serial Port1 Mode Bit field.
McBSP1 transmit frame synchronization or Secure Digital1 data3. At
reset, this pin is configured as McBSP1.FSX.
McBSP1 transmit frame synchronization. The McBSP1.FSX pulse
initiates the data transmit process over McBSP1.DX. Configured as an
input following reset. McBSP1.FSX is selected when the External Bus
Selection Register has 00 in the Serial Port1 Mode bit field or following
reset.
SD1 data3 is selected when the External Bus Selection Register has 10 in
the Serial Port1 Mode bit field.
McBSP2 receive clock or MultiMedia Card/Secure Digital2
command/response. At reset, this pin is configured as McBSP2.CLKR.
McBSP2 receive clock. McBSP2.CLKR serves as the serial shift clock for
the serial port receiver. McBSP2.CLKR is selected when the External Bus
Selection Register has 00 in the Serial Port2 Mode bit field or following
reset.
MMC2 or SD2 command/response is selected when the External Bus
Selection Register has 10 in the Serial Port2 Mode bit field.
McBSP2 data receive or Secure Digital2 data1. At reset, this pin is
configured as McBSP2.DR.
McBSP2 serial data receive. McBSP2.DR is selected when the External
Bus Selection Register has 00 in the Serial Port2 Mode bit field or following
reset.
SD2 data1 is selected when the External Bus Selection Register has 10 in
the Serial Port2 Mode bit field.
McBSP2 receive frame synchronization or Secure Digital2 data2. At reset,
this pin is configured as McBSP2.FSR.
McBSP2 receive frame synchronization. The McBSP2.FSR pulse initiates
the data receive process over McBSP2.DR.
SD2 data2 is selected when the External Bus Selection Register has 10 in
the Serial Port2 Mode bit field.
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
MULTICHANNEL BUFFERED SERIAL PORTS SIGNALS (CONTINUED)
McBSP2.DXO/Z
MMC2.CLK
SD2.CLK
McBSP2.CLKXI/O/Z
MMC2.DAT
SD2.DAT0
McBSP2.FSXI/O/Z
SD2.DAT3I/O/Z
O
I/O/Z
†
McBSP2 data transmit or MultiMedia Card/Secure Digital2 serial clock. At
reset, this pin is configured as McBSP2.DX.
McBSP2 serial data transmit. McBSP2.DX is placed in the
high-impedance state when not transmitting, when RESET
when OFF
Selection Register has 00 in the Serial Port2 Mode bit field or following
reset.
MMC2 or SD2 serial clock is selected when the External Bus Selection
Register has 10 in the Serial Port2 Mode bit field.
McBSP2 transmit clock or MultiMedia Card/Secure Digital2 data0. At
reset, this pin is configured as McBSP2.CLKX.
McBSP2 transmit clock. McBSP2.CLKX serves as the serial shift clock for
the serial port transmitter. The McBSP2.CLKX pin is configured as input
after reset. McBSP2.CLKX is selected when the External Bus Selection
Register has 00 in the Serial Port2 Mode bit field or following reset.
MMC2 or SD2 data0 pin is selected when the External Bus Selection
Register has 10 in the Serial Port2 Mode bit field.
McBSP2 transmit frame synchronization or Secure Digital2 data3. At
reset, this pin is configured as McBSP2.FSX.
McBSP2 frame synchronization. The McBSP2.FSX pulse initiates the
data transmit process over McBSP2.DX. McBSP2.FSX is configured as
an input following reset. McBSP2.FSX is selected when the External Bus
Selection Register has 00 in the Serial Port2 Mode bit field or following
reset.
SD2 data3 is selected when the External Bus Selection Register has 10 in
the Serial Port2 Mode bit field.
Differential (positive) receive/transmit. At reset, this pin is configured as
input.
Differential (negative) receive/transmit. At reset, this pin is configured as
input.
Pullup output. This pin is used to pull up the detection resistor required by
the USB specification. The pin is internally connected to USBVDD via a
software controllable switch (CONN bit of the USBCTL register).
is low. McBSP2.DX is selected when the External Bus
FUNCTIONI/O/Z
is asserted, or
USB
A/D
‡
BK
BKHi-Z
HInput
RESET
CONDITION
Input
Input
Input
Output
April 2001 − Revised January 2008SPRS163H
27
Introduction
Table 2−3. Signal Descriptions (Continued)
TERMINAL
NAME
TCKI
TDII
TDOO/Z
TMSI
TRSTI
EMU0I/O/Z
EMU1/OFFI/O/Z
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
MULTIPLEXED
SIGNAL NAME
†
TEST/EMULATION PINS
IEEE standard 1149.1 test clock. TCK is normally a free-running clock
signal with a 50% duty cycle. The changes on test access port (TAP) of
input signals TMS and TDI are clocked into the TAP controller, instruction
register, or s e l ected test data register on the rising edge of TCK. Changes
at the TAP output signal (TDO) occur on the falling edge of TCK.
IEEE standard 1 149.1 test data input. Pin with internal pullup device. TDI is
clocked into the selected register (instruction or data) on a rising edge of
TCK.
IEEE standard 1149.1 test data output. The contents of the selected
register (instruction or data) are shifted out of TDO on the falling edge of
TCK. TDO is in the high-impedance state except when the scanning of
data is in progress.
IEEE standard 1149.1 test mode select. Pin with internal pullup device.
This serial control input is clocked into the T AP controller on the rising edge
of TCK.
IEEE standard 1149.1 test reset. TRST, when high, gives the IEEE
standard 1149.1 scan system control of the operations of the device. If
is not connected or driven low, the device operates in its functional
TRST
mode, and the IEEE standard 1149.1 signals are ignored. This pin has an
internal pulldown.
Emulator 0 pin. When TRST is driven low, EMU0 must be high for
activation of the OFF
as an interrupt to or from the emulator system and is defined as I/O by way
of the IEEE standard 1149.1 scan system.
Emulator 1 pin/disable all outputs. When TRST is driven high, EMU1/OFF
is used as an interrupt to or from the emulator system and is defined as I/O
by way of IEEE standard 1149.1 scan system. When TRST
EMU1/OFF
active-low, puts all output drivers into the high-impedance state. Note that
OFF
multiprocessing applications). Therefore, for the OFF condition, the
following apply: TRST
is configured as OFF. The EMU1/OFF signal, when
is used exclusively for testing and emulation purposes (not for
condition. When TRST is driven high, EMU0 is used
FUNCTIONI/O/Z
is driven low,
= low, EMU0 = high, EMU1/OFF = low
‡
BK
PU
H
PUInput
PUInput
PDInput
PUInput
PUInput
RESET
CONDITION
Input
Hi-Z
28
April 2001 − Revised January 2008SPRS163H
Introduction
Table 2−3. Signal Descriptions (Continued)
TERMINAL
NAME
CV
DD
RV
DD
DV
DD
USBV
RDV
DD
RCV
DD
AV
DD
ADV
DD
V
SS
AV
SS
ADV
SS
NCNo connection
†
I = Input, O = Output, S = Supply, Hi-Z = High-impedance
‡
BK = bus keeper (the bus keeper maintains the previous voltage level during reset or while the output pin is not driven), PU = pullup,
PD = pulldown, H = hysteresis input buffer
DD
MULTIPLEXED
SIGNAL NAME
†
SDigital Power, + VDD. Dedicated power supply for the core CPU.
SDigital Power, + VDD. Dedicated power supply for on-chip memory.
SDigital Power, + VDD. Dedicated power supply for the I/O pins.
Digital Power, + VDD. Dedicated power supply for the I/O of the USB
S
module (DP, DN , and PU)
Digital Power, + VDD. Dedicated power supply for the I/O pins of the RTC
S
module.
SDigital Power, + VDD. Dedicated power supply for the RTC module
SAnalog Power, + VDD. Dedicated power supply for the 10-bit A/D.
Analog Digital Power, + VDD. Dedicated power supply for the digital portion
S
of the 10-bit A/D.
SDigital Ground. Dedicated ground for the I/O and core pins.
SAnalog Ground. Dedicated ground for the 10-bit A/D.
Analog Digital Ground. Dedicated ground for the digital portion of the10-bit
S
A/D.
MISCELLANEOUS
FUNCTIONI/O/Z
SUPPLY PINS
BK
‡
RESET
CONDITION
April 2001 − Revised January 2008SPRS163H
29
Functional Overview
3Functional Overview
The following functional overview is based on the block diagram in Figure 3−1.
USB PLL
†
†
7/8
†
†
Number of pins determined by package type.
Figure 3−1. Block Diagram of the TMS320VC5509
30
5
April 2001 − Revised January 2008SPRS163H
3.1Memory
The 5509 supports a unified memory map (program and data accesses are made to the same physical space).
The total on-chip memory is 320K bytes (128K 16-bit words of RAM and 32K 16-bit words of ROM).
3.1.1 On-Chip Dual-Access RAM (DARAM)
The DARAM is located in the byte address range 000000h−00FFFFh and is composed of eight blocks of
8K bytes each (see Table 3−1). Each DARAM block can perform two accesses per cycle (two reads, two
writes, or a read and a write). DARAM can be accessed by the internal program, data, or DMA buses. The
HPI can only access the first four (32K bytes) DARAM blocks.
First 192 bytes are reserved for Memory-Mapped Registers (MMRs).
Functional Overview
†
3.1.2 On-Chip Single-Access RAM (SARAM)
The SARAM is located at the byte address range 010000h−03FFFFh and is composed of 24 blocks of 8K bytes
each (see Table 3−2). Each SARAM block can perform one access per cycle (one read or one write). SARAM
can be accessed by the internal program, data, or DMA buses.
The one-wait-state ROM is located at the byte address range FF0000h−FFFFFFh. The ROM is composed
of one block of 32K bytes and two 16K-byte blocks, for a total of 64K bytes of ROM. The ROM address space
can be mapped by software to the external memory or to the internal ROM. The 16K ROM blocks at FFC000
to FFFFFF can be configured as secure ROM. (See Section 3.1.4.)
NOTE: Customers can arrange to have the 5509 ROM programmed with contents unique to
any particular application. Contact your local Texas Instruments representative for more
information on custom ROM programming.
The standard 5509 device includes a bootloader program resident in the ROM. When the MPNMC bit field
of the ST3 status register is set through software, the on-chip ROM is disabled and not present in the memory
map, and byte address range FF0000h−FFFFFFh is directed to external memory space. A hardware reset
always clears the MPNMC bit, so it is not possible to disable the ROM at reset. However, the software reset
instruction does not affect the MPNMC bit. All three ROM blocks can be accessed by the program, data, or
DMA buses. The first 16-bit word access to ROM requires three cycles. Subsequent accesses require two
cycles per 16-bit word.
3.1.4 Secure ROM
Included in this 64K-byte ROM is a 16K-byte secure ROM (SROM) that is mapped into the memory space at
reset. This 16K-byte SROM is mapped out of the memory space by writing a “1” to the SROM disable bit field
of the Secure ROM Register (0x7C00) as shown in Figure 3−2. When the SROM disable bit is set, its setting
cannot be changed and the CPU or peripherals cannot access the on-chip SROM memory space. This ROM
block is not programmed on standard 5509 devices, but can be used to implement a custom, secure bootload
feature. Contact your local Texas Instruments representative for more information on custom ROM
programming.
Byte
Address
FF0000h
FF8000h
FFC000h
FFFFFFh
15
External − CE3
(If MPNMC=1)
(32K Bytes)
External − CE3
(If MPNMC=1)
(16K Bytes)
External − CE3
(If MPNMC=1)
(16K Bytes)
Byte
Address
FF0000h
ROM
(If MPNMC=0)
(32K Bytes)
FF8000h
FFC000h
(If SROM= 0 & MPNMC=0)
FFFFFFh
Secure ROM Register
ROM
(If MPNMC=0)
(16K Bytes)
SROM
(16K Bytes)
Figure 3−2. Secure ROM
SROM=0
Byte
Address
FF0000h
FF8000h
FFC000h
(If SROM=1 & MPNMC=0)
FFFFFFh
10
ROM
(If MPNMC=0)
(32K Bytes)
ROM
(If MPNMC=0)
(16K Bytes)
No access
(16K Bytes)
SROM=1
SROM
32
April 2001 − Revised January 2008SPRS163H
3.1.5 Memory Map
The 5509 provides 16M bytes of total memory space composed of on-cip RAM, on-chip ROM, and external
memory space supporting a variety of memory types. The on-chip, dual-access RAM allows two accesses
to a given block during the same cycle. The 5509 supports 8 blocks of 8K bytes of dual-access RAM. The
on-chip, single-access RAM allows one access to a given block per clock cycle. The 5509 supports
24 blocks of 8K byte of single-access RAM.
The remainder of the memory map is external space that is divided into four spaces. Each space has a chip
enable decode signal (called CE) that indicates an access to the selected space. The External Memory
Interface (EMIF) supports access to asynchronous memories such as SRAM and Flash, and synchronous
DRAM.
Functional Overview
April 2001 − Revised January 2008SPRS163H
33
Functional Overview
F
Byte Address
3.1.5.1PGE Package Memory Map
The PGE package features 14 address bits representing 16K-byte linear address for asynchronous memories
per CE space. Due to address row/column multiplexing, address reach for SDRAM devices is 4M bytes for
each CE space. The largest SDRAM device that can be used with the 5509 in a PGE package is 128M-bit
SDRAM.
The GHH package features 21 address bits representing 2M-byte linear address for asynchronous memories
per CE space. Due to address row/column multiplexing, address reach for SDRAM devices is 4M bytes for
each CE space. The largest SDRAM device that can be used with the 5509 in a GHH package is 128M-bit
SDRAM.
The on-chip bootloader provides a method to transfer application code and tables from an external source to
the on-chip RAM memory at power up. These options include:
•Enhanced host-port interface (HPI) in multiplexed or nonmultiplexed mode
•External 16-bit-wide asynchronous memory boot (via the EMIF)
•Serial port boot (from McBSP0) with 8-bit or 16-bit element length
•Serial EPROM boot (from McBSP0) supporting EPROMs with 16-bit or 24-bit address
•USB boot
•Direct execution from external 16-bit-wide asynchronous memory
External pins select the boot configuration. The values of GPIO[3:0] are sampled, following reset, upon
execution of the on-chip bootloader code. It is not possible to disable the bootloader at reset because the 5509
always starts execution from the on-chip ROM following a hardware reset. A summary of boot configurations
is shown in Table 3−3. For more information on using the bootloader, see the Using theTMS320C5509/C5509A Bootloader application report (literature number SPRA375).
Table 3−3. Boot Configuration Summary
GPIO0GPIO3GPIO2
0000Reserved
0001Serial (SPI) EPROM Boot (24-bit address) via McBSP0
0010USB
0011Reserved
0100Reserved
0101HPI – multiplexed mode
0110HPI – nonmultiplexed mode
0111Reserved
1000Execute from 16-bit-wide asynchronous memory (on CE1 space)
1001Serial (SPI) EPROM Boot (16-bit address) via McBSP0
1010Reserved
101116-bit asynchronous memory (on CE1 space)
1100Reserved
1101Reserved
1110Standard serial boot via McBSP0 (16-bit data)
1111Standard serial boot via McBSP0 (8-bit data)
−16-bit external memory interface (EMIF) for asynchronous memory and/or SDRAM
−16-bit enhanced host-port interface (HPI)
•A six-channel direct memory access (DMA) controller
•A programmable digital phase-locked loop (DPLL) clock generator
•Two 20-bit timers
•Watchdog Timer
•Three serial ports supporting a combination of:
−up to three multichannel buffered serial ports (McBSPs)
−up to two MultiMedia/Secure Digital Card Interfaces
•Seven (LQFP) or Eight (BGA) configurable general-purpose I/O pins
•USB full-speed slave interface supporting:
−Bulk
−Interrupt
−Isochronous
Functional Overview
2
•I
C multi-master and slave interface (I2C compatible except, no fail-safe I/O buffers)
•Real-time clock with crystal input, separate clock domain and supply pins
•4-channel (BGA) or 2-channel (LQFP)10-bit Successive Approximation A/D
For detailed information on the C55x DSP peripherals, see the following documents:
•TMS320C55x DSP Functional Overview (literature number SPRU312)
•TMS320C55x DSP Peripherals Overview Reference Guide (literature number SPRU317)
3.3Direct Memory Access (DMA) Controller
The 5509 DMA provides the following features:
•Four standard ports, one for each of the following data resources: DARAM, SARAM, Peripherals and
External Memory
•Six channels, which allow the DMA controller to track the context of six independent DMA channels
•Programmable low/high priority for each DMA channel
•One interrupt for each DMA channel
•Event synchronization. DMA transfers in each channel can be dependent on the occurrence of selected
events.
•Programmable address modification for source and destination addresses
•Dedicated Idle Domain allows the DMA controller to be placed in a low-power (idle) state under software
control.
•Dedicated DMA channel used by the HPI to access internal memory (DARAM)
The 5509 DMA controller allows transfers to be synchronized to selected events. The 5509 supports
19 separate sync events and each channel can be tied to separate sync events independent of the other
channels. Sync events are selected by programming the SYNC field in the channel-specific DMA Channel
Control Register (DMA_CCR).
April 2001 − Revised January 2008SPRS163H
37
Functional Overview
3.3.1 DMA Channel Control Register (DMA_CCR)
The channel control register (DMA_CCR) bit layouts are shown in Figure 3−5.
15141312111098
DST AMODESRC AMODEEND PROGReservedREPEATAUTO INIT
R/W, 00R/W, 00R/W, 0R, 0R/W, 0R/W, 0
76540
ENPRIOFSSYNC
R/W, 0R/W, 0R/W, 0R/W, 00000
LEGEND: R = Read, W = Write, n = value after reset
Figure 3−5. DMA_CCR Bit Locations
The SYNC[4:0] bits specify the event that can initiate the DMA transfer for the corresponding DMA channel.
The five bits allow several configurations as listed in Table 3−4. The bits are set to zero upon reset. For those
synchronization modes with more than one peripheral listed, the Serial Port Mode bit field of the External Bus
Selection Register dictates which peripheral event is actually connected to the DMA input.
Table 3−4. Synchronization Control Function
SYNC FIELD IN
DMA_CCR
00000bNo event synchronized
00001bMcBSP 0 Receive Event (REVT0)
00010bMcBSP 0 Transmit Event (XEVT0)
00011bReserved. These bits should always be written with 0.
00100bReserved. These bits should always be written with 0.
McBSP1/MMC−SD1 Receive Event
SYNCHRONIZATION MODE
Serial Port 1 Mode:
00101b
00110b
00111bReserved. These bits should always be written with 0.
01000bReserved. These bits should always be written with 0.
01001b
†
The I2C receive event (REVTI2C) and external interrupt 4 (INT4) share a synchronization input to the DMA. When the SYNC field of the
DMA_CCR is set to 10011b, the logical OR of these two sources is used for DMA synchronization.
Table 3−4. Synchronization Control Function (Continued)
SYNC FIELD IN
DMA_CCR
McBSP2/MMC−SD2 Transmit Event
Serial Port 2 Mode:
01010b
01011bReserved. These bits should always be written with 0.
01100bReserved. These bits should always be written with 0.
01101bTimer 0 Interrupt Event
01110bTimer 1 Interrupt Event
01111bExternal Interrupt 0
10000bExternal Interrupt 1
10001bExternal Interrupt 2
10010bExternal Interrupt 3
10011bExternal Interrupt 4 / I2C Receive Event (REVTI2C)
10100bI2C Transmit Event (XEVTI2C)
Other valuesReserved (Do not use these values)
†
The I2C receive event (REVTI2C) and external interrupt 4 (INT4) share a synchronization input to the DMA. When the SYNC field of the
DMA_CCR is set to 10011b, the logical OR of these two sources is used for DMA synchronization.
The TMS320VC5509 includes an I2C serial port. The I2C port supports:
2
•Compatible with Philips I
•Operates at 100 Kbps or 400 Kbps
•7-bit addressing mode
•Master (transmit/receive) and slave (transmit/receive) modes of operation
•Events: DMA, interrupt, or polling
2
The I
C module clock must be in the range from 7 MHz to 12 MHz. This is necessary for proper operation of
2
the I
C module. With the I2C module clock in this range, the noise filters on the SDA and SCL pins suppress
noise that has a duration of 50 ns or shorter. The I
a programmable prescaler.
NOTE: I/O buffers are not fail-safe. The SDA and SCL pins could potentially draw current if the
device is powered down and SDA and SCL are driven by other devices connected to the I
C Specification Revision 2.1 (January 2000)
2
C module clock is derived from the DSP clock divided by
2
C bus.
April 2001 − Revised January 2008SPRS163H
39
Functional Overview
3.5Configurable External Buses
The 5509 offers several combinations of configurations for its external parallel port and two serial ports. This
allows the system designer to choose the appropriate media interface for its application without the need of
a large-pin-count package. The External Bus Selection Register controls the routing of the parallel and serial
port signals.
3.5.1 External Bus Selection Register
The External Bus Selection Register determines the mapping of the 14 (LQFP) or 21 (BGA) address signals,
16 data signals, and 15 control signals of the external parallel port. It also determines the mapping of the
McBSP or MMC/SD ports to Serial Port1 and Serial Port2. The External Bus Selection Register is
memory-mapped at port address 0x6C00. Once the bit fields of this register are changed, the routing of the
signals takes place on the next CPU clock cycle.
The reset value of the parallel port mode bit field is determined by the state of the GPIO0 pin at reset. If GPIO0
is high at reset, the full EMIF mode is enabled and the parallel port mode bit field is set to 01. If GPIO0 is low
at reset, the HPI multiplexed mode is enabled and the parallel port mode bit field is set to 11.
15141312111098
CLKOUT
Disable
R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0R/W, 1R, 0
OSC DisableHIDLBKEEMIF X2HOLDHOLDAReserved
76543210
ReservedSerial Port2 ModeSerial Port1 ModeParallel Port Mode
R/W, 00R/W, 00R/W, 00
LEGEND: R = Read, W = Write, n = value after reset
R/W, 01 if GPIO0 = 1
11 if GPIO0 = 0
Figure 3−6. External Bus Selection Register
Table 3−5. External Bus Selection Register Bit Field Description
Host mode idle bit. (Applicable only if the parallel bus is configured as EHPI.)
When the parallel bus is set to EHPI mode, the clock domain is not allowed to go to idle, so a host processor can
access the DSP internal memory. The HIDL bit works around this restriction and allows the DSP to idle the clock
domain and the EHPI. When the clock domain is in idle, a host processor will not be able to access the DSP
memory.
HIDL = 0: Host access to DSP enabled. Idling EHPI and clock domain is not allowed.
HIDL = 1: Idles the HPI and the clock domain upon execution of the IDLE instruction when the parallel
†
Function available when the port or pins configured as input.
40
port mode is set to 10 or 11 selecting HPI mode. In addition, bit 4 of the Idle Control Register
must be set to 1 prior to the execution of the IDLE instruction.
April 2001 − Revised January 2008SPRS163H
Table 3−5. External Bus Selection Register Bit Field Description (Continued)
BITSDESCRIPTION
†
= 0:Bus keeper, pullups/pulldowns, and the USB I/O cells are enabled.
drive the memory bus
12
(PG3.0 or later)
11
10
(PG 3.0 or later)
Bus keep enable.
BKE
BKE = 1:Bus keeper, pullups/pulldowns, and the USB I/O cells are disabled.
EMIFX2 mode. EMIF SDRAM divide-by-two mode at 144 MHz. Use this feature when SDRAM CLKMEM =
1/2 CPU clock.
EMIFX2 = 0: For any other EMIF mode
EMIFX2 = 1: Only used for EMIF SDRAM divide-by-two mode at 144 MHz CPU operation.
EMIF hold
HOLD = 0: DSP drives the external memory bus
HOLD = 1: Request the external memory bus to be placed in high-impedance so that another device can
EMIF hold acknowledge.
Functional Overview
9
(PG 3.0 or later)
8−6Reserved. These bits should always be written with 0.
5−4
3−2
1−0
†
Function available when the port or pins configured as input.
HOLDA = 0: DSP indicates that a hold request on the external memory bus has occured, the EMIF
HOLDA = 1: No hold acknowledge
Serial port2 mode. McBSP2 or MMC/SD2 Mode. Determines the mode of Serial Port2.
Serial Port2 Mode = 00: McBSP2 mode. The McBSP2 signals are routed to the six pins of Seral Port2.
Serial Port2 Mode = 01: MMC/SD2 mode. The MMC/SD2 signals are routed to the six pins of Seral Port2.
Serial Port2 Mode = 10: Reserved
Serial Port2 Mode = 11: Reserved.
Serial port1 mode. McBSP1 or MMC/SD1 Mode. Determines the mode of Serial Port1.
Serial Port1 Mode = 00: McBSP1 mode. The McBSP1 signals are routed to the six pins of Seral Port1.
Serial Port1 Mode = 01: MMC/SD1 mode. The MMC/SD1 signals are routed to the six pins of Seral Port1.
Serial Port1 Mode = 10: Reserved
Serial Port1 Mode = 11: Reserved.
Parallel port mode. EMIF/HPI/GPIO Mode. Determines the mode of the parallel port.
Parallel Port Mode = 00: Data EMIF mode. The 16 EMIF data signals and 13 EMIF control signals are
Parallel Port Mode = 01: Full EMIF mode. The 14 (LQFP) or 21 (BGA) address signals, 16 data signals, and
Parallel Port Mode = 10: Non-multiplexed HPI mode. The HPI is enabled an its 14 address signals,
data, control signals of the external parallel bus. Moreover, 8 control signals of the
Parallel Port Mode = 11: Multiplexed HPI mode. The HPI is enabled and its 16 data signals and
completed any pending external bus activity, and placed the external memory bus signals in
high-impedance state (address bus, data bus, CE[3:0], AOE, AWE, ARE, SDRAS, SDCAS,
SDWE
, SDA10, CLKMEM). Once this bit is cleared, an external device can drive the bus.
routed to the corresponding external parallel bus data and control signals, but the
14 (LQFP) or 16 (BGA) address bus signals are used as general-purpose I/O.
15 control signals are routed to the corresponding external parallel bus address,
data, and control signals.
16 data signals, and 7 control signals are routed to the corresponding address,
external parallel bus are used as general-purpose I/O.
10 control signals are routed to the external parallel bus. In addition, 3 control
signals of the external parallel bus are used as general-purpose I/O. The
14 (LQFP) or 16 (BGA) external parallel port address bus signals are used as
general-purpose I/O.
April 2001 − Revised January 2008SPRS163H
41
Functional Overview
A[0]
A[13:1]
3.5.2 Parallel Port
The parallel port of the 5509 consists of 14 (LQFP) or 21 (BGA) address signals, 16 data signals, and 15 control
signals. Its 14 bits for address allow it to access 16K (LQFP) or 2M bytes of external memory when using the
asynchronous SRAM interface. On the other hand, the SDRAM interface can access the whole external
memory space of 16M bytes. The parallel bus supports four different modes:
•Full EMIF mode: the EMIF with its 14 (LQFP) or 21 address signals, 16 data signals, and 15 control
signals routed to the corresponding external parallel bus address, data, and control signals.
•Data EMIF mode: the EMIF with its 16 data signals, and 15 control signals routed to the corresponding
external parallel bus data and control signals, but the 14 (LQFP) or 16 (BGA) address bus signals are used
as general-purpose I/O signals.
•Non-multiplexed HPI mode: the HPI is enabled with its 14 address signals, 16 data signals, and
8 control signals routed to the corresponding address, data, and control signals of the external parallel
bus. Moreover, 7 control signals of the external parallel bus are used as general-purpose I/O.
•Multiplexed HPI mode: the HPI is enabled with its 16 data signals and 10 control signals routed to the
external parallel bus. In addition, 5 control signals of the external parallel bus are used as general-purpose
I/O. The external parallel port’s 14 (LQFP) or 16 (BGA) address signals are used as general-purpose I/O.
Table 3−6. TMS320VC5509 Parallel Port Signal Routing
The 5509 allows access to 16-bit-wide (read and write) asynchronous memory and 16-bit-wide SDRAM. For
16-bit-wide memories, EMIF.A[0] is kept low and is not used. To provide as many address pins as possible,
the 5509 routes the parallel port signals as shown in Figure 3−7.
Figure 3−7 shows the addition of the A′[0] signal in the BGA package. This pin is used for asynchronous
memory interface only, while the A[0] pin is used with HPI or GPIO. Figure 3−8 summarizes the use of the
parallel port signals for memory interfacing.
Functional Overview
EMIF.A[0]
GPIO.A[0]
HPI.HA[0]
EMIF.A[13:1]
HPI.HA[13:1]
GPIO.A[13:1]
EMIF.A[14]
GPIO.A[14]
EMIF.A[15]
GPIO.A[15]
EMIF.A[20:16]
A’[0] (BGA only)
A[0]
A[13:1]
A[14] (BGA only)
A[15] (BGA only)
A[20:16] (BGA only)
April 2001 − Revised January 2008SPRS163H
Figure 3−7. Parallel Port Signal Routing
43
Functional Overview
16-Bit-Wide Asynchronous Memory
5509
LQFP
5509
BGA
BE[1:0]
A[13:1]
D[15:0]
BE[1:0]
A[20:14]
A[13:1]
D[15:0]
3.5.4 Serial Ports
The 5509 Serial Port1 and Serial Port2 each consists of six signals that support two different modes:
CEx
WE
RE
OE
A[0]
CEx
WE
RE
OE
CS
WE
RE
OE
BE[1:0]
A[12:0]
A[13]
D[15:0]
CS
WE
RE
OE
BE[1:0]
A[19:13]
A[12:0]
D[15:0]
16-Bit
Asynchronous
Memory
16-Bit
Asynchronous
Memory
16-Bit-Wide SDRAM
CLKMEM
5509
LQFP
or
BGA
†
A[14] if BGA; A[0] if LQFP
SDRAS
SDCAS
SDWE
BE[1:0]
A[14] or A[0]
A[13]
A[12]
SDA10
A[10:1]
D[15:0]
Figure 3−8. Parallel Port (EMIF) Signal Interface
CEx
CS
CLK
RAS
CAS
WE
DQM[H:L]
†
BA[1]
BA[0]
A[11]
A[10]
A[9:0]
D[15:0]
64 MBit or
128 MBit
SDRAM
•McBSP mode: all six signals of the McBSP are routed to the six external signals of the serial port.
•MMC/SD mode: all six signals of the MultiMedia Card/Secure Digital port are routed to the six external
signals of the serial port.
Table 3−7. TMS320VC5509 Serial Port1 Signal Routing
Represents Serial Port2 Mode bits of the External Bus Selection Register.
‡
MMC/SD2 (10)
‡
44
April 2001 − Revised January 2008SPRS163H
Functional Overview
3.6General-Purpose Input/Output (GPIO) Ports
3.6.1 Dedicated General-Purpose I/O
The 5509 provides eight dedicated general-purpose input/output pins, GPIO0−GPIO7. Each pin can be
indepedently configured as an input or an output using the I/O Direction Register (IODIR). The I/O Data
Register (IODATA) is used to monitor the logic state of pins configured as inputs and control the logic state
of pins configured as outputs. See Table 3−27 for address information. The description of the IODIR is shown
in Figure 3−9 and Table 3−9. The description of IODATA is shown in Figure 3−10 and Table 3−10.
To configure a GPIO pin as an input, clear the direction bit that corresponds to the pin in IODIR to 0. To read
the logic state of the input pin, read the corresponding bit in IODATA.
To configure a GPIO pin as an output, set the direction bit that corresponds to the pin in IODIR to 1. To control
the logic state of the output pin, write to the corresponding bit in IODATA.
LEGEND: R = Read, W = Write, n = value after reset
Figure 3−9. I/O Direction Register (IODIR) Bit Layout
IO5DIR
(BGA)
IO4DIRIO3DIRIO2DIRIO1DIRIO0DIR
Table 3−9. I/O Direction Register (IODIR) Bit Functions
BIT
NO.
15−8Reserved0These bits are reserved and are unaffected by writes.
7−0IOxDIR
†
The GPIO5 pin is available on the BGA package only.
BIT
NAME
RESET
VALUE
†
0
IOx Direction Control Bit. Controls whether IOx operates as an input or an output.
IOxDIR = 0IOx is configured as an input.
IOxDIR = 1IOx is configured as an output.
LEGEND: R = Read, W = Write, pin = value present on the pin (IO7−IO0 default to inputs after reset)
IO5D
(BGA)
IO4DIO3DIO2DIO1DIO0D
Figure 3−10. I/O Data Register (IODATA) Bit Layout
Table 3−10. I/O Data Register (IODATA) Bit Functions
BIT
NO.
15−8Reserved0These bits are reserved and are unaffected by writes.
7−0IOxDpin
†
The GPIO5 pin is available on the BGA package only.
‡
pin = value present on the pin (IO7−IO0 default to inputs after reset)
BIT
NAME
RESET
VALUE
†‡
FUNCTION
IOx Data Bit.
If IOx is configured as an input (IOxDIR = 0 in IODIR):
IOxD = 0The signal on the IOx pin is low.
IOxD = 1The signal on the IOx pin is high.
If IOx is configured as an output (IOxDIR = 1 in IODIR):
IOxD = 0Drive the signal on the IOx pin low.
IOxD = 1Drive the signal on the IOx pin high.
3.6.2 Address Bus General-Purpose I/O
The 16 address signals, EMIF .A[15−0], can also be individually enabled as GPIO when the Parallel Port Mode
bit field of the External Bus Selection Register is set for Data EMIF (00) or Multiplexed EHPI mode (11). These
pins are controlled by three registers: the enable register, AGPIOEN, determines if the pins serve as GPIO
or address (Figure 3−11); the direction register, AGPIODIR, determines if the GPIO enabled pin is an input
or output (Figure 3−12); and the data register, AGPIODATA, determines the logic states of the pins in
general-purpose I/O mode (Figure 3−13).
15141312111098
BIT
NAME
AIOEN14
(BGA)
AIOEN6AIOEN5AIOEN4AIOEN3AIOEN2AIOEN1AIOEN0
AIOEN13AIOEN12AIOEN11AIOEN10AIOEN9AIOEN8
Figure 3−11. Address/GPIO Enable Register (AGPIOEN) Bit Layout
Table 3−11. Address/GPIO Enable Register (AGPIOEN) Bit Functions
RESET
VALUE
Enable or disable GPIO function of Address Bus of EMIF. AIOEN15 and AIOEN14 are only available in
BGA package.
AIOENx = 0GPIO function of Ax line is disabled; i.e., Ax has address function.
AIOENx = 1GPIO function of Ax line is enabled; i.e., Ax has GPIO function.
LEGEND: R = Read, W = Write, n = value after reset
AIODIR14
(BGA)
AIODIR6AIODIR5AIODIR4AIODIR3AIODIR2AIODIR1AIODIR0
AIODIR13AIODIR12AIODIR11AIODIR10AIODIR9AIODIR8
Figure 3−12. Address/GPIO Direction Register (AGPIODIR) Bit Layout
Table 3−12. Address/GPIO Direction Register (AGPIODIR) Bit Functions
BIT
NO.
15−0AIODIRx0
AIOD15 (BGA)
R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0
AIOD7
R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0R/W, 0
LEGEND: R = Read, W = Write, n = value after reset
BIT
NAME
15141312111098
76543210
RESET
VALUE
Data direction bits that configure the Address Bus configured as I/O pins as either input or output pins.
AIODIR15 and AIODIR14 are only available in BGA package.
AIODIRx = 0Configure corresponding pin as an input.
AIODIRx = 1Configure corresponding pin as an output.
AIOD14 (BGA)AIOD13AIOD12AIOD11AIOD10AIOD9AIOD8
AIOD6AIOD5AIOD4AIOD3AIOD2AIOD1AIOD0
FUNCTION
Figure 3−13. Address/GPIO Data Register (AGPIODATA) Bit Layout
Table 3−13. Address/GPIO Data Register (AGPIODATA) Bit Functions
BIT
NO.
15−0AIODx0
BIT
NAME
RESET
VALUE
FUNCTION
Data bits that are used to control the level of the Address Bus configured as I/O output pins, and to monitor
the level of the Address Bus configured as I/O input pins. AIOD15 and AIOD14 are only available in BGA
package.
If AIODIRn = 0, then:
AIODx = 0Corresponding I/O pin is read as a low.
AIODx = 1Corresponding I/O pin is read as a high.
If AIODIRn = 1, then:
AIODx = 0Set corresponding I/O pin to low.
AIODx = 1Set corresponding I/O pin to high.
April 2001 − Revised January 2008SPRS163H
47
Functional Overview
3.6.3 EHPI General-Purpose I/O
Six control lines of the External Parallel Bus can also be set as general-purpose I/O when the Parallel Port
Mode bit field of the External Bus Selection Register is set to Nonmultiplexed EHPI (10) or Multiplexed EHPI
mode (11). These pins are controlled by three registers: the enable register , EHPIGPIOEN, determines if the
pins serve as GPIO or address (Figure 3−14); the direction register, EHPIGPIODIR, determines if the GPIO
enabled pin is an input or output (Figure 3−15); and the data register, EHPIGPIODATA, determines the logic
states of the pins in GPIO mode (Figure 3−16).
Enable or disable GPIO function of EHPI Control Bus.
GPIOENx = 0GPIO function of GPIOx line is disabled
GPIOENx = 1GPIO function of GPIOx line is enabled
Figure 3−15. EHPI GPIO Direction Register (EHPIGPIODIR) Bit Layout
Table 3−15. EHPI GPIO Direction Register (EHPIGPIODIR) Bit Functions
BIT
NO.
15−6Reserved0Reserved
5−0
BIT
NAME
GPIODIR13−
GPIODIR8
RESET
VALUE
0
FUNCTION
Data direction bits that configure the EHPI Control Bus configured as I/O pins as either input or output
pins.
GPIODIRx = 0 Configure corresponding pin as an input.
GPIODIRx = 1 Configure corresponding pin as an output.
LEGEND: R = Read, W = Write, n = value after reset
Figure 3−16. EHPI GPIO Data Register (EHPIGPIODATA) Bit Layout
Table 3−16. EHPI GPIO Data Register (EHPIGPIODATA) Bit Functions
BIT
NO.
15−6Reserved0Reserved
5−0
BIT
NAME
GPIOD13−
GPIOD8
RESET
VALUE
0
Data bits that are used to control the level of the EHPI Control Bus configured as I/O output pins, and to
monitor the level of the EHPI Control Bus configured as I/O input pins.
If GPIODIRn = 0, then:
GPIODx = 0Corresponding I/O pin is read as a low.
GPIODx = 1Corresponding I/O pin is read as a high.
If GPIODIRn = 1, then:
GPIODx = 0Set corresponding I/O pin to low.
GPIODx = 1Set corresponding I/O pin to high.
3.7System Register
The system register (SYSR) provides control over certain device-specific functions. The register is located
at port address 07FDh. This feature is not supported on the 5509 device.
FUNCTION
April 2001 − Revised January 2008SPRS163H
49
Functional Overview
3.8Memory-Mapped Registers
The 5509 has 78 memory-mapped CPU registers that are mapped in data memory space address 0h to 4Fh.
Table 3−17 provides a list of the CPU memory-mapped registers (MMRs) available. The corresponding
TMS320C54x (C54x) CPU registers are also indicated where applicable.
Table 3−17. CPU Memory-Mapped Registers
C55x
REGISTER
IER0IMR00Interrupt Enable Register 0[15−0]
IFR0IFR01Interrupt Flag Register 0[15−0]
ST0_55−02Status Register 0 for C55x[15−0]
ST1_55−03Status Register 1 for C55x[15−0]
ST3_55−04Status Register 3 for C55x[15−0]
RSA0LRSA1BBlock Repeat Start Address[15−0]
REA0LREA1CBlock Repeat End Address[15−0]
PMSTPMST1DProcessor Mode Status Register[15−0]
XPCXPC1EProgram Counter Extension Register[7−0]
−−1FReserved[15−0]
T0−20Temporary Data Register 0[15−0]
T1−21Temporary Data Register 1[15−0]
T2−22Temporary Data Register 2[15−0]
T3−23Temporary Data Register 3[15−0]
BIOS−37Data Page Pointer Storage Location for 128-word Data Table[15−0]
TRN1−38Transition Register 1[15−0]
BRC1−39Block Repeat Counter 1[15−0]
BRS1−3ABlock Repeat Save 1[15−0]
CSR−3BComputed Single Repeat[15−0]
RSA0H−3CRepeat Start Address 0[23−16]
RSA0L−3D[15−0]
REA0H−3ERepeat End Address 0[23−16]
REA0L−3F[15−0]
RSA1H−40Repeat Start Address 1[23−16]
RSA1L−41[15−0]
REA1H−42Repeat End Address 1[23−16]
REA1L−43[15−0]
RPTC−44Repeat Counter[15−0]
IER1−45Interrupt Enable Register 1[15−0]
IFR1−46Interrupt Flag Register 1[15−0]
DBIER0−47Debug IER0[15−0]
DBIER1−48Debug IER1[15−0]
IVPD−49Interrupt Vector Pointer DSP[15−0]
IVPH−4AInterrupt Vector Pointer HOST[15−0]
ST2_55−4BStatus Register 2 for C55x[15−0]
SSP−4CSystem Stack Pointer[15−0]
SP−4DUser Stack Pointer[15−0]
SPH−4EExtended Data Page Pointer for the SP and the SSP[6−0]
CDPH−4FMain Data Page Pointer for the CDP[6−0]
C54x
REGISTER
WORD ADDRESS
(HEX)
BIT FIELDDESCRIPTION
April 2001 − Revised January 2008SPRS163H
51
Functional Overview
3.9Peripheral Register Description
Each 5509 device has a set of memory-mapped registers associated with peripherals as listed in Table 3−18
through Table 3−36. Some registers use less than 16 bits. When reading these registers, unused bits are
always read as 0.
NOTE: The CPU access latency to the peripheral memory-mapped registers is 6 CPU cycles.
Following peripheral register update(s), the CPU must wait at least 6 CPU cycles before
attempting to use that peripheral. When more than one peripheral register is updated in a
sequence, the CPU only needs to wait following the final register write. For example, if the
EMIF is being reconfigured, the CPU must wait until the very last EMIF register update takes
effect before trying to access the external memory. The users should consult the respective
peripheral user’s guide to determine if a peripheral requires additional time to initialize itself
to the new configuration after the register updates take effect.
Before reading or writing to the USB register, the USB module has to be brought out of reset by setting bit 2
of the USB Idle Control and Status Register. Likewise, the MMC/SD must be selected by programming the
External Bus Selection Register before reading or writing the MMC/SD module registers.
Table 3−18. Idle Control, Status, and System Registers
WORD ADDRESSREGISTER NAMEDESCRIPTIONRESET VALUE
0x0001ICR[7:0]Idle Control Registerxxxx xxxx 0000 0000
0x0002ISTR[7:0]Idle Status Registerxxxx xxxx 0000 0000
0x07FDSYSR[15:0]System Register
†
Hardware reset; x denotes a “don’t care.”
‡
System Register features are not supported on the 5509 device.
‡
0000 0000 0000 0000
Table 3−19. External Memory Interface Registers
WORD ADDRESSREGISTER NAMEDESCRIPTIONRESET VALUE
0x0800EGCR[15:0]EMIF Global Control Registerxxxx xxxx 0010 xx00
0x0801EMI_RSTEMIF Global Reset Registerxxxx xxxx xxxx xxxx
0x0802EMI_BE[13:0]EMIF Bus Error Status Registerxx00 0000 0000 0000
0x0803CE0_1[14:0]EMIF CE0 Space Control Register 1x010 1111 1111 1111
0x0804CE0_2[15:0]EMIF CE0 Space Control Register 20100 1111 111 1 111 1
0x0805CE0_3[7:0]EMIF CE0 Space Control Register 3xxxx xxxx 0000 0000
0x0806CE1_1[14:0]EMIF CE1 Space Control Register 1x010 1111 1111 1111
0x0807CE1_2[15:0]EMIF CE1 Space Control Register 20100 1111 111 1 111 1
0x0808CE1_3[7:0]EMIF CE1 Space Control Register 3xxxx xxxx 0000 0000
0x0809CE2_1[14:0]EMIF CE2 Space Control Register 1x010 1111 1111 1111
0x080ACE2_2[15:0]EMIF CE2 Space Control Register 20101 1111 1111 1 111
0x080BCE2_3[7:0]EMIF CE2 Space Control Register 3xxxx xxxx 0000 0000
0x080CCE3_1[14:0]EMIF CE3 Space Control Register 1x010 1111 1111 1111
0x080DCE3_2[15:0]EMIF CE3 Space Control Register 20101 1111 1111 1111
0x080ECE3_3[7:0]EMIF CE3 Space Control Register 3xxxx xxxx 0000 0000
0x080FSDC1[15:0]EMIF SDRAM Control Register 11111 1001 0100 1000
0x0810SDPER[11:0]EMIF SDRAM Period Registerxxxx 0000 1000 0000
0x0811SDCNT[11:0]EMIF SDRAM Counter Registerxxxx 0000 1000 0000
0x0812INITEMIF SDRAM Init Registerxxxx xxxx xxxx xxxx
0x0813SDC2[9:0]EMIF SDRAM Control Register 2xxxx xx11 1111 1111
†
Hardware reset; x denotes a “don’t care.”
†
†
52
April 2001 − Revised January 2008SPRS163H
Table 3−20. DMA Configuration Registers
Functional Overview
PORT ADDRESS
(WORD)
0x0E00DMA_GCR[2:0]DMA Global Control Registerxxxx xxxx xxxx x000
0x0E03DMA_GTCRDMA Timeout Control Register
0x0C00DMA_CSDP0
0x0C01DMA_CCR0[15:0]DMA Channel 0 Control Register0000 0000 0000 0000
0x0C02DMA_CICR0[5:0]DMA Channel 0 Interrupt Control Registerxxxx xxxx xx00 0011
0x0C03DMA_CSR0[6:0]DMA Channel 0 Status Registerxxxx xxxx xx00 0000
0x0C04DMA_CSSA_L0
0x0C05DMA_CSSA_U0
0x0C06DMA_CDSA_L0
0x0C07DMA_CDSA_U0
0x0C08DMA_CEN0DMA Channel 0 Element Number RegisterUndefined
0x0C09DMA_CFN0DMA Channel 0 Frame Number RegisterUndefined
0x0C0ADMA_CFI0DMA Channel 0 Frame Index RegisterUndefined
0x0C0BDMA_CEI0DMA Channel 0 Element Index RegisterUndefined
0x0C20DMA_CSDP1
0x0C21DMA_CCR1[15:0]DMA Channel 1 Control Register0000 0000 0000 0000
0x0C22DMA_CICR1[5:0]DMA Channel 1 Interrupt Control Registerxxxx xxxx xx00 0011
0x0C23DMA_CSR1[6:0]DMA Channel 1 Status Registerxxxx xxxx xx00 0000
0x0C24DMA_CSSA_L1
0x0C25DMA_CSSA_U1
0x0C26DMA_CDSA_L1
0x0C27DMA_CDSA_U1
0x0C28DMA_CEN1DMA Channel 1 Element Number RegisterUndefined
0x0C29DMA_CFN1DMA Channel 1 Frame Number RegisterUndefined
0x0C2ADMA_CFI1DMA Channel 1 Frame Index RegisterUndefined
0x0C2BDMA_CEI1DMA Channel 1 Element Index RegisterUndefined
0x0C40DMA_CSDP2
0x0C41DMA_CCR2[15:0]DMA Channel 2 Control Register0000 0000 0000 0000
0x0C42DMA_CICR2[5:0]DMA Channel 2 Interrupt Control Registerxxxx xxxx xx00 0011
†
0x0C43DMA_CSR2[6:0]DMA Channel 2 Status Registerxxxx xxxx xx00 0000
0x0C44DMA_CSSA_L2
0x0C45DMA_CSSA_U2
0x0C46DMA_CDSA_L2
0x0C47DMA_CDSA_U2
0x0C48DMA_CEN2DMA Channel 2 Element Number RegisterUndefined
0x0C49DMA_CFN2DMA Channel 2 Frame Number RegisterUndefined
0x0C4ADMA_CFI2DMA Channel 2 Frame Index RegisterUndefined
0x0C4BDMA_CEI2DMA Channel 2 Element Index RegisterUndefined
0x0C60DMA_CSDP3
0x0C61DMA_CCR3[15:0]DMA Channel 3 Control Register0000 0000 0000 0000
0x0C62DMA_CICR3[5:0]DMA Channel 3 Interrupt Control Registerxxxx xxxx xx00 0011
0x0C63DMA_CSR3[6:0]DMA Channel 3 Status Registerxxxx xxxx xx00 0000
0x0C64DMA_CSSA_L3
0x0C65DMA_CSSA_U3
0x0C66DMA_CDSA_L3
0x0C67DMA_CDSA_U3
0x0C68DMA_CEN3DMA Channel 3 Element Number RegisterUndefined
0x0C69DMA_CFN3DMA Channel 3 Frame Number RegisterUndefined
0x0C6ADMA_CFI3DMA Channel 3 Frame Index RegisterUndefined
0x0C6BDMA_CEI3DMA Channel 3 Element Index RegisterUndefined
0x0C80DMA_CSDP4
0x0C81DMA_CCR4[15:0]DMA Channel 4 Control Register0000 0000 0000 0000
0x0C82DMA_CICR4[5:0]DMA Channel 4 Interrupt Control Registerxxxx xxxx xx00 0011
0x0C83DMA_CSR4[6:0]DMA Channel 4 Status Registerxxxx xxxx xx00 0000
0x0C87DMA_CDSA_U4
0x0C88DMA_CEN4DMA Channel 4 Element Number RegisterUndefined
0x0C89DMA_CFN4DMA Channel 4 Frame Number RegisterUndefined
0x0C8ADMA_CFI4DMA Channel 4 Frame Index RegisterUndefined
0x0C8BDMA_CEI4DMA Channel 4 Element Index RegisterUndefined
0x0CA0DMA_CSDP5
0x0CA1DMA_CCR5[15:0]DMA Channel 5 Control Register0000 0000 0000 0000
0x0CA2DMA_CICR5[5:0]DMA Channel 5 Interrupt Control Registerxxxx xxxx xx00 0011
0x0CA3DMA_CSR5[6:0]DMA Channel 5 Status Registerxxxx xxxx xx00 0000
0x0CA4DMA_CSSA_L5
0x0CA5DMA_CSSA_U5
0x0CA6DMA_CDSA_L5
0x0CA7DMA_CDSA_U5
0x0CA8DMA_CEN5DMA Channel 5 Element Number RegisterUndefined
0x0CA9DMA_CFN5DMA Channel 5 Frame Number RegisterUndefined
0x0CAADMA_CFI5DMA Channel 5 Frame Index RegisterUndefined
0x0CABDMA_CEI5DMA Channel 5 Element Index RegisterUndefined
−I2CRSRI2C receive shift register (not accessible to the CPU)
−I2CXSRI2C transmit shift register (not accessible to the CPU)
†
Hardware reset; x denotes a “don’t care.”
¶
Specifies a unique 5509 I2C address. This register must be set by the programmer. When this device is used in conjunction with another master
I2C device, the register must be programmed to the I2C slave address (01011xx) allocated by Philips Semiconductor for the 5509. The 2 LSBs
are the programmable address bits.
NOTE: I2C protocol compatible, no fail-safe buffer.
¶
I2C Own Address Register0000 0000 0000 0000
RESET VALUE
†
60
April 2001 − Revised January 2008SPRS163H
Functional Overview
Table 3−30. Watchdog Timer Registers
WORD ADDRESSREGISTER NAMEDESCRIPTION
0x4000WDTIM[15:0]WD Timer Counter Register1111 1111 1111 1111
0x4001WDPRD[15:0]WD Timer Period Register1111 1111 1111 1111
0x4002WDTCR[13:0]WD Timer Control Register0000 0011 1100 1111
0x4003WDTCR2[15:0]WD Timer Control Register 20001 0000 0000 0000
Absolute addresses of the interrupt vector locations are determined by the contents of the IVPD and IVPH registers. Interrupt vectors for
interrupts 0−15 and 24−31 are relative to IVPD. Interrupt vectors for interrupts 16−23 are relative to IVPH.
‡
The NMI pin is internally tied high. However, NMI interrupt vector can be used for SINT1 and Watchdog Timer Interrupt.
§
It is recommended that either the INT4 or RTC interrupt be used. If both INT4 and RTC interrupts are used, one interrupt event can potentially
hold off the other interrupt. For example, if INT4 is asserted first and held low , the RTC interrupt will not be recognized until the INT4 pin is back
to high-logic state again. The INT4 pin must be pulled high if only the RTC interrupt is used.
§
(TRAP)
EQUIVALENT
SINT181Nonmaskable interrupt
SINT199816External interrupt #4 or RTC interrupt
RELATIVE
LOCATION
(HEX BYTES)
†
PRIORITYFUNCTION
April 2001 − Revised January 2008SPRS163H
65
Functional Overview
FUNCTION
3.10.1IFR and IER Registers
The IFR0 (Interrupt Flag Register 0) and IER0 (Interrupt Enable Register 0) bit layouts are shown in
Figure 3−17.
NOTE: Some of the interrupts are shared between multiple interrupt sources. All sources for
a particular bit are internally combined using a logic OR function so that no additional user
configuration is required to select the interrupt source. In the case of the serial port, the shared
functions are mutually exclusive so that only one of the interrupt sources will be active at a time
in a given system. For example: It is not possible to use McBSP2 and MMC/SD2
simultaneously. However, in the case of INT3/WDTINT it is possible to have active interrupts
simultaneously from both the external INT3 source and the watchdog timer . When an interrupt
is detected in this bit, the watchdog timer status register should be polled to determine if the
watchdog timer is the interrupt source.
15141312111098
DMAC5DMAC4
R/W−0R/W−0R/W−0R/W−0R/W−0R/W−0R/W−0R/W−0
76543210
XINT1/
MMCSD1
R/W−0R/W−0R/W−0R/W−0R/W−0R/W−0R−0
LEGEND: R = Read, W = Write, n = value after reset
RINT1RINT0TINT0INT2INT0Reserved
XINT2/
MMCSD2
RINT2
INT3/
WDTINT
DSPINTDMAC1USB
Figure 3−17. IFR0 and IER0 Bit Locations
Table 3−38. IFR0 and IER0 Register Bit Fields
BIT
NUMBERNAME
15DMAC5DMA channel 5 interrupt flag/mask bit
14DMAC4DMA channel 4 interrupt flag/mask bit
5RINT0McBSP0 receive interrupt flag bit
4TINT0Timer 0 interrupt flag bit
3INT2External interrupt 2 flag bit
2INT0External interrupt 0 flag bit
1−0−Reserved for future expansion. These bits should always be written with 0.
This bit is used as either the McBSP2 transmit interrupt flag/mask bit, the MMC/SD2 interrupt
flag/mask bit.
This bit is used as either the external user interrupt 3 flag/mask bit, or the watchdog timer interrupt
flag/mask bit.
This bit is used as either the McBSP1 transmit interrupt flag/mask bit, the MMC/SD1 interrupt
flag/mask bit.
66
April 2001 − Revised January 2008SPRS163H
Functional Overview
FUNCTION
The IFR1 (Interrupt Flag Register 1) and IER1 (Interrupt Enable Register 1) bit layouts are shown in
Figure 3−18.
NOTE: It is possible to have active interrupts simultaneously from both the external interrupt 4
(INT4) and the real-time clock (RTC). When an interrupt is detected in this bit, the real-time
clock status register should be polled to determine if the real-time clock is the source of the
interrupt.
15111098
ReservedRTOSDLOGBERR
R/W−00000
76543210
I2C
R/W−0R/W−0R/W−0R/W−0R/W−0R/W−0R/W−0R/W−0
LEGEND: R = Read, W = Write, n = value after reset
†
Always write zeros.
TINT1DMAC3DMAC2INT4/RTCDMAC0XINT0INT1
†
R/W−0R/W−0R/W−0
Figure 3−18. IFR1 and IER1 Bit Locations
Table 3−39. IFR1 and IER1 Register Bit Fields
BIT
NUMBERNAME
15−11−Reserved for future expansion. These bits should always be written with 0.
10RTOSReal-time operating system interrupt flag/mask bit
9DLOGData log interrupt flag/mask bit
8BERRBus error interrupt flag/mask bit
7I2CI2C interrupt flag/mask bit
6TINT1Timer 1 interrupt flag/mask bit
5DMAC3DMA channel 3 interrupt flag/mask bit
4DMAC2DMA channel 2 interrupt flag/mask bit
3INT4/RTC
2DMAC0DMA channel 0 interrupt flag/mask bit
1XINT0McBSP transmit 0 interrupt flag/mask bit
0INT1External user interrupt 1 flag/mask bit
This bit can be used as either the external user interrupt 4 flag/mask bit, or the real-time clock
interrupt flag/mask bit.
3.10.2Interrupt Timing
The external interrupts (INT[4:0]) are synchronized to the CPU by way of a two-flip-flop synchronizer. The
interrupt inputs are sampled on falling edges of the CPU clock. A sequence of 1-1-0-0-0 on consecutive cycles
on the interrupt pin is required for an interrupt to be detected. Therefore, the minimum low pulse duration on
the external interrupts on the 5509 is three CPU clock periods.
April 2001 − Revised January 2008SPRS163H
67
Functional Overview
3.10.3Waking Up From IDLE Condition
One of the following four events can wake up the CPU from IDLE:
•Hardware Reset
•External Interrupt
•RTC Interrupt
•USB Event (Reset or Resume)
3.10.3.1 Waking Up From IDLE With Oscillator Disabled
With an external interrupt, a RTC interrupt, or an USB resume/reset, the clock generation circuit wakes up the
oscillator and enables the USB PLL to determine the oscillator stable time. In the case of the interrupt being
disabled by clearing the associated bit in the Interrupt Enable Register (IERx), the CPU is not “woken up”. If
the interrupt due to the wake-up event is enabled, the interrupt is sent to the CPU only after the oscillator is
stabilized and the USB PLL is locked. If the external interrupt serves as the wake-up event, the interrupt line
must stay low for a minimum of 3 CPU cycles after the oscillator is stabilized to wake up the CPU. Otherwise,
only the clock domain will wake up and another external interrupt will be needed to wake up the CPU.
Once out of IDLE, any system not using the USB should put the USB module in idle mode to reduce power
consumption.
For more details on the TMS320VC5509 oscillator-disable process, see the Disabling the Internal Oscillatoron the TMS320VC5507/5509/5509A DSP application report (literature number SPRA078).
3.10.4Idling Clock Domain When External Parallel Bus Operating in EHPI Mode
The clock domain cannot be idled when the External Parallel Bus is operating in EHPI mode to ensure host
access to the DSP memory. To work around this restriction, use the HIDL bit of the External Bus Selection
Register (EBSR) with the CLKGENI bit of the Idle Control Register (ICR) to idle the clock domain.
68
April 2001 − Revised January 2008SPRS163H
4Documentation Support
Extensive documentation supports all TMS320 DSP family of devices from product announcement through
applications development. The following types of documentation are available to support the design and use
of the TMS320C5000 platform of DSPs:
•TMS320C55x DSP Functional Overview (literature number SPRU312)
•Device-specific data sheets
•Complete user’s guides
•Development support tools
•Hardware and software application reports
TMS320C55x reference documentation includes, but is not limited to, the following:
•TMS320C55x DSP CPU Reference Guide (literature number SPRU371)
•TMS320C55x DSP Mnemonic Instruction Set Reference Guide (literature number SPRU374)
•TMS320C55x DSP Algebraic Instruction Set Reference Guide (literature number SPRU375)
•TMS320C55x DSP Programmer’s Guide (literature number SPRU376)
•TMS320C55x DSP Peripherals Overview Reference Guide (literature number SPRU317)
•TMS320C55x Optimizing C/C++ Compiler User’s Guide (literature number SPRU281)
•TMS320C55x Assembly Language Tools User’s Guide (literature number SPRU280)
•TMS320C55x DSP Library Programmer’s Reference (literature number SPRU422)
•Disabling the Internal Oscillator on the TMS320VC5507/5509/5509A DSP application report (literature
number SPRA078)
Documentation Support
The reference guides describe in detail the TMS320C55x DSP products currently available and the
hardware and software applications, including algorithms, for fixed-point TMS320 DSP family of devices.
A series of DSP textbooks is published by Prentice-Hall and John Wiley & Sons to support digital signal
processing research and education. The TMS320 DSP newsletter, Details on Signal Processing, is
published quarterly and distributed to update TMS320 DSP customers on product information.
Information regarding TI DSP products is also available on the Worldwide Web at http://www.ti.com uniform
resource locator (URL).
TMS320 and TMS320C5000 are trademarks of Texas Instruments.
April 2001 − Revised January 2008SPRS163H
69
Documentation Support
4.1Device and Development-Support Tool Nomenclature
To designate the stages in the product development cycle, TI assigns prefixes to the part numbers of all
TMS320 DSP devices and support tools. Each TMS320 DSP commercial family member has one of three
prefixes: TMX, TMP, or TMS. T exas Instruments recommends two of three possible prefix designators for its
support tools: TMDX and TMDS. These prefixes represent evolutionary stages of product development from
engineering prototypes (TMX/TMDX) through fully qualified production devices/tools (TMS/TMDS).
Device development evolutionary flow:
TMXExperimental device that is not necessarily representative of the final device’s electrical specifications
TMPFinal silicon die that conforms to the device’s electrical specifications but has not completed quality
and reliability verification
TMSFully qualified production device
Support tool development evolutionary flow:
TMDX Development-support product that has not yet completed Texas Instruments internal qualification
testing.
TMDS Fully qualified development-support product
TMX and TMP devices and TMDX development-support tools are shipped against the following disclaimer:
“Developmental product is intended for internal evaluation purposes.”
TMS devices and TMDS development-support tools have been characterized fully, and the quality and
reliability of the device have been demonstrated fully. TI’s standard warranty applies.
Predictions show that prototype devices (TMX or TMP) have a greater failure rate than the standard
production devices. Texas Instruments recommends that these devices not be used in any production system
because their expected end-use failure rate still is undefined. Only qualified production devices are to be used.
TMS320 is a trademark of Texas Instruments.
70
April 2001 − Revised January 2008SPRS163H
4.2TMS320VC5509 Device Nomenclature
TMS 320 VC 5509 GHH
PREFIX
TMX = Experimental device
TMP = Prototype device
TMS = Qualified device
SMJ = MIL-STD-883C
SM = High Rel (non-883C)
No silicon revision marked on the package indicates earlier (TMX or TMP) silicon. See the TMS320VC5509 Digital Signal Processor SiliconErrata (literature number SPRZ006) to identify TMX or TMP silicon revision.
Figure 4−1. Device Nomenclature for the TMS320VC5509
April 2001 − Revised January 2008SPRS163H
71
Electrical Specifications
5Electrical Specifications
This section provides the absolute maximum ratings and the recommended operating conditions for the
TMS320VC5509 DSP.
All electrical and switching characteristics in this data manual are valid over the recommended operating
conditions unless otherwise specified.
5.1Absolute Maximum Ratings
The list of absolute maximum ratings are specified over operating case temperature. Stresses beyond those
listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress
ratings only, and functional operation of the device at these or any other conditions beyond those indicated
under Section 5.2 is not implied. Exposure to absolute-maximum-rated conditions for extended periods may
affect device reliability. All voltage values are with respect to V
values for a 3.3-V I/O.
. Figure 5−1 provides the test load circuit
SS
Supply voltage I/O range, DV
Supply voltage core range, CV
Input voltage range, V
Output voltage range, V
The I2C pins SDA and SCL do not feature fail-safe I/O buffers. These pins could potentially draw current when the device is powered down.
Due to the fact that different voltage devices can be connected to the I2C bus, the level of logic 0 (low) and logic 1 (high) are not fixed and
depends on the associated VDD.
‡
USB I/O pins DP and DN can tolerate a short circuit at D+ and D− to 0 V or 5 V, as long as the recommended series resistors (see Figure 5−40)
are connected between the D+ and DP (package), and the D− and DN (package). Do not apply a short circuit to the USB I/O pins DP and DN
in absence of the series resistors.
NOTE: USB PLL is powered from the core supply and is susceptible to core power supply ripple. The maximum allowable supply ripple is 1%
for 1 Hz to 5 kHz; 1.5% for 5 kHz to 10 MHz; 3% for 10 MHz to 100 MHz, and less than 5% for 100 MHz or greater.
†
2.73.33.6V
72
April 2001 − Revised January 2008SPRS163H
Electrical Specifications
VIHHigh-level input voltage, I/O
V
VILLow-level input voltage, I/O
V
OL
IOLLow-level output current
mA
5.2Recommended Operating Conditions(Continued)
UNITMAXNOMMIN
X2/CLKIN2.2DVDD + 0.3
DN and DP
V
IH
V
IL
I
OH
I
T
C
†
The I2C pins SDA and SCL do not feature fail-safe I/O buffers. These pins could potentially draw current when the device is powered down.
Due to the fact that different voltage devices can be connected to the I2C bus, the level of logic 0 (low) and logic 1 (high) are not fixed and
depends on the associated VDD.
‡
USB I/O pins DP and DN can tolerate a short circuit at D+ and D− to 0 V or 5 V, as long as the recommended series resistors (see Figure 5−40)
are connected between the D+ and DP (package), and the D− and DN (package). Do not apply a short circuit to the USB I/O pins DP and DN
in absence of the series resistors.
NOTE: USB PLL is powered from the core supply and is susceptible to core power supply ripple. The maximum allowable supply ripple is 1%
High-level input voltage, I/O
Low-level input voltage, I/O
High-level output current
Low-level output current
Operating case temperature−4085_C
for 1 Hz to 5 kHz; 1.5% for 5 kHz to 10 MHz; 3% for 10 MHz to 100 MHz, and less than 5% for 100 MHz or greater.
SDA & SCL: VDD related input levels
All other inputs
(including hysteresis inputs)
X2/CLKIN−0.30.7
DN and DP
SDA & SCL: VDD related input levels
All other inputs
(including hysteresis inputs)
DN and DP‡ (VOH = 2.45 V)−17.0
All other outputs
DN and DP‡ (VOL = 0.36 V)17.0
SDA and SCL
All other outputs4
‡
†
‡
†
†
2.0
0.7*DV
DD
2.2DVDD + 0.3
−0.50.3 * DV
−0.30.8
DVDD(max) +0.5
0.8
−4
DD
mA
3
mA
V
V
April 2001 − Revised January 2008SPRS163H
73
Electrical Specifications
OL
VOLLow-level output voltage
V
Input current for outputs in
Input current for outputs in
5.3Electrical Characteristics Over Recommended Operating Case Temperature
Range (Unless Otherwise Noted)
PARAMETERTEST CONDITIONSMINTYP MAXUNIT
DV
= 3.3 ± 0.3 V,
DN, DP, and PU
V
V
I
I
I
I
I
I
C
C
†
‡
§
¶
#
NOTE: USB PLL is powered from the core supply and is susceptible to core power supply ripple. The maximum allowable supply ripple is 1%
High-level output voltage
OH
All other outputs
SDA & SCL
Low-level output voltage
IZ
high-impedance
Input current
I
CVDD Supply current, CPU + internal memory access
DDC
DVDD supply current, pins active
DDP
CVDD supply current, standby
DDC
DVDD supply current, standby
DDP
Input capacitance3pF
i
Output capacitance3pF
o
USB I/O pins DP and DN can tolerate a short circuit at D+ and D− to 0 V or 5 V, as long as the recommended series resistors (see Figure 5−40)
are connected between the D+ and DP (package), and the D− and DN (package). Do not apply a short circuit to the USB I/O pins DP and DN
in absence of the series resistors.
The I2C pins SDA and SCL do not feature fail-safe I/O buffers. These pins could potentially draw current when the device is powered down.
CPU executing 75% Dual MAC + 25% ADD with moderate data bus activity (table of sine values). CPU and CLKGEN (DPLL) domain are active.
All other domains are idled.
One word of a table of a 16-bit sine value is written to the EMIF every 250 ns (64 Mbps). Each EMIF output pin is connected to a 10-pF load.
In CLKGEN domain idle mode, X2/CLKIN becomes output and is driven low to stop external crystals (if used) from oscillating. Standby current
will be higher if an external clock source tries to drive the X2/CLKIN pin during this time.
for 1 Hz to 5 kHz; 1.5% for 5 kHz to 10 MHz; 3% for 10 MHz to 100 MHz, and less than 5% for 100 MHz or greater.
DN and DP
All other outputsIOL = MAX0.4
Output-only or I/O pins with bus
keepers (enabled)
All other output-only or I/O pins
Input pins with internal pulldown
(enabled)
Input pins with internal pullup
(enabled)
X2/CLKIN
All other input-only pins
¶
Oscillator disabled.
#
All domains in low-power state
Oscillator disabled.
All domains in low-power state.
†
‡
†
§
DD
IOH = −300 µA
DV
= 3.3 ± 0.3 V,
DD
IOH = MAX
At 3 mA sink current00.4
IOL = 3.0 mA0.3
DV
= MAX,
DD
VO = VSS to DV
DV
= MAX
DD
VO = VSS to DV
DV
= MAX,
DD
VI = VSS to DV
DV
= MAX,
DD
VI = VSS to DV
DV
= MAX,
DD
VI = VSS to DV
DV
= MAX,
DD
VI = VSS to DV
CVDD = 1.6V
CPU clock = 144 MHz
TC = 25_C
DVDD = 3.3 V
CPU clock = 144 MHz
TC = 25_C
CVDD = 1.6V
TC = 25_C
DVDD = 3.3 V
No I/O activity
TC = 25_C
DD
DD
DD
DD
DD
DD
2.83.6
2.4
−500500
−55
30300
−300−30
−5050
−55
0.90
5.5mA
250µA
10µA
µA
µA
mA/
MHz
V
V
74
April 2001 − Revised January 2008SPRS163H
Electrical Specifications
Tester Pin Electronics
42 Ω3.5 nH
4.0 pF1.85 pF
NOTE: The data manual provides timing at the device pin. For output timing analysis, the tester pin electronics and its transmission line effects
must be taken into account. A transmission line with a delay of 2 ns or longer can be used to produce the desired transmission line effect.
The transmission line is intended as a load only. It is not necessary to add or subtract the transmission line delay (2 ns or longer) from
the data manual timings.
Input requirements in this data sheet are tested with an input slew rate of < 4 Volts per nanosecond (4 V/ns) at the device pin.
Transmission Line
Z0 = 50 Ω
(see note)
Data Manual Timing Reference Point
Output
Under
Test
Device Pin
(see note)
Figure 5−1. 3.3-V Test Load Circuit
5.4Package Thermal Resistance Characteristics
Table 5−1 provides the estimated thermal resistance characteristics for the TMS320VC5509 DSP package
types.
Table 5−1. Thermal Resistance Characteristics
PARAMETER
R
ΘJA
R
ΘJC
GHH
PACKAGE
54.166.7°C/W
10.09.4°C/W
PGE
PACKAGE
UNIT
April 2001 − Revised January 2008SPRS163H
75
Electrical Specifications
5.5Timing Parameter Symbology
Timing parameter symbols used in the timing requirements and switching characteristics tables are created
in accordance with JEDEC Standard 100. To shorten the symbols, some of the pin names and other related
terminology have been abbreviated as follows:
Lowercase subscripts and their meanings:Letters and symbols and their meanings:
aaccess timeHHigh
ccycle time (period)LLow
ddelay timeVValid
disdisable timeZHigh-impedance
enenable time
ffall time
hhold time
rrise time
susetup time
ttransition time
vvalid time
wpulse duration (width)
XUnknown, changing, or don’t care level
76
April 2001 − Revised January 2008SPRS163H
5.6Clock Options
The frequency of the reference clock provided at the X2/CLKIN pin can be divided by a factor of two or four
or multiplied by one of several values to generate the internal machine cycle.
5.6.1 Internal System Oscillator With External Crystal
The internal oscillator is always enabled following a device reset. The oscillator requires an external crystal
connected across the X1 and X2/CLKIN pins. If the internal oscillator is not used, an external clock source
must be applied to the X2/CLKIN pin and the X1 pin should be left unconnected. Since the internal oscillator
can be used as a clock source to the PLLs, the crystal oscillation frequency can be multiplied to generate the
CPU clock and USB clock, if desired.
The crystal should be in fundamental-mode operation, and parallel resonant, with a maximum effective series
resistance (ESR) specified in Table 5−2. The connection of the required circuit is shown in Figure 5−2. Under
some conditions, all the components shown are not required. The capacitors, C
such that the equation below is satisfied. C
specified in Table 5−2.
in the equation is the load specified for the crystal that is also
L
C
+
C
L
1C2
(C1) C2)
Electrical Specifications
and C2, should be chosen
1
X2/CLKIN
Crystal
C1C2
X1
R
S
Figure 5−2. Internal System Oscillator With External Crystal
Table 5−2. Recommended Crystal Parameters
FREQUENCY RANGE (MHz)MAX ESR (Ω)C
20−15401050
15−12401650
12−10401651.8
10−8601851.8
8−6601854.7
6−5801858.2
(pF)MAX C
LOAD
(pF)RS (kΩ)
SHUNT
Although the recommended ESR presented in Table 5−2 as a maximum, theoretically, a crystal with a lower
maximum ESR might seem to meet the requirement. It is recommended that crystals which meet the
maximum ESR specification in Table 5−2 are used.
April 2001 − Revised January 2008SPRS163H
77
Electrical Specifications
5.6.2 Layout Considerations
Since parasitic capacitance, inductance and resistance can be significant in any circuit, good PC board layout
practices should always be observed when planning trace routing to the discrete components used in the
oscillator circuit. Specifically, the crystal and the associated discrete components should be located as close
to the DSP as physically possible. Also, X1 and X2/CLKIN traces should be separated as soon as possible
after routing away from the DSP to minimize parasitic capacitance between them, and a ground trace should
be run between these two signal lines. This also helps to minimize stray capacitance between these two
signals.
5.6.3 Clock Generation in Bypass Mode (DPLL Disabled)
The frequency of the reference clock provided at the X2/CLKIN pin can be divided by a factor of one, two, or
four to generate the internal CPU clock cycle. The divide factor (D) is set in the BYPASS_DIV field of the clock
mode register. The contents of this field only affect clock generation while the device is in bypass mode. In
this mode, the digital phase-locked loop (DPLL) clock synthesis is disabled.
Table 5−3 and Table 5−4 assume testing over recommended operating conditions and H = 0.5t
c(CO)
Figure 5−3).
Table 5−3. CLKIN Timing Requirements
NO.MINMAX UNIT
C1t
c(CI)
C2t
f(CI)
C3t
r(CI)
C10t
w(CIL)
C11t
†
w(CIH)
This device utilizes a fully static design and therefore can operate with t
time is limited by the crystal frequency range listed in Table 5−2.
Cycle time, X2/CLKIN20400
Fall time, X2/CLKIN4ns
Rise time, X2/CLKIN4ns
Pulse duration, CLKIN low6ns
Pulse duration, CLKIN high6ns
approaching ∞. If an external crystal is used, the X2/CLKIN cycle
c(CI)
†
Table 5−4. CLKOUT Switching Characteristics
NO.
C4t
c(CO)
C5t
d(CIH-CO)
C6t
f(CO)
C7t
r(CO)
C8t
w(COL)
C9t
†
‡
§
w(COH)
This device utilizes a fully static design and therefore can operate with t
time is limited by the crystal frequency range listed in Table 5−2.
It is recommended that the DPLL synthesised clocking option be used to obtain maximum operating frequency.
D = 1/(PLL Bypass Divider)
Cycle time, CLKOUT20‡D*t
Delay time, X2/CLKIN high to CLKOUT high/low102030ns
Fall time, CLKOUT1ns
Rise time, CLKOUT1ns
Pulse duration, CLKOUT lowH−2H+2ns
Pulse duration, CLKOUT highH−2H+2ns
PARAMETER
approaching ∞. If an external crystal is used, the X2/CLKIN cycle
c(CO)
MINTYPMAX UNIT
c(CI)
§
1600
†
(see
ns
ns
78
April 2001 − Revised January 2008SPRS163H
X2/CLKIN
C1
C10
C11
Electrical Specifications
C2
C3
C4
CLKOUT
C5
NOTE A: The relationship of X2/CLKIN to CLKOUT depends on the PLL bypass divide factor chosen for the CLKMD register. The waveform
relationship shown in Figure 5−3 is intended to illustrate the timing parameters based on CLKOUT = 1/2(CLKIN) configuration.
C6
C7
C8
C9
Figure 5−3. Bypass Mode Clock Timings
5.6.4 Clock Generation in Lock Mode (DPLL Synthesis Enabled)
The frequency of the reference clock provided at the X2/CLKIN pin can be multiplied by a synthesis factor of
N to generate the internal CPU clock cycle. The synthesis factor is determined by:
M
N=
D
L
where: M = the multiply factor set in the PLL_MULT field of the clock mode register
D
Valid values for M are (multiply by) 2 to 31. Valid values for D
For detailed information on clock generation configuration, see the TMS320C55x DSP Peripherals Overview
Reference Guide (literature number SPRU317).
= the divide factor set in the PLL_DIV field of the clock mode register
L
are (divide by) 1, 2, 3, and 4.
L
Table 5−5 and Table 5−6 assume testing over recommended operating conditions and H = 0.5t
The clock frequency synthesis factor and minimum X2/CLKIN cycle time should be chosen such that the resulting CLKOUT cycle time is within
the specified range (t
c(CO)
Cycle time, X2/CLKINDPLL synthesis enabled20
Fall time, X2/CLKIN4ns
Rise time, X2/CLKIN4ns
Pulse duration, CLKIN low6ns
Pulse duration, CLKIN high6ns
). If an external crystal is used, the X2/CLKIN cycle time is limited by the crystal frequency range listed in Table 5−2.
Cycle time, CLKOUT6.94t
Delay time, X2/CLKIN high/low to CLKOUT high/low102030ns
Fall time, CLKOUT1ns
Rise time, CLKOUT1ns
Pulse duration, CLKOUT lowH−2H+2ns
Pulse duration, CLKOUT highH−2H+2ns
c(CI)*
‡
N
1600ns
(see
April 2001 − Revised January 2008SPRS163H
79
Electrical Specifications
C3
C1
X2/CLKIN
C12
C4
CLKOUT
NOTE A: The relationship of X2/CLKIN to CLKOUT depends on the PLL multiply and divide factor chosen for the CLKMD register. The waveform
relationship shown in Figure 5−3 is intended to illustrate the timing parameters based on CLKOUT = 1xCLKIN configuration.
Bypass Mode
C10
C9
C3
C11
C8
C2
C6
C7
Figure 5−4. External Multiply-by-N Clock Timings
5.6.5 Real-Time Clock Oscillator With External Crystal
The real-time clock module includes an oscillator circuit. The oscillator requires an external 32.768-kHz crystal
connected across the RTCINX1 and RTCINX2 pins. The connection of the required circuit, consisting of the
crystal and two load capacitors, is shown in Figure 5−5. The load capacitors, C
such that the equation below is satisfied. C
in the equation is the load specified for the crystal.
L
C
C
+
L
1C2
(C1) C2)
and C2, should be chosen
1
80
RTCINX1RTCINX2
Crystal
32.768 kHz
C1C2
Figure 5−5. Real-Time Clock Oscillator With External Crystal
NOTE: The RTC can be idled by not supplying its 32-kHz oscillator signal. In order to keep
RTC power dissipation to a minimum when the RTC module is not used, it is recommended
that the RTC module be powered up, the RTC input pin (RTCINX1) be pulled low , and the R TC
output pin (RTCINX2) be left floating.
April 2001 − Revised January 2008SPRS163H
Electrical Specifications
5.7Memory Interface Timings
5.7.1 Asynchronous Memory Timings
Table 5−7 and Table 5−8 assume testing over recommended operating conditions (see Figure 5−6 and
Figure 5−7).
To ensure data setup time, simply program the strobe width wide enough. ARDY is internally synchronized. If ARDY does meet setup or hold
time, it may be recognized in the current cycle or the next cycle. Thus, ARDY can be an asynchronous input.
h(COH-ARDY)
Setup time, read data valid before CLKOUT high
Hold time, read data valid after CLKOUT high0ns
Setup time, ARDY valid before CLKOUT high
Hold time, ARDY valid after CLKOUT high0ns
Delay time, CLKOUT high to CEx valid08ns
Delay time, CLKOUT high to CEx invalid08ns
Delay time, CLKOUT high to BEx valid8ns
Delay time, CLKOUT high to BEx invalid0ns
Delay time, CLKOUT high to address valid8ns
Delay time, CLKOUT high to address invalid0ns
Delay time, CLKOUT high to AOE valid06ns
Delay time, CLKOUT high to AOE invalid06ns
Delay time, CLKOUT high to ARE valid06ns
Delay time, CLKOUT high to ARE invalid06ns
Delay time, CLKOUT high to data valid6ns
Delay time, CLKOUT high to data invalid0ns
Delay time, CLKOUT high to AWE valid06ns
Delay time, CLKOUT high to AWE invalid06ns
†
†
10ns
10ns
April 2001 − Revised January 2008SPRS163H
81
Electrical Specifications
CLKOUT
CEx
BEx
A[20:0]
D[15:0]
AOE
ARE
AWE
ARDY
Hold
Setup = 2Strobe = 5Not Ready = 2
†
M5
‡
M7
M9M10
§
M1
M11
M13
M4
M3
M4
M3
= 1
M6
M8
Extended
Hold = 2
M2
M12
M14
†
CLKOUT is equal to CPU clock
‡
CEx
becomes active depending on the memory address space being accessed
§
A[13:0] for LQFP
Figure 5−6. Asynchronous Memory Read Timings
82
April 2001 − Revised January 2008SPRS163H
Electrical Specifications
Extended
C
LKOUT
CEx
BEx
A[20:0]
D[15:0]
AOE
ARE
AWE
ARDY
Setup = 2Strobe = 5Not Ready = 2Hold = 1
†
M5
‡
M7
M9
§
M15
M17
M3
M4
M4
M3
M18
M6
M8
M10
M16
Hold = 2
†
CLKOUT is equal to CPU clock
‡
CEx
becomes active depending on the memory address space being accessed
§
A[13:0] for LQFP
Figure 5−7. Asynchronous Memory Write Timings
April 2001 − Revised January 2008SPRS163H
83
Electrical Specifications
NO.
PARAMETER
UNIT
NO.
PARAMETER
UNIT
5.7.2 Synchronous DRAM (SDRAM) Timings
Table 5−9, Table 5−10, Table 5−11, and Table 5−12 assume testing over recommended operating conditions
(see Figure 5−8 through Figure 5−13).
Table 5−9. Synchronous DRAM Cycle Timing Requirements
[SDRAM Clock = 1X, (1/4)X, and (1/8)X of CPU Clock]
NO.MINMAX UNIT
M19t
su(DV-CLKMEMH)
M20t
h(CLKMEMH-DV)
M21t
c(CLKMEM)
†
The EMIFX2 bit of the External Bus Selection Register (EBSR) is cleared. See Section 3.5.1, External Bus Selection Register, for more details.
‡
Maximum SDRAM operating frequency supported is 72 MHz.
Setup time, read data valid before CLKMEM high9ns
Hold time, read data valid after CLKMEM high0ns
Cycle time, CLKMEM13.88
†
‡
Table 5−10. Synchronous DRAM Cycle Switching Characteristics
[SDRAM Clock = 1X, (1/4)X, and (1/8)X of CPU Clock]
1X
CPU CLOCK
MINMAXMINMAXMINMAX
M22t
d(CLKMEMH-CEL)
M23t
d(CLKMEMH-CEH)
M24t
d(CLKMEMH-BEV)
M25t
d(CLKMEMH-BEIV)
M26t
d(CLKMEMH-AV)
M27t
d(CLKMEMH-AIV)
M28t
d(CLKMEMH-SDCASL)
M29t
d(CLKMEMH-SDCASH)
M30t
d(CLKMEMH-DV)
M31t
d(CLKMEMH-DIV)
M32t
d(CLKMEMH-SDWEL)
M33t
d(CLKMEMH-SDWEH)
M34t
d(CLKMEMH-SDA10V)
M35t
d(CLKMEMH-SDA10IV)
M36t
d(CLKMEMH-SDRASL)
M37t
d(CLKMEMH-SDRASH)
†
The EMIFX2 bit of the External Bus Selection Register (EBSR) is cleared. See Section 3.5.1, External Bus Selection Register, for more details.
Delay time, CLKMEM high to CEx low0621263540ns
Delay time, CLKMEM high to CEx high0621263540ns
Delay time, CLKMEM high to BEx valid0621263540ns
Delay time, CLKMEM high to BEx invalid0621263540ns
Delay time, CLKMEM high to address
valid
Delay time, CLKMEM high to address
invalid
Delay time, CLKMEM high to SDCAS low0621263540ns
Delay time, CLKMEM high to SDCAS
high
Delay time, CLKMEM high to data valid0621263540ns
Delay time, CLKMEM high to data invalid0621263540ns
Delay time, CLKMEM high to SDWE low0621263540ns
Delay time, CLKMEM high to SDWE high0621263540ns
Delay time, CLKMEM high to SDA10
valid
Delay time, CLKMEM high to SDA10
invalid
Delay time, CLKMEM high to SDRAS low0621263540ns
Delay time, CLKMEM high to SDRAS
high
1621263540ns
1621263540ns
0621263540ns
0621263540ns
0621263540ns
0621263540ns
†
(1/4)X
CPU CLOCK
(1/8)X
CPU CLOCK
ns
84
April 2001 − Revised January 2008SPRS163H
Electrical Specifications
Table 5−11. Synchronous DRAM Cycle Timing Requirements [SDRAM Clock = (1/2)X of CPU Clock]
NO.MINMAX UNIT
M19t
su(DV-CLKMEMH)
M20t
h(CLKMEMH-DV)
M21t
c(CLKMEM)
†
The EMIFX2 bit of the External Bus Selection Register (EBSR) is set. See Section 3.5.1, External Bus Selection Register, for more details.
‡
Maximum SDRAM operating frequency supported is 72 MHz.
Setup time, read data valid before CLKMEM high7ns
Hold time, read data valid after CLKMEM high0ns
Cycle time, CLKMEM13.88
‡
Table 5−12. Synchronous DRAM Cycle Switching Characteristics [SDRAM Clock = (1/2)X of CPU Clock]
NO.PARAMETERMINMAX UNIT
M22t
d(CLKMEMH-CEL)
M23t
d(CLKMEMH-CEH)
M24t
d(CLKMEMH-BEV)
M25t
d(CLKMEMH-BEIV)
M26t
d(CLKMEMH-AV)
M27t
d(CLKMEMH-AIV)
M28t
d(CLKMEMH-SDCASL)
M29t
d(CLKMEMH-SDCASH)
M30t
d(CLKMEMH-DV)
M31t
d(CLKMEMH-DIV)
M32t
d(CLKMEMH-SDWEL)
M33t
d(CLKMEMH-SDWEH)
M34t
d(CLKMEMH-SDA10V)
M35t
d(CLKMEMH-SDA10IV)
M36t
d(CLKMEMH-SDRASL)
M37t
d(CLKMEMH-SDRASH)
†
The EMIFX2 bit of the External Bus Selection Register (EBSR) is set. See Section 3.5.1, External Bus Selection Register, for more details.
Delay time, CLKMEM high to CEx low210ns
Delay time, CLKMEM high to CEx high210ns
Delay time, CLKMEM high to BEx valid210ns
Delay time, CLKMEM high to BEx invalid210ns
Delay time, CLKMEM high to address valid210ns
Delay time, CLKMEM high to address invalid210ns
Delay time, CLKMEM high to SDCAS low210ns
Delay time, CLKMEM high to SDCAS high210ns
Delay time, CLKMEM high to data valid210ns
Delay time, CLKMEM high to data invalid210ns
Delay time, CLKMEM high to SDWE low210ns
Delay time, CLKMEM high to SDWE high210ns
Delay time, CLKMEM high to SDA10 valid210ns
Delay time, CLKMEM high to SDA10 invalid210ns
Delay time, CLKMEM high to SDRAS low210ns
Delay time, CLKMEM high to SDRAS high210ns
†
ns
†
April 2001 − Revised January 2008SPRS163H
85
Electrical Specifications
CLKMEM
READREADREAD
M21
M22
M27
†
CEx
M24
‡
BEx
M26
EMIF.A[13:0]
D[15:0]
SDA10
SDRAS
SDCAS
SDWE
†
The chip enable that becomes active depends on the address being accessed.
‡
All BE[1:0]
active until the next access that is not an SDRAM read occurs.
signals are driven low (active) during reads. Byte manipulation of the read data is performed inside the EMIF. These signals remain
CA1CA2CA3
M34
M28
M23
M19
M20
D1D2D3
M35
M29
86
Figure 5−8. Three SDRAM Read Commands
April 2001 − Revised January 2008SPRS163H
CLKMEM
Electrical Specifications
WRITEWRITEWRITE
CEx
BEx
EMIF.A[13:0]
D[15:0]
SDA10
SDRAS
SDCAS
M22
†
M25
M24
‡
BE1BE2BE3
M27
M26
CA1CA2CA3
M31
M30
D1D2D3
M34
M28
M23
M35
M29
M32
SDWE
†
The chip enable that becomes active depends on the address being accessed.
‡
All BE[1:0]
active until the next access that is not an SDRAM read occurs.
signals are driven low (active) during reads. Byte manipulation of the read data is performed inside the EMIF. These signals remain
Figure 5−9. Three SDRAM WRT Commands
M33
April 2001 − Revised January 2008SPRS163H
87
Electrical Specifications
CLKMEM
ACTV
M22
†
CEx
‡
BEx
M26
EMIF.A[13:0]
D[15:0]
M34
SDA10
M36
SDRAS
SDCAS
SDWE
†
The chip enable that becomes active depends on the address being accessed.
‡
All BE[1:0] signals are driven low (active) during reads. Byte manipulation of the read data is performed inside the EMIF. These signals remain
active until the next access that is not an SDRAM read occurs.
Bank Activate/Row Address
M23
M37
88
Figure 5−10. SDRAM ACTV Command
April 2001 − Revised January 2008SPRS163H
CLKMEM
Electrical Specifications
DCAB
CEx
BEx
EMIF.A[13:0]
D[15:0]
SDA10
SDRAS
M22
†
‡
M34
M36
M23
M35
M37
SDCAS
M32
SDWE
†
The chip enable that becomes active depends on the address being accessed.
‡
All BE[1:0]
active until the next access that is not an SDRAM read occurs.
signals are driven low (active) during reads. Byte manipulation of the read data is performed inside the EMIF. These signals remain
Figure 5−11. SDRAM DCAB Command
M33
April 2001 − Revised January 2008SPRS163H
89
Electrical Specifications
CLKMEM
REFR
CEx
BEx
EMIF.A[13:0]
D[15:0]
SDA10
SDRAS
M22
†
‡
M36
M28
M23
M37
M29
SDCAS
SDWE
†
The chip enable that becomes active depends on the address being accessed.
‡
All BE[1:0]
remain active until the next access that is not an SDRAM read occurs.
signals are driven low (active) during reads. Byte manipulation of the read data is performed inside the EMIF. These signals
Figure 5−12. SDRAM REFR Command
90
April 2001 − Revised January 2008SPRS163H
CLKMEM
Electrical Specifications
MRS
CEx
BEx
EMIF.A[13:0]
D[15:0]
SDA10
SDRAS
M22
†
‡
M26
MRS Value 0x30
M36
M28
M23
M27
§
M37
M29
SDCAS
M32
SDWE
†
The chip enable that becomes active depends on the address being accessed.
‡
All BE[1:0]
active until the next access that is not an SDRAM read occurs.
Oscillator stable time depends on the crystal characteristic (i.e., frequency, ESR, etc.) which varies from one crystal manufacturer to another.
Based on the crystal characteristics, the oscillator stable time can be in the range of a few to 10s of ms. A reset circuit with 100 ms or more delay
time will ensure the oscillator stabilized before the RESET
P = 1/(input clock frequency) in ns. For example, when input clock is 12 MHz, P = 83.33 ns.
Table 5−16 and Table 5−17 assume testing over recommended operating conditions (see Figure 5−16).
Table 5−16. Reset Timing Requirements
NO.MINMAX UNIT
R4t
w(RSL)
†
P = 1/CPU clock frequency in ns. For example, when running parts at 144 MHz, use P = 6.94 ns.
Pulse width, reset low3P
†
ns
Table 5−17. Reset Switching Characteristics
NO.PARAMETERMINMAXUNIT
R5t
d(RSTH-BKV)
R6t
d(RSTH-HIGHV)
R7t
d(RSTL-ZIV)
R8t
d(RSTH-ZV)
†
P = 1/CPU clock frequency in ns. For example, when running parts at 144 MHz, use P = 6.94 ns.
‡
BK group: Pins with bus keepers, holds previous state during reset. Following low-to-high transition of RESET
logic state.
BK group pins: A’[0], A[15:0], D[15:0], C[14:2], C0, GPIO5, S13, and S23
§
High group: Following low-to-high transition of RESET
High group pins: C1[HPI.HINT], XF
¶
Z group: Bidirectional pins which become input or output pins. Following low-to-high transition of RESET
Z group pins: C1[EMIF.AOE], GPIO[7:6, 4:0], TIN/TOUT0, SDA, SCL, CLKR0, FSRX0, CLKX0, DX0, FSX0, S[25:24, 22:20, 15:14, 12:10],
A[20:16]
RESET
BK Group
igh Group
Z Group
†
‡
§
Delay time, reset high to BK group valid
Delay time, reset high to High group valid
Delay time, reset low to Z group invalid
Delay time, reset high to Z group valid
, these pins go to logic-high state.
R7
‡
§
¶
¶
†
38P + 6ns
38P + 6ns
20ns
38P + 6ns
, these pins go to their post-reset
, these pins go to high-impedance state.
R5
R6
R8
†
BK group pins: A’[0], A[15:0], D[15:0], C[14:2], C0, GPIO5, S13, and S23
‡
High group pins: C1[HPI.HINT], XF
§
Z group pins: C1[EMIF.AOE], GPIO[7:6, 4:0], TIN/TOUT0, SDA, SCL, CLKR0, FSRX0, CLKX0, DX0, FSX0, S[25:24, 22:20, 15:14, 12:10]
A[20:16]
April 2001 − Revised January 2008SPRS163H
Figure 5−16. Reset Timings
93
Electrical Specifications
5.9External Interrupt Timings
Table 5−18 assumes testing over recommended operating conditions (see Figure 5−17).
P = 1/CPU clock frequency in ns. For example, when running parts at 144 MHz, use P = 6.94 ns.
INTn
Pulse width, interrupt low, CPU active3Pns
Pulse width, interrupt high, CPU active2Pns
I1
I2
†
Figure 5−17. External Interrupt Timings
5.10 Wake-Up From IDLE
Table 5−19 assumes testing over recommended operating conditions (see Figure 5−18).
Table 5−19. Wake-Up From IDLE Switching Characteristics
NO.PARAMETERMINTYPMAX UNIT
ID1t
d(WKPEVTL-CLKGEN)
ID2t
h(CLKGEN-WKPEVTL)
ID3t
w(WKPEVTL)
†
P = 1/CPU clock frequency in ns. For example, when running parts at 144 MHz, use P = 6.94 ns.
‡
Based on 12-MHz crystal used with on-chip oscillator at 25°C. This number will vary based on the actual crystal characteristics operating condition
and the PC board layout and the parasitics.
§
Following the clock generation domain idle, the INTx
the CPU wake-up. Holding the INTx
sent to the CPU depends on the INTx
Delay time, wake-up event low to clock generation enable
(CPU and clock domain idle)
Hold time, clock generation enable to wake-up event low
(CPU and clock domain in idle)
Pulse width, wake-up event low (for CPU idle only)3Pns
becomes level-sensitive and stays that way until the low-to-high transition of INTx following
low longer than minimum requirement will send more than one interrupt to the CPU. The number of interrupts
-low time following the CPU wake-up from IDLE.
†
‡
3P
1.25
§
ms
ns
X1
RESET
,
INTx
Figure 5−18. Wake-Up From IDLE Timings
94
ID1
ID2
ID3
April 2001 − Revised January 2008SPRS163H
Electrical Specifications
5.11 XF Timings
Table 5−20 assumes testing over recommended operating conditions (see Figure 5−19).
Table 5−20. XF Switching Characteristics
NO.PARAMETERMINMAX UNIT
X1t
d(XF)
Delay time, CLKOUT high to XF high03
Delay time, CLKOUT high to XF low03
ns
CLKOUT
†
CLKOUT reflects the CPU clock.
†
XF
X1
Figure 5−19. XF Timings
April 2001 − Revised January 2008SPRS163H
95
Electrical Specifications
su(GPIO-COH)
G1
t
su(GPIO-COH)
Setup time, IOx input valid before CLKOUT high
ns
h(COH-GPIO)
d(COH-GPIO)
5.12 General-Purpose Input/Output (GPIOx) Timings
Table 5−21 and Table 5−22 assume testing over recommended operating conditions (see Figure 5−20).
Table 5−21. GPIO Pins Configured as Inputs Timing Requirements
NO.MINMAX UNIT
GPIO6
†
G1t
G2t
h(COH-GPIO)
†
AGPIO pins: A[15:0]
‡
EHPIGPIO pins: C13, C10, C7, C5, C4, and C0
Setup time, IOx input valid before CLKOUT high
Hold time, IOx input valid after CLKOUT high
AGPIO
EHPIGPIO
GPIO0
AGPIO
EHPIGPIO
‡
†
‡
Table 5−22. GPIO Pins Configured as Outputs Switching Characteristics
NO.PARAMETERMINMAX UNIT
GPIO05
G3t
d(COH-GPIO)
†
AGPIO pins: A[15:0]
‡
EHPIGPIO pins: C13, C10, C7, C5, C4, and C0
Delay time, CLKOUT high to IOx output change
†
AGPIO
EHPIGPIO
‡
8
8
0
0
19
19
ns
ns
ns
CLKOUT
Input Mode
Output Mode
†
CLKOUT reflects the CPU clock.
†
IOx
IOx
Figure 5−20. General-Purpose Input/Output (IOx) Signal Timings
G1
G2
G3
96
April 2001 − Revised January 2008SPRS163H
5.13 TIN/TOUT Timings (Timer0 Only)
Table 5−23 and Table 5−24 assume testing over recommended operating conditions (see Figure 5−21 and
Figure 5−22).
Electrical Specifications
Table 5−23. TIN/TOUT Pins Configured as Inputs Timing Requirements
NO.MINMAXUNIT
T4t
w(TIN/TOUTL)
T5t
w(TIN/TOUTH)
†
P = 1/CPU clock frequency. For example, when running parts at 144 MHz, use P = 6.94 ns.
‡
Only the Timer0 signal is externally available. The Timer1 signal is internally terminated and is not available for external use.
Table 5−24. TIN/TOUT Pins Configured as Outputs Switching Characteristics
NO.PARAMETERMINMAXUNIT
T1t
d(COH-TIN/TOUTH)
T2t
d(COH-TIN/TOUTL)
T3t
w(TIN/TOUT)
†
P = 1/CPU clock frequency. For example, when running parts at 144 MHz, use P = 6.94 ns.
‡
Only the Timer0 signal is externally available. The Timer1 signal is internally terminated and is not available for external use.
§
For proper operation of the TIN/TOUT pin configured as an output, the timer period must be configured for at least 4 cycles.
TIN/TOUT
as Input
Delay time, CLKOUT high to TIN/TOUT high03ns
Delay time, CLKOUT high to TIN/TOUT low03ns
Pulse duration, TIN/TOUT (output)P − 1ns
T5
T4
†‡
†‡§
CLKOUT
TIN/TOUT
as Output
Figure 5−21. TIN/TOUT Timings When Configured as Inputs
T1
T2
T3
Figure 5−22. TIN/TOUT Timings When Configured as Outputs
April 2001 − Revised January 2008SPRS163H
97
Electrical Specifications
5.14 Multichannel Buffered Serial Port (McBSP) Timings
5.14.1McBSP Transmit and Receive Timings
Table 5−25 and Table 5−26 assume testing over recommended operating conditions (see Figure 5−23 and
Figure 5−24).
Table 5−25. McBSP T
NO.MINMAX UNIT
MC1 t
c(CKRX)
MC2 t
w(CKRX)
MC3 t
r(CKRX)
MC4 t
f(CKRX)
MC5 t
su(FRH-CKRL)
MC6 t
h(CKRL-FRH)
MC7 t
su(DRV-CKRL)
MC8 t
h(CKRL-DRV)
MC9 t
su(FXH-CKXL)
MC10 t
†
‡
h(CKXL-FXH)
Polarity bits CLKRP = CLKXP = FSRP = FSXP = 0. If the polarity of any of the signals is inverted, then the timing references of
also inverted.
P = 1/CPU clock frequency. For example, when running parts at 144 MHz, use P = 6.94 ns. In addition to CPU frequency, the maximum operating
frequency of the serial port also depends on meeting the rest of the switching characteristics and timing requirements parameters specified.
Cycle time, CLKR/XCLKR/X ext2P
Pulse duration, CLKR/X high or CLKR/X lowCLKR/X extP–1
Rise time, CLKR/XCLKR/X ext6ns
Fall time, CLKR/XCLKR/X ext6ns
Disable time, DX high-impedance from CLKX high
Delay time, CLKX high to DX valid.
Delay time, CLKX high to DX valid.
MC16
t
DXENA = 0
ns
when in Data Delay 1 or 2
DXENA = 1
¶
high
¶
DXENA = 0
MC17
t
ns
when in Data Delay 1 or 2
DXENA = 1
DXENA = 0
MC18
t
ns
when in Data Delay 0 (XDATDLY=00b)
DXENA = 1
DXENA = 0
MC19
t
ns
when in Data Delay 0 (XDATDLY=00b)
DXENA = 1
Table 5−26. McBSP Transmit and Receive Switching Characteristics
NO.PARAMETERMINMAX UNIT
MC1 t
MC11 t
MC12 t
MC13 t
MC14 t
MC15 t
†
Polarity bits CLKRP = CLKXP = FSRP = FSXP = 0. If the polarity of any of the signals is inverted, then the timing references of
also inverted.
‡
P = 1/CPU clock frequency. For example, when running parts at 144 MHz, use P = 6.94 ns. In addition to CPU frequency, the maximum operating
frequency of the serial port also depends on meeting the rest of the switching characteristics and timing requirements parameters specified.
§
T = CLKRX period = (1 + CLKGDV) * P
C = CLKRX low pulse width = T/2 when CLKGDV is odd or zero and = (CLKGDV/2) * P when CLKGDV is even
D = CLKRX high pulse width = T/2 when CLKGDV is odd or zero and = (CLKGDV/2 + 1) * P when CLKGDV is even
¶
See the TMS320C55x DSP Peripherals Overview Reference Guide (literature number SPRU317) for a description of the DX enable (DXENA)
and data delay features of the McBSP.