Краткое содержание страницы № 1
TMS320C3x
User’s Guide
Literature Number: SPRU031E
2558539-9761 revision L
July 1997
Printed on Recycled Paper
Краткое содержание страницы № 2
IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductor product or service without notice, and advises its customers to obtain the latest version of relevant information to verify, before placing orders, that the information being relied on is current. TI warrants performance of its semiconductor products and related software to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testi
Краткое содержание страницы № 3
Preface Read This First About This Manual This user’s guide serves as an applications reference book for the TMS320C3x generation of digital signal processors (DSPs). These include the TMS320C30, TMS320C31, TMS320LC31, and TMS320C32. Throughout the book, all refer- ences to ’C3x refer collectively to the ’C30, ’C31, ’LC31 and ’C32. This book provides information to assist managers and hardware/software engineers in application development. It includes example code and hard- ware connections for
Краткое содержание страницы № 4
Notational Conventions In syntax descriptions, the instruction, command, or directive is in bold typeface and parameters are in an italic typeface. Portions of a syntax that are in bold must be entered as shown; portions of a syntax that are in italics describe the type of information that must be entered. Here is an example of a directive syntax: .asect ”section name”, address The directive .asect has two parameters, indicated by section name and address. When you use .asect, the first parame
Краткое содержание страницы № 5
Information About Cautions / Related Documentation from Texas Instruments Information About Cautions This book contains cautions. This is an example of a caution statement. A caution statement describes a situation that could potentially damage your software or equipment. The information in a caution is provided for your protection. Please read each caution carefully. Related Documentation From Texas Instruments The following books describe the TMS320 floating-point devices and related support
Краткое содержание страницы № 6
Related Documentation from Texas Instruments / References TMS320C3x C Source Debugger User’s Guide (literature number SPRU053) tells you how to invoke the ’C3x emulator, evaluation module, and simulator versions of the C source debugger interface. This book discusses various aspects of the debugger interface, including window management, command entry, code execution, data management, and breakpoints. It also includes a tutorial that introduces basic debugger functionality. TMS320 DSP Developmen
Краткое содержание страницы № 7
References Digital Signal Processing Applications with the TMS320 Family, Vol. III. Texas Instruments, 1990; Prentice-Hall, Inc., 1990. Gold, Bernard, and Rader, C.M., Digital Processing of Signals. New York, NY: McGraw-Hill Company, Inc., 1969. Hamming, R.W., Digital Filters. Englewood Cliffs, NJ: Prentice-Hall, Inc., 1977. Hutchins, B., and Parks, T., A Digital Signal Processing Laboratory Using the TMS320C25. Englewood Cliffs, NJ: Prentice-Hall, Inc., 1990. IEEE ASSP DSP Committee (Editor),
Краткое содержание страницы № 8
References Parsons, Thomas., Voice and Speech Processing. New York, NY: McGraw Hill Company, Inc., 1987. Rabiner, Lawrence R., and Schafer, R.W., Digital Processing of Speech Signals. Englewood Cliffs, NJ: Prentice-Hall, Inc., 1978. Shaughnessy, Douglas., Speech Communication. Reading, MA: Addison- Wesley, 1987. Image Processing Andrews, H.C., and Hunt, B.R., Digital Image Restoration. Englewood Cliffs, NJ: Prentice-Hall, Inc., 1977. Gonzales, Rafael C., and Wintz, Paul, Digital Image Processi
Краткое содержание страницы № 9
References Array Signal Processing Haykin, S., Justice, J.H., Owsley, N.L., Yen, J.L., and Kak, A.C. Array Signal Processing. Englewood Cliffs, NJ: Prentice-Hall, Inc., 1985. Hudson, J.E. Adaptive Array Principles. New York, NY: John Wiley and Sons, 1981. Monzingo, R.A., and Miller, J.W. Introduction to Adaptive Arrays. New York, NY: John Wiley and Sons, 1980. Read This First ix
Краткое содержание страницы № 10
If You Need Assistance If You Need Assistance . . . World-Wide Web Sites TI Online http://www.ti.com Semiconductor Product Information Center (PIC) http://www.ti.com/sc/docs/pic/home.htm DSP Solutions http://www.ti.com/dsps 320 Hotline On-line http://www.ti.com/sc/docs/dsps/support.htm Microcontroller Home Page http://www.ti.com/sc/micro Networking Home Page http://www.ti.com/sc/docs/network/nbuhomex.htm North America, South America, Central America Product Information Center (PIC) (972) 6
Краткое содержание страницы № 11
If You Need Assistance / Trademarks Documentation When making suggestions or reporting errors in documentation, please include the following information that is on the title page: the full title of the book, the publication date, and the literature number. Mail: Texas Instruments Incorporated Email: comments@books.sc.ti.com Technical Documentation Services, MS 702 P.O. Box 1443 Houston, Texas 77251-1443 Note: When calling a Literature Response Center to order documentation, please specify th
Краткое содержание страницы № 12
Contents Contents 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 A general description of the TMS320C30, TMS320C31, and TMS320C32, their key features, and typical applications. 1.1 TMS320C3x Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.1.1 TMS320C3x Key Specifications . . . . . . . . . . . . . . . . . . . .
Краткое содержание страницы № 13
Contents 3 CPU Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 Description of the registers in the CPU register file. 3.1 CPU Multiport Register File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 3.1.1 Extended-Precision Registers (R7–R0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 3.1.2 Auxiliary Registers (AR7–AR
Краткое содержание страницы № 14
Contents 5.3.3 Single-Precision Floating-Point Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7 5.3.4 Extended-Precision Floating-Point Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 5.3.5 Determining the Decimal Equivalent of a TMS320C3x Floating-Point Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9 5.3.6 Conversion Between Floating-Point Formats . . . . . . . . . . . . . . . . . . .
Краткое содержание страницы № 15
Contents 7.1.4 RPTS Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5 7.1.5 Repeat-Mode Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6 7.1.6 RC Register Value After Repeat Mode Completes . . . . . . . . . . . . . . . . . . . . . . . 7-7 7.1.7 Nested Block Repeats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8 7.2 Delaye
Краткое содержание страницы № 16
Contents 9 TMS320C30 and TMS320C31 External-Memory Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 Description of primary and expansion interfaces for the ’C30 and ’C31; external interface timing diagrams; programmable wait-states and bank switching. 9.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 9.2 Memory Interface Signals . . . . . . . . . . . . . . . . . . . . . . . .
Краткое содержание страницы № 17
Contents 11.1.3 TMS320C31 Boot-Loading Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4 11.1.4 TMS320C31 Boot Data Stream Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7 11.1.5 Interrupt and Trap-Vector Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-11 11.1.6 TMS320C31 Boot-Loader Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13 11.2 TMS320C32 Boot Loader . . . . . . . . . . . . . . .
Краткое содержание страницы № 18
Contents 12.3.5 TMS320C32 DMA Internal Priority Schemes . . . . . . . . . . . . . . . . . . . . . . . . . 12-62 12.3.6 CPU and DMA Controller Arbitration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-63 12.3.7 DMA and Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-64 12.3.8 DMA Memory Transfer Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-67 12.3.9 DMA Initialization/Reconfigu
Краткое содержание страницы № 19
Figures Figures 1–1 TMS320C3x Devices Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 2–1 TMS320C30 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 2–2 TMS320C31 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 2–3 TMS320C32 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Краткое содержание страницы № 20
Figures 5–1 Short-Integer Format and Sign-Extension of Short Integers . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 5–2 Single-Precision Integer Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 5–3 Short Unsigned-Integer Format and Zero Fill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 5–4 Single-Precision Unsigned-Integer Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .