TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference...

93
TMS320LC54X Evaluation Module 1998 DSP Development Systems Reference Technical

Transcript of TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference...

Page 1: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

TMS320LC54XEvaluation Module

1998 DSP Development Systems

ReferenceTechnical

Page 2: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

TMS320LC54X Evaluation Module

Technical Reference

503482-0001 Rev. E October 1998

SPECTRUM DIGITAL, INC.10853 Rockley Road Houston, TX. 77099

Tel: 281/561-6952 Fax: 281/[email protected] www.spectrumdigital.com

Page 3: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

IMPORTANT NOTICE

Spectrum Digital, Inc. reserves the right to make changes to its products or to discontinue anyproduct or service without notice, and advises its customers to obtain the latest version of relevantinformation 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 currentspecifications in accordance with Spectrum Digital’s standard warranty. Testing and other qualitycontrol 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 SpectrumDigital 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 anycombination, machine, or process in which such Digital Signal Processing development products orservices might be or are used.

WARNING

This equipment is intended for use in a laboratory test environment only. It generates, uses, and canradiate radio frequency energy and has not been tested for compliance with the limits of computingdevices pursuant to subpart J of part 15 of FCC rules, which are designed to provide reasonableprotection against radio frequency interference. Operation of this equipment in other environmentsmay cause interference with radio communications, in which case the user at his own expense will berequired to take whatever measures may be required to correct this interference.

TRADEMARKSMS-DOS, MS-Windows, and Windows 95 are registered trademarks of Microsoft Corp.

Copyright © 1998 Spectrum Digital, Inc.

Page 4: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Contents

1 Introduction to the TMS320LC54X Evaluation Module . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Provides you with a description of the TMS320LC54X Evaluation Module, key features, and board outline. 1.0 Overview of the TMS320LC54X EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.1 Key Features of the TMS320LC54X EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.2 Functional Overview of the TMS320LC54X EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-32 TMS320LC54X EVM Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 Describes the operation of the EVM320LC54X. Information is provided on the EVM’s various interfaces. 2.0 The TMS320LC54X EVM Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 2.1 The TMS320LC54X EVM Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 2.1.1 Power Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 2.2 TMS320LC54X 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 Onboard UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 2.4 Oscillator Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 2.5 Analog Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9 2.5.1 J2, Analog Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9 2.5.2 J3, Analog Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9 2.6 Expansion Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10 2.6.1 P1, I/O Expansion Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11 2.6.2 P2, Analog Expansion Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12 2.6.3 P3, Address/Data Expansion Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13 2.6.4 P4, Control Expansion Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14 2.6.5 P6, Host Port Interface Expansion Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15 2.7 P7, JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16 2.8 Onboard Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17 2.9 EVM320C54X EVM Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19 2.9.1 JP1, AD55 AC/DC Coupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20 2.9.2 JP2, UART Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20 2.9.3 JP3, Synchronous Port Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20 2.9.4 JP4, AD55 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21 2.9.5 JP5, Ready Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21 2.9.6 JP6, Onboard UART Interrupt Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21 2.9.7 JP7, Bootloader Enable/Disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22 2.9.8 JP8, JP9, JP10, Oscillator Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22 2.9.9 JP11, SYSCLK Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23

Page 5: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

2.9.10 JP12, A15/A17 Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24 2.9.11 JP13, Onboard UART CTS Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24 2.9.12 JP14, DSP Core Voltage Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25 2.10 LEDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25 2.12 Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . 2-25A TMS320LC54X EVM PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 Lists the PAL equations that are used on the TMS320LC54X EVM A.1 Memory Decode PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2 A.2 Decode PAL Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4B TMS320LC54X Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1 Contains the schematics for the TMS320LC54X EVMC TL16C550 Data Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 Contains the technical information for the TL16C550D TLC320AD55 Data Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1 Contains the technical information for the TLC320AD55E EVM320 Mechanical Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-1 Contains the mechanical information about the TMS320LC54X EVM

Page 6: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

About This Manual

This document describes the board level operations of the TMS320LC54X evaluationmodule (EVM). The EVM is based on the Texas Instruments TMS320LC54X DigitalSignal Processor.

The TMS320LC54X EVM is a table top card to allow engineers and softwaredevelopers to evaluate certain characteristics of the TMS320LC54X DSP to determineif the processor meets the designers application requirements. Evaluators can createsoftware to execute onboard or expand the system in a variety of ways.

Notational Conventions

This document uses the following conventions.

The TMS320LC54X will sometimes be referred to as the LC54X.

Program listings, program examples, and interactive displays are shown is a specialitalic 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,or hardware, or other equipment. The information in a caution is provided for yourprotection. Please read each caution carefully.

Related Documents

Texas Instruments TMS320LC54X Users GuideTexas Instruments TMS320C54X Fixed Point Assembly Language Users GuideTexas Instruments TMS320C54X Fixed Point C Language Users GuideTexas Instruments TMS320C54X Fixed Point C Source Debugger Users Guide

Page 7: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

1-1

Chapter 1

Introduction to the TMS320LC54x Evaluation Module

This chapter provides you with a description of the TMS32LC54xEvaluation Module along with the key features and a block diagram ofthe circuit board.

Topic Page

1.0 Overview of the TMS320LC54x EVM 1-21.1 Key Features of the TMS320LC54x EVM 1-21.2 Functional Overview of the TMS320LC54x EVM 1-3

Page 8: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

1-2 TMS320LC54x Evaluation Module Technical Reference

1.0 Overview of the TMS320LC54x EVM

The TMS320LC54x evaluation module(EVM) is a stand-alone card that lets evaluatorsexamine certain characteristics of the LC54x digital signal processor(DSP) todetermine if this DSP meets their application requirements. Furthermore, the module isan excellent platform to develop and run software on the LC54x family of processors.

The LC54x EVM is shipped with a TMS320LC548 DSP, however, other family memberscan be supported as they become available. The EVM allows full speed verification ofLC54x code. With 32K words of onchip memory, 256K words of onboard memory, flashrom, on board UART, and a TLC320AD55 Sigma Delta codec the board can solve avariety of problems as shipped. Five expansion connectors are provided for anynecessary evaluation circuitry not provided on the as shipped configuration.

To simplify code development and shorten debugging time a number of user interfacesare provided. Debuggers providing assembly language and ‘C’ high level languagedebug are available with JTAG emulators.

1.1 Key Features of the TMS320LC54x EVM

The LC54x EVM has the following features:

• LC548 operating at 66 Mhz. with 256K words of one (1) wait state memory

• LC549 operating at 80 Mhz. with 256K words of one (1) wait state memory

• VC549 operating at 100 Mhz. with 256K words of two (2) wait state memory

• TLC320AD55 Sigma Delta Codec with RCA Jack input and output

• On board UART

• 32K Words of onboard Flash ROM

• 5 Expansion Connectors (data, address, I/O, control, and Host Port Interface)

• On board IEEE 1149.1 JTAG Connection for Optional Emulation

• 5 Volt Only Operation

Page 9: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

1-3

1.2 Functional Overview of the TMS320LC54x EVM

Figure 1-1 shows a block diagram of the basic configuration for the LC54x EVM. Themajor interfaces of the EVM include the target ram and rom interface, target UART andsigma delta codec, and expansion interface.

The LC54x interfaces to 256K Words of one wait-state static memory. An external I/Ointerface supports 65,000 parallel I/O ports and optional high speed synchronous serialport. A Flash Boot Rom is mapped into the data and I/O memory space. RCA jacksprovide input and outputs to and from the AD55 sigma delta codec.

JTAG

DATA

ADDRESS

CONTROL

TMS320LC54X

JTAG P5

TL16C550

UART

FLASHEPROM32K x 16

SRAM

256K x 16

ANALOG

EXPANSION

P2

I/O

EXPANSION

P1

ADDRESS/DATA

P3

CONTROL

P4

SERIAL

P7

Figure 1-1 BLOCK DIAGRAM TMS320LC54X EVM

SYNC

SYNC

SYNC

PORT

PORT

PORT

TLC320AD55

TDM

BUFFERED

BUFFERED

HOST PORTINTERFACE

HPI

Page 10: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

1-4 TMS320LC54x Evaluation Module Technical Reference

Page 11: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

2-1

Chapter 2

Operation of the TMS320LC54X Evaluation Module

This chapter describes the operation of the TMS320LC54X EvaluationModule along with the key interfaces and an outline of the circuit board.

Topic Page

2.0 The TMS320LC54X EVM Operation 2-32.1 The TMS320LC54X EVM Board 2-32.1.1 Power Connector 2-42.2 TMS320LC54X Memory Interface 2-42.2.1 Program Memory 2-62.2.2 Data Memory 2-72.2.3 I/O Space 2-82.3 Onboard UART 2-82.4 Oscillator Selection 2-82.5 Analog Interface 2-92.5.1 J2, Analog Input 2-92.5.2 J3, Analog Output 2-92.6 Expansion Bus 2-102.6.1 P1, I/O Expansion Connector 2-112.6.2 P2, Analog Expansion Connector 2-122.6.3 P3, Address/Data Expansion Connector 2-132.6.4 P4, Control Expansion Connector 2-142.6.5 P6, Host Port Interface Expansion Connector 2-152.7 P7, JTAG Interface 2-162.8 Onboard Serial Interface 2-17

Page 12: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-2 TMS320LC54X Evaluation Module Technical Reference

Topic Page

2.9 EVM320C54X Jumpers 2-192.9.1 JP1, AD55 AC/DC Coupling 2-202.9.2 JP2, UART Reset 2-202.9.3 JP3, Synchronous Port Routing 2-202.9.4 JP4, AD55 Reset 2-212.9.5 JP5, Ready Routing 2-212.9.6 JP6, Onboard UART Interrupt Select 2-212.9.7 JP7, Bootloader Enable/Disable 2-222.9.8 JP8, JP9, JP10 Oscillator Selection 2-222.9.9 JP11, SYSCLK Option 2-232.9.10 JP12, A15/A17 Select 2-242.9.11 JP13, Onboard UART CTS Routing 2-242.9.12 JP14, DSP Core Voltage Select 2-252.10 LEDS 2-252.11 Resets 2-25

Page 13: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-3

2.0 The TMS320LC54X EVM Operation

This chapter describes the LC54X Evaluation module, its key components, and howthey operate. It also provides information on the EVM’s various interfaces.The LC54XEVM consists of five major blocks of logic.

• LC54X external memory • Analog Interface• On board Serial I/O interface• Expansion interface• JTAG Interface

2.1 The TMS320LC54X EVM Board

The LC54X EVM is a 3U sized board which is powered by an external 5 Volt only powersupply. Figure 2-1 shows the layout of the LC54X EVM.

Figure 2-1 TMS32LC54X EVM

Page 14: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-4 TMS320LC54X Evaluation Module Technical Reference

2.1.1 Power Connector

The LC54X is powered by a 5 Volt only power supply which is available with themodule. The board requires 1 amp. The power is supplied via 2 millimeter jack J1. Ifexpansion boards are connected to the module a higher amperage power supply maybe necessary. The board also has a 3.3 volt regulator to provide power to the lowervoltage components.

2.2 TMS320LC54X Memory Interface

The EVM includes 192k Words of one wait-state program ram memory and 64k wordsof one wait-state data ram memory, providing a total of 256k words of off chip staticram. The board also features two 32k flash roms for boot loading.

It is important to remember that internal memory has a higher precedence than theexternal memory. For more information on the memory in the device populated in yourEVM card please refer to Texas Instruments TMS320LC54X Users Guide. Futhermore,it is important to take into account that external memory is affected by wait-states. Waitstate generation for off-chip memory space (data, program, or I/O) is done with theSoftware Wait State Generation Register(SWWSR). To obtain one waitstate off-chipmemory bits in the SWWSR must be appropriately programmed. The board powers upwith 7 wait-states. The EVM board does not generate wait states via the ready signalfor external program and data memory accesses, only I/O accesses use the readysignal.

External memory decode is done via U13 a GAL20V8. The generic array device selectsthe RAM, FLASH ROM, or on board peripherals. The equations for the GAL areincluded in Appendix A. The figure below shows a one wait state program spacememory read followed by a data space memory write.

The external Flash ROM is mapped into the upper 32K words of data and I/O space forboot loading. Note that this memory requires multiple wait states. The main purpose ofthis memory is to allow for the boot loading of programs via the LC54X’s internal bootloader.

Page 15: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-5

The figure below shows the memory timing for the EVM320LC54X Evaluation Module.

CLKOUT

ADDRESS

Figure 2-2 EVM320LC54X Memory Timing

READ WRITE

PS

DS

MSTRB

R/W

DATA

RAMOWE

RAMOE

Program Read 1 Wait State Data Write 1 Wait State

Page 16: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-6 TMS320LC54X Evaluation Module Technical Reference

2.2.1 Program Memory

There are two configurations for program memory. The selection of these configurations is done by the 54X’s OVLY bit. When in OVLY mode, addresses0x0000 - 0x8000 are internal for every page. In this mode, there are five (5) 32K wordpages of external program RAM and one (1) 32K word page of internal RAM. When inlinear mode program memory is mapped to external RAM. Shown below are the twoprogram memory configurations:

Hex

Overlay Mode, OVLY = 1Linear Mode, OVLY = 0

Hex

0x000000

0x00007F

0x000080

0x007FFF

0x00FF80

0x00FFFF

0x010000

0x027FFF

0x008000

0x00FF7F

0x001FFF

0x002000

0x028000

0x05FFFF

External

External

External

External

External

External

External Interrupts

Reserved

DARAM

SARAM

Page 0

Page 0

External RAM

External Interrupts

0x000000

0x00007F

0x000080

0x001FFF

0x002000

0x007FFF

0x00FFFF

0x00FF80

0x008000

0x00FF7F

RAM

RAM

RAM

RAM

RAM

RAM

Figure 2-3 EVM320LC54X Program Space

Page 1

Page 2

Page 3

Page 4

External RAM

External RAM

External RAM

0x018000

0x028000

0x038000

0x048000

0x01FFFF

0x02FFFF

0x03FFFF

0x04FFFF

RAM Images

0x37FFFF

0x060000

* Jumper JP12 in 2-3 position

† Jumper JP12 in 1-2 position

0x05FFFF

0x058000

External Page

0x37FFFF

0x060000

External RAM

RAM Image

Page 17: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-7

2.2.2 Data Memory

The data memory configuration is shown below. The external data memory is mappedfrom 0x8000 to 0xFFFF.

Flash memory is also mapped in data space from 0x8000 to 0xFFFF when the UARTOUT3 (DTR bit in MCR Register) bit is set to 0. This allows for boot loading. Thememory space can be recovered for RAM memory by setting the OUT3 bit to 1.

Note: The logic state of OUT3 is inverted of bit state in the UART register.

Hex

0x0000

0x005F

0x0060

0x007F

0x0080

0x1FFF

0x2000

0x7FFF

0x8000

0xFFFF

Memory-MappedRegisters

Scratch Pad

8K Dual Access

RAM (DARAM)

Single AccessRAM (SARAM)

RAM or FLASH ROMExternal

Figure 2-4 EVM320LC54X Data Space

Page 18: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-8 TMS320LC54X Evaluation Module Technical Reference

2.2.3 I/O Space

The I/O map for the TMS320LC54X EVM is shown below:

2.3 Onboard UART

The TMS320LC54X EVM has a TL16C550 UART mapped into the I/O space of theLC54X at locations 0x0000 - 0x0008. The UART allows users to use this resource fordata logging, code debugging or other application features. Appendix C contains theprogramming information for the TL16C550 device.

