SPRS698J November 2010 – September 2021 TMS320F28062 , TMS320F28062F , TMS320F28063 , TMS320F28064 , TMS320F28065 , TMS320F28066 , TMS320F28067 , TMS320F28068F , TMS320F28068M , TMS320F28069 , TMS320F28069F , TMS320F28069M
PRODUCTION DATA
Figure 8-16 shows how the various interrupt sources are multiplexed.
Eight PIE block interrupts are grouped into one CPU interrupt. In total, 12 CPU interrupt groups, with 8 interrupts per group equals 96 possible interrupts. Table 8-17 shows the interrupts used by 2806x devices.
The TRAP #VectorNumber instruction transfers program control to the interrupt service routine (ISR) corresponding to the vector specified. The TRAP #0 instruction attempts to transfer program control to the address pointed to by the reset vector. The PIE vector table does not, however, include a reset vector. Therefore, the TRAP #0 instruction should not be used when the PIE is enabled. Doing so will result in undefined behavior.
When the PIE is enabled, the TRAP #1 to TRAP #12 instructions will transfer program control to the ISR corresponding to the first vector within the PIE group. For example: the TRAP #1 instruction fetches the vector from INT1.1, the TRAP #2 instruction fetches the vector from INT2.1, and so forth.
Out of 96 possible interrupts, some interrupts are not used. These interrupts are reserved for future devices. These interrupts can be used as software interrupts if they are enabled at the PIEIFRx level, provided none of the interrupts within the group is being used by a peripheral. Otherwise, interrupts coming in from peripherals may be lost by accidentally clearing their flag while modifying the PIEIFR. To summarize, there are two safe cases when the reserved interrupts could be used as software interrupts:
INTx.8 | INTx.7 | INTx.6 | INTx.5 | INTx.4 | INTx.3 | INTx.2 | INTx.1 | |
---|---|---|---|---|---|---|---|---|
INT1.y | WAKEINT | TINT0 | ADCINT9 | XINT2 | XINT1 | Reserved | ADCINT2 | ADCINT1 |
(LPM/WD) | (TIMER 0) | (ADC) | Ext. int. 2 | Ext. int. 1 | – | (ADC) | (ADC) | |
0xD4E | 0xD4C | 0xD4A | 0xD48 | 0xD46 | 0xD44 | 0xD42 | 0xD40 | |
INT2.y | EPWM8_TZINT | EPWM7_TZINT | EPWM6_TZINT | EPWM5_TZINT | EPWM4_TZINT | EPWM3_TZINT | EPWM2_TZINT | EPWM1_TZINT |
(ePWM8) | (ePWM7) | (ePWM6) | (ePWM5) | (ePWM4) | (ePWM3) | (ePWM2) | (ePWM1) | |
0xD5E | 0xD5C | 0xD5A | 0xD58 | 0xD56 | 0xD54 | 0xD52 | 0xD50 | |
INT3.y | EPWM8_INT | EPWM7_INT | EPWM6_INT | EPWM5_INT | EPWM4_INT | EPWM3_INT | EPWM2_INT | EPWM1_INT |
(ePWM8) | (ePWM7) | (ePWM6) | (ePWM5) | (ePWM4) | (ePWM3) | (ePWM2) | (ePWM1) | |
0xD6E | 0xD6C | 0xD6A | 0xD68 | 0xD66 | 0xD64 | 0xD62 | 0xD60 | |
INT4.y | HRCAP2_INT | HRCAP1_INT | Reserved | Reserved | Reserved | ECAP3_INT | ECAP2_INT | ECAP1_INT |
(HRCAP2) | (HRCAP1) | – | – | – | (eCAP3) | (eCAP2) | (eCAP1) | |
0xD7E | 0xD7C | 0xD7A | 0xD78 | 0xD76 | 0xD74 | 0xD72 | 0xD70 | |
INT5.y | USB0_INT | Reserved | Reserved | HRCAP4_INT | HRCAP3_INT | Reserved | EQEP2_INT | EQEP1_INT |
(USB0) | – | – | (HRCAP4) | (HRCAP3) | – | (eQEP2) | (eQEP1) | |
0xD8E | 0xD8C | 0xD8A | 0xD88 | 0xD86 | 0xD84 | 0xD82 | 0xD80 | |
INT6.y | Reserved | Reserved | MXINTA | MRINTA | SPITXINTB | SPIRXINTB | SPITXINTA | SPIRXINTA |
– | – | (McBSP-A) | (McBSP-A) | (SPI-B) | (SPI-B) | (SPI-A) | (SPI-A) | |
0xD9E | 0xD9C | 0xD9A | 0xD98 | 0xD96 | 0xD94 | 0xD92 | 0xD90 | |
INT7.y | Reserved | Reserved | DINTCH6 | DINTCH5 | DINTCH4 | DINTCH3 | DINTCH2 | DINTCH1 |
– | – | (DMA) | (DMA) | (DMA) | (DMA) | (DMA) | (DMA) | |
0xDAE | 0xDAC | 0xDAA | 0xDA8 | 0xDA6 | 0xDA4 | 0xDA2 | 0xDA0 | |
INT8.y | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | I2CINT2A | I2CINT1A |
– | – | – | – | – | – | (I2C-A) | (I2C-A) | |
0xDBE | 0xDBC | 0xDBA | 0xDB8 | 0xDB6 | 0xDB4 | 0xDB2 | 0xDB0 | |
INT9.y | Reserved | Reserved | ECAN1_INTA | ECAN0_INTA | SCITXINTB | SCIRXINTB | SCITXINTA | SCIRXINTA |
– | – | (CAN-A) | (CAN-A) | (SCI-B) | (SCI-B) | (SCI-A) | (SCI-A) | |
0xDCE | 0xDCC | 0xDCA | 0xDC8 | 0xDC6 | 0xDC4 | 0xDC2 | 0xDC0 | |
INT10.y | ADCINT8 | ADCINT7 | ADCINT6 | ADCINT5 | ADCINT4 | ADCINT3 | ADCINT2 | ADCINT1 |
(ADC) | (ADC) | (ADC) | (ADC) | (ADC) | (ADC) | (ADC) | (ADC) | |
0xDDE | 0xDDC | 0xDDA | 0xDD8 | 0xDD6 | 0xDD4 | 0xDD2 | 0xDD0 | |
INT11.y | CLA1_INT8 | CLA1_INT7 | CLA1_INT6 | CLA1_INT5 | CLA1_INT4 | CLA1_INT3 | CLA1_INT2 | CLA1_INT1 |
(CLA) | (CLA) | (CLA) | (CLA) | (CLA) | (CLA) | (CLA) | (CLA) | |
0xDEE | 0xDEC | 0xDEA | 0xDE8 | 0xDE6 | 0xDE4 | 0xDE2 | 0xDE0 | |
INT12.y | LUF | LVF | Reserved | Reserved | Reserved | Reserved | Reserved | XINT3 |
(CLA) | (CLA) | – | – | – | – | – | Ext. Int. 3 | |
0xDFE | 0xDFC | 0xDFA | 0xDF8 | 0xDF6 | 0xDF4 | 0xDF2 | 0xDF0 |
NAME | ADDRESS | SIZE (×16) | DESCRIPTION(1) |
---|---|---|---|
PIECTRL | 0x0CE0 | 1 | PIE, Control Register |
PIEACK | 0x0CE1 | 1 | PIE, Acknowledge Register |
PIEIER1 | 0x0CE2 | 1 | PIE, INT1 Group Enable Register |
PIEIFR1 | 0x0CE3 | 1 | PIE, INT1 Group Flag Register |
PIEIER2 | 0x0CE4 | 1 | PIE, INT2 Group Enable Register |
PIEIFR2 | 0x0CE5 | 1 | PIE, INT2 Group Flag Register |
PIEIER3 | 0x0CE6 | 1 | PIE, INT3 Group Enable Register |
PIEIFR3 | 0x0CE7 | 1 | PIE, INT3 Group Flag Register |
PIEIER4 | 0x0CE8 | 1 | PIE, INT4 Group Enable Register |
PIEIFR4 | 0x0CE9 | 1 | PIE, INT4 Group Flag Register |
PIEIER5 | 0x0CEA | 1 | PIE, INT5 Group Enable Register |
PIEIFR5 | 0x0CEB | 1 | PIE, INT5 Group Flag Register |
PIEIER6 | 0x0CEC | 1 | PIE, INT6 Group Enable Register |
PIEIFR6 | 0x0CED | 1 | PIE, INT6 Group Flag Register |
PIEIER7 | 0x0CEE | 1 | PIE, INT7 Group Enable Register |
PIEIFR7 | 0x0CEF | 1 | PIE, INT7 Group Flag Register |
PIEIER8 | 0x0CF0 | 1 | PIE, INT8 Group Enable Register |
PIEIFR8 | 0x0CF1 | 1 | PIE, INT8 Group Flag Register |
PIEIER9 | 0x0CF2 | 1 | PIE, INT9 Group Enable Register |
PIEIFR9 | 0x0CF3 | 1 | PIE, INT9 Group Flag Register |
PIEIER10 | 0x0CF4 | 1 | PIE, INT10 Group Enable Register |
PIEIFR10 | 0x0CF5 | 1 | PIE, INT10 Group Flag Register |
PIEIER11 | 0x0CF6 | 1 | PIE, INT11 Group Enable Register |
PIEIFR11 | 0x0CF7 | 1 | PIE, INT11 Group Flag Register |
PIEIER12 | 0x0CF8 | 1 | PIE, INT12 Group Enable Register |
PIEIFR12 | 0x0CF9 | 1 | PIE, INT12 Group Flag Register |
Reserved | 0x0CFA – 0x0CFF |
6 | Reserved |