ZHCS898O October 2003 – March 2019 TMS320F2801 , TMS320F28015 , TMS320F28016 , TMS320F2802 , TMS320F2806 , TMS320F2808 , TMS320F2809
PRODUCTION DATA.
请参考 PDF 数据表获取器件具体的封装图。
Figure 6-23 shows how the various interrupt sources are multiplexed within the 280x devices.
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 280x, 43 of these are used by peripherals as shown in Table 6-28.
The TRAP #VectorNumber instruction transfers program control to the interrupt service routine corresponding to the vector specified. TRAP #0 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, 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 through 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) |
ADCINT(2)
(ADC) |
XINT2 | XINT1 | Reserved | SEQ2INT
(ADC) |
SEQ1INT
(ADC) |
INT2 | Reserved | Reserved | EPWM6_TZINT
(ePWM6) |
EPWM5_TZINT
(ePWM5) |
EPWM4_TZINT
(ePWM4) |
EPWM3_TZINT
(ePWM3) |
EPWM2_TZINT
(ePWM2) |
EPWM1_TZINT
(ePWM1) |
INT3 | Reserved | Reserved | EPWM6_INT
(ePWM6) |
EPWM5_INT
(ePWM5) |
EPWM4_INT
(ePWM4) |
EPWM3_INT
(ePWM3) |
EPWM2_INT
(ePWM2) |
EPWM1_INT
(ePWM1) |
INT4 | Reserved | Reserved | Reserved | Reserved | ECAP4_INT
(eCAP4) |
ECAP3_INT
(eCAP3) |
ECAP2_INT
(eCAP2) |
ECAP1_INT
(eCAP1) |
INT5 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | EQEP2_INT
(eQEP2) |
EQEP1_INT
(eQEP1) |
INT6 | SPITXINTD
(SPI-D) |
SPIRXINTD
(SPI-D) |
SPITXINTC
(SPI-C) |
SPIRXINTC
(SPI-C) |
SPITXINTB
(SPI-B) |
SPIRXINTB
(SPI-B) |
SPITXINTA
(SPI-A) |
SPIRXINTA
(SPI-A) |
INT7 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved |
INT8 | Reserved | Reserved | Reserved | Reserved | 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 | Reserved |
INT11 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved |
INT12 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved |
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 |