2.4 Oscillator Selection

The TMS320LC54X EVM is equipped with a 10 Megahertz oscillator. When theprocessor resets the PLL Clock Module defaults to 10 Mhz CLKOUT in divide mode.The PLL can then be programmed to obtain a variety of clock frequencies. If the PLLfrequency is required to change after the programming the part must be returned to thedivide mode before the programming of the new PLL frequency. The user should referto the “PLL Clock Module” section in the TMS320LC54X User’s guide for valid clockconfigurations.

Hex

0x0000

0x0FFF

0x1000

0x7FFF

0x8000

0xFFFF

Off-Chip UART

Expansion

FLASH ROM if OUT3 = 0

Expansion if OUT3 = 1

Figure 2-5 EVM320LC54X I/O Space

Page 19: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-9

2.5 Analog Interface

The LC54X synchronous serial port can be used to access either the onboardTLC320AD55 sigma delta codec or be jumpered to the expansion connector. JumperJP3 (1-2) is used to interconnect the serial port to the AD55. If the serial port is to beused from the expansion connector the plug should be in the 2-3 position.

.

Programming information for the TLC320AD55 is contained in appendix D.

2.5.1 J2, Analog Input

The analog input is driven from either RCA Jack J2 or expansion connector P2. Theanalog input can be either AC or DC coupled. Jumper JP1 determines if the input isAC or DC coupled.

2.5.2 J3, Analog Output

The analog output is driven to RCA Jack J3 and expansion connector P2.

Table 1: AIC Signal Source

JP3 Position Signal Source

1-2 TLC320AD55

2-3 Expansion Connector P4

Table 2: J2, Coupling

JP1 Position Input Coupling

1-2 DC Coupled

2-3 AC Coupled

Page 20: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-10 TMS320LC54X Evaluation Module Technical Reference

2.6 Expansion Bus

The TMS320LC54X EVM has an expansion bus which brings out all of the signals fromthe DSP. This expansion bus allows the user to design custom circuitry to be used withhis application without having to design a CPU card. In addition this interface is used bySpectrum Digital for all of its add-on modules.

This expansion bus is divided into 5 double row header connectors. This sectioncontains the signal definitions and pin numbers for each of the connectors.

Table 3: Expansion Bus Connectors

Connector Function

P1 I/O Expansion

P2 Analog Expansion

P3 Address/Data

P4 Control

P6 Host Port Interface

Page 21: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-11

2.6.1 P1, I/O Expansion Connector

The definition of P1, which has the I/O signals is shown below.

Table 4: P1, I/O Expansion Connector

Pin # Signal Pin # Signal

1 VCC, +5 Volts 2 VCC, +5 Volts

3 TOUT 4 A16

5 TDR 6 A17

7 TDX 8 A18

9 TFSR 10 A19

11 TFSX 12 A20

13 TCLKR 14 A21

15 TCLKX 16 A22

17 GND 18 GND

19 XF 20 BIO

21 RESERVED 22 RESERVED

23 UARTOUT1 24 UARTOUT3

25 UARTOUT2 26 RESERVED

27 RESERVED 28 RESERVED

29 UARTIN1 30 UARTIN3

31 UARTIN2 32 RESERVED

33 GND 34 GND

Page 22: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-12 TMS320LC54X Evaluation Module Technical Reference

2.6.2 P2, Analog Expansion Connector

The definition of P2, which has the analog signals is shown below.

Table 5: P2, Analog Expansion Connector

Pin # Signal Pin # Signal

1 VCCA, +5V Analog 2 VCCA, +5V Analog

3 ADCIN0 4 RESERVED

5 RESERVED 6 RESERVED

7 RESERVED 8 RESERVED

9 RESERVED 10 RESERVED

11 FLAG0 12 FLAG1

13 RESERVED 14 RESERVED

15 RESERVED 16 RESERVED

17 AGND 18 AGND

19 RESERVED 20 RESERVED

21 RESERVED 22 -5V

23 AGND 24 AGND

25 DACOUT0 26 RESERVED

27 RESERVED 28 RESERVED

29 RESERVED 30 RESERVED

31 RESERVED 32 RESERVED

33 AGND 34 AGND

Page 23: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-13

2.6.3 P3, Address/data Expansion Connector

The definition of P3, which has the address and data signals is shown below.

Table 6: P3, Address/Data Expansion Connector

Pin # Signal Pin # Signal

1 A0 2 A1

3 A2 4 A3

5 A4 6 A5

7 A6 8 A7

9 A8 10 A9

11 A10 12 A11

13 A12 14 A13

15 A14 16 A15

17 GND 18 GND

19 D0 20 D1

21 D2 22 D3

23 D4 24 D5

25 D6 26 D7

27 D8 28 D9

29 D10 30 D11

31 D12 32 D13

33 D14 34 D15

Page 24: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-14 TMS320LC54X Evaluation Module Technical Reference

2.6.4 P4, Control Expansion Connector

The definition of P4, which has the control signals is shown below.

Table 7: P4, Control Expansion Connector

Pin # Signal Pin # Signal

1 VCC, +5 Volts 2 VCC, +5 Volts

3 DS- 4 PS-

5 IS- 6 RESERVED

7 WE- 8 RD-

9 MSTRB- 10 R/W

11 READY 12 IOSTRB-

13 RS- 14 TRGRESET-

15 NMI- 16 XINT1-

17 GND 18 GND

19 XINT2 20 XINT3-

21 BDR0 22 BDR1

23 BDX0 24 BDX1

25 BFSR0 26 BFSR1

27 BFSX0 28 BFSX1

29 BCLKR0 30 BCLKR1

31 RESERVED 32 CLKOUT

33 GND 34 GND

Page 25: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-15

2.6.5 P6, Host Port Interface Expansion Connector

The definition of P6, which has the Host Port Interface signals is shown below.

Table 8: P6, Host Port Interface

Pin # Signal Pin # Signal

1 HD0 2 HD1

3 HD2 4 HD3

5 HD4 6 HD5

7 HD6 8 HD7

9 RESERVED 10 RESERVED

11 RESERVED 12 RESERVED

13 RESERVED 14 RESERVED

15 RESERVED 16 RESERVED

17 GND 18 GND

19 HCS 20 HDCNTL0

21 RESERVED 22 HDCNTL1

23 HRW 24 HDS2

25 HRDY 26 HDS1

27 HINT 28 HAS

29 HBIL 30 RESERVED

31 RESERVED 32 RESERVED

33 GND 34 GND

Page 26: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-16 TMS320LC54X Evaluation Module Technical Reference

2.7 P7, JTAG Interface.

The TMS320LC54X Evaluation Module is supplied with a 14 pin header interface, P7.This is the standard interface used by JTAG emulators to interface to TexasInstruments DSPs. The pinout for the connector is shown figure 2-6 below:

1 23 4

5 67 89 1011 1213 14

TMSTDI

PD (+5V)TDO

TCK-RET

TCKEMU0

TRST-GNDno pin (key)GNDGND

GNDEMU1

Header Dimensions

Pin-to-Pin spacing, 0.100 in. (X,Y)Pin width, 0.025-in. square post

Pin length, 0.235-in. nominal

Figure 2-6 JTAG INTERFACE

Page 27: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-17

2.8 Onboard Serial Interface

The EVM320LC54X has a TL16C550 UART (U7) which provides a an additional serialinterface. This UART is mapped into I/O space at locations 0x0000 to 0x0008. Thisdevice allows users to use this resource for data logging, code debugging and otherapplications. The software wait state generator should be set to 3-7 wait states beforeaccessing the UART. The UART interface GAL, U20, generates the necessary waitstates to complete the interface cycle.

This UART is brought out to connector P5 on the EVM320LC54X. Connector P5 is aDB9 female connector. The pin positions for the P5 connector as viewed from the edgeof the EVM320LC54X.

The pin numbers and their corresponding signals are shown in the table below:

* Jumper JP13 can be used to configure pin 4 to pin 7 on P5. This allows for normal handshaking. The jumper settings are shown in the table below:

Table 9: P5, RS232 Pinout

Pin # PC (female) SD EVM

2 Rx, input Tx, output

3 Tx, output Rx, input

4 DTR, output Reset/CTS, input*

5 GND GND

8 CTS, input RTS, output

Table 10: JP13 Settings

JP13 Position CTS Routing

1-2 P5 pin 4 used on CTS input

2-3 P5 pin 7 used on CTS input

9

5 4 3 2 1

8 7 6

Figure 2-7 P5, DB9 Female Connector

Page 28: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-18 TMS320LC54X Evaluation Module Technical Reference

The UART can be jumpered via JP6 to generate different interrupt levels. The type of interruptis shown in the table below:

Table 11: Onboard UART Interrupt Selection

JP6 Position Interrupt Level

1-2 NMI

2-3 INT1

Page 29: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-19

2.9 EVM320C54X Jumpers

The EVM320C54X has 14 jumpers which determine how features on the EVM areutilized. The table below lists the jumpers and their function. The followingsections describe the use of each jumper.

Each jumper on the TMS320LC54X EVM is a 1x3 jumper except for jumper. Each 1x3jumper must have the selection 1-2 or 2-3. The #2 pin is the center pin. The #1 pin hasa square solder pad and can be seen from the solder side of the printed circuit board.This pin is usually marked with a ‘1’ on the boards silkscreen. A top view of both typesof jumpers is shown below:

Table 12: EVM320C54X Jumpers

Jumper # Size Function

JP1 1 x 3 AD55 AC/DC Coupling

JP2 1 x 3 UART Reset

JP3 1 x 3 Synchronous Port Routing

JP4 1 x 3 AD55 Reset

JP5 1 x 3 READY Option

JP6 1 x 3 Onboard UART Interrupt Select

JP7 1 x 3 Bootloader Enable

JP8, JP9, JP10 1 x 3 Oscillator Mode Select

JP11 1 x 3 SYSCLK Option

JP12 1 x 3 A15/A17 Select

JP 13 1 x 3 UART CTS Routing

JP14 1 x 3 DSP Core Voltage Select

31 2

Figure 2-9 1x3 Jumper Layout

WARNING !

be installed in either the 1-2 or 2-3 positionUnless noted otherwise, all 1x3 jumpers must

Page 30: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-20 TMS320LC54X Evaluation Module Technical Reference

2.9.1 JP1, AD55 AC/DC Coupling

Jumper JP1 is used to select the coupling for the analog input. If position 1-2 is selectedthe coupling is DC. The 2-3 selection will provide AC coupling.

2.9.2 JP2, UART Reset

Jumper JP2 is used to select either a system reset from P5, pin4 DTR line or to connectthe DTR line to the UART’s CTS pin. When position 1-2 is selected the DTR activatesthe reset. The 2-3 position connects DTR to CTS. The table below shows the positionsand their functions:

2.9.3 JP3, Synchronous Port Routing

Jumper JP3 is used to connect the source of data for the synchronous serial port on theLC54X. By selecting position 1-2 the synchronous serial port is connected to theTLC320AD55 AIC. Position 2-3 connects the serial port to the expansion connector P4he table below shows the positions and their functions:

Table 13: JP1, AC/DC Coupling

Position Function

1-2 DC Coupled

2-3 AC Coupled

Table 14: JP2, UART Reset

Position Function

1-2 DTR Activates Reset

2-3 Connects DTR to CTS

Table 15: JP3, Synchronous Port Routing

Position Function

1-2 TLS320AD55

2-3 Expansion Connector P4

Page 31: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-21

2.9.4 JP4, AD55 Reset

The AD55 Codec can be reset either by the system reset or a user option. Position 1-2allows the AD55 to be reset by the system reset. In position 2-3 the AD55 is resetfrom a user defined pin on the DSP. The table below shows the positions and theirfunctions:

2.9.5 JP5, Ready Routing

READY to the LC54X device from the GAL U20 can be deactivated if necessary. Ofcourse this prevents use of the onboard UART. In normal mode (position 1-2) externalREADY from the I/O connector is routed through GAL U20. When JP5 is in the 2-3position the READY signal is routed directly from the expansion connector to theLC54X device. The table below shows the positions and their functions:

2.9.6 JP6, Onboard UART Interrupt Select

The jumper JP6 is used to select which interrupt the onboard UART will use. Position1-2 will cause an NMI interrupt. Position 2-3 will cause INT1.

This option is used to allow a debug monitor to be placed in ROM or for the serial portto be used with application software which requires interrupt masking.

Table 16: JP4, AD55 Reset

Position Function

1-2 System Reset Activates AD55 Reset

2-3 User option

Table 17: JP5, READY Routing

JP5 Position Function

1-2 READY from GAL U20

2-3 READY directly from I/O expansion connector

Table 18: JP6, Onboard UART Interrupt Selection

JP6 Position Signal

1-2 NMI

2-3 INT1

Page 32: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-22 TMS320LC54X Evaluation Module Technical Reference

2.9.7 JP7, Bootloader Enable/Disable

Jumper JP7 is used to enable or disable the bootloader on the TMS320LC54X. Thetable below shows the two positions and their functions:

2.9.8 JP8, JP9, JP10, Oscillator Selection

Jumpers JP8, JP9, and JP10 are used together to select different clock modes andspeeds for the LC54X DSP. The EVM320LC54X is equipped with a 10 megahertzoscillator.

The LC54X PLL can be configured in one of the two provided clock modes:

- The input clock (CLKIN) is divided by 2 or 4; this is called DIV mode - The input clock (VLKIN) is multiplied by one of 31 possible ratios which range from 0.25 to 15. These ratios are achieved with the Analog Voltage controlled Oscillator (VCO).; this mode is called PLL mode.

When the PLL clock mode is not used, VCO and all the analog parts are disabled inorder to minimize the power dissipation

The PLL clock mode can be determined by setting 3 external clock mode pins duringreset or by software. In software, a 16 bit register (CLKMD) controls the behavior of thePLL and sets the mode.

Table 19: JP7, Bootload Enable/Disabled

Position Function

1-2 Boot Loader Enabled

2-3 Boot Loader Disabled

Page 33: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-23

At start-up the clock mode is selected with the values on input pins CLKMD1, CLKMD2,and CLKMD3. These these pins are tied to jumpers JP8, JP9, and JP10 respectively.The configuration is shown in the table below.

2.9.9 JP11, SYSCLK Option

Jumper JP11 allows the selection of either the rising edge or falling edge of CLKOUT togenerate READY for UART operations. As processor frequencies increase it will benecessary to pipeline the READY signal. This jumper provides for these requirements.The table below shows the two positions and their functions:

Table 20: JP8, JP9, JP10, Clock Mode Table

JP8,CLKMD1

JP9,CLKMD2

JP10,CLKMD3

Clock Mode/CLKMD Value Upon Reset

2-3 1-2 2-3 1/2 with external source, CLKMD = 0000h

1-2 2-3 2-3 1/2 with external source, CLKMD = 6000h

1-2 1-2 2-3 1/2 with external source, CLKMD = 4000h

2-3 2-3 2-3 1/2 with external source, CLKMD = 2000h

2-3 1-2 1-2 1/2 with external source, CLKMD = 1000h

2-3 2-3 1-2 Stop mode, CLKMD = na

1-2 1-2 1-2 PLL * 1 with external source, CLKMD = 7000h

1-2 2-3 1-2 1/2 with external source, CLKMD = 7000h

Table 21: JP11, SYSCLK Option

Position Function

1-2 Use Inverted CLKOUT for U20 GAL Clock

2-3 Use CLKOUT for U20 GAL Clock

