- •Revision History
- •1.1 Features
- •2 Introduction
- •2.1 Description
- •2.2 Pin Assignments
- •2.2.1 Ball Grid Array (GZZ and ZZZ)
- •2.2.3 Signal Descriptions
- •3 Functional Overview
- •3.1 Memory
- •3.1.3 Instruction Cache
- •3.1.4 Memory Map
- •3.1.5 Boot Configuration
- •3.2 Peripherals
- •3.3 Configurable External Ports and Signals
- •3.3.1 Parallel Port Mux
- •3.3.2 Host Port Mux
- •3.3.3 Serial Port 2 Mux
- •3.3.4 External Bus Selection Register (XBSR)
- •3.4 Configuration Examples
- •3.5 Timers
- •3.5.1 Timer Interrupts
- •3.5.2 Timer Pins
- •3.5.3 Timer Signal Selection Register (TSSR)
- •3.6 Universal Asynchronous Receiver/Transmitter (UART)
- •3.9 Direct Memory Access (DMA) Controller
- •3.9.1 DMA Channel 0 Control Register (DMA_CCR0)
- •3.10 System Clock Generator
- •3.10.1 Input Clock Source
- •3.10.2 Clock Groups
- •3.10.3 EMIF Input Clock Selection
- •3.10.4 Changing the Clock Group Frequencies
- •3.10.5 PLL Control Registers
- •3.10.6 Reset Sequence
- •3.11 Idle Control
- •3.11.1 Clock Domains
- •3.11.2 IDLE Procedures
- •3.11.3 Module Behavior at Entering IDLE State
- •3.11.4 Wake-Up Procedure
- •3.11.5 Auto-Wakeup/Idle Function for McBSP and DMA
- •3.11.6 Clock State of Multiplexed Modules
- •3.11.7 IDLE Control and Status Registers
- •3.12 General-Purpose I/O (GPIO)
- •3.13 External Bus Control Register
- •3.13.1 External Bus Control Register (XBCR)
- •3.14 Internal Ports and System Registers
- •3.14.1 XPORT Interface
- •3.14.2 DPORT Interface
- •3.14.3 IPORT Interface
- •3.14.4 System Configuration Register (CONFIG)
- •3.15 CPU Memory-Mapped Registers
- •3.16 Peripheral Registers
- •3.17 Interrupts
- •3.17.1 IFR and IER Registers
- •3.17.2 Interrupt Timing
- •3.17.3 Interrupt Acknowledge
- •3.18 Notice Concerning TCK
- •4 Support
- •4.1 Notices Concerning JTAG (IEEE 1149.1) Boundary Scan Test Capability
- •4.1.1 Initialization Requirements for Boundary Scan Test
- •4.1.2 Boundary Scan Description Language (BSDL) Model
- •4.2 Documentation Support
- •5 Specifications
- •5.1 Electrical Specifications
- •5.3 Recommended Operating Conditions
- •5.5 Timing Parameter Symbology
- •5.6 Clock Options
- •5.6.1 Internal System Oscillator With External Crystal
- •5.6.2 Layout Considerations
- •5.6.3 Clock Generation in Bypass Mode (APLL Disabled)
- •5.6.4 Clock Generation in Lock Mode (APLL Synthesis Enabled)
- •5.6.5 EMIF Clock Options
- •5.7 Memory Timings
- •5.7.1 Asynchronous Memory Timings
- •5.7.2 Programmable Synchronous Interface Timings
- •5.7.3 Synchronous DRAM Timings
- •5.8 HOLD/HOLDA Timings
- •5.9 Reset Timings
- •5.10 External Interrupt and Interrupt Acknowledge (IACK) Timings
- •5.11 XF Timings
- •5.12 General-Purpose Input/Output (GPIOx) Timings
- •5.13 Parallel General-Purpose Input/Output (PGPIOx) Timings
- •5.14 TIM0/TIM1/WDTOUT Timings
- •5.14.1 TIM0/TIM1/WDTOUT Timer Pin Timings
- •5.14.3 TIM0/TIM1/WDTOUT Interrupt Timings
- •5.15 Multichannel Buffered Serial Port (McBSP) Timings
- •5.15.1 McBSP Transmit and Receive Timings
- •5.15.3 McBSP as SPI Master or Slave Timings
- •5.16 Host-Port Interface Timings
- •5.16.1 HPI Read and Write Timings
- •5.16.3 HPI.HAS Interrupt Timings
- •5.17 Inter-Integrated Circuit (I2C) Timings
- •5.18 Universal Asynchronous Receiver/Transmitter (UART) Timings
- •6 Mechanical Data
- •6.1 Package Thermal Resistance Characteristics
- •6.2 Packaging Information
TMS320VC5502
Fixed-Point Digital Signal Processor
www.ti.com
SPRS166J –APRIL 2001 –REVISED AUGUST 2006
For detailed information on the C55x DSP peripherals, see the following documents:
∙TMS320VC5501/5502 DSP Instruction Cache Reference Guide (literature number SPRU630)
∙TMS320VC5501/5502 DSP Timers Reference Guide (literature number SPRU618)
∙TMS320VC5501/5502/5503/5507/5509 DSP Inter-Integrated Circuit (I2C) Module Reference Guide
(literature number SPRU146)
∙TMS320VC5501/5502 DSP Host Port Interface (HPI) Reference Guide (literature number SPRU620)
∙TMS320VC5501/5502 DSP Direct Memory Access (DMA) Controller Reference Guide (literature number SPRU613)
∙TMS320VC5501/5502/5503/5507/5509/5510 DSP Multichannel Buffered Serial Port (McBSP) Reference Guide (literature number SPRU592)
∙TMS320VC5501/5502 DSP External Memory Interface (EMIF) Reference Guide (literature number SPRU621)
∙TMS320VC5501/5502 DSP Universal Asynchronous Receiver/Transmitter (UART) Reference Guide
(literature number SPRU597)
3.3Configurable External Ports and Signals
A number of pins on the 5502 have two functions, a feature that allows system designers to choose an appropriate media interface for his/her application without the need for a large pin-count package. Three muxes are included in the 5502 to control the configuration of these dual-function pins: the Parallel Port Mux, the Host Port Mux, and the Serial Port 2 Mux. The state of these muxes is set at reset based on the state of the GPIO6 and GPIO7 pins. The External Bus Selection Register (XBSR) reflects the configuration of these muxes after the 5502 comes out of reset.
3.3.1Parallel Port Mux
The Parallel Port Mux of the 5502 controls the function of 20 address signals (pins A[21:2]), 32 data signals (pins D[31:0]), and 16 control signals (pins C0 through C15). The Parallel Port Mux supports two different modes:
∙Full EMIF mode: The EMIF is enabled and its 20 address, 32 data, and 16 control signals are routed to their corresponding pins on the Parallel Port Mux.
∙Non-multiplexed HPI mode: The HPI is enabled with its 16 address, 16 data, and 9 control signals routed to their corresponding pins on the Parallel Port Mux. Moreover, 16 control signals, 4 address signals, and 16 data signals of the Parallel Port Mux that are not needed for HPI operation are set to general-purpose I/O (PGPIO).
The mode of the Parallel Port Mux is determined by the state of the GPIO6 pin at reset. If GPIO6 is low, the EMIF will be disabled and the HPI will be enabled in non-multiplexed mode: pins A[17:2] are set to HPI.HA[15:0] and pins D[15:0] are set to HPI.HD[15:0]. All address, data, and control signals in the Parallel Port Mux not needed by the HPI are set to parallel general-purpose I/O. The Parallel/Host Port Mux Mode bit field in the External Bus Selection Register (XBSR) will also be set to 0 to reflect the non-multiplexed HPI mode of the Parallel Port Mux.
If GPIO6 is high at reset, the HPI will be enabled in multiplexed mode and the EMIF will be fully enabled: pins A[21:2] are set to EMIF.A[21:2], pins D[31:0] are set to EMIF[31:0], and pins C[15:0] are set to their corresponding EMIF operation. The Parallel/Host Port Mux Mode bit field in the XBSR will be set to 1 to reflect the full EMIF mode of the Parallel Port Mux. Note that in multiplexed mode, the HPI will use the HD[7:0] pins to strobe in address and data information (see Section 3.8, Host-Port Interface (HPI), for more information on the operation of the HPI in multiplexed and non-multiplexed modes).
Table 3-4 lists the individual routing of the EMIF, PGPIO, and HPI signals to the external parallel address, data, and control buses.
36 |
Functional Overview |
Submit Documentation Feedback |
|
|
TMS320VC5502 |
|
www.ti.com |
|
Fixed-Point Digital Signal Processor |
|
|
SPRS166J –APRIL 2001 –REVISED AUGUST 2006 |
||
|
|
||
|
Table 3-4. TMS320VC5502 Routing of Parallel Port Mux Signals |
||
PIN |
PARALLEL/HOST PORT MUX MODE = 0 |
PARALLEL/HOST PORT MUX MODE = 1 |
|
(HPI NON-MULTIPLEX) |
(FULL EMIF) |
||
|
|||
|
Address Bus |
|
|
A[17:2] |
HPI.HA[15:0] |
EMIF.A[17:2] |
|
A[21:18] |
PGPIO[3:0] |
EMIF.A[21:18] |
|
|
Data Bus |
|
|
D[15:0] |
HPI.HD[15:0] |
EMIF.D[15:0] |
|
D[31:16] |
PGPIO[19:4] |
EMIF.D[31:16] |
|
|
Control Bus |
|
|
C0 |
PGPIO20 |
EMIF.ARE/SADS/SDCAS/SRE |
|
C1 |
PGPIO21 |
EMIF.AOE/SOE/SDRAS |
|
C2 |
PGPIO22 |
EMIF.AWE/SWE/SDWE |
|
C3 |
PGPIO23 |
EMIF.ARDY |
|
C4 |
PGPIO24 |
EMIF.CE0 |
|
C5 |
PGPIO25 |
EMIF.CE1 |
|
C6 |
PGPIO26 |
EMIF.CE2 |
|
C7 |
PGPIO27 |
EMIF.CE3 |
|
C8 |
PGPIO28 |
EMIF.BE0 |
|
C9 |
PGPIO29 |
EMIF.BE1 |
|
C10 |
PGPIO30 |
EMIF.BE2 |
|
C11 |
PGPIO31 |
EMIF.BE3 |
|
C12 |
PGPIO32 |
EMIF.SDCKE |
|
C13 |
PGPIO33 |
EMIF.SOE3 |
|
C14 |
PGPIO34 |
EMIF.HOLD |
|
C15 |
PGPIO35 |
EMIF.HOLDA |
|
3.3.2Host Port Mux
The 5502 Host Port Mux controls the function of 8 data signals (pins HD[7:0]) and 2 control signals (pins HC0 and HC1). The Host Port Mux supports two different modes:
∙8-bit multiplexed mode: The HPI's8 data and 2 control signals are routed to their corresponding pins on the Host Port Mux.
∙Parallel general-purpose I/O mode: All pins on the Host Port Mux are routed to PGPIO. The HPI is enabled to 16-bit (non-multiplexed) mode, but communicates through the Parallel Port Mux.
The mode of the Host Port Mux is determined by the state of the GPIO6 pin at reset. If GPIO6 is low, the pins of the Host Port Mux will be set to PGPIO. The HPI will still be enabled, but it will communicate through the Parallel Port Mux. The Parallel/Host Port Mux Mode bit of the External Bus Control Register will be set to 0 to reflect the PGPIO mode of the Host Port Mux.
If GPIO6 is high, the HPI will be enabled in 8-bit (multiplexed) mode: pins HD[7:0] are set to HPI.HD[7:0], and HC0 and HC1 are set to HPI.HAS and HPI.HBIL, respectively. The Parallel/Host Port Mux Mode bit field in the XBSR will be set to 1 to reflect the HPI multiplexed mode of the Host Port Mux. See Section 3.8, Host-Port Interface (HPI), for more information on the operation of the HPI in multiplexed and non-multiplexed modes.
Table 3-5 lists the individual routing of the HPI and PGPIO signals to the Host Port Mux pins.
Submit Documentation Feedback |
Functional Overview |
37 |
TMS320VC5502
Fixed-Point Digital Signal Processor
www.ti.com
SPRS166J –APRIL 2001 –REVISED AUGUST 2006
Table 3-5. TMS320VC5502 Routing of Host Port Mux Signals
PIN |
PARALLEL/HOST PORT MUX MODE = 0 |
PARALLEL/HOST PORT MUX MODE = 1 |
|
(PGPIO) |
(8-BIT HPI MULTIPLEXED) |
||
|
|||
|
Data Bus |
|
|
HD[7:0] |
PGPIO[43:36] |
HPI.HD[7:0] |
|
|
Control Bus |
|
|
HC0 |
PGPIO44 |
HPI.HAS |
|
HC1 |
PGPIO45 |
HPI.HBIL |
3.3.3Serial Port 2 Mux
The 5502 has three serial ports: McBSP0, McBSP1, and McBSP2, each of which has six signals. The signals for McBSP0 and McBSP1 are directly routed to pins on the 5502. Four of the pins for McBSP2 are multiplexed with two pins of the on-chip UART and two pins of the GPIO, the mode of the Serial Port 2 Mux determines which signals are routed to the 5502 pins.
The mode of the Serial Port 2 Mux is determined by the state of the GPIO7 pin at reset. If GPIO7 is low, the UART is enabled and its RX and TX pins are routed to the SP1 and SP3 pins, respectively. The GPIO3 and GPIO5 pins are routed to the SP0 and SP2 pins, respectively. In this mode, McBSP2 will be disabled and any writes or reads to/from its registers will result in a bus error if the PERITOEN bit of the Time-Out Control Register is set to 1.
If GPIO7 is high, McBSP2 will be enabled and its CLKX2, CLKR2, FSX2, and FSR2 signals will be routed to the SP0, SP1, SP2, and SP3 pins, respectively. In this mode, the UART will be disabled and any writes or reads to/from its registers will result in a bus error if the PERITOEN bit of the Time-Out Control Register is set to 1. GPIO3 and GPIO5 will not be available during this mode of the Serial Port 2 Mux.
Table 3-6 lists the individual routing of the McBSP2, UART, and GPIO signals to the Serial Port 2 Mux pins.
Table 3-6. TMS320VC5502 Routing of Serial Port 2 Mux Signals
PIN |
SERIAL PORT 2 MUX MODE = 0 |
SERIAL PORT 2 MUX MODE = 1 |
SP0 |
GPIO3 |
CLKX2 |
SP1 |
UART.TX |
CLKR2 |
SP2 |
GPIO5 |
FSX2 |
SP3 |
UART.RX |
FSR2 |
38 |
Functional Overview |
Submit Documentation Feedback |
TMS320VC5502
Fixed-Point Digital Signal Processor
www.ti.com
SPRS166J –APRIL 2001 –REVISED AUGUST 2006
3.3.4External Bus Selection Register (XBSR)
The External Bus Selection Register controls the mode of the Parallel Port Mux, Host Port Mux, and the Serial Port 2 Mux. The Parallel Port Mux can be configured to support the 32-bit EMIF or to support the HPI in 16-bit (non-multiplexed) mode and parallel general-purpose I/O. The Host Port Mux can be configured to support the HPI in 8-bit (multiplexed) mode or parallel general-purpose I/O (PGPIO). The Serial Port 2 Mux can be configured to support either the McBSP2 or the UART and general-purpose I/O.
The XBSR configures the Parallel Port Mux and the Host Port Mux at reset based on the state of the GPIO6 pin at reset. When GPIO6 is high at reset, the Parallel Port Mux will be configured to support the 32-bit EMIF and the Host Port Mux will be configured to support the HPI in 8-bit (multiplexed) mode. When GPIO6 is low at reset, the Parallel Port Mux will be configured to support the HPI in 16-bit (non-multiplexed) mode and parallel general-purpose I/O (PGPIO) and the Host Port Mux will be configured to support parallel general-purpose I/O. The Paralle/Host Port Mux Mode bit of the XBSR will reflect the mode selected for the Parallel and Host Port Muxes. (1)
The XBSR configures the Serial Port 2 Mux based on the state of the GPIO7 pin at reset. When GPIO7 is high at reset, the Serial Port 2 Mux will be configured to support the McBSP2. When GPIO7 is low at reset, the Serial Port 2 Mux will be configured to support the UART and general-purpose I/O (PGPIO). The Serial Port 2 Mux Mode bit of the XBSR will reflect the mode selected for the Serial Port 2 Mux. (1)
The clock to the McBSP2, UART, and EMIF modules is disabled automatically when these modules are not selected through the External Bus Selection Register. Note that any accesses to disabled modules will result in a bus error if the PERITOEN bit of the Time-Out Control Register is set to 1.
(1)Modifying the XBSR to change the mode of the Parallel Port Mux, Host Port Mux, and Serial Port 2 Mux after the 5502 has been brought out of reset is not supported.
15
|
|
Reserved |
|
|
R, 00000000 |
7 |
4 |
3 |
Reserved |
|
Reserved(1) |
R, 0000 |
|
R/W, 0 |
LEGEND: R = Read, W = Write, n = value at reset
(1)This reserved bit must be kept as zero during any writes to XBSR.
|
|
8 |
|
2 |
1 |
0 |
|
Serial Port 2 |
Reserved |
Parallel /Host |
|
Mux Mode |
Port Mux Mode |
||
|
|||
R/W, GPIO7 |
R, 0 |
R/W, GPIO6 |
Figure 3-3. External Bus Selection Register Layout (0x6C00)
Submit Documentation Feedback |
Functional Overview |
39 |
TMS320VC5502
Fixed-Point Digital Signal Processor
www.ti.com
SPRS166J –APRIL 2001 –REVISED AUGUST 2006
Table 3-7. External Bus Selection Register Bit Field Description
BIT NAME |
BIT NO. |
ACCESS |
RESET VALUE |
DESCRIPTION |
Reserved |
15-4 |
R |
000000000000 |
Reserved |
Reserved |
3 |
R/W |
0 |
Reserved. This reserved bit must be kept as zero during any writes |
|
|
|
|
to XBSR. |
Serial Port 2 Mux |
2 |
R/W |
GPIO7 |
Serial Port 2 Mux Mode bit. Determines the mode of the third serial |
Mode |
|
|
|
port. |
|
|
|
|
∙ Serial Port 2 Mux Mode = 0: |
|
|
|
|
The Serial Port 2 Mux is configured to support the UART and |
|
|
|
|
GPIO. In this mode, the UART is enabled and its two signals |
|
|
|
|
are routed to the corresponding pins on the Serial Port 2 Mux. |
|
|
|
|
GPIO3 and GPIO5 are also routed to their corresponding pins |
|
|
|
|
on the Serial Port 2 Mux. |
|
|
|
|
∙ Serial Port 2 Mux Mode = 1: |
|
|
|
|
The Serial Port 2 Mux is configured to support the McBSP2. In |
|
|
|
|
this mode, the McBSP2 is enabled and its six signals are routed |
|
|
|
|
to their corresponding pins on the Serial Port 2 Mux. |
Reserved |
1 |
R |
0 |
Reserved |
Parallel/Host Port |
0 |
R/W |
GPIO6 |
Parallel/Host Port Mux Mode bit. Determines the mode of the |
Mux Mode |
|
|
|
Parallel Port Mux and the Host Port Mux. |
|
|
|
|
∙ Parallel/Host Port Mux Mode = 0: |
The Parallel Port Mux is configured to support the HPI in 16-bit (non-multiplexed) mode and PGPIO. In this mode, the HPI is enabled and its 16 address, 16 data, and 9 control signals are routed to their corresponding pins on the Parallel Port Mux. The rest of the pins are routed to PGPIO. The EMIF cannot be used in this mode.
The Host Port Mux is configured to support PGPIO. In this mode, the Host Port Mux pins will be routed to PGPIO.
∙ Parallel/Host Port Mux Mode = 1:
The Parallel Port Mux is configured to support the 32-bit EMIF. In this mode, the EMIF is enabled and its 20 address, 32 data, and 16 control signals are routed to their corresponding pins on the Parallel Port Mux.
The Host Port Mux is configured to support the HPI in 8-bit (multiplexed) mode. In this mode, the HPI is enabled and its eight data/address and two control signals are routed to their corresponding pins on the Host Port Mux.
40 |
Functional Overview |
Submit Documentation Feedback |
