Spectrum Digital eZdsp R2812 USB Use and care manual

eZdspTM R2812 USB
2004 DSP Development Systems
Reference
Technical


eZdspTM R2812 USB
Technical Reference
507715-0001 Rev. B
September 2004
SPECTRUM DIGITAL, INC.
12502 Exchange Dr., Suite 440 Stafford, TX. 77477
Tel: 281.494.4505 Fax: 281.494.5310

IMPORTANT NOTICE
Spectrum Digital, Inc. reserves the right to make changes to its products or to discontinue any
product or service without notice. Customers are advised to obtain the latest version of relevant
information to verify data being relied on is current before placing orders.
Spectrum Digital, Inc. warrants performance of its products and related software to current
specifications in accordance with Spectrum Digital’s standard warranty. Testing and other quality
control techniques are utilized to the extent deemed necessary to support this warranty.
Please be aware, products described herein are not intended for use in life-support appliances,
devices, or systems. Spectrum Digital does not warrant, nor is it liable for, the product described
herein to be used in other than a development environment.
Spectrum Digital, Inc. assumes no liability for applications assistance, customer product design,
software performance, or infringement of patents or services described herein. Nor does Spectrum
Digital warrant or represent any license, either express or implied, is granted under any patent right,
copyright, or other intellectual property right of Spectrum Digital, Inc. covering or relating to any
combination, machine, or process in which such Digital Signal Processing development products or
services might be or are used.
WARNING
This equipment is intended for use in a laboratory test environment only. It generates, uses, and can
radiate radio frequency energy and has not been tested for compliance with the limits of computing
devices pursuant to subpart J of part 15 of FCC rules, which are designed to provide reasonable
protection against radio frequency interference. Operation of this equipment in other environments
may cause interference with radio communications, in which case the user, at his own expense, will
be required to take any measures necessary to correct this interference.
TRADEMARKS
eZdsp is a trademark of Spectrum Digital, Inc.
Copyright © 2004 Spectrum Digital, Inc.

Contents
1 Introduction to the eZdspTM R2812 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Provides a description of the eZdspTM R2812, key features, and board outline.
1.0 Overview of the eZdspTM R2812 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.1 Key Features of the eZdspTM R2812 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.2 Functional Overview of the eZdspTM R2812 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
2 Operation of the eZdspTM R2812 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Describes the operation of the eZdspTM R2812. Information is provided on the DSK’s various
interfaces.
2.0 The eZdspTM R2812 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.1 The eZdspTM R2812 Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.1.1 Power Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.2 eZdspTM R2812 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.2.1 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.2.2 External Memory Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.3 eZdspTM R2812 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.3.1 P1, JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2.3.2 P2, Expansion Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2.3.3 P3, USB Port/JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2.3.4 P4,P8,P7, I/O Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2.3.5 P5,P9, Analog Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.3.6 P6, Power Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
2.3.7 Connector Part Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2.4 eZdspTM R2812 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2.4.1 JP4, JP5, Voltage Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.4.1.1 JP4, +3.3/5 Volts for P8, P4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
2.4.1.2 JP5, +3.3/5 Volts for P2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
2.5 Switch SW501 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
2.5.1 Switch SW501, Position 1, PLL Enable/Disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
2.5.1 Switch SW501, Position 2, XMP/MCn Mode Select . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
2.5.1 Switch SW501, Position 3, 4, Boot Mode Select . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
2.6 LEDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
2.7 Test Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
A eZdspTM R2812 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Contains the schematics for the socketed and unsocketed versions of the eZdspTM R2812
B eZdspTM R2812 Mechanical Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Contains the mechanical information about the socketed and unsocketed versions of the eZdspTM
R2812

