DSP-TMS320LF2407: Eeral Ontrols TD

Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

VEERAL

CONTROLS DSP-TMS320LF2407
LTD.
DSP-TMS320LF2407
Sr. No. : VCPL-DSP 13XXXXX
Client : Nirma University, Ahmedabad
CONTENTS

PREFACE
GENERAL USE GUIDELINES
PRECAUTIONS
I. INTRODUCTION
II. KEY FEATURES
III. SPECIFICATIONS
IV. VCPL-DSP2407 OPERATION
APPENDIX A
PREFACE
First of all, we thank you for trust in selecting Veeral Controls Digital Signal Processor.
The purpose of this technical reference is to introduce the basic working and connection details
and provide a safe and operating instruction.
In case of abnormal condition arises, kindly contact our Engineer for troubleshooting and repair.
All the programming, coding and implementation of this DSP board shall be done by technically
qualified person who is familiar with the DSP.
GENERAL USE GUIDELINES
This is a professional level DSP board that allows the user to produce virtually wide range of
signal processor variations and configurations. Because of the wide range configuration
possibilities of digital signal processing, it is one of the popular products of Veeral Controls P
Ltd.

This board is based on the DSP chip TMS320LF2407 as the main controller. Several advanced
peripherals like digital Motor Control, PWM control, etc have been integrated in this board. It is
user friendly and can easily program by the user having knowledge of Assembly level
programming or C-level programming.

Like all freely configurable signal processing tools, this DSP board will do what the
configuration your design tells it to do, which may not be what you expect it to do, so use
caution.
PRECAUTIONS
Please be sure to make any connections before plugging the DSP board in to an electrical circuit.
Check the Input Supply given to the board and check if it is according to the Connector details.

Operating Determinations:

When using this board, please make sure that the device is not exposed or will not be
exposed to extreme heat, moisture or dust.
Operate the DSP board only after becoming familiar with its functions. Do not permit
operation by persons not qualified for operating the board. Most damages are the result of
unprofessional operation!
Do not attempt to start this board if any of it connectors or supply cables or any other
cables are damaged.
To reduce the risk of electrical shock or fire, do not expose this mixer to rain or moisture.
This board is intended for indoor use only; use of this product outdoors voids all
warranties.
INTRODUCTION
The VCPL-DSP2407 board is a stand-alone card that lets the user do various multiple
applications such as digital motor control, multiple PWM for converters, etc.

The VCPL-DSP2407 board uses digital signal processing technology by which the user can
perform a variety of functions.

The main DSP chip TMS32LF2407 offers an array of memory sizes and different peripherals
tailored to meet the specific performance points required by various applications.

With 544 words of on-chip data memory, 128K words of onboard memory, on chip flash ROM,
on chip UART, and a Digital to Analog Converter, the board can solve a variety of problems.

It also offer at least one event manager module which has been optimized for digital motor
control and power conversion applications. Capabilities of this module include center- and/or
edge-aligned PWM generation, programmable dead band to prevent shoot-through faults, and
synchronized analog-to-digital conversion.
KEY FEATURES
The VCPL-DSP2407 board has the following features:
 LF2407 operating at 30 MIPS with 128K words of zero wait state memory
 32K words of on-chip Flash ROM
 Expansion Connectors (data, address, I/O, and control)
 On board IEEE 1149.1 JTAG Connection for Optional Emulation
 CAN Interface with drivers
 5 V Input (onboard 3.3 volt regulators)
 16 channels of 10 bit on-chip Analog to Digital Conversion
 Two Event managers for multiple PWM and capture channels on chip
 Dual 8-bit Digital to Analog converter
 On chip UART with RS232 Drivers
SPECIFICATIONS
DSP CONTROLLER BOARD

FEATURES DESCRIPTION DSP CONTROLLER


