TMS320C6000 DSP Interrupt Selector Reference Guide

Similar documents
TMS320C6000 DSP 32-Bit Timer Reference Guide

TMS320C6000 DSP General-Purpose Input/Output (GPIO) Reference Guide

TMS320C620x/C670x DSP Boot Modes and Configuration Reference Guide

TMS320C672x DSP Software-Programmable Phase-Locked Loop (PLL) Controller. Reference Guide

TMS470R1x External Clock Prescale (ECP) Reference Guide

TMS320C6000 DSP Software-Programmable Phase-Locked Loop (PLL) Controller Reference Guide

TMS320C64x DSP Peripheral Component Interconnect (PCI) Performance

This document describes the features of the GUI program used to control Power Line Modem with E-Meter Platform.

TMS320C55x DSP Peripherals Overview Reference Guide. Preliminary Draft

Application Report. 1 System Requirements. 2 Using the DM643x Pin Multiplexing Utility. Bernard Thompson...

Table 1. Proper Termination of Unused (Port) Pins in a Single-Port PSE System

TMS320VC5501/5502 DSP Host Port Interface (HPI) Reference Guide

Interfacing the ADS8320/ADS8325 to The TMS320C6711 DSP

External Programming of the TMS320C64x EDMA for Low Overhead Data Transfers

DSP/BIOS Link. Platform Guide Published on 20 th JUNE Copyright 2009 Texas Instruments Incorporated.

Using Endianess Conversion in the OMAP5910 Device

TMS320VC5510 DSP Host Port Interface (HPI) Reference Guide

Application Report. 1 Introduction. MSP430 Applications. Keith Quiring... ABSTRACT

PCIxx12 Single Socket CardBus Controller with Integrated 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller

Application Report. 1 Hardware Description. John Fahrenbruch... MSP430 Applications

XIO1100 NAND-Tree Test

System-on-Chip Battery Board User s Guide

Power Line Modem with E-Meter Platform Quick Start Guide

SN5476, SN54LS76A SN7476, SN74LS76A DUAL J-K FLIP-FLOPS WITH PRESET AND CLEAR

OMAP5912 Multimedia Processor Direct Memory Access (DMA) Support Reference Guide

Calibration Routines and Register Value Generation for the ADS1216, ADS1217 and ADS1218

Quad-Channel TEC Controller Getting Started Guide. Contents. Introduction. Contents of Evaluation Kit

AC Induction Motor (ACIM) Control Board

TMS320C6414T/15T/16T Power Consumption Summary

The examples in this application report require the Flash API Modules (SPRC236) within the "Tools & Software" folder.

A DSP/BIOS AIC23 Codec Device Driver for the TMS320C5510 DSK

Hands-On: Implementing an RF link with MSP430 and CC1100

WL1271 ini File Description and Parameters User's Guide

Application Report. Low-Power Wireless. Shreharsha Rao... ABSTRACT

TCI6616/C6670/TCI6608/C6678 Device Simulator EMAC Model I/O user-guide

SN54155, SN54156, SN54LS155A, SN54LS156, SN74155, SN74156, SN74LS155A, SN74LS156 DUAL 2-LINE TO 4-LINE DECODERS/DEMULTIPLEXERS

Application Note AN045

TMS470R1VF334E TMS470 Microcontrollers Silicon Errata

TMS320C6000 DSP External Memory Interface (EMIF) Reference Guide

description VCC 1PRE 1OC 1D1 1C 1Q1 1Q2 1Q3 1Q4 2Q1 2Q2 2Q3 2Q4 2C 2PRE 1D2 1D3 1D4 2D1 2D2 2D3 2D4 2OC GND 1PRE 1OC 1Q1 1D1 1Q2 1Q3 1Q4 1D2 1D3 1D4

A DSP/BIOS AIC23 Codec Device Driver for the TMS320C6416 DSK

Protecting the TPS25810 from High Voltage DFPs

DS25BR204 Evaluation Kit

TVP5146 PDC and VPS APPLICATION NOTE HPA Digital Audio Video

Stacking the REF50xx for High-Voltage References