List of Figures
Figure 1-1, Block Diagram eZdspTM R2812 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Figure 2-1, eZdspTM R2812 PCB Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Figure 2-2, eZdspTM R2812 Memory Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Figure 2-3, eZdspTM R2812 Connector and Switch Positions . . . . . . . . . . . . . . . . . . . . . . 2-6
Figure 2-4, Connector P1 Pin Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Figure 2-5, Connector P2 Pin Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Figure 2-6, Connector P4/P8/P7 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Figure 2-7, Connector P5/P9 Pin Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Figure 2-8, Connector P6 Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Figure 2-9, eZdspTM R2812 Power Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Figure 2-10, eZdspTM R2812 Voltage Jumper Positions (Bottom Side) . . . . . . . . . . . . . 2-16
Figure 2-11, JP4 Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Figure 2-12, JP5 Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Figure 2-13, SW501 Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
List of Tables
Table 2-1, External Chip Select and Usages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Table 2-2, External Memory Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Table 2-3, eZdspTM R2812 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Table 2-4, P1, JTAG Interface Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Table 2-5, P2, Expansion Interface Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Table 2-6, P4/P8, I/O Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
Table 2-7, P7, I/O Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Table 2-8, P5/P9, Analog Interface Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Table 2-9, Connector Part Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Table 2-10, eZdspTM R2812 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Table 2-11, JP4, +3.3/5 Volts for P8, P2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Table 2-12, JP5, +3.3/ Volts for P4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Table 2-13, Switch SW501 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Table 2-14, SW501, Position 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Table 2-15, SW501, Position 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Table 2-16, SW501, Position 3, 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Table 2-17, LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
Table 2-18, Test Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21

About This Manual
This document describes board level operations of the eZdspTM R2812 based on the
Texas Instruments TMS320R2812 Digital Signal Processor.
The eZdspTM R2812 is a stand-alone module permitting engineers and software
developers evaluation of certain characteristics of the TMS320R2812 DSP to
determine processor applicability to design requirements. Evaluators can create
software to execute onboard or expand the system in a variety of ways.
Notational Conventions
This document uses the following conventions.
The “eZdspTM R2812” will sometimes be referred to as the “eZdsp”.
“eZdsp” will include the socketed or unsocket version
Program listings, program examples, and interactive displays are shown in a special
italic typeface. Here is a sample program listing.
equations
!rd = !strobe&rw;
Information About Cautions
This book may contain cautions.
This is an example of a caution statement.
A caution statement describes a situation that could potentially damage your software,
hardware, or other equipment. The information in a caution is provided for your
protection. Please read each caution carefully.
Related Documents
Texas Instruments TMS320R28x DSP CPU and Instruction Set Reference Guide,
literature #SPRU430
Texas Instruments TMS320R28x Assembly Language Tools Users Guide,
literature #SPRU513
Texas Instruments TMS320R28x Optimizing C/C++ Compiler User’s Guide,
literature #SPRU514
Texas Instruments Code Composer Studio Getting Started Guide,
literature #SPRU509


1-1
Chapter 1
Introduction to the eZdspTM R2812
This chapter provides a description of the eZdspTM for the TMS320R2812
Digital Signal Processor, key features, and block diagram of the circuit
board.
Topic Page
1.0 Overview of the eZdspTM R2812 1-2
1.1 Key Features of the eZdspTM R2812 1-2
1.2 Functional Overview of the eZdspTM R2812 1-3

Spectrum Digital, Inc
1-2 eZdspTM R2812 Technical Reference
1.0 Overview of the eZdspTM R2812
The eZdspTM R2812 is a stand-alone card--allowing evaluators to examine the
TMS320R2812 digital signal processor (DSP) to determine if it meets their application
requirements. Furthermore, the module is an excellent platform to develop and run
software for the TMS320R2812 processor.
The eZdspTM R2812 is shipped with a TMS320R2812 DSP. The eZdspTM R2812
allows full speed verification of R2812 code. Expansion connectors are provided
for any necessary evaluation circuitry not provided on the as shipped configuration.
To simplify code development and shorten debugging time, a C2000 Tools Code
Composer driver is provided. In addition, an onboard JTAG connector provides
interface to emulators, operating with other debuggers to provide assembly language
and ‘C’ high level language debug.
1.1 Key Features of the eZdspTM R2812
The eZdspTM R2812 has the following features:
• TMS320R2812 Digital Signal Processor
• 150 MIPS operating speed
• 20K words on-chip zero wait state SARAM
• 64K words off-chip SRAM memory
• 256K bits serial EEPROM memory
• 30 MHz. clock
• Expansion Connectors (memory, analog, I/O)
• Onboard IEEE 1149.1 JTAG Controller
• 5-volt only operation with supplied AC adapter
• TI R28xx Code Composer Studio tools driver
• On board USB JTAG emulation connector
1.2 Functional Overview of the eZdspTM R2812