BOARD
External Power Supply
PWM Outputs 12 programmable PWM Signals 12 PWM Channels
with settable dead time
(+5V/+15V selectable)
ADC Channels
Unipolar Input 0 to 3.3V Unipolar Analog Input 8 Input Channels
Bipolar Input ±5V Bipolar Analog Input 12 Input Channels
DAC Channels External DAC (8-bit) - ±15 V
I/O Lines
Digital Inputs Isolated Digital Inputs (+24 V) 4 Digital Inputs
Digital Outputs Non isolated Digital Outputs 6 Digital Outputs
(+5 V)
Communication Ports CAN Bus, RS 232/485 Bus Option provided on the DSP
Control Board
Standard Programming Standard J-tag Interface, Connection provided on
compatible with CCS 2.2 or later board for programming
VCPL-DSP2407 OPERATION
This will describe the VCPL-DSP2407 board, its key components, and how they operate.

PERIPHERALS

The integrated peripherals of the VCPL-DSP2407 board are given as follows:


 Two event-manager modules (EVA, EVB)
 Enhanced analog-to-digital converter (ADC) module
 Controller area network (CAN) module
 Serial communications interface (SCI) module
 Serial peripheral interface (SPI) module
 PLL-based clock module
 Digital I/O and shared pin functions
 External memory interfaces (LF2407 only)
 Watchdog (WD) timer module

POWER SUPPLY

VCPL-DSP2407 is powered by a 5 V only power supply. An on board low drop out 3.3 V
regulator provides the 3.3 volt power. The board requires few milliamps at 5 volts. The power
can be supplied by 5 V SMPS.

VCPL-DSP2407 MEMORY

It consists of On-Chip Memory:


 Up to 32K Words x 16 Bits of Flash EEPROM
 Up to 2.5K Words x 16 Bits of Data/Program RAM
o 544 Words of Dual-Access RAM
o Up to 2K Words of Single-Access RAM

DIGITAL TO ANALOG CONVERTER

The VCPL-DSP2407 EVM has an external DAC which provides 8-bit D/A channels. The output
is from 0 to 3.3 volts DC.
JTAG INTERFACE

The VCPL-DSP2407 board is supplied with a 14 pin header interface, V1. This is the standard
interface used by JTAG emulators to interface to Texas Instruments DSPs.
The pin-out for the connector is shown below:

TMS 1 2 TRST-

TDI 3 4 GND
3.3 V 5 6 No Pin (Key)
TDO 7 8 GND

TCK-RET 9 10 GND

TCK 11 12 GND -

EMU 0 11 14 EMU 1

Fig. : JTAG Connector Pin-Out

CAN INTERFACE

The VCPL-DSP2407 has a CAN interface which provides an additional high speed serial
interface. A 9-pin D-Subminiature type female connector, DB4, is used to interface to the CAN
bus. The pin outs for this connector are shown in the connector details diagram. The CAN
termination resistor is controlled by jumper JPCAN1.

STATUS LED

The VCPL-DSP2407 card has one status light emitting diodes. D1 is ‘on’ when power is applied.

LED # COLOR CONTROLLING SIGNAL ON SIGNAL STATE


D1 RED Power ON N/A

RESET

There is a system reset PBRST which is generated by U5. Shorting the PBD1 Jumper can
generate a reset condition.
APPENDIX A
CONNECTOR DETAILS
The connector details for the VCPL-DSP2407 are given in the following page. Kindly refer the figure for
the detailed connector details of the VCPL-DSP2407 board.
5 4 3 2 1

3.3V +5V
J_VCCP1

129

141

116
U1

29
50
86

42
67
77
95

12

58
4
VDD
VDD
VDD
VDD

VDDO
VDDO
VDDO
VDDO
VDDO
VDDO

PLLVCCA

VCCA

VCCP
0

80 A0 D0 127 D0
78 A1 D1 130 D1
74 TMS320LF2407 132
A2 D2 D2
71 A3 D3 134 D3
D 68 136 D
A4 D4 D4
64 A5 D5 138 D5
61 A6 D6 143 D6
57 A7 D7 5 D7
53 A8 D8 9 D8
51 A9 D9 13 D9
48 A10 D10 15 D10
45 A11 D11 17 D11
43 A12 D12 20
CSADC 39 A13 D13 22
CSDAC 34 A14 D14 24
DACA/DACB 31 A15 D15 27