Bootstrap Loader (BSL) Scripter User s Guide

Debugging Shared Memory Systems

ez430-rf2480 Sensor Monitor SWRU Low-Power RF

PRODUCT DATASHEET. Features. IPNetCam Reference Design on DM365 Product Release 1.5.0, Nov 2009

Wolverine - based microcontrollers. Slashing all MCU power consumption in half

TMS320UC5409/TMS320VC5409 Digital Signal Processors Silicon Errata

Using the TMS320C5509 USB Bootloader

Using the TMS320VC5509/5510 Enhanced HPI

Choosing the Appropriate Simulator Configuration in Code Composer Studio IDE

TPS62290EVM-279. User's Guide SLVU217 July 2007

TMS320VC5402 and TMS320UC5402 Bootloader

DaVinci System Optimization

Application Report. 1 Overview. Marc Sousa... Power Supply ABSTRACT

Configuring Code Composer Studio for OMAP Debugging

27 - Line SCSI Terminator With Split Disconnect

Ethernet-Enabled Intelligent Display Modules (IDMs)

Using the DSP in the Dual-Core DaVinci as a Graphics Render Engine

HV Solar MPPT DC-DC GUI Overview. Getting Started Guide

TMS320VC5409A Digital Signal Processor Silicon Errata

TMS Bit RISC ARM7TDMI -Based Microcontroller Platform

PACKAGE OPTION ADDENDUM

Programming the TMS320VC5509 RTC Peripheral

User s Guide for Sonic MDIO Software

C Fast RTS Library User Guide (Rev 1.0)

WLAN Design Considerations

Passing CISPR25-Radiated Emissions Using TPS54160-Q1

TMS320C6000 EMIF to TMS320C6000 Host Port Interface

TMS320C6416 Hardware Designer s Resource Guide

4-Level Strap Device Configuration

TFP101, TFP201, TFP401, TFP401A 2Pix/Clk Output Mode

Data sheet acquired from Harris Semiconductor SCHS041D Revised October 2003

UCD3138 Responding to Multiple PMBus Slave Addresses

Connecting Bluetooth to the OMAP5910

DAP Signal Conditioning Board. User s Guide. Data Acquistion Digital/Analog Converters SLAU105

UART Bootloader for Hercules TMS570LS04x MCU

DRV8833 Evaluation Module. User's Guide

2. With the Evaluation Kit DVD, click the Tools button and then click the Code Composer Studio logo to start the setup program.

SN54LS169B, SN54S169 SN74LS169B, SN74S169 SYNCHRONOUS 4-BIT UP/DOWN BINARY COUNTERS

COMMUNICATIONS WITH THE MULTI- CHANNEL HOST P RT INTERFACE

FEATURES APPLICATIONS DESCRIPTION

Hardware UART for the TMS320C3x

SN64BCT757 OCTAL BUFFER/DRIVER WITH OPEN-COLLECTOR OUTPUTS

Techniques for Profiling on ROM-Based Applications

TMS320VC5510/5510A Digital Signal Processors Silicon Errata

TMS320C6000 Code Composer Studio Getting Started Guide

RapidIO Rev 2.0 for Next-Generation Communication and Embedded Systems. Travis Scheckel Texas Instruments

February 2004 PMP Portable Power SLVU101

OMAP INSTRUCTION SET SIMULATOR TECHNICAL OVERVIEW

EEM478-DSPHW WEEK6 Interrupts

Program. Inst 1 Inst 2 : : Inst n. This contains the Interrupt Service Routine (ISR) Inst n+1 Inst n+2 : :

INVENTORY HISTORY REPORT EXTENSION. User Guide. User Guide Page 1

PurePath Studio GDE User s Guide Graphical Development Environment for TAS3xxx Digital Audio Processors. User's Guide. Mixed Signal Audio Applications

CUSTOM GOOGLE SEARCH. User Guide. User Guide Page 1

I2C and the TAS3001C. Introduction. The I2C Protocol. Digital Audio Group ABSTRACT

TMS320C62x, TMS320C67x DSP Cache Performance on Vocoder Benchmarks

Transcription:

TMS320C6000 DSP Interrupt Selector Reference Guide Literature Number: January 2004

IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Amplifiers amplifier.ti.com Audio www.ti.com/audio Data Converters dataconverter.ti.com Automotive www.ti.com/automotive DSP dsp.ti.com Broadband www.ti.com/broadband Interface interface.ti.com Digital Control www.ti.com/digitalcontrol Logic logic.ti.com Military www.ti.com/military Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork Microcontrollers microcontroller.ti.com Security www.ti.com/security Telephony www.ti.com/telephony Video & Imaging www.ti.com/video Wireless www.ti.com/wireless Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright 2004, Texas Instruments Incorporated

Preface Read This First About This Manual This document describes the interrupt selector, interrupt selector registers, and the available interrupts in the digital signal processors (DSPs) of the TMS320C6000 DSP family. Notational Conventions This document uses the following conventions. Hexadecimal numbers are shown with the suffix h. For example, the following number is 40 hexadecimal (decimal 64): 40h. Registers in this document are shown in figures and described in tables. Each register figure shows a rectangle divided into fields that represent the fields of the register. Each field is labeled with its bit name, its beginning and ending bit numbers above, and its read/write properties below. A legend explains the notation used for the properties. Reserved bits in a register figure designate a bit that is used for future device expansion. Related Documentation From Texas Instruments The following documents describe the C6000 devices and related support tools. Copies of these documents are available on the Internet at www.ti.com. Tip: Enter the literature number in the search box provided at www.ti.com. TMS320C6000 CPU and Instruction Set Reference Guide (literature number SPRU189) describes the TMS320C6000 CPU architecture, instruction set, pipeline, and interrupts for these digital signal processors. TMS320C6000 Peripherals Reference Guide (literature number SPRU190) describes the peripherals available on the TMS320C6000 DSPs. TMS320C6000 Technical Brief (literature number SPRU197) gives an introduction to the TMS320C62x and TMS320C67x DSPs, development tools, and third-party support. Interrupt Selector and External Interrupts 3

Trademarks Related Documentation From Texas Instruments / Trademarks TMS320C64x Technical Overview (SPRU395) gives an introduction to the TMS320C64x DSP and discusses the application areas that are enhanced by the TMS320C64x VelociTI. TMS320C6000 Programmer s Guide (literature number SPRU198) describes ways to optimize C and assembly code for the TMS320C6000 DSPs and includes application program examples. TMS320C6000 Code Composer Studio Tutorial (literature number SPRU301) introduces the Code Composer Studio integrated development environment and software tools. Code Composer Studio Application Programming Interface Reference Guide (literature number SPRU321) describes the Code Composer Studio application programming interface (API), which allows you to program custom plug-ins for Code Composer. TMS320C6x Peripheral Support Library Programmer s Reference (literature number SPRU273) describes the contents of the TMS320C6000 peripheral support library of functions and macros. It lists functions and macros both by header file and alphabetically, provides a complete description of each, and gives code examples to show how they are used. TMS320C6000 Chip Support Library API Reference Guide (literature number SPRU401) describes a set of application programming interfaces (APIs) used to configure and control the on-chip peripherals. Trademarks Code Composer Studio, C6000, C62x, C64x, C67x, TMS320C6000, TMS320C62x, TMS320C64x, TMS320C67x, and VelociTI are trademarks of Texas Instruments. 4 Interrupt Selector and External Interrupts

Contents Contents 1 Overview.......................................................................... 7 2 Available Interrupt Sources........................................................ 7 3 External Interrupt Signal Timing.................................................... 9 4 Configuring the Interrupt Selector.................................................. 9 5 Registers........................................................................ 10 5.1 Interrupt Multiplexer High Register (MUXH)..................................... 10 5.2 Interrupt Multiplexer Low Register (MUXL)...................................... 10 5.3 External Interrupt Polarity Register (EXTPOL)................................... 14 Revision History..................................................................... 15 Interrupt Selector and External Interrupts 5

Figures Figures 1 Interrupt Multiplexer High Register (MUXH)........................................ 11 2 Interrupt Multiplexer Low Register (MUXL)........................................ 12 3 External Interrupt Polarity Register (EXTPOL)..................................... 14 Tables 1 Differences in C6000 DSP Interrupt Selectors....................................... 7 2 TMS320C620x/C670x DSP Available Interrupts..................................... 8 3 Interrupt Selector Registers..................................................... 10 4 Interrupt Multiplexer High Register (MUXH) Field Descriptions....................... 11 5 Interrupt Multiplexer Low Register (MUXL) Field Descriptions........................ 12 6 TMS320C620x/C670x DSP Default Interrupt Mapping.............................. 13 7 External Interrupt Polarity Register (EXTPOL) Field Descriptions..................... 14 8 Document Revision History...................................................... 15 6 Interrupt Selector and External Interrupts

Interrupt Selector and Exernal Interrupts This document describes the interrupt selector, interrupt selector registers, and the available interrupts in the digital signal processors (DSPs) of the TMS320C6000 DSP family. 1 Overview The C6000 DSP peripheral set has up to 32 interrupt sources. The CPU however has 12 interrupts available for use. The interrupt selector allows you to choose and prioritize which 12 of the 32 your system needs to use. The interrupt selector also allows you to effectively change the polarity of external interrupt inputs. Table 1 summarizes the differences between the interrupt selectors of the C6000 devices. Table 1. Differences in C6000 DSP Interrupt Selectors Features Available Interrupts IACK and INUM pins EXT_INT4 EXT_INT7 pins Supported on Device C6000 devices have different available interrupts according to their peripheral sets. C620x/C670x DSP only All C6000 devices. On C64x DSP, these pins are MUXed with the GPIO peripheral pins. 2 Available Interrupt Sources Table 2 lists the available interrupts on the C620x/C670x DSP. See the devicespecific datasheet for a list of the available interrupts on the C621x/C671x DSP and C64x DSP. For more information on interrupts, including the interrupt vector table, see the TMS320C6000 CPU and Instruction Set Reference Guide (SPRU189). Interrupt Selector and Exernal Interrupts 7

Available Interrupt Sources Table 2. TMS320C620x/C670x DSP Available Interrupts Interrupt Selection Number Interrupt Acronym Interrupt Description 00000b DSPINT Host port to DSP interrupt 00001b TINT0 Timer 0 interrupt 00010b TINT1 Timer 1 interrupt 00011b SD_INT EMIF SDRAM timer interrupt 00100b EXT_INT4 External interrupt pin 4 00101b EXT_INT5 External interrupt pin 5 00110b EXT_INT6 External interrupt pin 6 00111b EXT_INT7 External interrupt pin 7 01000b DMA_INT0 DMA channel 0 interrupt 01001b DMA_INT1 DMA channel 1 interrupt 01010b DMA_INT2 DMA channel 2 interrupt 01011b DMA_INT3 DMA channel 3 interrupt 01100b XINT0 McBSP 0 transmit interrupt 01101b RINT0 McBSP 0 receive interrupt 01110b XINT1 McBSP 1 transmit interrupt 01111b RINT1 McBSP 1 receive interrupt 10000b Reserved 10001b XINT2 PCI_WAKEUP 10010b RINT2 ADMA_HLT McBSP 2 transmit interrupt PCI wake up interrupt McBSP 2 receive interrupt Auxiliary DMA halted interrupt 10011 11111b Reserved Only available on the C6202(B) DSP and C6203(B) DSP Only available on the C6205 DSP 8 Interrupt Selector and Exernal Interrupts

