ZHCSA18F March 2009 – February 2021 TMS320C28341 , TMS320C28342 , TMS320C28343 , TMS320C28343-Q1 , TMS320C28344 , TMS320C28345 , TMS320C28346 , TMS320C28346-Q1
PRODUCTION DATA
Figure 8-24 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. On the C2834x devices, 64 of these are used by peripherals as shown in Table 8-28.
The TRAP #VectorNumber instruction transfers program control to the interrupt service routine corresponding to the vector specified. TRAP #0 tries 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, TRAP #0 should not be used when the PIE is enabled. Doing so will result in undefined behavior.
When the PIE is enabled, TRAP #1 to TRAP #12 will transfer program control to the interrupt service routine corresponding to the first vector within the PIE group. For example: TRAP #1 fetches the vector from INT1.1, TRAP #2 fetches the vector from INT2.1, and so forth.
CPU INTERRUPTS | PIE INTERRUPTS | |||||||
---|---|---|---|---|---|---|---|---|
INTx.8 | INTx.7 | INTx.6 | INTx.5 | INTx.4 | INTx.3 | INTx.2 | INTx.1 | |
INT1 | WAKEINT (LPM/WD) | TINT0 (TIMER 0) | Reserved | XINT2 | XINT1 | Reserved | Reserved | Reserved |
INT2 | EPWM8_TZINT (ePWM8) | EPWM7_TZINT (ePWM7) | EPWM6_TZINT (ePWM6) | EPWM5_TZINT (ePWM5) | EPWM4_TZINT (ePWM4) | EPWM3_TZINT (ePWM3) | EPWM2_TZINT (ePWM2) | EPWM1_TZINT (ePWM1) |
INT3 | EPWM8_INT (ePWM8) | EPWM7_INT (ePWM7) | EPWM6_INT (ePWM6) | EPWM5_INT (ePWM5) | EPWM4_INT (ePWM4) | EPWM3_INT (ePWM3) | EPWM2_INT (ePWM2) | EPWM1_INT (ePWM1) |
INT4 | Reserved | Reserved | ECAP6_INT (eCAP6) | ECAP5_INT (eCAP5) | ECAP4_INT (eCAP4) | ECAP3_INT (eCAP3) | ECAP2_INT (eCAP2) | ECAP1_INT (eCAP1) |
INT5 | Reserved | Reserved | Reserved | Reserved | Reserved | EQEP3_INT (eQEP3) | EQEP2_INT (eQEP2) | EQEP1_INT (eQEP1) |
INT6 | SPITXINTD (SPI-D) | SPIRXINTD (SPI-D) | MXINTA (McBSP-A) | MRINTA (McBSP-A) | MXINTB (McBSP-B) | MRINTB (McBSP-B) | SPITXINTA (SPI-A) | SPIRXINTA (SPI-A) |
INT7 | Reserved | Reserved | DINTCH6 (DMA) | DINTCH5 (DMA) | DINTCH4 (DMA) | DINTCH3 (DMA) | DINTCH2 (DMA) | DINTCH1 (DMA) |
INT8 | Reserved | Reserved | SCITXINTC (SCI-C) | SCIRXINTC (SCI-C) | Reserved | Reserved | I2CINT2A (I2C-A) | I2CINT1A (I2C-A) |
INT9 | ECAN1_INTB (CAN-B) | ECAN0_INTB (CAN-B) | ECAN1_INTA (CAN-A) | ECAN0_INTA (CAN-A) | SCITXINTB (SCI-B) | SCIRXINTB (SCI-B) | SCITXINTA (SCI-A) | SCIRXINTA (SCI-A) |
INT10 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | EPWM9_TZINT (ePWM9) |
INT11 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | EPWM9_INT (ePWM9) |
INT12 | LUF (FPU) | LVF (FPU) | Reserved | XINT7 | XINT6 | XINT5 | XINT4 | XINT3 |
NAME | ADDRESS | SIZE (x16) | 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 |