Page 34: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-24 TMS320LC54X Evaluation Module Technical Reference

2.9.10 JP12, A15/A17 Select

Jumper JP12 allows the selection of memory address MA15 with either processoraddress A15 or A17. Currently the board only supports the A15 option (position 2-3).The table below shows the two positions and their functions:

2.9.11 JP13, Onboard UART CTS Routing

Jumper JP13 can be used to configure the source of the CTS signal on the onboardUART. When position 1-2 is used the pin 4 in P5 is used as the CTS input. If position2-3 is selected pin 7 on P5 is used as the CTS input. The jumper settings are shown inthe table below:

Table 22: JP12, A15/A17 Select

Position Function

1-2 Use A17 for memory address MA17

2-3 Use A15 for memory address MA15

Table 23: JP13, CTS Routing

JP13 Position CTS Routing

1-2 P5 pin 4 used on CTS input

2-3 P5 pin 7 used on CTS input

Page 35: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-25

2.9.12 JP14, DSP Core Voltage Select

Jumper JP14 is used to control the voltage to the core of the C54x DSP. If you are notsure of the core voltage refer to a data sheet prior to changing this jumper. The tablebelow shows the setting and the corresponding voltages.

This jumper is set to the appropriate position before shipment.

2.10 LEDs

The EVM320C54X EVM has two light emitting diodes. DS1 indicates the presence of+5 volts and is normally ‘on’ when power is applied to the board. DS2 is under software control. It is tied to the XF pin on the DSP. These are shown in the table below:

2.11 Resets

There are multiple resets for the TMS320LC54X EVM. The first reset is the power onreset. This circuit waits until power is within the specified range before releasing thepower on reset pin to the TMS320LC54X.

External sources such as push button (SW1), PC Host reset pin 4 on P5 UARTinterface, and pin 13 on the Control Expansion connector can generate a resetcondition.

Table 24: JP14, DSP Core Voltage Select

Position Core Voltage Device

1-2 3.3 Volts LC548, LC549

2-3 2.5 Volts VC549

Table 25: LEDs

LED # Color Controlling Signal On Signal State

DS1 Green +5 Volts 1

DS2 Red XF on DSP 1

WARNING !

Setting this jumper incorrectlycan damage to the DSP device

Page 36: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

2-26 TMS320LC54X Evaluation Module Technical Reference

Page 37: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

A-1

Appendix A

TMS320LC54X EVM PAL Equations

This appendix lists the two PAL logic equations that are used on theTMS320LC54X Evaluation Module (EVM).

Topic Page

A.1 Memory Decode Equations A-2A.2 I/O Control Equations A-4

Page 38: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

A-2 TMS320LC54X Evaluation Module Technical Reference

A.1 Memory Decode PAL Equations

The following PAL equations are used for the memory decode logic

module _503123C flag ‘-r3’ title ‘Memory Decode Part Number: 503124-0001 Designer: Ron Peterson Rev C Feb 2,1998 Company: Spectrum Digital Inc. Copyright 1996 ‘

“ Device Declaration

U503123C device ‘P20V8C’;

“ Inputsds, /* data space */

DS pin 1; “PS pin 2; “RW pin 3; “MSTRB pin 4; “IOSTRB pin 5 “A22 pin 6; “A21 pin 7; “A20 pin 8; “A19 pin 9; “A18 pin 10; “A17 pin 11; “IS pin 23; “A16 pin 13; “A15 pin 14; “UART pin 16; “IO3 pin 17; “

“ Outputs

INTERN pin 22; “RAM0WE pin 21; “RAM0OE pin 20; “RAM1WE pin 19; “RAM1OE pin 18; “ROM pin 15; “

Page 39: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

A-3

“ Constants

H,L,X,CK = 1, 0, .X., .C.;

equations

!RAM0WE = !MSTRB & !PS & !RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & A16 # !MSTRB & !PS & !RW & !A22 & !A21 & !A20 & !A19 & !A18 & A17 & !A16 # !MSTRB & !PS & !RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & A16 & A15 # !MSTRB & !PS & !RW & !A22 & !A21 & !A20 & !A19 & !A18 & A17 & !A16 & A15 # !MSTRB & !PS & !RW & !A22 & !A21 & !A20 & !A19 & !A18 & A17 & A16 & A15 # !MSTRB & !PS & !RW & !A22 & !A21 & !A20 & !A19 & A18 & !A17 & !A16 & A15;

!RAM0OE = !MSTRB & !PS & RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & A16 # !MSTRB & !PS & RW & !A22 & !A21 & !A20 & !A19 & !A18 & A17 & !A16 # !MSTRB & !PS & RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & A16 & A15 # !MSTRB & !PS & RW & !A22 & !A21 & !A20 & !A19 & !A18 & A17 & !A16 & A15 # !MSTRB & !PS & RW & !A22 & !A21 & !A20 & !A19 & !A18 & A17 & A16 & A15 # !MSTRB & !PS & RW & !A22 & !A21 & !A20 & !A19 & A18 & !A17 & !A16 & A15;

!RAM1WE = !MSTRB & !PS & !RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 # !MSTRB & !DS & !RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & !A15 & IO3 # !MSTRB & !DS & !RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & !IO3;

!RAM1OE = !MSTRB & !PS & RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 # !MSTRB & !DS & RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & !A15 & IO3 # !MSTRB & !DS & RW & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & !IO3;

!ROM = !IOSTRB & !IS & RW & IO3 & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & A15 # !IOSTRB & !IS &!RW & IO3 & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & A15 # !MSTRB & !DS & RW & IO3 & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & A15 # !MSTRB & !DS &!RW & IO3 & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & A15 ;

!INTERN = !IOSTRB & !IS & RW & IO3 & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & A15 # !IOSTRB & !IS &!RW & IO3 & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & A15 # !MSTRB & !DS & RW & IO3 & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & A15 # !MSTRB & !DS &!RW & IO3 & !A22 & !A21 & !A20 & !A19 & !A18 & !A17 & !A16 & A15 # !UART & !IOSTRB;

end _503123C

Page 40: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

A-4 TMS320LC54X Evaluation Module Technical Reference

A.2 I/O Control PAL Equations

The following PAL equations are used for the I/O control logic

module _503124B flag ‘-r3’ title ‘UART & Target Control Part Number: 503124-0001 Designer: Ron Peterson Rev B Mar 2,1997 Company: Spectrum Digital Inc. Copyright 1996 ‘

“ Device Declaration

U503124B device ‘P16V8R’;

“ Inputs

CLK pin 1; “ Target ReadyIOSTRB pin 2; “ IO STROBERW pin 3; “ IO STROBEA15 pin 4; “ Address 15A14 pin 5; “ Address 14A13 pin 6; “ Address 13A12 pin 7; “ Address 12ROM pin 8; “ Rom SelectT_RDY pin 9; “ Target ReadyOE pin 11; “ Gnd

“ Outputs & Registered Outputs

WE pin 12; “ READUARTCS pin 13; “ ADSRD pin 14; “ WE-CNT0 pin 15; “ CNT0CNT1 pin 16; “ CNT1CNT2 pin 17; “ CNT2CNT3 pin 18; “ CNT3RDY pin 19; “ RDY

Page 41: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

A-5

“ Constant Declaration

H,L,X,CK = 1, 0, .X., .C.;Uart_States = [ CNT3,CNT2,CNT1,CNT0 ];

Address = [A15,A14,A13,A12,X,X,X,X,X,X,X,X,X,X,X,X];

UART_SEL = ((( Address >= ^h0000 ) & ( Address <= ^h0FFF ))& !IOSTRB);

“ State Assignments

“ CCCC“ NNNN“ TTTT“ 0123 Idle = ^b1111; Ads = ^b0111; Ads2 = ^b0011; Cyc1 = ^b0110; Cyc2 = ^b0010; Cyc3 = ^b0000; Cyc4 = ^b0001; Cyc5 = ^b0101; Cyc6 = ^b1101; Cyc7 = ^b1001; End_cyc = ^b1011;

state_diagram Uart_States