External Interrupt Signal Timing / Configuring External Interrupt the Interrupt Signal Selector Timing 3 External Interrupt Signal Timing EXT_INT4 EXT_INT7 and NMI are dedicated external interrupt sources (EXT_INT4 EXT_INT7 pins are MUXed with the GPIO peripheral pins on the C64x DSP). In addition, the receive frame synchronization (FSR) and transmit frame synchronization (FSX) signals of the multichannel buffered serial port (McBSP) can be programmed to directly drive the RINT and XINT signals. Because these signals are asynchronous, they are synchronized before being sent to either the DMA/EDMA or CPU. Refer to the TMS320C6000 CPU and Instruction Set Reference Guide (SPRU189) and your device-specific datasheet for details on external interrupt signals timing. For the C620x/C670x DSP, the NMI can interrupt a maskable interrupt fetch packet (ISFP) just before the interrupt reaches E1. In this case, an IACK and INUM for the NMI is not seen because the IACK and INUM corresponding to the maskable interrupt is on the pins. Note: The IACK and INUM pins do not exist on the C621x/C671x DSP and C64x DSP. These pins only exist on the C620x/C670x DSP. 4 Configuring the Interrupt Selector The interrupt selector registers are meant to be configured once after reset during initialization and before enabling interrupts. Note: After the registers have been set, the interrupt flag register should be cleared to remove any spurious transitions caused by the configuration. You may reconfigure the interrupt selector during other times, but spurious interrupt conditions may be detected by the CPU on the interrupts affected by the modified fields. For example, if EXT_INT4 is low, EXT_INT5 is high, and INT9 is remapped from EXT_INT4 to EXT_INT5, the low-to-high transition on INT9 is recognized as an interrupt and sets IF9. Interrupt Selector and Exernal Interrupts 9

Registers 5 Registers Table 3 shows the interrupt selector registers. The interrupt multiplexer registers determine the mapping between the interrupt sources described in section 2 and the CPU interrupts 4 through 15 (INT4 INT15). The external interrupt polarity register sets the polarity of external interrupts. See the device-specific datasheet for the memory address of these registers. Table 3. Interrupt Selector Registers Acronym Register Name Section MUXH Interrupt multiplexer high register 5.1 MUXL Interrupt multiplexer low register 5.2 EXTPOL External interrupt polarity register 5.3 5.1 Interrupt Multiplexer High Register (MUXH) The interrupt multiplexer high register (MUXH) maps the interrupt sources to particular interrupts. The MUXH is shown in Figure 1 and described in Table 4. The INTSEL10 INTSEL15 fields correspond to the CPU interrupts INT10 INT15. By setting the INTSEL bits to the value of the desired interrupt selection number, you can map any interrupt source to any The default values of the INTSEL bits are shown in Figure 1. The default mapping of interrupt sources to CPU interrupts for the C620x/C670x devices are shown in Table 6 (page 13). For the default mapping of interrupt sources to CPU interrupts for the C621x/C671x and C64x devices, see the device-specific datasheet. 5.2 Interrupt Multiplexer Low Register (MUXL) The interrupt multiplexer low register (MUXL) maps the interrupt sources to particular interrupts. The MUXL is shown in Figure 2 and described in Table 5. The INTSEL4 INTSEL9 fields correspond to the CPU interrupts INT4 INT9. By setting the INTSEL bits to the value of the desired interrupt selection number, you can map any interrupt source to any The default values of the INTSEL bits are shown in Figure 2. The default mapping of interrupt sources to CPU interrupts for the C620x/C670x devices are shown in Table 6 (page 13). For the default mapping of interrupt sources to CPU interrupts for the C621x/C671x and C64x devices, see the device-specific datasheet. 10 Interrupt Selector and Exernal Interrupts

Registers Figure 1. Interrupt Multiplexer High Register (MUXH) 31 30 26 25 21 20 16 Reserved INTSEL15 INTSEL14 INTSEL13 R-0 R/W-0 0010 R/W-0 0001 R/W-0 0000 15 14 10 9 5 4 0 Reserved INTSEL12 INTSEL11 INTSEL10 R-0 R/W-0 1011 R/W-0 1010 R/W-0 0011 Legend: R = Read only; R/W = Read/Write; -n = value after reset Table 4. Interrupt Multiplexer High Register (MUXH) Field Descriptions Bit field symval Value Description 31 Reserved 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 30 26 INTSEL15 OF(value) 0 1Fh Interrupt selector 15 bits. This value maps interrupt 15 to any 25 21 INTSEL14 OF(value) 0 1Fh Interrupt selector 14 bits. This value maps interrupt 14 to any 20 16 INTSEL13 OF(value) 0 1Fh Interrupt selector 13 bits. This value maps interrupt 13 to any 15 Reserved 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 14 10 INTSEL12 OF(value) 0 1Fh Interrupt selector 12 bits. This value maps interrupt 12 to any 9 5 INTSEL11 OF(value) 0 1Fh Interrupt selector 11 bits. This value maps interrupt 11 to any 4 0 INTSEL10 OF(value) 0 1Fh Interrupt selector 10 bits. This value maps interrupt 10 to any For CSL implementation, use the notation IRQ_MUXH_INTSELn_symval Interrupt Selector and Exernal Interrupts 11

