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.
This document describes board level operations of the eZdsp
Texas Instruments TMS320R2812 Digital Signal Processor.
The eZdsp
TM
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 “eZdsp
TM
“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
TM
R2812 based on the
R2812” will sometimes be referred to as the “eZdsp”.
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,
Texas Instruments TMS320R28x Assembly Language Tools Users Guide,
Texas Instruments Code Composer Studio Getting Started Guide,
literature #SPRU430
literature #SPRU513
literature #SPRU514
literature #SPRU509
Page 8
Page 9
Chapter 1
Introduction to the eZdsp
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.0Overview of the eZdspTM R2812 1-2
1.1Key Features of the eZdsp
1.2Functional Overview of the eZdsp
TM
R28121-2
TM
R28121-3
TM
R2812
1 -1
Page 10
Spectrum Digital, Inc
1.0 Overview of the eZdspTM R2812
The eZdsp
TM
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 eZdsp
TM
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 eZdsp
The eZdsp
TM
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
TM
R2812
• 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 eZdsp
TM
R2812
1-2 eZdspTM R2812 Technical Reference
Page 11
Spectrum Digital, Inc
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.
A
N
A
L
O
CLOCK
USB PORT
CONTROLLER
EXTERNAL
JTAG
30 Mhz.
XTAL1/OSCIN
JTAG
TMS320R28xx
ANALOG TO
DIGITAL
CONVERTER
XZCS6AND7n
64K x 16
SRAM
G
E
X
P
A
N
S
I
O
N
I
/
O
E
X
P
A
N
S
I
O
N
Figure 1-1, BLOCK DIAGRAM eZdspTM R2812
1 -3
Page 12
Spectrum Digital, Inc
1-4 eZdspTM R2812 Technical Reference
Page 13
Chapter 2
Operation of the eZdsp
This chapter describes the operation of the eZdspTM R2812, key
interfaces and includes a circuit board outline.
TM
R2812
Topic Page
2.0The eZdspTM R2812 Operation2-2
TM
2.1The eZdsp
2.1.1Power Connector2-3
2.2eZdsp
2.2.1Memory Map2-4
2.2.2External Memory Timing2-5
2.3eZdsp
2.3.1P1, JTAG Interface2-7
2.3.2P2, Expansion Interface2-8
2.3.3P3, USB Port/JTAG Interface2-10
2.3.4P4,P8,P7, I/O Interface2-10
2.3.5P5,P9, Analog Interface2-12
2.3.6P6, Power Connector2-14
2.3.7Connector Part Numbers2-15
2.4eZdsp
2.4.1JP4, JP5 Voltage Jumpers2-16
2.4.1.1 JP4, +3.3/5 Volts for P8, P42-17
2.4.1.2 JP5, +3.3/5 Volts for P22-18
2.5Switch SW5012-19
2.5.1Switch SW501, Position 1, PLL Enable/Disable2-19
2.5.2Switch SW501, Position 2, XMP/MCn Mode Select2-20
2.5.3Switch SW501, Position 3,4, Boot Mode Select2-20
2.6LEDs2-21
2.7Test Points2-21
TM
TM
TM
R2812 Board2-2
R2812 Memory2-3
R2812 Connectors2-6
R2812 Jumpers2-15
2 -1
Page 14
Spectrum Digital, Inc
2.0 The eZdspTM R2812 Operation
2.1 The eZdsp
This chapter describes the eZdsp
Information on the eZdsp’s various interfaces is also included. The eZdsp
TM
R2812, key components, and operation.
TM
R2812
consists of four major blocks of logic:
• Analog Interface Connector
• I/O Interface Connector
• JTAG Interface
• USB Port JTAG Controller Interface
TM
R2812 Board
The eZdsp
TM
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, eZdspTM R2812 PCB Outline
2-2 eZdsp
TM
R2812 Technical Reference
Page 15
Spectrum Digital, Inc
2.1.1 Power Connector
TM
The eZdsp
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.
R2812 is powered by a 5-Volt only power supply, included with the
2.2 eZdsp
TM
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
XZCS0AND1nExpansion header
XZCS2nExpansion Header
XZCS6AND7nExternal SRAM
2 -3
Page 16
Spectrum Digital, Inc
2.2.1 Memory Map
The figure below shows the memory map configuration on the eZdsp
TM
R2812.
Figure 2-2, eZdspTM R2812 Memory Space
2-4 eZdsp
TM
R2812 Technical Reference
Page 17
Spectrum Digital, Inc
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.
Table 2: External Memory Timing
Memory
Function
Write Cycle Time40.4ns
Write Low Time14.0ns
Write High Time26.4ns
Read Cycle Time60.8ns
Read Low Time26.8ns
Read High Time34.0ns
The following ‘C’ code segment will initialize the EMIF for 150 Mhz operation.
*(unsigned long *)0xB2C = (unsigned long)XTIMING6;
*(unsigned long *)0xB34 = (unsigned long)XINTCNF2;
}
2 -5
Page 18
Spectrum Digital, Inc
2.3 eZdspTM R2812 Connectors
The eZdsp
TM
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:
Table 3: eZdsp
TM
R2812 Connectors
ConnectorFunction
P1JTAG Interface
P2Expansion
J201
USB Controller
Interface
P4/P8/P7I/O Interface
P5/P9Analog Interface
P6Power Connector
The diagram below shows the position of each connector
P1
P2
J201
P6
P4/P8/P7
Figure 2-3, eZdspTM R2812 Connector and Switch Positions
2-6 eZdsp
SW501
TM
R2812 Technical Reference
P5/P9
Page 19
Spectrum Digital, Inc
2.3.1 P1, JTAG Interface
TM
The eZdsp
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.
R2812 is supplied with a 14-pin header interface, P1. This is the
1
P1
Fig 2-4, P1 Pin Locations
The definition of P1, which has the JTAG signals is shown below.
Table 4: P1, JTAG Interface Connector
Pin #SignalPin #Signal
1
3
5
7
9
11TCK12GND
13
TMS2TRST-
TDI4GND
PD (+5V)6no pin
TDO8GND
TCK-RET10GND
EMU014EMU1
2
2 -7
Page 20
Spectrum Digital, Inc
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.
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.
P2
2
6
1
345
12
16
14
10
8
7
13
11
15
9
171819
WARNING !
303132
29
34
33
20
262728
22
24
21
25
23
40
36
38
39
35
37
46
42
41
48
44
43
45
47
54
52
50
49
56
58
60
51
53
55
59
57
Figure 2-5, Connector P2 Pin Locations
2-8 eZdsp
TM
R2812 Technical Reference
Page 21
Spectrum Digital, Inc
The definition of P2, which has the I/O signal interface is shown below.
Table 5: P2, Expansion Interface Connector
Pin #SignalPin #Signal
1+3.3V/+5V/NC *2+3.3/+5V/NC *
3XD04XD1
5XD26XD3
7XD48XD5
9XD610XD7
11XD812XD9
13XD1014XD11
15XD1216XD13
17XD1418XD15
19XA020XA1
21XA222XA3
23XA424XA5
25XA626XA7
27XA828XA9
29XA1030XA11
31XA1232XA13
33XA1434XA15
35GND36GND
37XZCS0AND1n38XZCS2n
39XREADY4010K Pull-up
41XRnW4210K Pull-up
43XWE44XRDn
45+3.3V46XNMI/INT13
47XRSn/RSn48No connect
49GND50GND
51GND52GND
53XA1654XA17
55XA1856XHOLDn
57XHOLDAn58No connect
59No connect60No connect
* Default is No Connect (NC). User can jumper to +3.3V or +5V on backside of eZdsp
with JP5.
2 -9
Page 22
Spectrum Digital, Inc
2.3.3 P3, USB Port/JTAG Interface
The eZdsp
direct access to the integrated JTAG interface. Drivers for C2000 Code Composer tools
are shipped with the eZdsp modules
2.3.4 P4/P8/P7, I/O Interface
The connectors P4, P8, and P7 present the I/O signals from the DSP. The layout of
these connectors are shown below.
TM
R2812 uses a custom USB port JTAG interface device. The device has
2
1
2
1
1
4
3
4
3
2
10
6
5
7
3
4
56
12
11
9
5
6
7
141516
13
788
10
8
11 12
9
22
18
20
17
19
21
10
9
P7
13
242526
23
15 16
1417
282930
32
31
333435
27
18
36
19
383940
37
20
P4
P8
Figure 2-6, P4/P8/P7 Connectors
2-10 eZdsp
TM
R2812 Technical Reference
Page 23
Spectrum Digital, Inc
The pin definition of P4/P8 connectors are shown in the table below.
Table 6: P4/P8, I/O Connectors
P4
Pin #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
P4 Signal
+3.3V/+5V/NC *1+3.3V/+5V/NC *2+3.3V/+5V/NC *
XINT2/ADCSOC3SCITXDA4SCIRXDA
MCLKXA5XINT1n/XBIOn6CAP1/QEP1
MCLKRA7CAP2/QEP28CAP3/QEPI1
MFSXA9PWM110PWM2
MFSRA11PWM312PWM4
MDXA13PWM514PWM6
MDRA15T1PWM/T1CMP16T2PWM/T2CMP
No connect17TDIRA18TCLKINA
GND19GND20GND
CAP5/QEP421No connect22XINT1N/XBIOn
CAP6/QEPI223SPISIMOA24SPISOMIA
T3PWM/T3CMP25SPICLKA26SPISTEA
T4PWM/T4CMP27CANTXA28CANRXA
TDIRB29XCLKOUT30PWM7
TCLKINB31PWM832PWM9
XF/XPLLDISn33PWM1034PWM11
SCITXDB35PWM1236CAP4/QEP3
P8
Pin #
P8 Signal
P8
Pin #
P8 Signal
19
20
2-1 1
SCIRXDB37T1CTRIP/PDPINTAn38T3CTRIP/PDPINTBn
GND39GND40GND
* Default is No Connect (NC). User can jumper to +3.3V or +5V on backside of eZdsp
with JP4.
Page 24
Spectrum Digital, Inc
The pin definition of P7 connector is shown in the table below.
Table 7: P7, I/O Connector
2.3.5 P5/P9, Analog Interface
The position of the 30 pins on the P5/P9 connectors are shown in the diagram below
as viewed from the top of the eZdsp.
P7
Pin #
1C1TRIPn
2C2TRIPn
3C3TRIPn
4T2CTRIPn/EVASOCn
5C4TRIPn
6C5TRIPn
7C6TRIPn
8T4CTRIPn/EVBSOCn
9No connect
10GND
P7 Signal
P5
1
2
P9
Figure 2-7, Connector P5/P9 Pin Locations
2-12 eZdsp
3
2
6
4
531
ANALOG
5
4
10
8
9
7
12
7
6
14
1311
8
16
15
9
10
18
20
19
17
TM
R2812 Technical Reference
Page 25
Spectrum Digital, Inc
The definition of P5/P9 signals are shown in the table below.
Table 8: P5/P9, Analog Interface Connector
P5
Pin #
1
2
3
4
5
6
7
8
9
10
Signal
ADCINB01GND2ADCINA0
ADCINB13GND4ADCINA1
ADCINB25GND6ADCINA2
ADCINB37GND8
ADCINB49GND10
ADCINB511GND12ADCINA5
ADCINB613GND14ADCINA6
ADCINB715GND16ADCINA7
ADCREFM17GND18VREFLO *
ADCREFP19GND20No connect
P9
Pin #
Signal
P9
Pin #
Signal
ADCINA3
ADCINA4
* Connect VREFLO to AGND or VREFLO of target system for proper ADC operation.
2-1 3
Page 26
Spectrum Digital, Inc
2.3.6 P6, Power Connector
Power (5 volts) is brought onto the eZdsp
TM
R2812 via the P6 connector. The
connector has an outside diameter of 5.5 mm. and an inside diameter of 2.5 mm. The
position of the P6 connector is shown below.
PC Card Edge
P6
Figure 2-8, Connector P6 Location
The diagram of P6, which has the input power is shown below.
+5V
P6
Ground
PC Board
Front View
Figure 2-9, eZdsp
TM
R2812 Power Connector
2-14 eZdsp
TM
R2812 Technical Reference
Page 27
Spectrum Digital, Inc
2.3.7 Connector Part Numbers
The table below shows the part numbers for connectors which can be used on the
TM
eZdsp
R2812. Part numbers from other manufacturers may also be used.
2.4 eZdsp
Table 9: eZdsp
TM
R2812 Suggested Connector Part Numbers
ConnectorMale Part NumbersFemale Part Numbers
P1SAMTEC TSW-1-10-07-G-TSAMTEC SSW-1-10-01-G-T
P2SAMTEC TSW-1-20-07-G-TSAMTEC SSW-1-20-01-G-T
*SSW or SSQ Series can be used
TM
R2812 Jumpers
The eZdsp
TM
R2812 has 2 jumpers, JP4 and JP5, which will allow power to be
supplied to the expansion headers. The table below lists the jumpers and their
function. The following sections describe the use of each jumper.
Table 10: eZdsp
TM
R2812 Jumpers
Position As
Jumper #SizeFunction
Shipped From
Factory
JP41 x 3+3.3/5 Volts to P8,P4Not connected
JP51 x 3+3.3/5 Volts to P2Not Connected
2-1 5
Page 28
Spectrum Digital, Inc
2.4.1 JP4, JP5 Voltage Jumpers
Jumpers JP4 and JP5 are unpopulated jumpers on the bottom side of the board that
provide either +3.3 volts or +5 volts to pins on the expansion connectors. These
jumpers are shipped uninstalled to prevent accidental damage by connecting wires or
circuitry to the expansion connector. The user may connect these jumpers by installing
a jumper wire or zero ohm resistor. The position of these jumpers are shown in the
figure below.
JP5
Figure 2-10, eZdspTM R2812 Voltage Jumper Positions (Bottom Side)
2-16 eZdsp
JP4
TM
R2812 Technical Reference
Page 29
Spectrum Digital, Inc
2.4.1.1 JP4, +3.3/5 Volts for P8, P4
Jumper JP4 allows the user to provide either +3.3 or +5 volts to pins 1 and 2 of
expansion connector P8, and pin 1 of P4. The settings for this jumper are shown in the
table below
Table 11: JP4, +3.3/5 Volts for P8, P4
PositionFunctionJumper Position
Middle - Bottom
Middle - Top
No connect *
* As shipped from factory
Connect +5 Volts
to P8, pins 1,2,
and P4 pin1
Connect +3.3
Volts to P8, pins
1,2, and P4 pin1
3.3V
JP4
5V
3.3V
JP4
5V
3.3V
JP4
5V
+3.3V
JP4
+5V
P4, pin 1
Figure 2-11, JP4 Layout
2-1 7
Page 30
Spectrum Digital, Inc
2.4.1.2 JP5, +3.3/5 Volts for P2
Jumper JP5 allows the user to provide either +3.3 or +5 volts to pins 1 and 2 of
expansion connector P2. The settings for this jumper are shown in the table below.
PositionFunctionJumper Position
Middle - RightConnect +5 Volts to P2,
Middle - LeftConnect +3.3 Volts to P2,
No connect *
Table 12: JP5, +3.3/5 Volts for P2
Pins 1,2
pins 1,2
JP5
JP5
JP5
+3.3V
+3.3V
+3.3V
+5V
+5V
+5V
* As shipped from factory
JP5
+3.3V
Figure 2-12, JP5 Layout
P2, pin 1
+5V
2-18 eZdsp
TM
R2812 Technical Reference
Page 31
Spectrum Digital, Inc
2.5 Switch SW501
The eZdsp R2812 has a 4 position switch that allows the user to configure the board for
their application. The function of each position is shown in the table below.
Table 13: SW501 Switch Positions
PositionFunction
1PLL Enable/Disable
2MP/MC Select
3, 4Boot Mode Select
1
2
3
SW501
4
Open/High | Closed/Low
Default from factory
Figure 2-13, SW501 Layout
2.5.1 Switch SW501, Position 1, PLL Enable/Disable
Position 1 on switch SW501 is used to enable/disable the use of the Phase Lock Loop
(PLL) logic on the DSP. The selection of the open position enables the use of the PLL.
If the closed position is used the PLL is disabled. This signal is latched at reset and
may be used as XF after reset. The positions are shown in the table below.
Table 14: SW501, Position 1
PositionFunction
Open-1 *PLL Enabled
Closed-0PLL disabled
XF_XPLLDISn
XMP_MCn
SPICLKA
MDXA
* as shipped from the factory
2-1 9
Page 32
Spectrum Digital, Inc
2.5.2 Switch SW501, Position 2, XMP/MCn Mode Select
Position 2 on switch SW501 is used to select the XMP/MCn option. The open selection
allows the DSP to operate in the Microprocessor mode. The closed selection allow
the DSP to operate in the Microcontroller mode. The positions are shown in the table
below.
Table 15: SW501, Position 2
PositionFunction
Open-1Microprocessor mode
Closed-0 *Microcontroller mode
* as shipped from factory
2.5.3 Switch SW501, Position 3, 4, Boot Mode Select
Positions 3 and 4 on switch SW501 along with position 2 are used to determine what
mode the DSP will use for bootloading on power up. The options are shown in the
table below.
Table 16: SW501, Position 3, 4
Position 2
XMP_MCn
Closed-0Open-1Do not careSPI *
Closed-0Closed-0Open-1SCI
Closed-0Closed-0Closed-0H0
Open-1Do not careDo not careMicroprocessor
Position 3
SPICLKA
Position 4
MDXA
Boot
Mode
Mode
* factory default
2-20 eZdsp
TM
R2812 Technical Reference
Page 33
Spectrum Digital, Inc
2.6 LEDs
TM
The eZdsp
+5 volts and is normally ‘on’ when power is applied to the board. DS2 is under software
control and is tied to the XF pin on the DSP through a buffer. These are shown in the
table below.
2.7 Test Points
R2812 has two light-emitting diodes. DS1 indicates the presence of
Table 17: LEDs
LED #ColorControlling Signal
DS1Green+5 Volts
DS2GreenXF bit (XF high = on)
The eZdsp
table below.
TM
R2812 has two test points. The signals they are tied to are shown in the
Table 18: Test Points
Test PointSignal
J1Analog Ground
J2Ground
2-2 1
Page 34
Spectrum Digital, Inc
2-22 eZdsp
TM
R2812 Technical Reference
Page 35
Appendix A
TM
eZdsp
Schematics
The schematics for the eZdspTM R2812 can be found on the CD-ROM that
accompanies this board. The schematics were drawn on ORCAD.
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.