state Idle: if ((!IOSTRB ) # (!IOSTRB & !A15 & !A14 & !A13 & !A12) ) then Ads else Idle;

state Ads: goto Ads2;

state Ads2: goto Cyc1;

state Cyc1: goto Cyc2;state Cyc2: goto Cyc3;state Cyc3: goto Cyc4;state Cyc4: goto Cyc5;state Cyc5: goto Cyc6;state Cyc6: goto Cyc7;state Cyc7: goto End_cyc;

state End_cyc: if ( !IOSTRB) then End_cyc else Idle;

Page 42: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

A-6 TMS320LC54X Evaluation Module Technical Reference

equations

!RDY = (! T_RDY) # (( Uart_States == Ads) & !IOSTRB ) # (( Uart_States == Ads2) & !IOSTRB ) # (( Uart_States == Cyc1) & !IOSTRB ) # (( Uart_States == Cyc2) & !IOSTRB ) # (( Uart_States == Cyc3) & !IOSTRB ) # (( Uart_States == Cyc4) & !IOSTRB ) # (( Uart_States == Cyc5) & !IOSTRB ) # (( Uart_States == Cyc6) & !IOSTRB );

!UARTCS =( !A15 & !A14 & !A13 & !A12 & !IOSTRB ) #( !A15 & !A14 & !A13 & !A12 & !IOSTRB ) #( !A15 & !A14 & !A13 & !A12 & !IOSTRB ) #( !A15 & !A14 & !A13 & !A12 & !IOSTRB );

!RD =(( Uart_States == Cyc1) & !IOSTRB & RW ) #(( !RD) & !IOSTRB & RW ) #( !ROM & RW );

!WE =(( Uart_States == Cyc1) & !IOSTRB & !RW ) #(( Uart_States != End_cyc) & !WE & !IOSTRB & !RW ) #( !ROM & !RW );

end _503124B

Page 43: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

B-1

Appendix B

TMS320LC54X EVM Schematics

This appendix contains the schematics for the TMS320LC54X EVM. Theschematics were drawn on ORCAD.

Page 44: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-2 TMS320LC54X Evaluation Module Technical Reference

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

RE

VIS

ION

SR

EV

AP

PR

OV

ED

DA

TE

DE

SC

RIP

TIO

NN

OT

ES

. UN

LES

S O

TH

ER

WIS

E S

PE

CIF

IED

DW

N

CH

K

EN

GR

AP

VD

EN

GR

QA

AP

VD

MF

G

RLS

E

DA

TE

DA

TE

DA

TE

DA

TE

DA

TE

DA

TE

DA

TE

SC

AL

E

DR

AW

ING

NU

MB

ER

RE

VS

IZE

AP

PLI

CA

TIO

N

US

ED

ON

NE

XT

AS

SE

MB

LY

RE

VS

HT

RE

VS

HT

RE

VS

HT

RE

VS

HT

RE

VIS

ION

ST

AT

US

OF

SH

EE

TS

AP

VD

CU

ST

DA

TE

LOG

IC D

IAG

RA

M

503

122

CB

NO

NE

SH

EE

T1

OF

12

503

120

1.

All

resi

stor

val

ues

are

5% .1

25 W

AT

T

3

S P

E C

T R

U M

D I

G I

T A

L

I N C

O R

P O

R A

T E

D

XX

XX

X

4

11/

02/9

6

11/

02/9

6

87

65

SP

AR

ES

CO

MP

UT

ER

GE

NE

RA

TE

D

DO

NO

T R

EV

ISE

MA

NU

ALL

Y

9C

CC

CC

CC

C

R.R

.P.

R.R

.P.

TM

S32

0C54

8 E

VM

BO

AR

D

10

C1

0

CO

PY

RIG

HT

199

6

|lin

k|s

heet

2.sc

h|s

heet

3.sc

h

|she

et5.

sch

|she

et7.

sch

|she

et8.

sch

|she

et9.

sch

PR

OG

RA

M S

PA

CE

DA

TA

SP

AC

EIO

SP

AC

E

0x00

000

x000

0

0x8

000

0xF

FF

F

0x1

000

UA

RT

FL

AS

H

RO

M

RA

M

0xF

FF

F

0x0

0000

0x0

FF

FF

0x2

FF

FF

0x1

0000

RA

M

RA

MR

AM

0x8

000

FLA

SH

R

OM

hw o

ut3

=1

hw o

ut3

=0

hw

ou

t3 =

1

Ext

erna

l

C

|she

et10

.sch

|she

et4.

sch

|she

et6.

sch

GN

D

Page 45: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-3

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

*

* N

OT

INS

TA

LLE

D

50

31

22

C

TM

S3

20

C5

48

EV

M

SP

EC

TR

UM

DIG

ITA

L I

NC

OR

PO

RA

TE

D

CO

PY

RIG

HT

19

95

B

21

0F

rid

ay,

Oct

ob

er

16

, 1

99

8

Tit

le

Siz

eD

oc

um

en

t N

um

be

rR

ev

Da

te:

Sh

ee

to

f

D0

D1

D2

D3

D4

D5

D6

D7

D8

D9

D1

0D

11

D1

2D

13

D1

4D

15

CO

RE

_V

CC

TM

ST

RS

TT

DI

TD

OE

MU

1E

MU

0T

CK

HD

[0..

7]

A[0

..2

2]

D[0

..1

5]

HD7HD6HD5HD4HD3HD2HD1HD0

A0A1A2A3A4A5A6A7A8A9

A10A11A12A13A14A15A16A17A18A19A20A21A22

A[0

..2

2]

D[0

..1

5]

IS-

PS

-D

S-

TC

K

TD

I

TM

ST

RS

T

EM

U0

EM

U1

RD

Y

SY

SC

LK

TD

O

MS

TR

B-

R/W

-

RE

SE

T-

CL

KIN

CL

KM

D1

CL

KM

D2

CL

KM

D3

XF

TO

UT

BF

SR

0B

FS

R1

BD

X1

BD

X0

BD

R0

BD

R1

BF

SX

0B

FS

X1

TC

LK

RT

DX

TF

SR

TD

R TC

LK

XT

FS

XHD

[0..

7]

HIN

TH

RD

YH

RW

HA

SH

DS

2H

DS

1H

CS

HB

ILH

DC

NT

L1

HD

CN

TL

0

MP

/MC

BC

LK

XR

0B

CL

KX

R1

NM

I-IN

T0

-IN

T1

-IN

T2

-IN

T3

-

BIO

-

IOS

TR

B-

HO

LD

-

CO

RE

_V

CC

3.3

V

3.3

V

3.3

V

2.5

V

C4

9C

AP

NP

R1

8

33

0

R1

93

3R

20

33

R1

73

3

R1

6

33

U1

6

TM

S3

20

LC

54

X

1216526891125

43356

99

10

01

01

10

21

03

10

41

13

11

41

15

11

61

17

11

81

19

12

11

22

12

3

131132133134136137138139140141

7891011

22

20

21

24

23

19

25

30

28

26

89

87

86

85

84

83

88

61

63

64

65

66

67

98

29

31

27

82

41

38

48

71

43

36

53

73

45

35

59

74

96

97

77

78

79

94

80

13153437507090111126

32

75130

144057727693106128144

5

1051071081091101432

586981951201241356394662171271291318555192

42

44474954

60

112

142

CVDDCVDDCVDDCVDDCVDDCVDD

DVDDDVDDDVDD

D0

D1

D2

D3

D4

D5

D6

D7

D8

D9

D1

0D

11

D1

2D

13

D1

4D

15

A0A1A2A3A4A5A6A7A8A9

A11A12A13A14A15

IS PS

DS

MS

TR

BR

/WR

EA

DY

IOS

TR

B

HO

LD

XH

OL

DA

MS

CT

MS

TR

ST

TD

IT

DO

EM

U1

EM

U0

TC

K

IAC

K

NM

IIN

T0

INT

1IN

T2

INT

3R

S

IAQ

BIO

XF

TO

UT

BC

LK

R0

BC

LK

R1

BC

LK

X0

BC

LK

X1

BF

SR

0B

FS

R1

BF

SX

0B

FS

X1

BD

R0

BD

R1

BD

X0

BD

X1

X1

X2

/CL

KIN

CL

KM

D1

CL

KM

D2

CL

KM

D3

CL

KO

UT

NC

CGNDCGNDCGNDCGNDCGNDCGNDCGNDCGNDCGNDCGND

MP

/MC

DVDDDVDD

DGNDDGNDDGNDDGNDDGNDDGNDDGNDDGNDDGND

A10

PA16PA17PA18PA19PA20PA21PA22

HD0HD1HD2HD3HD4HD5HD6HD7

HDCNTL0HDCNTL1

HBILHCS

HDS1HDS2

HASHRW

HRDYHINT

HPENTCLKR

TFSRTDRTCLKXTFSX

TDX

DVDD

CVDD

JP

14

HE

AD

ER

3

1 2 3

Page 46: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-4 TMS320LC54X Evaluation Module Technical Reference

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

CN

T0

CN

T1

CN

T2

50

31

22

C

TM

S3

20

C5

48

EV

M

SP

EC

TR

UM

DIG

ITA

L I

NC

OR

PO

RA

TE

D

CO

PY

RIG

HT

19

96

B

31

0F

rid

ay,

Oct

ob

er

16

, 1

99

8

Tit

le

Siz

eD

oc

um

en

t N

um

be

rR

ev

Da

te:

Sh

ee

to

f

IS-

INT

ER

N-

DS

-R

AM

0W

E-

PS

-R

AM

0O

E-

R/W

-R

AM

1W

E-

MS

TR

B-

RA

M1

OE

-IO

ST

RB

-A

22

A2

1R

OM

-A

20

A1

9A

18

A1

7A

16

A1

5

GA

LC

LK

IOS

TR

B-

R/W

- A1

5A

14

A1

3A

12

A[0

..2

2]

RO

M-

INT

ER

N-

A[0

..2

2]

IS-

DS

-P

S-

R/W

-M

ST

RB

-IO

ST

RB

-

RA

M0

WE

-R

AM

0O

E-

RA

M1

WE

-R

AM

1O

E-

SY

SC

LK

RD

-

WE

-

UA

RT

_IN

T

RD

YT

_R

DY

INT

0-

NM

I-

OU

T3

UA

RT

CS

-

3.3

V

3.3

V

JP

5

HE

AD

ER

3

1 2 3

JP

11

HE

AD

ER

3

1 2 3

JP

6

HE

AD

ER

3

1 2 3

U1

7D

74

LV

C0

4

98 U

17

C

74

LV

C0

4

56

U1

3

GA

L2

0L

V8

-5

27 2 3 4 5 6 7 9

10

11

12

13

16

17

26

25

24

23

21

20

19

18

28

14

I1 I2/C

LK

I3 I4 I5 I6 I7 I8 I9 I10

I11

I12

I13

/OE

I14

O1

O2

O3

O4

O5

O6

O7

O8

VC

C

GN

D

U2

0

GA

L1

6L

V8

-5

1 2 3 4 5 6 7 8 91

1

12

13

14

15

16

17

18

19

20

10

I0 I1 I2 I3 I4 I5 I6 I7 I8 I9

F0

F1

F2

F3

F4

F5

F6

F7

VC

C

GN

D

Page 47: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-5

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

50

31

22

C

TM

S3

20

C5

48

EV

M

SP

EC

TR

UM

DIG

ITA

L I

NC

OR

PO

RA

TE

D

CO

PY

RIG

HT

19

96

B

41

0F

rid

ay,

Oct

ob

er

16

, 1

99

8

Tit

le

Siz

eD

oc

um

en

t N

um

be

rR

ev

Da

te:

Sh

ee

to

f

A0

A0

A1

MD

0A

1M

D0

A2

MD

1A

2M

D1

D0

MD

0A

3M

D2

A3

MD

2D

1M

D1

A4

MD

3A

4M

D3

D2

MD

2A

5M

D4

A5

MD

4D

3M

D3

A6

MD

5A

6M

D5

D4

MD

4A

7M

D6

A7

MD

6D

5M

D5

A8

MD

7A

8M

D7

D6

MD

6A

9A

9D

7M

D7

A1

0A

10

A1

1A

11

A1

2A

12

A1

3A

13

A1

4A

14

MA

DD

15

MA

DD

15

A1

6

A0

A0

A1

MD

8A

1M

D8

D8

MD

8A

2M

D9

A2

MD

9D

9M

D9

A3

MD

10

A3

MD

10

D1

0M

D1

0A

4M

D1

1A

4M

D1

1D

11

MD

11

A5

MD

12

A5

MD

12

D1

2M

D1

2A

6M

D1

3A

6M

D1

3D

13

MD

13

A7

MD

14

A7

MD

14

D1

4M

D1

4A

8M

D1

5A

8M

D1

5D

15

MD

15

A9

A9

A1

0A

10

A1

1A

11

A1

2A

12

A1

3A

13

A1

4A

14

A1

6

A1

7M

AD

15

A1

5

MD

[0..

15

]

D[0

..1

5]

A[0

..2

2]

A[0

..2

2]

D[0

..1

5]

RA

M0

WE

-R

AM

0O

E-

RA

M1

WE

-R

AM

1O

E-

MD

[0..

15

]

DS

-

VC

C

VC

C

VC

C

VC

C

4.3

V

4.3

V

U1

2

QS

32

45

2 3 4 5 6 7 8 9

19 1

18

17

16

15

14

13

12

11

20

10

A1

A2

A3

A4

A5

A6

A7

A8

OE

T/R

B1

B2

B3

B4

B5

B6

B7

B8

VC

C

GN

D

U6

QS

32

45

2 3 4 5 6 7 8 9

19 1

18

17

16

15

14

13

12

11

20

10

A1

A2

A3

A4

A5

A6

A7

A8

OE

T/R

B1

B2

B3

B4

B5

B6

B7

B8

VC

C

GN

D

U1

0

CX

K5

81

12

0J

30

29

21

20

14

13 4 3

19

18

17

16

15 2 1

32

31 5

12

28

27

26

23

22

11

10

7 6 8 24

9 25

A0

A1

A2

A3

A4

A5

A6

A7

A8

A9

A1

0A

11

A1

2A

13

A1

4A

15

A1

6

CE

WE

OE

I/O

1I/

O2

I/O

3I/

O4

I/O

5I/

O6

I/O

7I/

O8

VC

CV

CC

GN

DG

ND

U4

CX

K5

81

12

0J

30

29

21

20

14

13 4 3

19

18

17

16

15 2 1

32

31 5

12

28

27

26

23

22

11

10

7 6 8 24

9 25

A0

A1

A2

A3

A4

A5

A6

A7

A8

A9

A1

0A

11

A1

2A

13

A1

4A

15

A1

6

CE

WE

OE

I/O

1I/

O2

I/O

3I/

O4

I/O

5I/

O6

I/O

7I/

O8

VC

CV

CC

GN

DG

ND

U1

1

CX

K5

81

12

0J

30

29

21

20

14

13 4 3

19

18

17

16

15 2 1

32

31 5

12

28

27

26

23

22

11

10

7 6 8 24

9 25

A0

A1

A2

A3

A4

A5

A6

A7

A8

A9

A1

0A

11

A1

2A

13

A1

4A

15

A1

6

CE

WE

OE

I/O

1I/

O2

I/O

3I/

O4

I/O

5I/

O6

I/O

7I/

O8

VC

CV

CC

GN

DG

ND

U5

CX

K5

81

12

0J

30

29

21

20

14

13 4 3

19

18

17

16

15 2 1

32

31 5

12

28

27

26

23

22

11

10

7 6 8 24

9 25

A0

A1

A2

A3

A4

A5

A6

A7

A8

A9

A1

0A

11

A1

2A

13

A1

4A

15

A1

6

CE

WE

OE

I/O

1I/

O2

I/O

3I/

O4

I/O

5I/

O6

I/O

7I/

O8

VC

CV

CC

GN

DG

ND

JP

12

HE

AD

ER

3

1 2 3

C1

2.1

uF C2

6.1

uF

Page 48: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-6 TMS320LC54X Evaluation Module Technical Reference

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

DIR

B T

O A

A T

O B

L H

50

31

22

C

TM

S3

20

C5

48

EV

M

SP

EC

TR

UM

DIG

ITA

L I

NC

OR

PO

RA

TE

D

CO

PY

RIG

HT

19

96

B

51

0F

rid

ay,

Oct

ob

er

16

, 1

99

8

Tit

le

Siz

eD

oc

um

en

t N

um

be

rR

ev

Da

te:

Sh

ee

to

f

D0

LD

0D

1L

D1

A0

LD

0D

2L

D2

A1

LD

1D

3L

D3

A2

LD

2D

4L

D4

A3

LD

3D

5L

D5

A4

LD

4D

6L

D6

A5

LD

5D

7L

D7

A6

LD

6A

7L

D7

A8

A9

A1

0A

11

A1

2A

13

A1

4

D8

LD

8D

9L

D9

D1

0L

D1

0D

11

LD

11

D1

2L

D1

2D

13

LD

13

D1

4L

D1

4D

15

LD

15

A0

LD

8A

1L

D9

A2

LD

10

A3

LD

11

A4

LD

12

A5

LD

13

A6

LD

14

A7

LD

15

A8

A9

A1

0A

11

A1

2A

13

A1

4

D[0

..1

5]

LD

[0..

15

]

A[0

..1

5]

D[0

..1

5]

INT

ER

N-

RO

M- A

[0..

15

]

RD

-W

E-

OU

T1

OU

T2

LD

[0..

15

]

VC

C

VC

C

3.3

V

3.3

V

U9

74

LV

T2

45

2 3 4 5 6 7 8 9

19 1

18

17

16

15

14

13

12

11

20

10

A1

A2

A3

A4

A5

A6

A7

A8

OE

T/R

B1

B2

B3

B4

B5

B6

B7

B8

VC

C

GN

D

U3

74

LV

T2

45

2 3 4 5 6 7 8 9

19 1

18

17

16

15

14

13

12

11

20

10

A1

A2

A3

A4

A5

A6

A7

A8

OE

T/R

B1

B2

B3

B4

B5

B6

B7

B8

VC

C

GN

D

U8

AT

29

C2

57

PL

CC

12

11

10 9 8 7 6 5

27

26

23

25 4

28

29 3 2

30

22

24 1

31

13

14

15

17

18

19

20

21

32

16

A0

A1

A2

A3

A4

A5

A6

A7

A8

A9

A1

0A

11

A1

2A

13

A1

4A

15

NC

1/A

16

NC

2/A

17

CE

OE

VP

PW

E

O0

O1

O2

O3

O4

O5

O6

O7

VC

C

GN

D

U2

AT

29

C2

57

PL

CC

12

11

10 9 8 7 6 5

27

26

23

25 4

28

29 3 2

30

22

24 1

31

13

14

15

17

18

19

20

21

32

16

A0

A1

A2

A3

A4

A5

A6

A7

A8

A9

A1

0A

11

A1

2A

13

A1

4A

15

NC

1/A

16

NC

2/A

17

CE

OE

VP

PW

E

O0

O1

O2

O3

O4

O5

O6

O7

VC

C

GN

D

R1

13

3

Page 49: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-7

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

50

31

22

C

TM

S3

20

C5

48

EV

M

SP

EC

TR

UM

DIG

ITA

L I

NC

OR

PO

RA

TE

D

CO

PY

RIG

HT

19

96

B

61

0F

rid

ay,

Oct

ob

er

16

, 1

99

8

Tit

le

Siz

eD

oc

um

en

t N

um

be

rR

ev

Da

te:

Sh

ee

to

f

LD

0S

INL

D1

SO

UT

SO

UT

TX

MT

_P

CL

D2

RT

S-

LD

3R

TS

-L

D4

RC

V_

PC

LD

5L

D6

CT

S-

LD

7

A0

A1

A2

RC

V_

PC

SIN

CT

S-

LD

[0..

15

]

A[0

..2

2]

RE

SE

T

RD

-

WE

-U

AR

T_

INT

IN2

LD

[0..

15

]

OU

T1

OU

T2

IN1

IN3

OU

T3

UA

RT

_R

ES

ET

UA

RT

CS

-

VC

C

VC

C

VC

C

VC

C

VC

C

VC

C

C2

3

0.1

uF

C2

1

0.1

uF

C2

4

0.1

uF

C2

2

0.1

uF

JP

2

HE

AD

ER

3

1 2 3

U1

MA

X2

32

A

1 3 4 5

11

10

13 8

2 6 14

7 12

9 16

15

C1

+

C1

-

C2

+

C2

-

T1

INT

2IN

R1

INR

2IN

V+ V-

T1

OU

TT

2O

UT

R1

OU

TR

2O

UT

VC

C

VS

S

P5

DB

9F

EM

AL

E

5 9 4 8 3 7 2 6 1 JP

13

HE

AD

ER

3

1 2 3

U7

TL

16

C5

50

FN

2 3 4 5 6 7 8 9

31

30

29

28

14

15

16

39

25

24

21

20

11

13

36

37

40

41

42

43

38

35

10

17

18

19

27

32

26

33

44

22

D0

D1

D2

D3

D4

D5

D6

D7

A0

A1

A2

AD

S

CS

0C

S1

CS

2

MR

RD

RD

WR

WR

SIN

SO

UT

RT

SD

TR

CT

SD

SR

DC

D RI

OU

T1

OU

T2

RC

LK

BA

UD

XIN

XO

UT

TX

RD

YR

XR

DY

DD

ISIN

TR

PT

VC

C

GN

DY

1

3.6

8M

HZ

R7

1.6

K R4

1M

C2

03

3p

FC

19

33

pF

R8

10

KR

91

0K

R1

01

0K

R5

4.7

K

R6

10

K

Page 50: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-8 TMS320LC54X Evaluation Module Technical Reference

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

AD

DR

ES

S/D

AT

A

AN

AL

OG

CO

NT

RO

L

I/O

HP

I

50

31

22

C

TM

S3

20

C5

48

EV

M

SP

EC

TR

UM

DIG

ITA

L I

NC

OR

PO

RA

TE

D

CO

PY

RIG

HT

19

96

B

71

0F

rid

ay,

Oct

ob

er

16

, 1

99

8

Tit

le

Siz

eD

oc

um

en

t N

um

be

rR

ev

Da

te:

Sh

ee

to

f

A0

A1

A2

A3

DS

-P

S-

A4

A5

IS-

A6

A7

WE

-R

D-

A8

A9

MS

TR

B-

R/W

-A

10

A1

1T

_R

DY

A1

2A

13

A1

4A

15

NM

I-IN

T1

-

MD

0M

D1

INT

2-

INT

3-

MD

2M

D3

BD

R0

BD

R1

MD

4M

D5

BD

X0

BD

X1

MD

6M

D7

BF

SR

0B

FS

R1

MD

8M

D9

BF

SX

0B

FS

X1

MD

10

MD

11

BC

LK

XR

0B

CL

KX

R1

MD

12

MD

13

SY

SC

LK

HD

0H

D1

MD

14

MD

15

HD

2H

D3

HD

4H

D5

HD

6H

D7

A1

6A

17

A1

8A

19

A2

0A

21

A2

2 BIO

-

MD

[0..

15

]

A[0

..2

2]

HD

[0..

7]

A[0

..2

2]

DS

-IS

-W

E-

NM

I-

PS

-

RD

-R

/W-

SY

SC

LK

BIO

-

TO

UT

XF

-5V

FL

AG

0F

LA

G1

AD

CIN

0+

DA

CO

UT

0+

INT

2-

INT

1-

INT

3-

A[0

..2

2]

TD

RT

DX

TF

SR

TF

SX

TC

LK

RT

CL

KX

HD

[0..

7]

MS

TR

B-

IOS

TR

B-

HR

W HIN

TH

RD

YH

DS

1H

DS

2

HA

S

MD

[0..

15

]

BD

R0

BD

X0

BF

SR

0B

FS

X0

BC

LK

XR

0

BD

R1

BD

X1

BF

SR

1B

FS

X1

BC

LK

XR

1

IN1

IN2

IN3

T_

RD

Y

HB

IL

HC

SH

DC

NT

L0

HD

CN

TL

1

OU

T1

OU

T2

OU

T3

5V

AD

C

RE

SE

T-

EX

T_

RE

SE

T-

VC

CV

CC

VC

CV

CC

5V

AD

C5

VA

DC

5V

AD

C

P6

HE

AD

ER

17

X2

12

34

56

78

91

01

11

21

31

41

51

61

71

81

92

02

12

22

32

42

52

62

72

82

93

03

13

23

33

4

P3

HE

AD

ER

17

X2

12

34

56

78

91

01

11

21

31

41

51

61

71

81

92

02

12

22

32

42

52

62

72

82

93

03

13

23

33

4

P4

HE

AD

ER

17

X2

12

34

56

78

91

01

11

21

31

41

51

61

71

81

92

02

12

22

32

42

52

62

72

82

93

03

13

23

33

4

P1

HE

AD

ER

17

X2

12

34

56

78

91

01

11

21

31

41

51

61

71

81

92

02

12

22

32

42

52

62

72

82

93

03

13

23

33

4

P2

HE

AD

ER

17

X2

12

34

56

78

91

01

11

21

31

41

51

61

71

81

92

02

12

22

32

42

52

62

72

82

93

03

13

23

33

4

Page 51: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-9

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

EM

UL

AT

OR

PO

WE

R IN

PU

T

50

31

22

C

TM

S3

20

C5

48

EV

M

SP

EC

TR

UM

DIG

ITA

L I

NC

OR

PO

RA

TE

D

CO

PY

RIG

HT

19

96

B

81

0F

rid

ay,

Oct

ob

er

16

, 1

99

8

Tit

le

Siz

eD

oc

um

en

t N

um

be

rR

ev

Da

te:

Sh

ee

to

f

TM

S

TR

ST

TC

K

EM

U0

EM

U1

TD

O

TD

I

RE

SE

T-

XF

RE

SE

T

CL

KIN

UA

RT

_R

ES

ET

EX

T_

RE

SE

T-

3.3

V

3.3

V

3.3

V3

.3V

3.3

V

3.3

V3

.3V

3.3

V

VC

C

VC

CV

CC

VC

C

VC

C

VC

C

4.3

V

3.3

V

2.5

V

R3

51

0k

R3

41

0k

P7

HE

AD

ER

7X

2

12

34

56

78

91

01

11

21

31

4

C6

4.7

uF

25

V

L1

IND

UC

TO

R

C4

80

.1u

F

U1

7A

74

LV

C0

4

12

14 7

U1

7F

74

LV

C0

4

13

12

U1

7E

74

LV

C0

4

11

10

U1

7B

74

LV

C0

4

34

SW

1

EV

Q-P

XR

04

K

J1

HE

AD

ER

3

1 2 3

R1

2

33

R2

1.6

K

D1

DL

41

48

R3

1.6

K

R2

31

0K

D2

DL

41

48

D5

DL

41

48

R1

31

0K

D4

DL

41

48

R1

1.6

K

R4

4

33

R1

4

33

DS

25

51

-13

05

DS

15

51

-11

05

U2

1

10

Mh

z

8 415

VC

C

GN

DO

E

OU

T

VR

1L

T1

11

7C

ST

-3.3

VI

GND

VO

R4

61

21

R4

51

21

VR

2L

T1

11

7C

ST

VI

GND

VO

TP

1

CO

N1

1

Page 52: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-10 TMS320LC54X Evaluation Module Technical Reference

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

PLL

MO

DE

DE

FA

ULT

MO

VE

CO

RR

ES

PO

ND

ING

DE

CO

UP

LIN

G C

AP

S T

O C

OR

E_V

CC

50

31

22

B

TM

S3

20

C5

48

EV

M

SP

EC

TR

UM

DIG

ITA

L I

NC

OR

PO

RA

TE

D

CO

PY

RIG

HT

19

96

B

91

0F

rid

ay,

Oct

ob

er

16

, 1

99

8

Tit

le

Siz

eD

oc

um

en

t N

um

be

rR

ev

Da

te:

Sh

ee

to

f

BIO

-H

OL

D-

RD

Y

NM

I-IN

T2

-IN

T3

-

INT

1-

CL

KM

D1

CL

KM

D2

CL

KM

D3

HC

S

MP

/MC

INT

0-

CO

RE

_V

CC

VC

C

3.3

V

3.3

V

VC

C

3.3

V

3.3

V

+C

24

.7u

F 1

0V

+C

10

4.7

uF

10

V

C3

90

.1u

F

JP

8

HE

AD

ER

3

1 2 3

JP

10

HE

AD

ER

3

1 2 3

JP

9

HE

AD

ER

3

1 2 3

+C

14

.7u

F 1

0V

+C

34

.7u

F 1

0V

+C

11

4.7

uF

10

V

R2

11

0K

R2

21

0K

RN

1

76

71

61

10

3G

10

K

11

62

15

31

44

13

51

26

11

71

08

9

C3

10

.1u

FC

18

0.1

uF

C3

00

.1u

FC

25

0.1

uF

C3

40

.1u

FC

28

0.1

uF

C1

50

.1u

FC

16

0.1

uF

C1

30

.1u

FC

27

0.1

uF

C3

20

.1u

FC

14

0.1

uF

C5

50

.1u

FC

36

0.1

uF

C4

40

.1u

FC

29

0.1

uF

C1

70

.1u

F

C4

10

.1u

FC

42

0.1

uF

C5

40

.1u

FC

40

0.1

uF

C3

80

.1u

FC

43

0.1

uF

C5

00

.1u

FC

51

0.1

uF

C3

70

.1u

FC

52

0.1

uF

C3

30

.1u

FC

53

0.1

uF

JP

7

HE

AD

ER

3

1 2 3

+C

35

4.7

uF

10

V

Page 53: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-11

8 8

7 7

6 6

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

DC

CO

UP

LE

D

*

50

31

22

C

TM

S3

20

C5

48

EV

M

SP

EC

TR

UM

DIG

ITA

L I

NC

OR

PO

RA

TE

D

CO

PY

RIG

HT

19

96

B

10

10

Fri

da

y, O

cto

be

r 1

6,

19

98

Tit

le

Siz

eD

oc

um

en

t N

um

be

rR

ev

Da

te:

Sh

ee

to

f

5V

AD

C

5V

AD

C

5V

AD

C

VM

ID

VM

ID

VM

ID

VM

ID

DA

CO

UT

0+

RE

SE

T-

-5V

FL

AG

0

FL

AG

1

AD

CIN

0+

5V

AD

C

-5V

-5V

BF

SX

0B

FS

R0

BD

R0

BD

X0

BC

LK

XR

0

5V

AD

C

VC

C

VC

C

VC

C

VC

C

VC

C

VC

C

VC

C

+C

91

0u

FC

61

0.1

uF

R3

71

0k

R3

81

0k

U1

9

16

.38

4 M

HZ

8 415

VC

C

GN

DO

E

OU

T

L4

IND

UC

TO

R

C6

30

.1u

F

U1

8

TL

C3

20

AD

55

C

13

12

11

10

18

15 2 8

14

23 6

26

25

28

27

3 4 17

16

9245

192072122

SC

LK

FS

DO

UT

DIN

AL

TD

AT

AF

CP

WR

DW

N

RE

SE

T

MC

LK

RF

CA

DC

RF

CD

AC

INP

INM

AU

XP

AU

XM

OU

TP

OU

TM

FL

AG

0

FL

AG

1

VDDVDDVDD

VDDVSSVSSVSSVA

R4

2

10

k1

%

- +

U2

2A

TL

C2

27

4

321

4 11

R3

0

10

k1

%

C5

90

.1u

FR2

7

10

K

R3

1

10

k1

%

R4

3

10

k1

%

R3

3

10

k1

%

R2

41

0K

C5

80

.1u

FC

64

0.1

uF

+C

41

0u

F

U1

4

ICL

76

60

8

432

567

V+

CA

P-

GN

D

CA

P+

VO

UT

LV

OS

C

C4

7

CA

P N

P

+

C5

10

uF

C5

70

.1u

F

C5

60

.1u

FC

60

0.1

uF

C6

60

.1u

FC

65

0.1

uF

C6

20

.1u

F

J3

RC

A J

AC

K

J2

RC

A J

AC

K

+

C7

22

uF

JP

1H

EA

DE

R 3

123

+C8

22

uF

R3

9

10

k1

%

R4

0

10

k1

%

R2

8

10

k1

%

R2

91

0k

1%

JP

4

HE

AD

ER

3

1 2 3JP

3

HE

AD

ER

3

1 2 3

+-

U2

2B

TL

C2

27

4

567

- +

U2

2D

TL

C2

27

4

12

13

14

C4

60

.1u

F

R1

5R

C4

50

.1u

F

- +

U2

2C

TL

C2

27

4

109

8

L3

BE

AD

SM

T 1

21

0

L5

BE

AD

SM

T 1

21

0

L2

BE

AD

SM

T 1

21

0

R3

2

10

K1

%

R2

61

0K

1%

R2

54

9.9

K1

%R

41

33

D3

DL

41

48

U1

5

QS

32

45

SO

2 3 4 5 6 7 8 9

19 1

18

17

16

15

14

13

12

11

20

10

A1

A2

A3

A4

A5

A6

A7

A8

OE

T/R

B1

B2

B3

B4

B5

B6

B7

B8

VC

C

GN

D

R3

6

33

TP

2

CO

N1

1

Page 54: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

B-12 TMS320LC54X Evaluation Module Technical Reference

Page 55: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

C-1

Appendix C

TL16C550 Data Sheet

This appendix contains the programming data sheet for the TL16C550Asynchronous Communications Element (ACE) used on theTMS320LC54X Evaluation Module (EVM).

Topic Page

C.1 TL16C550 Serial Controller C-2C.1.1 Detailed Description C-2C.1.2 Line Control Register C-4C.1.3 Line Status Register C-6C.1.4 FIFO Control Register C-8C.1.5 Modem Control Register C-9C.1.6 Modem Status Register C-10C.1.7 Divisor Latches C-12C.1.8 Scratchpad Register C-13C.1.9 Interrupt Identification Register C-13C.1.10 Interrupt Enable Register C-15C.1.11 Receiver C-16C.1.12 Master Reset C-16C.1.13 Programming C-18C.1.14 FIFO Polled Mode Operation C-19

Page 56: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-2 TMS320LC54X Evaluation Module Technical Reference

C.1 TL16C550 SERIAL CONTROLLER

The EVM320C54X uses a TL16C550 serial controller. The following sections describethe functionality of this device as it is used in the EVM320C54X.

The TL16C550 UART resides at address 0x0010 in the I/O address space on theEVM320C54X.

C.1.1 DETAILED DESCRIPTION

Individual bits within the registers are referred to by the register mnemonic and the bitnumber in parenthesis. As an example, LCR (7) refers to line control register bit 7.

The transmitter buffer register and receiver buffer register are data registers that holdfrom five to eight bits of data. If less than eight data bits are transmitted, data is rightjustified to the LSB. Bit 0 of a data word is always the first serial data bit received andtransmitted. The ACE data registers are double buffered so that read and writeoperations may be performed when the ACE is performing the parallel-to-serial orserial-to-parallel conversion.

Page 57: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-3

The table below shows the I/O address of the various registers in the TL16C550 as theyare used on the EVM320C54X. For more detailed use of this part refer to theappropriate data book.

t DLAB 1 tt These bits are always 0 when FIFOs are disabled.

Table 1: SUMMARY OF ACCESSIBLE REGISTERS

I/O ADDRESS

RS232

REGISTERMNEMONIC

REGISTER BIT NUMBERS

BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0

0x0000 RBR(read only)

Data Data Data Data Data Data Data Data

0x0000 THR(write only)

Data Data Data Data Data Data Data Data

0x0000 t DLL Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0

0x0000 t DLM Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8

0x0001 IER 0 0 0 0 (EDSSI)Enable Modem Status

Interrupt

(ELSI)Enable

Receiver line

status interrupt

(ETBEI)Enable

Transmit-ter hold-

ing register empty

interrupt

(ERBI) Enable

received data

available interrupt

0x0002 FCR(write only)

RCVRTrigger(MSB)

RCVRTrigger(LSB)

Reserved Reserved DMAmode select

XMITFIFOreset

RCVRFIFOreset

FIFOEnable

0x0002 IIR(read only)

FIFOsEnabled tt

FIFOsEnabled tt

0 0 Int IDBit (2) tt

Int IDBit (1) tt

Int IDBit (0)

0 if IntPending

0x0003 LCR (DLAB)Divisor latch

access bit

Setbreak

Stickparity

(EPS)Evenparityselect

(PEN)Parity

Enable

(STB)Num ofstop bits

(WLSB1)Word lenselect bit

1

(WLSB0)Word len select bit

0

0x0004 MCR 0 0 0 Loop Enable external int (INT0 or INT1)

OUT1(an

unused internal signal)

(RTS)Request to send

(DTR)Data ter-

minal ready

0x0005 LSR Error in RCVR FIFOtt

(TEMT)transmit-

ter empty

(THRE)Transmit-ter hold-

ing register empty

(BI)Break

interrupt

(FE)Framing

Error

(PE)Parity Error

(OE)Overrun

error

(DR)Data ready

0x0006 MSR (DCD)Data

carrier detect

(RI)Ring

Indicator

(DSR)Data set

ready

(CTS)Clear to

send

(DDCD)Delta

data car-rier detect

(TERI)Trailing

edge ring indicator

(DDSR)Delta

data set ready

(DCTS)Delta

clear to send

0x0007 SCR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Page 58: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-4 TMS320LC54X Evaluation Module Technical Reference

C.1.2 LINE CONTROL REGISTER (0x0003)

The format of the data character is controlled by the Line Control Register. The LCRmay be read. Its contents are described below and shown in Figure 1.

LCR(0) and LCR(1) Word Length Select Bits:

LCR(2) Stop Bits Select Bit 2:

LCR(2) specifies the number of stop bits in each transmitted character as shown belowand in table 21. The receiver always checks for one stop bit.

LCR(3) Parity Enable Bit 3:

When LCR(3) is high, a parity bit between the last data word bit and stop bit isgenerated and checked.

LCR(4) Even Parity Select Bit 4:

When enabled, a logic one selects even parity.

LCR(5) Stick Parity Bit 5:

When parity is enabled ( LCR(3) = 1, LCR(5) = 1 ) causes the transmission andreception of a parity bit to be in the opposite state from the value of LCR(4). This forcesparity to a known state and allows the receiver to check the parity bit in a known state.

Table 2: WORD LENGTH SELECT

LCR1 LCR0 Data bits

0 0 5 data bits

0 1 6 data bits

1 0 7 data bits

1 1 8 data bits

Table 3: STOP BIT SELECT

LCR2 Stop Bits

0 1 Stop Bit

1 1.5 Stop bits if 5 databits selected

1 2 Stop bits if 6,7,8data bits selected

Page 59: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-5

LCR(6) Break Control Bit 6:

When LCR(6) is set to a logic 1, the serial output (SOUT1/SOUT0) is for forced to thespacing state (low). The break control bit acts only on the serial output and does notaffect the transmitter logic. If the following sequence is used, no invalid characters willbe transmitted because of the break:

Step 1. Load a zero byte in response to the Transmitter Holding RegisterEmpty (THRE) status indication.

Step 2. Set the break in response to the next THRE status indication.

Step 3. Wait for the transmitter to be idle when transmitter empty status signalis set high (TEMT=1). Then clear the break when the normal transmissionhas to be restored.

LCR(7) Divisor Latch Access Bit (DLAB) bit 7:

Bit 7 must be set high (logic 1) to access the divisor latches DLL and DLM of the baudrate generator during a read or write operation. LCR(7) must be input low (logic 0) toaccess the receiver buffer register, the transmitter holding register or the interruptenable register.

Page 60: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-6 TMS320LC54X Evaluation Module Technical Reference

C.1.3 LINE STATUS REGISTER (0x0005)

The line status register (LSR) is a single register that provides status indications. Theline status register shown in table 21 and described below:

LSR(0) Data Ready (DR) Bit 0:

Data Ready is set high when an incoming character has been received and transferredinto the receiver buffer register or the FIFO. LSR(O) is reset low by a CPU read of thedata in the receiver buffer register or the FIFO.

LSR(1) Overrun Error (OE) bit 1:

Overrun Error indicates that data in the receiver buffer register was not read by theCPU before the next character was transferred into the receiver buffer registeroverwriting the previous character. The OE indicator is reset whenever the CPU readsthe contents of the line status register. An overrun error will occur in the FIFO modeafter the FIFO is full and the next character is completely received. The overrun error isdetected by the CPU on the first LSR read after it happens. The character in the shiftregister is not transferred to the FIFO but it is overwritten.

LSR(2) Parity Error (PE) bit 2:

Parity Error indicates that the received data character does not have the correct parityas selected by LCR(3) and LCR(4). The PE bit is set high upon detection of a parityerror and is reset low when the CPU reads the contents of the LSR. In the FIFO mode,the parity error is associated with a particular character in the FIFO, LSR(2) resets theerror when the character is at the top of the FIFO.

LSR(3) Framing Error (FE) bit 3:

Framing error indicates that the received character did not have a valid stop bit. LSR(3)is set high when the stop bit following the last data bit or parity bit is detected as a zerobit (spacing level). The FE indicator is reset low when the CPU reads the contents ofthe LSR. In the FIFO mode, the framing error is associated with a particular characterin the FIFO. LSR(3) reflects the error when the character is at the top of the FIFO.

Page 61: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-7

LSR(4) Break Interrupt (BI) bit 4:

Break Interrupt is set high when the received data input is held in the spacing (logic 0)state for longer than a full word transmission time (start bit + data bits + parity + stop bits). The BI indicator is reset when the CPU reads the contents of the line statusregister. In the FIFO mode, this is associated with a particular character in the FIFO.LSR(2) reflects the BI when the break character is at the top of the FIFO. The error isdetected by the CPU when its associated character is at the top of the FIFO during thefirst LSR read. Only one zero character is loaded into the FIFO when BI occurs.

LSR(4) - LSR(1) are the error conditions that produce a receiver line status interrupt (priority 1 interrupt in the Interrupt Identification register(IIR)) when any of theconditions are detected. This interrupt is enabled by setting IER(2) = 1 in the interruptenable register.

LSR(5) Transmitter Holding Register Empty (THRE) bit 5:

THRE Indicates that the ACE is ready to accept a new character for transmission. TheTHRE bit is set high when a character is transferred from the transmitter holdingregister into the transmitter shift register. LSR(5) is reset low by the loading of thetransmitter holding register by the CPU. LSR(5) is not reset by a CPU read of the LSR.In the FIFO mode when the XMIT FIFO is empty, this bit is set. It is cleared when onebyte is written to the XMIT FIFO. When the THRE Interrupt is enabled by IER(1), THREcauses a priority 3 interrupt in the IIR. If THRE is the interrupt source indicated In IIR,INTRPT is cleared by a read of the IIR.

LSR(6) Transmitter Empty (TEMT) bit 6:

TEMT is set high when the Transmitter Holding Register(THR) and the Transmitter ShiftRegister(TSR) are both empty. LSR(6) is reset low when a character is loaded into theTHR and remains low until the character is transferred out of SOUT. TEMT is not resetlow by a CPU read of the LSR. In FIFO mode, when both the transmitter FIFO and shift register are empty, this bit is set to one.

LSR(7) RCVR FIFO error bit 7:

The LSR(7) bit is always 0 in the TL16C450 mode. In FIFO mode, it is set when at leastone of the following data errors is in the FIFO: parity error, framing error, or breakinterrupt indication. It is cleared when the CPU reads the LSR if there are nosubsequent errors in the FIFO.

NOTE: The line status register may be written. However, this function is intended only forfactory test. It should be considered as read only by applications software.

Page 62: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-8 TMS320LC54X Evaluation Module Technical Reference

C.1.4 FIFO CONTROL REGISTER (0x0002)

This write only register is at the same location as the lIR. It is used to enable and clearthe FIFOs, set the trigger level of the RCVR FIFO, and select the type of DMAsignaling.

FCR(0) FIFO Enable

FIFO enables both the XMIT and RCVR FIFOS. All bytes in both FIFOs can be clearedby resetting FCR(0). Data is cleared automatically from the FIFOs when changing fromthe FIFO mode to the TL16C450 mode and vice versa. Programming of other FCR bitsis enabled by setting FCR(0) = 1.

FCR(1) Receiver FIFO Reset

FCR(1) = 1 clears all bytes In the RCVR FIFO and resets the counter logic to 0. Thisdoes not clear the shift register.

FCR(2) Transmit FIFO Reset

FCR(2) = 1 clears all bytes In the XMIT FIFO and resets the counter logic to 0. Thisdoes not clear the shift register.

FCR(3) DMA Mode Select

FCR(3) = 1 will change the RXRDY and TXRDY pins from mode 0 to mode 1 if FCR(0) = 1.

FCR(4) - FCR(5):

These two bits are reserved for future use.

FCR(6-7) FIFO Receiver Trigger

These two bits are used for setting the trigger level for the RCVR FIFO Interrupt afollows:

Table 4: FIFO Trigger Levels

Bit 7 Bit 6Receiver Fifo

Trigger Level (Bytes)

0 0 1

0 1 4

1 0 8

1 1 14

Page 63: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-9

C.1.5 MODEM CONTROL REGISTER (0x0004)

The Modem Control Register (MCR) controls the interface with the modem or data setas described in Figure 2. MCR can be written and read. The RTS and DTR outputs aredirectly controlled by their control bits in this register. A high input asserts a low(true) atthe output pins. MCR bits 0, 1, 2, 3, and 4 are shown as follows:

MCR(0) Data Terminal Ready

When MCR(0) is set high, the DTR output is forced low. When MCR(0) is reset low, theDTR output is forced high. The DTR output of the serial channel may be input into an inverting line driver in order to obtain the proper polarity input at the modem or data set.

MCR(1) Request to Send

When MCR(1) is set high, the RTS output is forced low. When MCR(1) is reset low, the RTS output is forced high. The RTS output of the serial channel may be input into an inverting line driver to obtain the proper polarity input at the modem or data set.

MCR(2) OUT1

When MCR(2) is set high, OUT1 is forced low.

MCR(3) OUT2

When MCR(3) is set high, the OUT2 output is forced low.

MCR(4) Loop

MCR(4) provides a local loopback feature for diagnostic testing of the channel. When MCR(4) is set high, serial output (SOUT) is set to the marking (logic 1) state, and the receiver data input serial input (SIN) is disconnected. The output of the transmitter shift register is looped back into the receiver shift register input. The four modem controlinputs (CTS, DSR, DCD, and RI) are disconnected. The modem control outputs (DTR,RTS, OUT1, and OUT2) are internally connected to the four modem control inputs. Themodem control outputs pins are forced to their inactive state(high) on the TL16C550. Inthe diagnostic mode, data transmitted is immediately received. This allows theprocessor to verify the transmission and receive data paths of the selected serialchannel. Interrupt control is fully operational. However, interrupts are generated bycontrolling the lower four MCR bits internally. Interrupts are not generated by activity onthe external pins represented by those four bits.

MCR(5) - MCR(7) are permanently set to logic 0.

Page 64: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-10 TMS320LC54X Evaluation Module Technical Reference

C.1.6 MODEM STATUS REGISTER (0x0006)

The MSR provides the CPU with status of the modem input lines from the modem orperipheral devices The MSR allows the CPU to read the serial channel modem signalinputs by accessing the data bus interface of the ACE in addition to the current status offour bits of the MSR that indicate whether the modem in inputs changed since the lastreading of the MSR. The delta status bits are set high when a control input from themodem changes state and reset low when the CPU reads the MSR.

The modem input lines CTS, DSR, RI and DCD. MSR(4) - MSR(7) are statusindications of these lines. A status bit = 1 indicates the input is a low. A status bit = 0indicates the input is high. If the modem status interrupt in the interrupt enable registeris enabled IER(3), an interrupt is generated whenever MSR(0) - MSR(3) is set to a one.The MSR is a priority 4 interrupt. The contents of the Modem Status Register aredescribed in Table 3.

MSR(0) Delta Clear to Send (DCTS) bit 0:

DCTS displays that the CTS input to the serial channel has changed state since it waslast read by the CPU.

MSR(1) Delta Data Set Ready (DDSR) bit 1:

DDSR indicates that the DSR input to the serial channel has changed state since thelast time it was read by the CPU.

MSR(2) Trailing Edge of Ring Indicator (TERI) bit 2:

TERI indicates that the RI input to the serial channel has changed state from low tohigh since the last time it was read by the CPU. High-to-low transitions on RI do notactivate TERI.

MSR(3) Delta Data Carrier Detect (DDCD) bit 3:

DDCD indicates that the DCD input to the serial channel has changed state since thelast time it was read by the CPU.

MSR(4) Clear to Send (CTS) bit 4:

CTS is the complement of the CTS input from the modem indicating to the serialchannel that the modem is ready to receive data from the serial channel’s transmitteroutput(SOUT). If the serial channel is in the loop mode MCR(4) = 1, MSR(4) reflectsthe value of RTS in the MCR.

Page 65: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-11

MSR(5) Data Set Ready (DSR) bit 5:

DSR is the complement of the DSR input from the modem to the serial channel that indicates that the modem is ready to provide received data to the serial channelreceiver circuitry, If the channel is in the loop mode MCR(4) = 1, MSR(5) reflects thevalue of DTR in the MCR.

MSR(6) Ring Indicator (RI) bit 6:

RI is the complement of the RI input. If the channel is in the loop mode MCR(4) = 1,MSR(6) reflects the value of OUT1 in the MCR.

MSR(7) Data Carrier Detect (DCD) bit 7:

Data carrier detect indicates the status of the data carrier detect DCD input. If thechannel is in the loop mode MCR(4) = 1, MSR(7) reflects the value of OUT2 in theMCR.

Reading the MSR register clears the delta modem status indications but has no effecton the other status bits. For LSR and MSR, the setting of status bits is inhibited duringstatus register read operations. If a status condition is generated during a readoperation, the status bit is not set until the trailing edge of the read. If a status bit is setduring a read operation, and the same status condition occurs, that status bit will becleared at the trailing edge of the read instead of being set again. In the loop backmode, when modem status interrupts are enabled, the CTS, DSR, RI and DCD inputpins are ignored. However a modem status interrupt may still be generated by writing toMCR3 - MCR0. Applications software should not write to the modem status register.

Page 66: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-12 TMS320LC54X Evaluation Module Technical Reference

C.1.7 DIVISOR LATCHES (DLAB=1, 0x0000, 0x0001)

The ACE serial channel contains a programmable baud-rate generator (BRG) thatdivides the clock (dc, to 8 MHz) by any divisor from 1 to 216-1 (also see BRGdescription). The output frequency of the baud generator is 16X the data rate (divisor #= clock / (baud rate x 16)) referred to in this document as RCLK. Two 8-bit divisor latchregisters store the divisor in a 16-bit binary format. These divisor latch registers mustbe loaded during initialization. Upon loading either of the divisor latches, a 16-bitbaud counter is immediately loaded. This prevents long counts on initial load. The BRGuses an oscillator frequency of 1.8432Mhz or 3.6864Mhz. which provides the standardbaud rates shown in the table below.

* Used on EVM320C54X.

Table 5: BAUD RATES

BAUD RATEDESIRED

DIVISOR (N) USED TO GENERATE

16X CLOCKS(1.8432Mhz)

DIVISOR (N) USED TO GENERATE

16X CLOCKS(3.6864Mhz)*

50 2304 4608

75 1536 3072

110 1047 2094

134.5 857 1714

150 768 1536

300 384 768

600 192 384

1200 96 192

1800 64 128

2000 58 116

2400 48 96

3600 32 64

4800 24 48

7200 16 32

9600 12 24

19200 6 12

38400 3 6

56000 2 4

115200 1 2

Page 67: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-13

C.1.8 SCRATCHPAD REGISTER (0x0007)

The scratchpad register is an 8-bit read/write register that has no effect on eitherchannel in the ACE. It is intended to be used by the programmer to hold datatemporarily.

C.1.9 INTERRUPT IDENTIFICATION REGISTER (0x0002)

In order to minimize software overhead during data character transfers, the serialchannel prioritizes interrupts into four levels. The four levels of Interrupt conditions areas follows:

1. Receiver line status (priority 1)

2. Received data ready (priority 2) or character time-out

3. Transmitter holding register empty (priority 3)

4. Modem status (priority 4)

Information indicating that a prioritized interrupt is pending and the type of interrupt isstored in the interrupt identification register (IIR). The IIR indicates the highest priorityinterrupt pending. The contents of the IIR are indicated in the table below.

Table 6: INTERRUPT IDENTIFICATION REGISTER

INTERRUPT IDENTIFICATIONREGISTER

INTERRUPT SET AND RESET

Bit 3 Bit 2 Bit 1 Bit 0PRIORITY

LEVELINTERRUPT

TYPEINTERRUPT

SOURCEINTERRUPT

RESET

0 0 0 1 None None None None

0 1 1 0 1 Receiver linestatus

OE, PE, FE,or BI

LSR read

0 1 0 0 2 Receiveddata available

Receiver dataavailable

RBR Read

1 1 0 0 2 Charactertime-out

indication

No charactershave beenreceived

RBR Read

0 0 1 0 3 THRE THRE IIR read orTHRE write

0 0 0 0 4 Modem status CTS, DSR, RI,or DCD

MSR read

Page 68: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-14 TMS320LC54X Evaluation Module Technical Reference

IIR(0) can be used to indicate whether an interrupt is pending. When IIR(0) is low, anInterrupt is pending.

IIR(1) and IIR(2) are used to identify the highest priority interrupt pending as indicatedin the table above.

IIR(3): This bit is always logic 0 when in the TL16C450 mode. This bit is set along withbit2 when in the FIFO mode and a trigger change level interrupt is pending.

IIR(4) - IIR(5): These two bits are always set to a logic 0.

IIR(6) - IIR(7): These two bits are always cleared in the TL16C450 mode. They are setwhen bit 0 of the FCR is set..

Page 69: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-15

C.1.10 INTERRUPT ENABLE REGISTER (0x0001)

The interrupt enable register (IER) is used to independently enable the four serialchannel interrupt sources that activate the interrupt (INT0 or INT1) output. All interruptsare disabled by resetting IER(0) - IER(3) of the interrupt enable register. Interrupts areenabled by setting the appropriate bits of the IER high. Disabling the interrupt systeminhibits the interrupt identification register and the active (high) interrupt output. Allother system functions operate in, their normal manner, including the setting of the linestatus and modem status registers. The contents of the interrupt enable register aredescribed below:

IER(0) Enable Received Data Available Interrupt

When set to one, IER(0) enables the received data available interrupt and the time-outinterrupts in the FIFO mode.

IER(1) Enable Transmitter Holding Register Empty Interrupt

When set to one, IER(1) enables the transmitter holding register empty interrupt.

IER(2) Enable Receiver Line Status Interrupt

When set to one IER(2) enables the receiver line status interrupt.

IER(3) Enable Modem Status Interrupt

When set to one, IER(3) enables the modem status Interrupt.

IER(4) - IER(7).

These four bits of the IER are logic 0.

Page 70: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-16 TMS320LC54X Evaluation Module Technical Reference

C.1.11 RECIEVER

Serial asynchronous data is input into the SIN pin. The ACE continually searches for ahigh-to-low transition from the idle state. When the transition is detected, a counter isreset, and counts the 16X clock to 7 1/2, which is the center of the start bit. The start bitis valid if the SIN is still low. Verifying the start bits prevents the receiver fromassembling a false data character due to a low-going noise spike on the SIN Input.

The Line Control Register determines the number of data bits in a character [LCR(0),LCR(1)]. If parity is used LCR(3) and the polarity of parity LCR(4) are needed. Statusfor the receiver is provided in the line status register. When a full character is received,including parity and stop bits, the data received indication in LSR(0) is set high. TheCPU reads the receiver buffer register, which resets LSR(0). If the character is not readprior to a new character transfer from the RSR to the RBR, the overrun error statusindication is set in LSR(1). If there is a parity error, the parity error is set in LSR(2). If astop bit is not detected, a framing error indication is set in LSR(3).

If the data into SIN is a symmetrical square wave, the center of the data cells will occurwith +/-3.125% of the actual center, providing an error margin of 46.875%. The start bitcan begin as much as one 1 6X clock cycle prior to being detected.

C.1.12 MASTER RESET

After power up, the ACE Reset Input should be held low for one microsecond to resetthe ACE circuits to an Idle mode until initialization. A low on RESET causes thefollowing:

1 . Initializes the transmitter and receiver clock counters.

2. Clears the Line Status Register (LSR), except for the transmitter shift register empty(TEMT) and transmit holding register empty (THRE), which are set. The Modem Control Register (MCR) is also cleared. All of the discrete lines, memory elements, and miscellaneous logic associated with these register bits are also cleared or turned off. The Line Control Register (LCR), divisor latches, receiver buffer register, and transmitter buffer register are not affected.

Following the removal of the reset condition (Reset high), the ACE remains in the idlemode until programmed.

A hardware reset of the ACE sets the THRE and TEMT status bit in the LSR. Wheninterrupts are subsequently enabled, an interrupt occurs due to THRE.

Page 71: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-17

A summary of the effect of a reset on the ACE is given in the table below.

Table 7: RESET

REGISTER/SIGNAL RESET CONTROL RESET

Interrupt Enable Register Master ResetAll bits low (0-3forced and 4-7

permanent)

Interrupt Identification Register Master Reset

Bit 0 is high. Bits 1,2,3,6,and7 low,Bits 4-7 permanently low

Line Control Register MasterResult All bits low

Modem Control Register Master Reset All bits low

FIFO Control Register Master Reset All bits low

Line Status Register Master Reset All bits low,except 5 and 6 arehigh

Modem Status Register Master Reset Bits 0-3 low,bits 4-7 input signal

SOUT Master Reset High

Interrupt (RCVR errors) Read LSFV/Reset Low

Interrupt (RCVR data ready) Read RBFV/Reset Low

Interrupt (THRE) Read IIR/Write THR/Reset Low

Interrupt (modem status changes) Read MSR/Reset Low

OUT2- Master Reset High

RTS- Master Reset High

DTR- Master Reset High

OUT1- Master Reset High

Scratch Register Master Reset No effect

Divisor Latch (MS&LS) Registers Master Reset No effect

Receive Buffer Registers Master Reset No effect

Transmitter Holding Registers Master Reset No effect

RCVR FIFO MR/FCR2-FCR0/Change of FCR0

All bits low

XMIT FIFO MR/FCR2-FCR0/Change ofFCR0

All bits low

Page 72: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-18 TMS320LC54X Evaluation Module Technical Reference

C.1.13 PROGRAMMING

The serial channel of the ACE is programmed by the control registers: LCR, IER, DLL,DLM, MCR, and FCR. These control words define the character length, number of stopbits, parity, baud rate, and modem interface.

While the control registers can be written in any order, the IER should be written lastbecause it controls the Interrupt enables. Once the serial channel is programmed andoperational, these registers can be updated any time the ACE serial channel is nottransmitting or receiving data.

FIFO Interrupt Mode Operation

The following RCVR status occurs when the RCVR FIFO and receiver Interrupts areenabled:

1. LSR(0) is set when a character is transferred from the shift register to the RCVR FIFO. When the FIFO is empty, It is reset.

2. IIR = 06 receiver line status interrupt has higher priority than the received data available Interrupt IIR = 04.

3. Receive data available interrupt will be issued to the CPU when the programmed trigger level is reached by the FIFO. As soon as the FIFO drops below its programmed trigger level, it will be cleared.

4. IIR = 04 (receive data available indication) also occurs when the FIFO reaches its trigger level. It is cleared when the FIFO drops below the programmed trigger level.

The following RCVR FIFO character time-out status occurs when RCVR FIFO andreceiver interrupts are enabled.

1. If the following conditions exist, a FIFO character time-out interrupt occurs.

– Minimum of one character in FIFO

– Last received serial character was longer than 4 continuous previous character times ago (If two stop bits are programmed, the second one is included in the time delay).

Page 73: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-19

– The last CPU read of the FIFO was more than 4 continuous character times earlier. At 300 baud and 12-bit characters, the FIFO time-out interrupt causes a latency of 160 ms maximum from received character to interrupt issued.

2. By using the RCLK input for a clock signal, the character times can be calculated. (The delay is proportional to the baud rate.)

3. The time-out timer is reset after the CPU reads the RCVR FIFO or after a new character is received, when there has been no time-out interrupt.

4. A time-out interrupt is cleared and the timer is reset when the CPU reads a character from the RCVR FIFO.

XMIT Interrupts occur as follows when the transmitter and XMIT FIFO interrupts areenabled (FCR0 = 1, IER = 1).

1. When the transmitter FIFO is empty, the transmitter holding register interrupt (IIR = 02)occurs. The interrupt is cleared as soon as the transmitter holding register is written to or the IIR is read. One to sixteen characters may be written to the transmit FIFO when servicing this interrupt.

2. The XMIT FIFO empty indications will be delayed one character time minus the last stop bit time whenever the following occurs:

THRE = 1 and there has not been a minimum of two bytes at the same time in XMITFIFO, since the last THRE = 1. The first transmitter interrupt after changing FCR0 willbe immediate, however, assuming it is enabled.

RCVR FIFO trigger level and character time-out interrupts have the same priority as the received data available interrupt. The transmitter holding register empty interrupt hasthe same priority as the transmitter FIFO empty interrupt.

C.1.14 FIFO POLLED MODE OPERATION

Resetting IER0, IER1, IER2, IER3, or all to zero, with FCR0 = 1, puts the ACE into theFIFO polled mode. RCVR and XMITER are controlled separately. Therefore, either orboth can be in the polled mode. In the FIFO polled mode there is no time-out conditionindicated or trigger level reached. However, the RCVR and XMIT FIFOs still have thecapability of holding characters. The LSR must be read to determine the ACE status.

Page 74: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

C-20 TMS320LC54X Evaluation Module Technical Reference

Page 75: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

D-1

Appendix D

TLC320AD55C Data Sheet

This appendix provides you with a description of the TLC32AD55C SigmaDelta Interface Circuit.

Topic Page

D.0 Overview of the TLC320AD55C D-2D.1 Key Features of the TLC320AD55C D-2D.2 TLC320AD55C to DSP Interface D-3D.3 Terms and Definitions D-3D.4 Register Map D-4D.5 Register Functionality D-5D.6 TLS320AD55C functional Description D-6D.6.1 Device Functions D-6D.6.1.1 Operating Frequencies D-6D.6.1.2 ADC Signal Channel D-9D.6.1.3 DAC Signal Channel D-9D.6.1.4 Serial Interface D-10D.6.1.5 Register Programming D-10D.6.1.6 Sigma-Delta ADC D-10D.6.1.7 Decimation Filter D-10D.6.1.8 Sigma-Delta ADC D-10D.6.1.9 Interpolation Filter D-11D.6.1.10 Switched-Capacitor Filter D-11D.6.1.11 Analog/Digital Loopback D-11D.6.1.12 DAC Voltage Reference Enable D-11D.6.1.13 FIR Overflow Flag D-12D.6.2 Terminal Descriptions D-12D.6.2.1 Reset and Power Down D-12D.6.2.2 Conditions of Reset D-12D.6.2.3 Software and Hardware Power-Down D-13D.6.2.4 Master Clock Circuit D-13D.6.2.5 Data Out (DOUT) D-14D.6.2.6 Data In (DIN) D-14D.6.2.7 Hardware Program Terminal (FC) D-14D.6.2.8 Frame-Sync D-14D.6.2.9 Multiplexed Analog Input D-14D.6.2.10 Analog Input D-15

Page 76: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-2 TMS320LC54X Evaluation Module Technical Reference

D.0 Overview of the TLC320AD55C

The Texas Instruments TLC320AD55C provides high resolution low-speed conversionfrom digital-to analog (D/A) and from analog-to-digital(A/D) using oversamplingsigma-delta technology. In this document this device may be referred to as the AIC oranalog interface circuit. This device consists of two serial synchronous conversionchannels (one input and the other output). It also includes an interpolation filter beforethe A/D converter and a decimation filter after the D/A converter. Other overheadfunctions provides are analog filtering, and on-chip timing and control. The sigma-deltaarchitecture of the device produces high resolution, A/D and D/A conversions at lowsystem speeds and low cost.

The AIC can be programmed through the serial interface to select options and circuitconfigurations. The options include reset, power down, communications protocol, serialclock rate, signal sampling rate, and the test mode. The circuit configurations mayinclude a selection of input ports to the A/D converter, analog loopback, digital,loopback, decimator sinc filter output, decimator FIT filter finite-durationimpulse-response (FIR) filter output, interpolator sinc filter output, and interpolator FIRfilter output.

For a complete description of the device the read is referred to the Texas Instrumentsdata sheet on this device, part #SLAS085

D.1 Key Features of the TLC320AD55C

The TLC320AD55C has the following features:

• 28 pin dual in line package (small outline)• Requires only 5 volt power supply• General purpose 16 bit signal processing• 2s complement format• Serial Port interface• Minimum 80 dB harmonic distortion plus noise• Differential architecture• Internal reference voltage (Vref)• Internal 64x oversampling• Analog output with programmable gain(1, 1/2, 1/4, and 0)• Phone mode output• Variable conversion rate selected as MCLK/(Fk x 256), Fk=1,2...256• System test modes (digital and analog loopback tests)

Page 77: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-3

D.2 TLC320AD55C to DSP Interface

TLC320AD55C interfaces to the C20X DSP through the synchronous serial port. The5 position jumper platform JP8 on the EVM320C20X is used to connect the serialport to the AIC. These 5 jumpers must be installed to connect the TLS320AD55C tothe synchronous serial port of the DSP.

The analog input (INM or INP) is driven from either RCA Jack J2 and the analog output(OUTM or OUTP) is driven to RCA Jack J3.

D.3 Terms and Definitions

The following terms and definitions are used in the explanation of the functionality ofthis device:

Data Transfer Interval The time during which data is transferred from DOUT and toDIN. The interval is 16 shift clocks and this data transfer isinitiated by the falling edge of the frame-sync signal

Signal Data The input signal and all of the converted representationsthrough the ADC channel and return through the DACchannel to the analog output. This is contrasted with thepurely digital software control data

Primary The digital data transfer interval. Since the device is Communications synchronous, the signal data words from the ADC channel

and to the DAC channel occur simultaneously.

Secondary The digital control and configuration data transfer intervalCommunications into DIN and the register read data cycle from DOUT. The data

transfer interval occurs when requested by the hardware orsoftware.

Frame Sync The falling edge of the signal that initiates the data transferinterval. The primary frame sync starts the primarycommunications, and the secondary frame sync starts thesecondary communications.

Frame Sync and The time between falling edges of successive primarySampling Period frame-sync signals.

fs The sampling frequency that is the reciprocal of the samplingperiod.

Frame-sync Interval The period occupied by 16 shift clocks. It goes high on thesixteenth rising edge of SCLK after the falling edge of theframe sync.

Page 78: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-4 TMS320LC54X Evaluation Module Technical Reference

ADC Channel All signal processing circuits between the analog input and thedigital conversion results at DOUT.

DAC Channel All signal processing circuits between the digital data wordapplied to DIN and the differential output analog signalavailable at OUTP and OUTM.

Dxx A bit position in the primary data word (xx is the bit number).

DSxx A bit position in the secondary data word (xx is the bitnumber).

d The alpha character d is used to represent valid programmedor default data in the control register format (refer tosecondary serial communications) when discussing otherdata portions of the register.

X The alpha character X represents a don’t-care bit positionwithin the control register format.

FIR Finite-duration impulse response.

D.4 Register Map

The AIC has six data and control registers. They are numbered 0 through 5 and theiraddress is decoded in bits D8-D12 of the data. Data bit D13 determines a read or writecycle to the addressed register. When data bit D13 is low, a write cycle is generated.The table below shows the decoding.

Table 1: Register Mapping

Register # D15 D14 D13 D12 D11 D10 D9 D8Register Name

0 0 0 0 0 0 0 0 0 No operation

1 0 0 0 0 0 0 0 1 Control 1

2 0 0 0 0 0 0 1 0 Control 2

3 0 0 0 0 0 0 1 1 Fk divide

4 0 0 0 0 0 1 0 0 Fsclk divide

5 0 0 0 0 0 1 0 1 Control 3

Page 79: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-5

D.5 Register Functionality

The functionality of each register is defined by bits D0-D7. These functions aredescribed below:

Register 0 The no operation (No-op) register. The 0 register allows secondaryrequests without any other register.

Register 1 The Control 1 register. The data in this register controls:

• The software reset (bit D7).• The software power-down (bit D6).• Selection of the normal or auxiliary analog inputs (bit D5).• The output amplifier gain (1, 1/2, 1/4, or 0(squelch)) (bits D3, D4).• Selection of the analog loopback (bit D2).• Selection of the digital feedback (bit D1).• 16-bit or 15-bit mode of operation (bit D0).

The default register value for the Control 1 register is 00000000.

Table 2: Control Register 1 Bit Definitions

D7 D6 D5 D4 D3 D2 D1 D0 Function

1 - - - - - - - Software reset

0 - - - - - - - Software reset not asserted

- 1 - - - - - - Software power down (analog and filters)

- 0 - - - - - - Software power down not asserted

- - 1 - - - - - Select AUXP and AUXM

- - 0 - - - - - Select INP and INM

- - - 0 0 - - - Analog output gain = 1

- - - 0 1 - - - Analog output gain = 1/2

- - - 1 0 - - - Analog output gain = 1/4

- - - 1 1 - - - Analog output gain = 0 (squelch)

- - - - - 1 - - Analog loopback asserted

- - - - - 0 - - Analog loopback not asserted

- - - - - - 1 - Digital loopback asserted

- - - - - - 0 - Digital loopback not asserted

- - - - - - - 1 16-bit mode (hardware secondary requests)

- - - - - - - 0 Not 16-bit mode (software secondary requests)

Page 80: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-6 TMS320LC54X Evaluation Module Technical Reference

Register 2 The Control 2 register. The data in this register:

• Contains the output flag indicating a decimator FIR filter overflow (bit D5).• Contains Flag 0 and Flag 1 output values for use in the phone mode (bit D3, D4).• Selects the phone mode (bit D2).• Selects or bypasses the decimation FIR filter (bit D1).• Selects or bypasses the interpolator FIR filter (bit D0).

The default register value for the Control 2 register is 00000000. The suggested valuesfor the reserved bits is zero

Table 3: Control Register 2 Bit Definitions

D7 D6 D5 D4 D3 D2 D1 D0 Function

X X - - - - - - Reserved

- - X - - - - - Decimator FIR overflow flag (valid onlyduring read cycle)

- - - X - - - - FLAG 1 output value

- - - - X - - - FLAG 0 output value

- - - - - 1 - - Phone mode enabled

- - - - - 0 - - Phone mode disabled

- - - - - - 1 - Normal operation with decimator FIR filter

- - - - - - 0 - Bypass decimator FIR filter

- - - - - - - 1 Normal operation with interpolator FIR filter

- - - - - - - 0 Bypass interpolator FIR filter

Page 81: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-7

Register 3 The Fk divide register. This register controls the filter clock rate andthe sample period (bits D0-D7 = divide value).

The default register value for the Fk Divide register is 00001000. The oversamplingclock (FCLK) is set as MCLK/(Fk x 4). MCLK/(Fk x 256) is the sample frequency(conversion rate) for the converter. when Fk is programmed to zero, its values isinterpreted as 256.

Table 4: Fk Divide Register

D7 D6 D5 D4 D3 D2 D1 D0 Divide Value

1 1 1 1 1 1 1 1 255

1 0 0 0 0 0 0 0 128

0 0 1 0 0 0 0 0 32

0 0 0 0 0 0 0 1 1

0 0 0 0 0 0 0 0 256

Page 82: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-8 TMS320LC54X Evaluation Module Technical Reference

Register 4 The Fsclk divide register. This register controls the shift (data) clockrate (bits D0-D7 = divide value).

The default register value for the Fsclk Divide register is 00001000. SCLK is set byMCLK/(2 x Fsclk). SCLK is for the serial transfer of data to and from theTLS320AD55C. When Fsclk is programmed to zero, its values is interpreted as 256.

Register 5 The Control 3 register. This register enables and disables the DAC reference (bit 3).

Table 5: Fsclk Divide Register

D7 D6 D5 D4 D3 D2 D1 D0 Divide Value

1 1 1 1 1 1 1 1 255

1 0 0 0 0 0 0 0 128

0 0 1 0 0 0 0 0 32

0 0 0 0 0 0 0 1 1

0 0 0 0 0 0 0 0 256

Table 6: Control Register 3 Bit Definitions

D7 D6 D5 D4 D3 D2 D1 D0 Function

0 0 0 0 1 0 0 0 DAC reference disabled

0 0 0 0 0 0 0 0 DAC reference enabled

Page 83: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-9

D.6 TLC320AD55C Functional Description

D.6.1 Device Functions

The following sections describe the functions of the device

D.6.1.1 Operating Frequencies

The sampling (conversion) frequency is derived from the master clock (MCLK) input bythe following equation:

fs = Sampling (conversion) frequency = MLCK frequency/((Fk register value) x 256)

The inverse is the time between the falling edges of two successive primaryframe-synchronization signals and it is the conversion period.

The input and output data clock (SCLK) is given by the following equation:

SCLK frequency = MCLK frequency /((Fsclk register value) x 2)

D.6.1.2 ADC Signal Channel

To produce excellent common-mode rejection of unwanted signals, the analog signal isprocessed differentially until it is converted to digital data.

The ADC converts the signal into discrete output digital words in 2s-complementformat, corresponding to the analog-signal value at the sampling time. These 16-bitdigital words, representing sampled values of the analog input signal, are clocked out ofthe serial port, DOUT, during the frame-sync interval (one word for each primarycommunication interval). During secondary communications, the data previouslyprogrammed into the registers can be read out with the appropriate register address,and the read bit (D13) set to 1. When a register read is requested, all 16 bits are 0 inthe secondary word.

D.6.1.3 DAC Signal Channel

DIN receives the 16-bit serial data word (2s complement) from the host processorduring the primary communications interval and latches the data on the 17th risingedge of SCLK. The data is converted to an analog voltage by the DAC and then passedthrough a (sin x)/x correction circuit and smoothing filter. An output buffer with threesoftware-programmable gains (0 dB, -6 dB, and -12 dB) drives the differential outputsOUTP and OUTM. A squelch mode can also be programmed for the output buffer.During secondary communications, the configuration program data is read into thedevice control registers.

Page 84: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-10 TMS320LC54X Evaluation Module Technical Reference

D.6.1.4 Serial Interface

The digital serial interface consists of a shift clock, the frame synchronization signal, theADC-channel data output, and the DAC-channel data input. During the primary 16-bitframe synchronization interval, SCLK transfers the ADC channel results from DOUTand transfers 16-bit DAC data into DIN.

During the secondary frame-synchronization interval, the SCLK transfers the registerread data from the DOUT when the read bit (D13) is set to a 1. In addition, SCLKtransfers control and device parameter information into DIN.

D.6.1.5 Register Programming

All register programming occurs during secondary communications, and data is latchedand valid on the rising edge of the frame-sync signal. When the default value for aparticular register is desired, that register does not need to be addressed during thesecondary communications. The no-op command addresses the no-op register(register 0), and register programming does not take place during the communication.

DOUT is released from the high impedance state on the falling edge of the primary orsecondary frame-sync interval. In addition, each register can be read back duringDOUT secondary communications by setting the read bit D13 to a 1 in the addressedregister. When the register is in the read mode, no data can be written to the registerduring this cycle. To return the register to the write mode requires a subsequentsecondary communication.

D.6.1.6 Sigma-Delta ADC

The sigma-delta ADC is a fourth order, sigma-delta modulator with 64-timesoversampling. The ADC provides high resolution, low noise performance usingoversampling techniques.

D.6.1.7 Decimation Filter

The decimation filter reduces the digital filter rate to the sampling rate. This isaccomplished by decimating with a ratio of 1:64. The output of this filter is a sixteen-bit,2s complement data word clocking the sample rate.

NOTE:The sample rate is determined through a programmable

relationship of MCLK/(Fk x 256), Fk= 1,2,3...,256

Page 85: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-11

D.6.1.8 Sigma-Delta DAC

The sigma-delta ADC is a fourth order, sigma-delta modulator with 64-timesoversampling. The ADC provides high resolution, low noise performance from a one-bitconverter using oversampling techniques.

D.6.1.9 Interpolation Filter

The interpolation filter samples the digital data at the rate of 64 times the incomingsample rate. The high speed data output from this filter is then used in the sigma-deltaDAC.

D.6.1.10 Switched-Capacitor Filter

A switch-capacitor filter network is implemented on the analog output to provide a lowpass operation with high rejection in the stop band.

D.6.1.11 Analog/Digital Loopback

The loopbacks provide a means of testing the ADC/DAC channels and can be used forin-circuit system level tests. The loopbacks feed the appropriate output back to thecorresponding input on the device.

The test capabilities include an analog loopback between the two analog paths and adigital loopback between two digital paths. Each loopback is enabled by setting D1 orD2 in the Control 1 register.

D.6.1.12 DAC Voltage Reference Enable

The DAC voltage reference can be disabled through the Control 3 register. This allowsthe use of an external voltage reference applied to the DAC channel modulator. Bysupplying the external reference, the user can scale the output range of this channel.The internal reference value is 3.6 volts which provides a 6 volt peak-to-peak,differential output. The ratio of an external reference to the internal referencedetermines the output voltage range of the DAC channel as shown in the followingequation:

VO(PP) = V(External Reference) x 6 volts / 3.6

NOTE:The distortion and noise specifications listed in the hardware

specifications apply only under the following condition

V(External Reference) / 3.6 ≤ 1

Page 86: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-12 TMS320LC54X Evaluation Module Technical Reference

D.6.1.13 FIR Overflow Flag

The decimator FIR filter provides an overflow flag to Control 2 register to indicate thatthe input to the filter has exceeded the range of the internal filter calculations. When thisbit is set in the register, it remains set until the register is read by the host. Reading thisvalue always resets the overflow flag.

D6.2 Terminal Descriptions

The following sections describe the terminal functions.

D.6.2.1 Reset and Power Down

The figure below shows the TLC320AD55C resets both the internal counters andregisters, including the programmed registers in two ways;

• By applying a low-going reset pulse to the RESET terminal • By writing to the programmable software reset bit (D7 in Control 1 register)

PWRDWN reset the counters only and preserves the programmed register contents.The DAC resets to the 15-bit mode.

Note: RESET- to circuitry is at least 6 MCLK periods long and releases on the positive edge of MCLK.

D.6.2.2 Conditions of Reset

The two internal reset signals used for the reset and synchronization functions are:

Counter reset - This signal resets all the flip-flops and latches that are not externally programmed, with the exception of those generating the reset pulse itself. Additionally, this signal resets the software power-down bit.

Counter reset = RESET terminal or reset bit or PWRDWN terminal.

D RESET

Software RESET Control1 Register, D7

To Circuitry

TRESET

RESET

Internal TLC320AD55C

Page 87: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-13

Register reset - This signal resets all the flip-flops and latches that are not reset by the counter reset, except those generating the reset pulse itself.

Register reset = RESET terminal or reset bit.

Both reset signals are at least six MCLK periods long (TRESET) and release on thetrailing edge of MCLK.

D.6.2.3 Software and Hardware Power-Down

Given the previous definitions, the software-programmed power-down condition iscleared by programming the software bit (Control 1 register, bit D6) to a 0 or is clearedby cycling the power on the device, bringing PWRDWN low, or bringing RESET low.

PWRDWN removes the power to the entire chip. The software-programmable, power-down bit only removes power from the analog section of the chip, which allows asoftware power-up function. Cycling the power-down terminal from high to low and backto high resets all the flip-flops and latches that are not external programmed, therebypreserving the register contents with the exception that the software power-down bit iscleared.

When PWRDWN is not being used, it should be tied high [VDD(ADC) is preferred].

D.6.2.4 Master Clock Circuit

The master clock circuit generates and distributes necessary clocks throughout thedevice. MCLK is the external master clock input. SCLK is derived from MCLK[SCLK = MCLK/(Fsclk x 2), Fsclk = 1,2,3... 256] in order to provide clocking of theserial communications between the device and a DSP. The sample rate of the datapaths is set as MCLK/(Fsclk x 256). Fk and Fsclk are programmable registers valuesused as divisors of MCLK. The default value for the Fk and Fsclk register is decimal 8.

Internal TLC320AD55C

Bit 6 is programmedthrough a secondarywrite operation

Analog circuitryPower-Down

Digital circuitryPower-Down

Clear(For Control 1Register, D6)

PWRDWN

Page 88: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-14 TMS320LC54X Evaluation Module Technical Reference

D.6.2.5 Data Out (DOUT)

DOUT is taken from the high impedance state by the falling edge of the frame-sync.The most significant bit of data then appears on DOUT.

DOUT is placed in a high impedance state on the sixteenth rising edge of SCLK(internal or external) after the falling edge of the frame-sync signal. In the primarycommunication, the data word is the ADC conversion result. In the secondarycommunication, the data is the register read results when requested by the read/write(R/W) bit with the eight MSBs set to zero. when a register read is not requested, thesecondary word is all zeros

D.6.2.6 Data In (DIN)

In the primary communication, the data word is the input signal to the DAC channel. Inthe secondary communication, the data is the control and configuration data to set upthe device for a particular function.

D.6.2.7 Hardware Program Terminal (FC)

The input provides for hardware programming requests for secondary communication.It works in conjunction with the control bit D0 of the secondary data word. The signal onthe FC is latched 1/2 shift clock after the rising edge of the next internally generatedprimary frame-sync interval. FC should be tied low when not being used.

D.6.2.8 Frame-Sync

The frame-sync signal indicates that the device is ready to send and receive data. Thedata transfer from DOUT and into DIN begins on the falling edge of the frame-syncsignal.

The frame sync is generated internally and goes low on the rising edge of SCLK andremains low during the 16 bit transfer.

D6.2.9 Multiplexed Analog Input

The two differential analog inputs (INP and INM or AUXP and AUXM) are multiplexedinto the sigma-delta modulator. The performance of the AUX channel is similar to thenormal input channel.

Page 89: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-15

D.6.2.10 Analog Input

The signal applied to the terminals INM and INP should be differential to preserve thedevice specifications. This is shown below. A single-ended input signal should alwaysbe converted to a differential input signal prior to being used by the TLS320AD55C. Thesignal source driving the analog inputs (INM, INP, AUXM, or AUXP) should have a lowsource-impedance for lowest noise performance and accuracy.

4 V

1 V

2.5 V

4 V

1 V

2.5 V

INP

INM

TLC320AD55C

Differential Analog Input Configuration

Page 90: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

D-16 TMS320LC54X Evaluation Module Technical Reference

Page 91: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

E-1

Appendix E

EVM320 Mechanical Information

This appendix contains the mechanical information about the EVM andWire Wrap Protoype Modules produced by Spectrum Digital.

Page 92: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

Spectrum Digital, Inc

E-2 TMS320LC54X Evaluation Module Technical Reference

P4

P2

P1

P3

I/OA

DD

RE

SS

/DA

TA

AN

ALO

GC

ON

TR

OL

11

11

3.35

0

.125

DIA

.,6 P

LCS

.

0.07

5

3.40

0

0.30

0

3.93

7

0.65

02.

100 2.10

0

0.25

0

2.90

0

6.30

0

0.10

0T

YP

.

H P I

P6

0.92

5

0.45

0

TH

IS D

RA

WIN

G IS

NO

T T

O S

CA

LE

Page 93: TMS320LC54X Evaluation Module Technical …...TMS320LC54X Evaluation Module Technical Reference 503482-0001 Rev. E October 1998 SPECTRUM DIGITAL, INC. 10853 Rockley Road Houston, TX.

503482-0001 Rev. EPrinted in U.S.A., October 1998