Spectrum Digital TMS320LF2407 Technical Reference

Artisan Technology Group is your source for quality
new and certied-used/pre-owned equipment
FAST SHIPPING AND
DELIVERY
TENS OF THOUSANDS OF IN-STOCK ITEMS
• EQUIPMENT DEMOS
HUNDREDS OF MANUFACTURERS
SUPPORTED
• LEASING/MONTHLY RENTALS
• ITAR CERTIFIED SECURE ASSET SOLUTIONS
SERVICE CENTER REPAIRS
Experienced engineers and technicians on staff at our full-service, in-house repair center
Instra
Remotely inspect equipment before purchasing with our interactive website at www.instraview.com
Contact us: (888) 88-SOURCE | sales@artisantg.com | www.artisantg.com
SM
REMOTE INSPECTION
View
WE BUY USED EQUIPMENT
Sell your excess, underutilized, and idle used equipment We also offer credit for buy-backs and trade-ins
www.artisantg.com/WeBuyEquipment
LOOKING FOR MORE INFORMATION?
Visit us on the web at www.artisantg.com for more information on price quotations, drivers, technical
specications, manuals, and documentation
TMS320LF2407 Evaluation Module
Technical
Reference
2001 DSP Development Systems
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
TMS320LF2407
Evaluation Module
Technical Reference
504885-0001 Rev. D
January 2001
SPECTRUM DIGITAL, INC.
12502 Exchange Dr., # 440 Stafford, TX. 77477
Tel: 281.494.4505 Fax: 281.494.5310
sales@spectrumdigital.com www.spectrumdigital.com
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.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 or ders, 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 co mputing 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 © 1999, 2000, 2001 Spectrum Digital, Inc.
.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Contents
1 Introduction to the TMS320LF2407 Evaluation Module . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Provides you with a description of the TMS320LF2407 Evaluation Module, key features, and
board outline.
1.0 Overview of the TMS320LF2407 EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.1 Key F eatures of the TMS320LF2407 EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.2 Functional Overview of the TMS320LF2407 EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
2 TMS320LF2407 EVM Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Describes the operation of the EVM320LF2407. Information is
interfaces.
2.0 The TMS320LF2407 EVM Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.1 The TMS320LF2407 EVM Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.1.1 Pow er Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.2 TMS320C2407 Memory Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.2.1 Program Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.2.2 Data Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2.2.3 I/O Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2.3 User Switches and LEDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2.4 Oscillator Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2.5 Digital to Analog Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.6 Expansion Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.6.1 TMS320LF2407 EVM Expansion Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.6.1.1 Expansion I/O Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2.6.1.2 Expansion Analog Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2.6.1.3 Expansion Address and Data Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.6.1.4 Expansion Control Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.7 JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
2.8 Logging Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
2.9 On-Chip Asynchronous Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2.10 CAN Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.10.1 CAN Mating Plugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.11 TMS320LF2407 EVM Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
2.11.1 Jumper JP1, Enable/Disable CAN Terminator . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
2.11.2 Jumper JP2, CAN Input Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
2.11.3 Jumper JP3, Serial ROM Write Protect Select . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
2.11.4 Jumper JP4, SPI Port Routing Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
2.11.5 Jumper JP5, Enable/Disable Flash Progr amming . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
2.11.6 Jumper JP6, MP/MC
2.11.7 Jumper JP7, Analog Power Supply Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
2.11.8 Jumper JP8, VREFHI Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
2.11.9 Jumper JP9, VREFLO Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
2.11.10 Jumper JP10, Enable/Disable Host Reset Via DTR- . . . . . . . . . . . . . . . . . . . . . . 2-21
- Enable/Disable Internal Flash ROM . . . . . . . . . . . . . . . . . . . 2-20
provided on the EVM’s various
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
2.11.11 Jumper JP11, Enable/Disable R TS to BIO-/IOPC1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
2.11.12 Jumper JP12, Enable/Disable RXD to SCIRXD/IOPA1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
2.11.13 Jumper JP13, Oscillator Source Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
2.11.14 Jumper JP14, DTS/RTS Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
2.11.15 Jumper JP15, SPI/SCI Bootloader Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
2.11.16 Jumper JP16, Booten Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
2.12 Status LEDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
2.13 User Programmable LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
2.14 Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
2.15 Reset Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
2.16 User Readable Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
2.17 ON/OFF Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
2.18 Test P oints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-26
A TMS320LF2407 EVM PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Lists the PAL equations that are used on the TMS320LF2407 EVM
A.1 Decode PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
A.2 Glue Logic PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
B TMS320LF2407 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Contains the schematics for the TMS320LF2407 EVM
C DA C7625 D A C Pr ogramming Inf ormation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Contains information regarding the programming of the DAC7625 Digital-to-Analog Converter.
C.1 DA C7625 Digital-to Analog Conv erter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2
C.2 D A C7625 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
C.3 D A C7625 Pin Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
C.4 Theory of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2
C.5 Analog Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
C.6 Reference Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
C.7 Digital Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2
C.8 I/O Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
C.9 DA C7625 Prog ramming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
C.10 DA C7625 Calibration Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
D EVM320 Mechanical Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Contains the mechanical information about the EVM and Wire Wr ap Prototype Module
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
About This Manual
This document describes the board level operations of the TMS320LF2407 evaluation module (EVM). The EVM is based on the Texas Instruments TMS320LF2407 Digital Signal Processor .
The TMS320LF2407 EVM is a table top card to allow enginee rs and software developers to evaluate certain characteristics of the TMS320LF2407 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 TMS320LF2407 will sometimes be referred to as the LF2407, F2407, or C24XX. Program listings, program examples, and interactive displays are shown is a special
italic typeface. Here is a sample program listing.
equations !rd = rw &! strb;
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 TMS320LF2407 Users Guide Texas Instruments TMS320 Fixed Point Assembly Language Users Guide Texas Instruments TMS320 Fixed Point C Language Users Guide Texas Instruments TMS320 Fixed Point C Sour ce Debugger Users Guide
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Introduction to the TMS320LF2407
Evaluation Module
This chapter provides you with a description of the TMS32LF2407 Evaluation Module along with the key features and a block diagram of the circuit board.
Topic Page
1.0 Overview of the TMS320LF2407 EVM 1-2
1.1 Key Features of the TMS320LF2407 EVM 1-2
1.2 Functional Overview of the TMS320LF2407 EVM 1-3
1-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Spectrum Digital, Inc
1.0 Overview of the TMS320LF2407 EVM
The TMS320LF2407 evaluation module(EVM) is a stand-alone card th at lets evaluators examine certain characteristics of the LF2407 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 LF2407 family of processors.
The LF2407 EVM is shipped with a TMS320LF2407 DSP. The EVM allows full speed verification of LF2407 code. With 544 words of onchip data memory, 128K words of onboard memory, onchip flash rom, on chip 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 are available.
1.1 Key Features of the TMS320LF2407 EVM
The LF2407 EVM has the following features:
• LF2407 operating at 30 MIPS with 128K words of zero wait state memory
• 16 channels of 10 bit onchip Analog to Digital Conversion with auto sequencer
• Dual event managers multiple PWM and capture channels on chip
• DAC7625 Four(4) Channel Digital to Analog converter
• On chip UART with RS232 Drivers
• 32K words of on chip Flash ROM
• CAN Interface with drivers
• User Switches and LEDs
• 4 Expansion Connectors (data, address, I/O, and control)
• On board IEEE 1149.1 JTAG Connection for Optional Emulation
• 5 volt power input, (onboard 3.3 volt regulators)
1-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
TMS320LF2407 Evaluation Module Technical Reference
Spectrum Digital, Inc
1.2 Functional Overview of the TMS320LF2407 EVM
Figure 1-1 shows a block diagram of the basic configuration for the LF2407 EVM. The major interfaces of the EVM include the target ram, analog interface, CAN interface, serial boot rom, user leds and switches, RS232 interface, SPI data logging interface, and expansion interface.
The LF2407 interfaces to 128K Words of zero wait-state static memory. An external I/O interface supports 65,000 parallel I/O ports. An onchip CAN and RS232 serial port are available on the expansion connector.
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
SWITCHES
DATA
ADDRESS
TMS320LF2407
CONTROL
ANALOG
PWM/IO
DAC7625
D/A
I/O
LEDs
C A
N
I /
F
CAN
DRIVER
SPI
JTAG UART
JTAG P5
SERIAL
BOOT
ROM
LOGGING
INTERFACE
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 TMS320LF2407 EVM
1-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Spectrum Digital, Inc
1-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
TMS320LF2407 Evaluation Module Technical Reference
Chapter 2
Operation of the TMS320LF2407
Evaluation Module
This chapter describes the operation of the TMS32LF2407 Evaluation Module along with the key interfaces and an outline of the circuit board.
Topic Page
2.0 The TMS320LF2407 EVM Operation 2-3
2.1 The TMS320LF2407 EVM Board 2-3
2.1.1 Power Connector 2-4
2.2 TMS320LF2407 Memory Inte rf ac e 2-4
2.2.1 Program Memory 2-6
2.2.2 Data Memory 2-7
2.2.3 I/O Space 2-8
2.3 User Switches and LEDs 2-8
2.4 Oscillator Selection 2-8
2.5 Digital to Analog Conversion 2-9
2.6 Expansion Bus 2-9
2.6.1 TMS320LF2407 EVM Expansion Connector 2-9
2.6.1.1 Expansion I/O Connector 2-10
2.6.1.2 Expansion Analog Connecto r 2-11
2.6.1.3 Expansion Address and Data Connector 2-12
2.6.1.4 Expansion Control Connector 2-13
2.7 JTAG Interface 2-14
2.8 Logging Interface 2-14
2.9 On-chip Asynchronous Serial Port 2-15
2.10 CAN Interface 2-16
2.10.1 CAN Mating Plugs 2-16
2-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Spectrum Digital, Inc
Topic Page
2.11 EVM320LF2407 Jumpers 2-17
2.11.1 Jumper JP1, Enable/Disable CAN Terminator 2-18
2.11.2 Jumper JP2, CAN Input Select 2-19
2.11.3 Jumper JP3, Serial ROM Write Protect Select 2-19
2.11.4 Jumper JP4, SPI Port Routing Select 2-19
2.11.5 Jumper JP5, Enable/Disable Flash Programming 2-20
2.11.6 Jumper JP6, MP/MC FLASH ROM
2.11.7 Jumper JP7, Analog Power Supply Select 2-20
2.11.8 Jumper JP8, VREFHI Select 2-21
2.11.9 Jumper JP9, VREFLO Select 2-21
2.11.10 Jumper JP10, Enable/Disable Host Reset via DTR- 2-21
2.11.11 Jumper JP11, Enable/Disable RTS to BIO-/IOPC1 2-22
2.11.12 Jumper JP12, Enable/Disable RXD to SCIRXD/IOPA1 2-22
2.11.13 Jumper JP13, Oscillator Source Select 2-23
2.11.14 Jumper JP14, DTS/RTS Select 2-23
2.11.15 Jumper JP15, SPI/SCI Bootloader Select 2-23
2.11.16 Jumper JP16, Booten Select 2-24
2.12 Status LEDs 2-24
2.13 User Programmable LEDs 2-24
2.14 Resets 2-25
2.15 Reset Switch 2-25
2.16 User Readable Switches 2-25
2.17 ON/OFF Switch 2-25
2.18 Test Points 2-26
- Enable/Disable Internal 2-20
2-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
TMS320LF2407 Evaluation Module Technical Reference
Spectrum Digital, Inc
2.0 The TMS320LF2407 EVM Operation
This chapter describes the LF2407 Evaluation module, its key components, and how they operate. It also provides information on the EVM’s various interfaces. The LF2407 EVM consists of six major blocks of logic.
• LF2407 external memory
• Digital to Analog Interface
• On Chip Serial Interface
• LEDs and Switches
• On Chip CAN Interface
• Serial boot ROM/ SPI Logging Interface
• Expansion interface
• JTAG Interface
2.1 The TMS320LF2407 EVM Board
The LF2407 EVM is a 3U sized board which is powered by an external 5 Volt only power supply. Figure 2-1 shows the layout of the LF2407 EVM.
Figure 2-1, TMS320LF2407 EVM
2-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Spectrum Digital, Inc
2.1.1 Power Connector
The LF2407 is powered by a 5 volt only power supply which is available with the module. An on board low drop out 3.3 volt regulator provides the 3.3 volt power. The board requires 750 milliamps at 5 volts. The po wer is supplied via 2 millimeter jac k J1. If expansion boards are connected to the mo dule a higher amperage power supply may be necessary.
2.2 TMS320LF2407 Memory Interface
The EVM includes 64k Words of zero wait-state program ram memory and 64k words of zero wait-state data ram memory, providing a total of 128k words of off chip static ram.
It is important to remember that internal memory has a higher precedence than the external memory. For more information on the memory in the device populated in your EVM card please refer to Texas Instruments TMS320LF2407 Users Guide. Futhermore, it is important to take into account that external memory is affected by wait-states. Wait state generation for off-chip memory space (data, program, or I/O) is done with the Wait State Genera tion Register(WSGR). To obtain zero waitstate off-chip memory bits in the WSGR must be appropriately programmed. The board pow ers up with 7 wait-states. The EVM board does not generate wait states via the ready signal for external program and data memory accesses.
External memory decode is done via U17 a GAL16V8. The generic array de vice selects the RAM, or on board peripherals. The equations for the GAL are included in Appendix
A. The figure below shows a zero wait state program space memory read followed by a data space memory write.
2-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
TMS320LF2407 Evaluation Module Technical Reference
Spectrum Digital, Inc
Figure 2-2 below shows the memory timing on the EVM320LF2407.
CLKOUT
ADDRESS
DA TA
R/W
PS-
DS-
STRB-
RAMOE-
RAMWE-
READ WRITE
Figure 2-2, Zero Wait State Memory Timing
2-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Spectrum Digital, Inc
2.2.1 Program Memory
There are two configurations for program memory. The selection of these configurations is done by the position of jumper, JP6. If JP6 is in the 2-3 position then the DSP is in microcomputer mode and the internal flash memory is enabled from 0x0000 to 0x7fff. If JP6 is in position 1-2 then the internal FLASH/ROM is disabled and the entire program address range is ava ilable to external memory.
Shown below are the two program memory configurations:
Program Space MP/MC- = 1, JP6(1-2)
0000 003F 0040
7FFF 8000
87FF 8800
FDFF FE00
FEFF FF00
FFFF
Interrupts External RAM
External RAM
On-Chip SARAM PON=1, External PON=0
External RAM
On-Chip DARAM B0 (CNF = 1)
External RAM (CNF = 0)
B0’ (CNF = 1) External RAM (CNF = 0)
Program Space MP/MC- = 0, JP6(2-3)
Microcomputer ModeMicroprocessor Mode
Hex
0000 003F
0040
7FFF 8000
87FF 8800
FDFF FE00
FEFF FF00
FFFF
Interrupts (On-chip) Flash
On Chip Flash
On-Chip SARAM PON=1,
External PON=0
External RAM
On-Chip DARAM B0 (CNF = 1) External RAM (CNF = 0)
On-Chip DARAMOn-Chip DARAM B0’ (CNF = 1) External RAM (CNF = 0)
Figure 2-3, Program Memory Configurations
2-6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
TMS320LF2407 Evaluation Module Technical Reference
Spectrum Digital, Inc
2.2.2 Data Memory
The data memory configuration is shown below. External RAM is enabled from 0x8000-0xffff.
Hex
0000 005F
0060 007F
0080 01FF
0200 02FF
0300 03FF
0400
Memory-Mapped Register and Reserved
On-Chip DARA M B2
Reserved
On-Chip DARAM B0 (CNF = 0) Reserved (CNF = 1)
On-Chip DARAM B1’ (CNF = 0)
Reserved (CNF = 1)
Reserved
07FF 0800 0FFF 1000 6FFF 7000
73FF 7400 743F
7440 74FF
7500 753F
7540 77FF
7800 7FFF
8000 FFFF
SARAM DON=1 External DON=0
Illegal
Peripheral Memory­Mapped Registers (System, ADC, SCI, SPI, I/O, Interrupts)
Peripheral Memory­Mapped Registers
(Event Manager A)
Reserved
Event Manager B
Reserved
Illegal
External RAM JP7 = 1-2
Figure 2-4, Data Memory Configuration
2-7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Spectrum Digital, Inc
2.2.3 I/O Space
The I/O map for the TMS320LF2407 EVM is sho wn below:
Hex
0000 0004
0005 0007
D/A Converter
Reserved
2.3 User Switches and LEDs
The TMS320LF2407 EVM has 4 switches and 4 LEDs that are available for user applications.These devices are I/O mapped at locations 0x0008 and 0x000C respectively on data bits D0-D3. To access these devices the “IN” and “ OUT” instructions are used. Refer to sections 2.13 and 2.16 for more detail on these two items.
2.4 Oscillator Selection
0008
0009
000B
000C
000D 7FFF
8000 FFFF
4 Position DIP Switch
Reserved
LEDs
Reserved
External
Figure 2-5, I/O Space
Configuration
The TMS320LF2407 EVM is equipped with a 7.37 Megahertz oscillator. The core CPU receives CLKIN/2 (CPUCLK). After resets the PLL Cloc k Module defaults to CPUCLK/4 yielding approximately a 2 Mhz clkout. The PLL can be programmed to CPUCLK*4 which results in 30 Mhz output clock. The user should refer to the “PLL Clock Module” section in the TMS320LF2407 User’s guide for more information.
2-8
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
TMS320LF2407 Evaluation Module Technical Reference
Spectrum Digital, Inc
2.5 Digital to Analog Converter
The TMS320LF2407 EVM provides f our (4) 12-bit D/A ch annels. The output is from 0 to
3.3 volts DC. The converter is mapped into I/O address space 0x0000 to 0x0004. Locations 0x0000 through 0x0003 are used for the data holding registers for channels 1-4 respectively. I/O address 0x0004 is used to transfer values in the holding registers to the converters. F or instan ce y ou ca n write to the 4 holding registers and tran sfer all 4 to the converters at the same time. Information about programming this converter can be found in Appendix C.
Table 1: DAC I/O Addresses
I/O Address Channel #
0x0000 1 0x0001 2 0x0002 3 0x0003 4 0x0004 Transfer
2.6 Expansion Bus
The TMS320LF2407 EVM has an expan sion bus which brings out all of the signals from the DSP. This expansion bus allows the user to design custom circuitry to be used with his application without having to design a CPU card. In addition this interface is used by Spectrum Digital for all of its add-on modules.
2.6.1 TMS320LF2407 EVM Expansion Connector
Expansion boards interface to the TMS320LF2407 EVM via an expansion bus. This expansion bus is divided into 4 double row header connectors. This section contains the signal definitions and pin numbers for each of the connectors.
2-9
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Loading...
+ 45 hidden pages