0 118 MP/MC PW M1/IOPA6 56 PWM1


PW M2/IOPA7 54 PWM2
W E/ 89 WE PW M3/IOPB0 52 PWM3
RD/ 93 RD PW M4/IOPB1 47 PWM4
R1 92 44
R/W PW M5/IOPB2 PWM5
3.3V 120 READY PW M6/IOPB3 40 PWM6
4k7 65
PW M7/IOPE1 PWM7
PW M8/IOPE2 62 PWM8
TRIP_A 7 PDPINTA PW M9/IOPE3 59 PWM9
TRIP_B 137 PDPINTB PW M10/IOPE4 55 PWM10
PW M11/IOPE5 46 PWM11
97 VIS_OE PW M12/IOPE6 38 PWM12
96 STRB
87 DS
84 PS
IS/ 82 IS TCLKINA/IOPB7 37
C 73 126 3.3V C
CLKOUT/IOPE0 TCLKINB/IOPF5 OUT_D_6
TP1 36 TMS2
CLKOUT
23 XINT1/IOPA2 ENA_144 122
21 XINT2/ADCSOC/IOPD0 BOOT_EN/XF++ 121

60 TP1 TDIRB/IOPF4 2 OUT_D_5


63 TP2 TDIRA/IOPB6 14 CONVST/

IN_AN_INT1 112 ADCIN00 T1PW M/T1CPM/IOPB4 16 PULSE_EN_A


IN_AN_INT2 110 ADCIN01 T2PW M/T2CMP/IOPB5 18 PULSE_EN_B
IN_AN_INT3 107 ADCIN02
IN_AN_INT4 105 ADCIN03 CAP1/QEP1/IOPA3 83
IN_AN_INT5 103 ADCIN04 CAP2/QEP2/IOPA4 79
IN_AN_INT6 102 ADCIN05 CAP3/IOPA5 75
IN_AN_INT7 100 ADCIN06 CAP4/QEP3/IOPE7 88
IN_AN_INT8 99 ADCIN07
IN_AN_INT9 113 ADCIN08 CAP5/QEP4/IOPF0 81 OUT_D_1
IN_AN_INT10 111 ADCIN09 CAP6/IOPF1 69 OUT_D_2
IN_AN_INT11 109 ADCIN10
IN_AN_INT12 108 ADCIN11 T3PW M/T3CMP/IOPF2 8 OUT_D_3
IN_AN_INT13 106 ADCIN12 T4PW M/T4CMP/IOPF3 6 OUT_D_4
IN_AN_INT14 104 ADCIN13
IN_AN_INT15 101 ADCIN14 IOPF6 131
IN_AN_INT16 98 ADCIN15
CANRX/IOPC7 70 CANRX
SCITXD 25 SCITXD/IOPA0 CANTX/IOPC6 72 CANTX
SCIRXD 26 SCIRXD/IOPA1
VREFHI 115 3.3V
VREFLO 114 0
B B

EMU0 90
19 W /R/IOPC0 EMU1/OFF 91
BUSY/ 119 BIO/IOPC1 TRST 1
ID_1 30 SPISIMO/IOPC2 TMS 144
ID_2 32 SPISOMI/IOPC3 TDI 139
ID_3 35 SPICLK/IOPC4 TDO 142
ID_4 33 SPISTE/IOPC5 TCK 135
U3
0 2 GND OSC 3 123 XTAL1/CLKIN PLLF 11
124 XTAL2 PLLF2 10
10MHz
1 NC VCC 4
RS/ 133 RS
XTL OSC

R5
VSSO
VSSO

VSSO
VSSO
VSSO
VSSO
VSSO

4k7
VSSA
VSS
VSS
VSS
VSS
128

125
140

117
28
49
85

41

66
76
94

3.3V
3

0
A A

Title
Digital board using TMS320F2407A

Size Document Number Dept. of EE, IIT Kharagpur Rev


1

Date: Monday, April 08, 2013 Sheet 1 of 11


5 4 3 2 1
5 4 3 2 1