Spectrum Digital, Inc
1-3
Figure 1-1 shows a block diagram of the basic configuration for the eZdspTM R2812.
The major interfaces of the eZdsp are the JTAG interface, and expansion interface.
TMS320R28xx
ANALOG TO
DIGITAL
CONVERTER
USB PORT
Figure 1-1, BLOCK DIAGRAM eZdspTM R2812
A
N
A
L
O
G
E
X
P
A
N
S
I
O
N
I
/
O
E
X
P
A
N
S
I
O
N
JTAG
CONTROLLER
EXTERNAL
JTAG
30 Mhz. XTAL1/OSCIN
64K x 16
SRAM
XZCS6AND7n
CLOCK

Spectrum Digital, Inc
1-4 eZdspTM R2812 Technical Reference

2-1
Chapter 2
Operation of the eZdspTM R2812
This chapter describes the operation of the eZdspTM R2812, key
interfaces and includes a circuit board outline.
Topic Page
2.0 The eZdspTM R2812 Operation 2-2
2.1 The eZdspTM R2812 Board 2-2
2.1.1 Power Connector 2-3
2.2 eZdspTM R2812 Memory 2-3
2.2.1 Memory Map 2-4
2.2.2 External Memory Timing 2-5
2.3 eZdspTM R2812 Connectors 2-6
2.3.1 P1, JTAG Interface 2-7
2.3.2 P2, Expansion Interface 2-8
2.3.3 P3, USB Port/JTAG Interface 2-10
2.3.4 P4,P8,P7, I/O Interface 2-10
2.3.5 P5,P9, Analog Interface 2-12
2.3.6 P6, Power Connector 2-14
2.3.7 Connector Part Numbers 2-15
2.4 eZdspTM R2812 Jumpers 2-15
2.4.1 JP4, JP5 Voltage Jumpers 2-16
2.4.1.1 JP4, +3.3/5 Volts for P8, P4 2-17
2.4.1.2 JP5, +3.3/5 Volts for P2 2-18
2.5 Switch SW501 2-19
2.5.1 Switch SW501, Position 1, PLL Enable/Disable 2-19
2.5.2 Switch SW501, Position 2, XMP/MCn Mode Select 2-20
2.5.3 Switch SW501, Position 3,4, Boot Mode Select 2-20
2.6 LEDs 2-21
2.7 Test Points 2-21

Spectrum Digital, Inc
2-2 eZdspTM R2812 Technical Reference
2.0 The eZdspTM R2812 Operation
This chapter describes the eZdspTM R2812, key components, and operation.
Information on the eZdsp’s various interfaces is also included. The eZdspTM R2812
consists of four major blocks of logic:
• Analog Interface Connector
• I/O Interface Connector
• JTAG Interface
• USB Port JTAG Controller Interface
2.1 The eZdspTM R2812 Board
The eZdspTM R2812 is a 5.25 x 3.0 inch, multi-layered printed circuit board, powered
by an external 5-Volt only power supply. Figure 2-1 shows the layout of the top side
of the R2812 eZdsp.
Figure 2-1, eZdsp
TM
R2812 PCB Outline

Spectrum Digital, Inc
2-3
2.1.1 Power Connector
The eZdspTM R2812 is powered by a 5-Volt only power supply, included with the
unit. The unit requires 500mA. The power is supplied via connector P6. If expansion
boards are connected to the eZdsp, a higher amperage power supply may be
necessary. Section 2.3.6 provides more information on connector P6.
2.2 eZdspTM R2812 Memory
The eZdsp includes the following on-chip memory:
• 2 blocks of 4K x 16 single access RAM (SARAM)
• 1 block of 8K x 16 SARAM
• 4 blocks of 1K x 16 SARAM
In addition 64K x 16 off-chip SRAM is provided. The processor on the eZdsp can be
configured for boot-loader mode or non-boot-loader mode.
For bootloading user code a 256K bit serial EEPROM is provided
The eZdsp can load ram for debug, or EEPROM can be loaded and run. For larger
software projects it is suggested to do a initial debug with on eZdsp R2812 module
which supports a total RAM environment. With careful attention to the I/O mapping in
the software the application code can easily be ported to the R2812.
The table below shows the external chip select signal and its use.
Table 1: External Chip Select and Usage
Chip Select
Signal Use
XZCS0AND1n Expansion header
XZCS2n Expansion Header
XZCS6AND7n External SRAM

Spectrum Digital, Inc
2-4 eZdspTM R2812 Technical Reference
2.2.1 Memory Map
The figure below shows the memory map configuration on the eZdspTM R2812.
Figure 2-2, eZdsp
TM
R2812 Memory Space

