Résumé du contenu de la page N° 1
TMS320C2xx
User’s Guide
Literature Number: SPRU127B
Manufacturing Part Number: D412008-9761 revision A
January 1997
Printed on Recycled Paper
Résumé du contenu de la page N° 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
Résumé du contenu de la page N° 3
How to Use This Manual Preface Read This First About This Manual This user’s guide describes the architecture, hardware, assembly language instructions, and general operation of the TMS320C2xx digital signal processors (DSPs). This manual can also be used as a reference guide for developing hardware and/or software applications. In this document, ’C2xx refers to any of the TMS320C2xx devices, except where device-specific information is explicitly stated. When device-specific information is give
Résumé du contenu de la page N° 4
How to Use This Manual For this information: Look here: Addressing modes (for addressing data Chapter 6, Addressing Modes memory) Assembly language instructions Chapter 7, Assembly Language Instructions Assembly language instructions of Appendix B, TMS320C1x, ’C2x, ’C2xx, and ’C5x TMS320C1x/C2x/C2xx/C5x compared Instruction Set Comparison Boot loader Chapter 4, Memory and I/O Spaces Clock generator Chapter 8, On-Chip Peripherals CPU Chapter 3, Central Processing Unit Custom ROM from TI Appendix
Résumé du contenu de la page N° 5
Notational Conventions/Information About Cautions Notational Conventions This document uses the following conventions: Program listings and program examples are shown in a special typeface. Here is a segment of a program listing: OUTPUT LDP #6 ;select data page 6 BLDD #300, 20h ;move data at address 300h to 320h RET In syntax descriptions, bold portions of a syntax should be entered as shown; italic portions of a syntax identify information that you specify. Here is an example of an instruc
Résumé du contenu de la page N° 6
Related Documentation From Texas Instruments Related Documentation From Texas Instruments This subsection describes related TI documents that can be ordered by calling the Texas Instruments Literature Response Center at (800) 477–8924. When ordering, please identify the document by its title and literature number. The following data sheets contain the electrical and timing specifications for the TMS320C2xx devices, as well as signal descriptions and pinouts for all of the available packages:
Résumé du contenu de la page N° 7
Related Documentation From Texas Instruments TMS320C2xx Simulator Getting Started (literature number SPRU137) describes how to install the TMS320C2xx simulator and the C source debugger for the ’C2xx. The installation for MS-DOS, PC-DOS, SunOS, Solaris, and HP-UX systems is covered. TMS320C2xx Emulator Getting Started Guide (literature number SPRU209) tells you how to install the Windows 3.1 and Windows 95 versions of the ’C2xx emulator and C source debugger interface. XDS51x Emulator In
Résumé du contenu de la page N° 8
Related Articles Related Articles “A Greener World Through DSP Controllers”, Panos Papamichalis, DSP & Multimedia Technology, September 1994. “A Single-Chip Multiprocessor DSP for Image Processing—TMS320C80”, Dr. Ing. Dung Tu, Industrie Elektronik, Germany, March 1995. “Application Guide with DSP Leading-Edge Technology”, Y. Nishikori, M. Hattori, T. Fukuhara, R.Tanaka, M. Shimoda, I. Kudo, A.Yanagitani, H. Miyaguchi, et al., Electronics Engineering, November 1995. “Approaching the No-Power Ba
Résumé du contenu de la page N° 9
Related Articles “Fixed or Floating? A Pointed Question in DSPs”, Jim Larimer and Daniel Chen, EDN, August 3, 1995. “Function-Focused Chipsets: Up the DSP Integration Core”, Panos Papamichalis, DSP & Multimedia Technology, March/April 1995. “GSM: Standard, Strategien und Systemchips”, Edgar Auslander, Elektronik Praxis, Germany, October 6, 1995. “High Tech Copiers to Improve Images and Reduce Paperwork”, Karl Guttag, Document Management, July/August 1995. “Host-Enabled Multimedia: Brought to Y
Résumé du contenu de la page N° 10
Trademarks Trademarks TI, 320 Hotline On-line, XDS510, XDS510PP, XDS510WS, and XDS511 are trademarks of Texas Instruments Incorporated. HP-UX is a trademark of Hewlett-Packard Company. Intel is a trademark of Intel Corporation. MS-DOS and Windows are registered trademarks of Microsoft Corporation. PAL is a registered trademark of Advanced Micro Devices, Inc. OS/2, PC, and PC-DOS are trademarks of International Business Machines Corporation. Solaris and SunOS are trademarks of Sun Microsystems,
Résumé du contenu de la page N° 11
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.html North America, South America, Central America Product Information Center (PIC) (972) 644-5580 TI Literature Response Center U.S.A. (800) 477-8924 Software Registration/Upgrades (214) 638-0333 Fax: (214) 63
Résumé du contenu de la page N° 12
Contents Contents 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Summarizes the features of the TMS320 family of products and presents typical applications. Describes the TMS320C2xx DSP and lists its key features. 1.1 TMS320 Family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.1.1 History, Development, and A
Résumé du contenu de la page N° 13
Contents 3 Central Processing Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 Describes the TMS320C2xx CPU. Includes information about the central arithmetic logic unit, the accumulator, the shifters, the multiplier, and the auxiliary register arithmetic unit. Concludes with a description of the status register bits. 3.1 Input Scaling Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Résumé du contenu de la page N° 14
Contents 5 Program Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 Describes the TMS320C2xx hardware and software features used in controlling program flow, including program-address generation logic and interrupts. Also describes the reset operation and power-down mode. 5.1 Program-Address Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 5.
Résumé du contenu de la page N° 15
Contents 6.3 Indirect Addressing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9 6.3.1 Current Auxiliary Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9 6.3.2 Indirect Addressing Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9 6.3.3 Next Auxiliary Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Résumé du contenu de la page N° 16
Contents 9 Synchronous Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 Describes the operation and control of the TMS320C2xx on-chip synchronous serial port. 9.1 Overview of the Synchronous Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 9.2 Components and Basic Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3 9.2.1 Si
Résumé du contenu de la page N° 17
Contents 10.3 Controlling and Resetting the Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-7 10.3.1 Asynchronous Serial Port Control Register (ASPCR) . . . . . . . . . . . . . . . . . . . . 10-7 10.3.2 I/O Status Register (IOSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-10 10.3.3 Baud-Rate Divisor Register (BRD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13 10.3.4 Using Autom
Résumé du contenu de la page N° 18
Contents D Submitting ROM Codes to TI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1 Explains the process for submitting custom program code to TI for designing masks for the on-chip ROM on a TMS320 DSP. E Design Considerations for Using XDS510 Emulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-1 Describes the JTAG emulator cable and how to construct a 14-pin connector on your target system and how to connect
Résumé du contenu de la page N° 19
Figures Figures 1–1 TMS320 Family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 2–1 Overall Block Diagram of the ’C2xx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 2–2 Bus Structure Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 3–1 Block Diagram of the Input Scaling, Central Arithmetic Logi
Résumé du contenu de la page N° 20
Figures 5–5 INT2/INT3 Request Flow Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18 5–6 Maskable Interrupt Operation Flow Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20 5–7 ’C2xx Interrupt Flag Register (IFR) — Data-Memory Address 0006h . . . . . . . . . . . . . . . . 5-21 5–8 ’C2xx Interrupt Mask Register (IMR) — Data-Memory Address 0004h . . . . . . . . . . . . . . . 5-23 5–9 ’C2xx Interrupt