Registers Figure 2. Interrupt Multiplexer Low Register (MUXL) 31 30 26 25 21 20 16 Reserved INTSEL9 INTSEL8 INTSEL7 R-0 R/W-0 1001 R/W-0 1000 R/W-0 0111 15 14 10 9 5 4 0 Reserved INTSEL6 INTSEL5 INTSEL4 R-0 R/W-0 0110 R/W-0 0101 R/W-0 0100 Legend: R = Read only; R/W = Read/Write; -n = value after reset Table 5. Interrupt Multiplexer Low Register (MUXL) Field Descriptions Bit field symval Value Description 31 Reserved 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 30 26 INTSEL9 OF(value) 0 1Fh Interrupt selector 9 bits. This value maps interrupt 9 to any 25 21 INTSEL8 OF(value) 0 1Fh Interrupt selector 8 bits. This value maps interrupt 8 to any 20 16 INTSEL7 OF(value) 0 1Fh Interrupt selector 7 bits. This value maps interrupt 7 to any 15 Reserved 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 14 10 INTSEL6 OF(value) 0 1Fh Interrupt selector 6 bits. This value maps interrupt 6 to any 9 5 INTSEL5 OF(value) 0 1Fh Interrupt selector 5 bits. This value maps interrupt 5 to any 4 0 INTSEL4 OF(value) 0 1Fh Interrupt selector 4 bits. This value maps interrupt 4 to any For CSL implementation, use the notation IRQ_MUXL_INTSELn_symval 12 Interrupt Selector and Exernal Interrupts

Registers Table 6. TMS320C620x/C670x DSP Default Interrupt Mapping CPU Interrupt Related INTSEL field INTSEL Reset Value Interrupt Acronym Interrupt Description INT4 INTSEL4 0 0100b EXT_INT4 External interrupt pin 4 INT5 INTSEL5 0 0101b EXT_INT5 External interrupt pin 5 INT6 INTSEL6 0 0110b EXT_INT6 External interrupt pin 6 INT7 INTSEL7 0 0111b EXT_INT7 External interrupt pin 7 INT8 INTSEL8 0 1000b DMA_INT0 DMA Channel 0 Interrupt INT9 INTSEL9 0 1001b DMA_INT1 DMA Channel 1 interrupt INT10 INTSEL10 0 0011b SD_INT EMIF SDRAM timer interrupt INT11 INTSEL11 0 1010b DMA_INT2 DMA Channel 2 interrupt INT12 INTSEL12 0 1011b DMA_INT3 DMA Channel 3 interrupt INT13 INTSEL13 0 0000b DSPINT Host port to DSP interrupt INT14 INTSEL14 0 0001b TINT0 Timer 0 interrupt INT15 INTSEL15 0 0010b TINT1 Timer 1 interrupt Interrupt Selector and Exernal Interrupts 13

