Spectrum Digital TMS320F240 Technical Reference

TMS320F240 Evaluation Module
Technical
Reference
1998 DSP Development Systems
TMS320F240
Evaluation Module
Technical Reference
June 1998
SPECTRUM DIGITAL, INC.
10853 Rockley Road Houston, TX. 77099
Tel: 281/561-6952 Fax: 281/561-6037
sales@spectrumdigital.com www.spectrumdigital.com
IMPORTANT NOTICE
Spectrum Digital, Inc. reserves the right to make changes to its products or to discontinue any product or service without notice, and advises its customers to obtain the latest version of relevant information to verify, before placing orders, that the information being relied on is current.
Spectrum Digital, Inc. warrants performance of its products and related software to current specifications in accordance with Spectrum Digital’s standard w arranty. Testing and other quality control techniques are utilized to the extent deemed necessary to support this warranty.
Please be aware that the products described herein are not intended for use in life-support appliances, devices, or systems. Spectrum Digital does not warrant nor is 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 laborato ry 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 whatever measures may be required to correct this interference.
TRADEMARKS
MS-DOS, MS-Windows, and Windows 95 are registered trademarks of Microsoft Corp
Copyright © 1997,1998 Spectrum Digital, Inc.
.
Contents
1 Introduction to the TMS320F240 Ev aluation Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Provides you with a description of the TMS320F240 Evaluation Module, key features, and
board outline.
1.0 Overview of the TMS320F240 EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.1 Key F eatures of the TMS320F240 EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.2 Functional Overview of the TMS320F240 EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
2 TMS320F240 EVM Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Describes the operation of the EVM320F240. Information is
interfaces.
2.0 The TMS320F240 EVM Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.1 The TMS320F240 EVM Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.1.1 Pow er Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.2 TMS320C2XX Memory Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.2.1 Program Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.2.2 Data Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2.2.3 I/O Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.3 Onboard UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.4 Oscillator Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.5 Digital to Analog Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2.6 Expansion Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2.6.1 TMS320F240 EVM Expansion Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2.6.1.1 Expansion I/O Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2.6.1.2 Expansion Analog Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.6.1.3 Expansion Address and Data Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.6.1.4 Expansion Control Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
2.7 JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2.8 On-Chip Asychronous Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.9 Onboard Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
2.10 TMS320F240 EVM Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
2.10.1 Jumper JP1, Enable/Disable Flash Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
2.10.2 Jumper JP2, Enable/Disable Internal ROM/FLASH . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
2.10.3 Jumper JP3, Oscillator Source Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
2.10.4 Jumper JP4, Enable/Disable RTS to BIO-/IOPC3 . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
2.10.5 Jumper JP5, Enable/Disable RXD to SCIRXD/IO . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
2.10.6 Jumper JP6, VREFHI Source Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
2.10.7 Jumper JP7, VREFLO Source Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
2.10.8 Jumper JP8, UAR T Interrupt Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
2.10.9 Jumper JP9, A15 Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
2.10.10 Jumper JP10, Not Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
provided on the EVM’s various
2.10.11 Jumper JP11, Enable/Disable Host Reset via DTR- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
2.10.12 Jumper JP12, Enable/Disable Memory Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
2.10.13 Jumper JP13, Not Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
2.10.14 Jumper JP14, Enable/Disable Onboard FLASH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
2.10.15 Jumper JP15, Onboard UART CTS Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
2.11 LEDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
2.12 Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . 2-25
2.13 Test P oint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
A TMS320F240 EVM PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Lists the PAL equations that are used on the TMS320F240 EVM
A.1 Memory Decode PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
A.2 Decode PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8
A.3 UART Control PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
B TMS320F240 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Contains the schematics for the TMS320F240 EVM
C TL16C550 Data Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Contains the technical information for the TL16C550
D MP7680 DAC Pr ogramming Inf ormation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Contains information regarding the programming of the MP7680 Digital-to-Analog Converter.
D .1 MP7680 Digital-to Analog Con v erter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-2
D.2 MP7680 Prog ramming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-3
D .3 MP7680 Calibr ation Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-3
About This Manual
This document describes the board level operations of the TMS320F240 evaluation module (EVM). The EVM is based on the Texas Instruments TMS320F240 Digital Signal Processor .
The TMS320F240 EVM is a table top card to allow engineers and software developers to evaluate certain characteristics of the TMS320F240 DSP to determine if the processor meets the designers application 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 TMS320F240 will sometimes be referred to as the F240 or C24X. Program listings, program examples, and interactive displays are shown is a special
italic typeface. Here is a sample program listing.
equations !rd = XXXXXXXXXXX;
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, or hardware, or other equipment. The information in a caution is provided for your protection. Please read each caution carefully.
Related Documents
Texas Instruments TMS320F240 Users Guide Texas Instruments TMS320 Fixed Point Assembly Language Users Guide Texas Instruments TMS320 Fixed Point C Language Users Guide Texa s Instruments TMS320 Fixed Point C Source Debugger Users Guide
Chapter 1
Introduction to the TMS320F240
Evaluation Module
This chapter provides you with a description of the TMS32F240 Evaluation Module along with the key features and a block diagram of the circuit board.
Topic Page
1.0 Overview of the TMS320F240 EVM 1-2
1.1 Key Features of the TMS320F240 EVM 1-2
1.2 Functional Overview of the TMS320F240 EVM 1-3
1-1
Spectrum Digital, Inc
1.0 Overview of the TMS320F240 EVM
The TMS320F240 evaluation module(EVM) is a stand-alone card that lets evaluators examine certain characteristics of the F240 digital signal processor(DSP) to determine if this DSP meets their application requirements. Furthermore, the module is an excellent platform to develop and run software on the F240 family of processors.
The F240 EVM is shipped with a TMS320F240 DSP however other family members can be placed in the on board socket as they become available. The EVM allows full speed verification of F240 code. With 544 w ords of onchip data me mory, 128K words of onboard memory, flash rom, on chip UART, on board UART, and an MP7680 Digital to Analog Converter, the board can solve a variety of problems as shipped. Four expansion connectors are provided to interface to any necessary evaluation circuitry not provided on the as shipped configuration.
To simplify code develop and shorten debugging time a number of user interfaces ar e available.
1.1 Key Features of the TMS320F240 EVM
The F240 EVM has the following features:
• F240 operating at 20 MIPS with 128K words of zero wait state memory
• MP7680 Four(4) Channel Digital to Analog converter
• On Chip UART with RS232 Drivers
• 32K words of onchip Flash ROM
• Second on board UART
• 32K words of on board Flash ROM
• 4 Expansion Connectors (data, address, I/O, and control)
• On board IEEE 1149.1 JTAG Connection for Optional Emulation
• 5 Volt Only Operation
1-2
TMS320F240 Evaluation Module Technical Reference
Spectrum Digital, Inc
1.2 Functional Overview of the TMS320F240 EVM
Figure 1-1 shows a block diagram of the basic configuration for the F240 EVM. The major interfaces of the EVM include the target ram and rom interface, target UART, analog interface, and expansion interface.
The F240 interfaces to 128K Words of zero wait-state static memory. An external I/O interface supports 65,000 parallel I/O ports and optional high speed synchronous serial port. A Flash Boot Rom can be mapped into the memory interface.
A D D R E S S
/ D A T A
P 3
C O N T R O L
P 4
SRAM
128K x 16
FLASH
DATA
ADDRESS
TMS320F240
CONTROL
ANALOG
PWM/IO
MP7680
D/A
I/O
EPROM 32K x 16
S E R
I A L
P 7
TL16C550
UART
JTAG UART
JTAG P5
A N A L O G
E X P A N S I O N
P 2
I /
O E
X P A N S I O N
P 1
S E R
I A L
P 6
Figure 1-1 BLOCK DIAGRAM TMS320F240 EVM
1-3
Spectrum Digital, Inc
1-4
TMS320F240 Evaluation Module Technical Reference
Chapter 2
Operation of the TMS320F240
Evaluation Module
This chapter describes the operation of the TMS32F240 Evaluation Module along with the key interfaces and an outline of the circuit board.
Topic Page
2.0 The TMS320F240 EVM Operation 2-3
2.1 The TMS320F240 EVM Board 2-3
2.1.1 Power Connector 2-4
2.2 TMS320F240 Memory Interface 2-4
2.2.1 Program Memory 2-5
2.2.2 Data Memory 2-8
2.2.3 I/O Space 2-9
2.3 Onboard UART 2-9
2.4 Oscillator Selection 2-9
2.5 Digital to Analog Conversion 2-10
2.6 Expansion Bus 2-10
2.6.1 TMS320F240 EVM Expansion Connector 2-10
2.6.1.1 Expansion I/O Connector 2-11
2.6.1.2 Expansion Analog Connecto r 2-12
2.6.1.3 Expansion Address and Data Connector 2-13
2.6.1.4 Expansion Control Connector 2-14
2.7 JTAG Interface 2-15
2.8 On-Chip Asynchronous Serial Port 2-16
2.9 Onboard Serial Interface 2-17
2-1
Spectrum Digital, Inc
Topic Page
2.10 TMS320F240 EVM Jumpers 2-18
2.10.1 Jumper JP1, Enable/Disable Flash Programming 2-19
2.10.2 Jumper JP2, Enable/Disable Internal ROM/FLASH 2-19
2.10.3 Jumper JP3, Oscillator Source Select 2-20
2.10.4 Jumper JP4, Enable/Disable RTS to BIO-/IOPC3 2-20
2.10.5 Jumper JP5, Enable/Disable RXD to SCIRXD/IO 2-21
2.10.6 Jumper JP6, VREFHI Source Select 2-21
2.10.7 Jumper JP7, VREFLO Source Select 2-22
2.10.8 Jumper JP8, UART Interrupt Select 2-22
2.10.9 Jumper JP9, A15 Select 2-23
2.10.10 Jumper JP10, Not Used 2-23
2.10.11 Jumper JP11, Enable/Disable Host Reset via DTR- 2-23
2.10.12 Jumper JP12, Enable/Disable Memory Mapping 2-24
2.10.13 Jumper JP13, Not Used 2-24
2.10.14 Jumper JP14, Enable/Disable Onboard FLASH 2-24
2.10.15 Jumper JP15, Onboard UART CTS Routing Jumper 2-25
2.11 LEDS 2-25
2.12 Resets 2-25
2.13 Test Point 2-25
2-2
TMS320F240 Evaluation Module Technical Reference
Loading...
+ 25 hidden pages