J2 J1
1 1
PWMEL1 2 PWMEL7 2
3 DAC OUT1 3
PWMEL2 4 PWMEL8 4
5 1 5
6 OUT_AN_A 1 6
2
D 7
OUT_AN_B 3
2 7 D
GD_FAULT_A/ 8 3 GD_FAULT_B/ 8
9 0 9
10 10

0 0
NOTE:
PWMEL1,PWMEL2,PWMEL3,PWMEL4,PWMEL5,PWMEL6,
PWMEL7,PWMEL8,PWMEL9,PWMEL10,PWMEL11,PWMEL12
are selectable either 5V or 15V by selecting jumper
JP_GATE1 and JP_GATE2
J3
1 BUFFERED OUTPUT FROM DSP J4
PWMEL3 2
3 1
PWMEL4 4 PWMEL9 2
5 NOTE: PGD_FAULT_A/ and GD_FAULT_B/ directly 3
6 PWMEL10 4
C 7 goes to PDPINTA and PDPINTB respectively 5
C
GD_FAULT_A/ 8 6
9 Both signals are pulled up to 5V by 4K7 resistor 7
10 GD_FAULT_B/ 8
ACTIVE LOW TRIP (MUST USE OPEN COLLECTOR 9
10
TERMINATION)
0
0

NOTE: OUT_D1,OUT_D2,OUT_D3,OUT_D4,OUT_D5,OUT_D6
are pulled up to +5V by 470E,0.5W.
J5
1
PWMEL5 2
3
NOTE:
PWMEL6 4 CANH & CANL are used for CAN BUS Communication
5 J6
6 and are given to the CAN Transcevier IC SN65HVD230.
1
7 They are pulled down to 3.3 V PWMEL11 2
B GD_FAULT_A/ 8
It can be selceted by JPCAN1 3 B
9 PWMEL12 4
10 5
6
0
NOTE: 7
GD_FAULT_B/ 8
OUT_AN_A and OUT_AN_B are the two analog outputs of 9
the 8-bit DAC. 10

3.3V DB3
DB4 1
OUT_D1
1 OUT_D2 6
6 OUT_D3 2
2 CANH OUT_D4 7
7 OUT_D5 3
3 OUT_D6 8
CANL
A 8 4 A
4 9
9 5
5 Title
<Title>
0
Size Document Number Rev
0 A4 <Doc> <RevCode>

Date: Monday, April 08, 2013 Sheet 1 of 1


5 4 3 2 1
5 4 3 2 1
JS1
8 8
IN_AN_UP_INT1 JS5
7 7
IN_AN_UP_INT2 6 6 NOTE: IN_AN_BP_INT5 8 8
5 7
4
5 IN_AN_UP_INT1, IN_AN_UP_INT2, IN_AN_UP_INT3, 6
7
IN_AN_UP_INT3 4 IN_AN_BP_INT6 6
3 3 IN_AN_UP_INT4, IN_AN_UP_INT5, IN_AN_UP_INT6, 5 5
2 2 4
IN_AN_UP_INT4 IN_AN_UP_INT7, IN_AN_UP_INT8 are respective ADC inputs IN_AN_BP_INT7 4
D 1 1 3 3 D
for various trips. IN_AN_BP_INT8 2 2
1 1
0 All Signals are Unipolar type.
0
NOTE:
IN_AN_BP_INT1, IN_AN_BP_INT2, IN_AN_BP_INT3,
IN_AN_BP_INT4, IN_AN_BP_INT5, IN_AN_BP_INT6,
JS2 IN_AN_BP_INT7, IN_AN_BP_INT8 are respective ADC inputs
IN_AN_UP_INT5 8 8 for various trips.
7 7 JS4
IN_AN_UP_INT6
6 6 All Signals are Bipolar.
5 8 8
5 IN_AN_EXT_BP1
4 7 7
IN_AN_UP_INT7
3
4 NOTE: IN_AN_EXT_BP2
6 6
3
2 IN_AN_EXT_BP1, IN_AN_EXT_BP1, IN_AN_EXT_BP1 5 5
IN_AN_UP_INT8 2
1 4 4
C 1 IN_AN_EXT_BP1 are Bipolar Active Low Input Signals. IN_AN_EXT_BP3 C
3 3
2 2
IN_AN_EXT_BP4
0 1 1
NOTE:
JS6 is the Power Supply connector. 0
It gives respective +15 V, -15 V and +5 V supply.