Spectrum Digital, Inc
2-5
2.2.2 External Memory Timing
This section describes the timing for the external memory bus when the R2812 is
operating at 150 Mhz. In addition a segment of ‘C’ code is provided to configure the
EMIF.
The following ‘C’ code segment will initialize the EMIF for 150 Mhz operation.
#define XINTCNF2 ( 0x13 )
#define XWRTRAIL(x) ((x & 3))
#define XWRACTIVE(x) ((x & 7)<<2)
#define XWRLEAD(x) ((x & 3)<<5)
#define XRDTRAIL(x) ((x & 3)<<7)
#define XRDACTIVE(x) ((x & 7)<<9)
#define XRDLEAD(x) ((x & 3)<<12)
#define USEREADY (1<<14)
#define ASYNCREADY (1<<15)
#define XTIMING6 (XWRTRAIL(2) | \
XWRACTIVE(1) | \
XWRLEAD(2) | \
XRDTRAIL(2) | \
XRDACTIVE(3) | \
XRDLEAD(2) )
XINTF_Init()
{
*(unsigned long *)0xB2C = (unsigned long)XTIMING6;
*(unsigned long *)0xB34 = (unsigned long)XINTCNF2;
}
Table 2: External Memory Timing
Memory
Function Time in ns.
Write Cycle Time 40.4ns
Write Low Time 14.0ns
Write High Time 26.4ns
Read Cycle Time 60.8ns
Read Low Time 26.8ns
Read High Time 34.0ns

Spectrum Digital, Inc
2-6 eZdspTM R2812 Technical Reference
2.3 eZdspTM R2812 Connectors
The eZdspTM R2812 has five connectors. Pin 1 of each connector is identified by a
square solder pad. The function of each connector is shown in the table below:
The diagram below shows the position of each connector
Table 3: eZdspTM R2812 Connectors
Connector Function
P1 JTAG Interface
P2 Expansion
J201 USB Controller
Interface
P4/P8/P7 I/O Interface
P5/P9 Analog Interface
P6 Power Connector
Figure 2-3, eZdspTM R2812 Connector and Switch Positions
P1
P2
P6
P5/P9
P4/P8/P7
J201
SW501

Spectrum Digital, Inc
2-7
2.3.1 P1, JTAG Interface
The eZdspTM R2812 is supplied with a 14-pin header interface, P1. This is the
standard interface used by JTAG emulators to interface to Texas Instruments DSPs.
The positions of the 14 pins on the P1 connector are shown in the diagram below as
viewed from the top of the eZdsp.
The definition of P1, which has the JTAG signals is shown below.
Table 4: P1, JTAG Interface Connector
Pin # Signal Pin # Signal
1TMS 2TRST-
3TDI 4GND
5PD (+5V) 6no pin
7TDO 8GND
9TCK-RET 10 GND
11 TCK 12 GND
13 EMU0 14 EMU1
Fig 2-4, P1 Pin Locations
1
2
P1

Spectrum Digital, Inc
2-8 eZdspTM R2812 Technical Reference
2.3.2 P2, Expansion Interface
The positions of the 60 pins on the P2 connector are shown in the diagram below as
viewed from the top of the eZdsp.
WARNING !
The TMS320R2812 supports +3.3V Input/Output levels
which are NOT +5V tolerant. Connecting the eZdsp to
a system with +5V Input/Output levels will damage the
TMS320R2812. If the eZdsp is connected to another
target then the eZdsp must be powered up first and
powered down last to prevent lactchup conditions.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
P2
Figure 2-5, Connector P2 Pin Locations
39
40
15
16
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Table of contents
Other Spectrum Digital Motherboard manuals

Spectrum Digital
Spectrum Digital TMS320DM6467 Use and care manual

Spectrum Digital
Spectrum Digital TMS320C5517 Use and care manual

Spectrum Digital
Spectrum Digital TMS320F240 Use and care manual

Spectrum Digital
Spectrum Digital eZdsp F2804 Series Use and care manual

Spectrum Digital
Spectrum Digital XDS560v2 Use and care manual

Spectrum Digital
Spectrum Digital eZdsp F28 Series Instruction Manual

Spectrum Digital
Spectrum Digital TMS320DM6437 Use and care manual

Spectrum Digital
Spectrum Digital eZdsp F28335 Instruction Manual

Spectrum Digital
Spectrum Digital TMS320VC5505 Use and care manual

Spectrum Digital
Spectrum Digital TMS320LF2407 Use and care manual