Registers 5.3 External Interrupt Polarity Register (EXTPOL) The external interrupt polarity register (EXTPOL) allows you to change the polarity of the four external interrupts (EXT_INT4 EXT_INT7). The EXTPOL is shown in Figure 3 and described in Table 7. When the XIP bit is its default value of 0, a low-to-high transition on an interrupt source is recognized as an interrupt. By setting the corresponding XIP bit to 1, you can invert the external interrupt source and effectively have the CPU detect high-to-low transitions of the external interrupt. Changing an XIP bit value creates transitions on the related CPU interrupt (INT4 INT7) that the external interrupt (EXT_INT) is selected to drive. For example, if XIP4 is changed from 0 to 1 and EXT_INT4 is low or if XIP4 is changed from 1 to 0 and EXT_INT4 is high, the CPU interrupt that is mapped to EXT_INT4 becomes set. EXTPOL only affects interrupts to the CPU and has no effect on DMA events. Figure 3. External Interrupt Polarity Register (EXTPOL) 31 8 Reserved R-0 7 4 3 2 1 0 Reserved XIP7 XIP6 XIP5 XIP4 R-0 R/W-0 R/W-0 R/W-0 R/W-0 Legend: R = Read only; R/W = Read/Write; -n = value after reset Table 7. External Interrupt Polarity Register (EXTPOL) Field Descriptions Bit Field symval Value Description 31 4 Reserved 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 3 0 XIP OF(value) 0 Fh External interrupt polarity bits. A 4-bit unsigned value used to change the polarity of the four external interrupts (EXT_INT4 to EXT_INT7). For CSL implementation, use the notation IRQ_EXTPOL_XIP_symval 0 A low-to-high transition on an interrupt source is recognized as an interrupt. 1 A high-to-low transition on an interrupt source is recognized as an interrupt. 14 Interrupt Selector and Exernal Interrupts

Revision History Table 8 lists the changes made since the previous version of this document. Table 8. Document Revision History Page Additions/Modifications/Deletions 7 Changed second sentence in Section 2: See the device-specific datasheet for a list of the available interrupts on the C621x/C671x DSP and C64x DSP. 9 Deleted Table 3, TMS320C621x/C671x DSP Available Interrupts. 10 Deleted Table 4, TMS320C64x DSP Available Interrupts. Subsequent tables renumbered. 10 Changed last two sentences in Section 5.1: By setting the INTSEL bits to the value of the desired interrupt selection number, you can map any interrupt source to any The default values of the INTSEL bits are shown in Figure 1. The default mapping of interrupt sources to CPU interrupts for the C620x/C670x devices are shown in Table 6 (page 13). For the default mapping of interrupt sources to CPU interrupts for the C621x/C671x and C64x devices, see the device-specific datasheet. 10 Changed last two sentence in Section 5.2: By setting the INTSEL bits to the value of the desired interrupt selection number, you can map any interrupt source to any The default values of the INTSEL bits are shown in Figure 2. The default mapping of interrupt sources to CPU interrupts for the C620x/C670x devices are shown in Table 6 (page 13). For the default mapping of interrupt sources to CPU interrupts for the C621x/C671x and C64x devices, see the device-specific datasheet. 13 Changed Table 6 to TMS320C620x/C670x DSP only. Interrupt Selector and External Interrupts 15

This page is intentionally left blank. 16 Interrupt Selector and External Interrupts

Index Index A available interrupts C620x DSP 8 C670x DSP 8 C configuration of the interrupt selector 9 D default interrupt mapping C620x DSP 13 C670x DSP 13 E external interrupt polarity register (EXTPOL) 14 EXTPOL 14 I interrupt multiplexer high register (MUXH) 10 interrupt multiplexer low register (MUXL) 10 INTSEL4 bits 12 INTSEL5 bits 12 INTSEL6 bits 12 INTSEL7 bits 12 INTSEL8 bits 12 INTSEL9 bits 12 INTSEL10 bits 11 INTSEL11 bits 11 INTSEL12 bits 11 INTSEL13 bits 11 INTSEL14 bits 11 INTSEL15 bits 11 M MUXH 10 MUXL 10 N notational conventions 3 O overview 7 R registers 10 external interrupt polarity register (EXTPOL) 14 interrupt multiplexer high register (MUXH) 10 interrupt multiplexer low register (MUXL) 10 related documentation from Texas Instruments 3 revision history 15 S signal timing interrupt 9 sources of interrupts 7 T trademarks 4 X XIP bits 14 Interrupt Selector and External Interrupts 17