NOTE:
T_OUT and R_IN are the respective Transmitter and Reciever
signals.
JS3
JS6
8 8
IN_AN_BP_INT1 8
7 NOTE: +5V 8
7 7
6 6 7
IN_AN_BP_INT2 IND_1, IND_2, IND_3, IND_4 are the Inputs to the optically 6
5 5 6
4 5 5
B IN_AN_BP_INT3
3
4 coupled isolator IC PS2505. +15V 4 4 B
3 3
IN_AN_BP_INT4
2 2 EF is the External Fault which is Active High. 2
3
1 -15V 2
1 PBD is Push button Reset input for 3.3 V micro-monitor chip. 1 1

0
0
3.3V
DB1 DB2
1 1
IND_1
6 6
IND_2
2 T_OUT 2
IND_3
7 7
IND_4
3 R_IN 3
8 8
EF
4 4
9 PBD 9
5 5
+24V

A 0 A
0
Title
<Title>

Size Document Number Rev


A4 <Doc> <RevCode>

Date: Monday, April 08, 2013 Sheet 1 of 1


5 4 3 2 1
5 4 3 2 1

PWM7 1 16 PWMEL7 PWM1 1 16 PWMEL1

PWM8 2 15 PWMEL8 PWM2 2 15 PWMEL2


D 3 14 3 14 D
PWM9 PWMEL9 PWM3 PWMEL3

PWM10 4 13 PWMEL10 PWM4 4 13 PWMEL4

PWM11 5 12 PWMEL11 PWM5 5 12 PWMEL5

PWM12 6 11 PWMEL12 PWM6 6 11 PWMEL6


7 10 7 10

8 9 8 9

0 0

C C

IN_AN_UP_INT1 IN_AN_INT9 IN_AN_BP_INT1 IN_AN_INT1

IN_AN_UP_INT2 IN_AN_INT10 IN_AN_BP_INT2 IN_AN_INT2

IN_AN_UP_INT3 IN_AN_INT11 IN_AN_BP_INT3 IN_AN_INT3

IN_AN_UP_INT4 IN_AN_INT12 IN_AN_BP_INT4 IN_AN_INT4

IN_AN_UP_INT5 IN_AN_INT13 IN_AN_BP_INT5 IN_AN_INT5

IN_AN_UP_INT6 IN_AN_INT14 IN_AN_BP_INT6 IN_AN_INT6

B IN_AN_UP_INT7 IN_AN_INT15 IN_AN_BP_INT7 IN_AN_INT7 B

IN_AN_UP_INT8 IN_AN_INT16 IN_AN_BP_INT8 IN_AN_INT8

BUFFER BUFFER
NOTE : NOTE :
IN_AN_UP_INT1 to IN_AN_UP_INT8 are Analog Inputs of 3.3 V IN_AN_BP_INT1 to IN_AN_BP_INT8 are Analog Inputs of 5 V
IN_AN_INT9 to IN_AN_INT16 are of 3.3 V IN_AN_INT1 to IN_AN_INT8 are of 3.3 V
CANTX
0 3.3V

U7 JPCAN1
A 1 D Rs 8 A
2 GND CANH 7
3 6 Title
VCC CANL <Title>
4 R Vref 5
0 Size Document Number Rev
CANL CANH A <Doc> <RevCode>
CANRX
Date: Monday, April 08, 2013 Sheet 1 of 1
5 4 3 2 1
CONTACT DETAILS :
VEERAL CONTROLS P LTD.
B-29 GIDC,
Electronic Estate,
Sector-25,
Gandhinagar - 382023.
Phone: +91-79-23287575, 23287576
Fax : +91-79-23287580
E-mail : [email protected]

You might also like