10.7.3.3 CLA Peripheral Interrupt Source Select 1 Register (MPISRCSEL1)
Each task has specific peripherals that can start it. For example, Task2 can be started by ADCINT2 or
EPWM2_INT. To configure which of the possible peripherals will start a task configure the MPISRCSEL1 register
shown in
. Choosing the option "no interrupt source" means that only the main CPU software will be
able to start the given task.
It should be noted that a CLA task only triggers on a level transition (a falling edge) of the configured interrupt
source. If a peripheral is enabled and an interrupt fires before the CLA is configured, then the CLA will not see
the interrupt edge and will not respond. Refer to the initialization order shown in
.
Figure 10-5. CLA Peripheral Interrupt Source Select 1 Register (MPISRCSEL1)
31
28
27
24
23
20
19
16
PERINT8SEL
PERINT7SEL
PERINT6SEL
PERINT5SEL
R/W-0
R/W-0
R/W-0
R/W-0
15
12
11
8
7
4
3
0
PERINT4SEL
PERINT3SEL
PERINT2SEL
PERINT1SEL
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 10-24. Peripheral Interrupt Source Select 1 (MPISRCSEL1) Register Field Descriptions
Bits
Field
Value
Description
31-28
PERINT8SEL
Task 8 Peripheral Interrupt Input Select
0000
ADCINT8 is the input for interrupt task 8. (default)
0010
CPU Timer 0 is the input for interrupt task 8. (TINT0)
0100
eQEP1 is the input for interrupt task 8. (EQEP1_INT)
0101
No interrupt source for task 8.
1000
eCAP1 is the input for interrupt task 8. (ECAP1_INT)
Other
No interrupt source for task 8.
27-24
PERINT7SEL
Task 7 Peripheral Interrupt Input Select
0000
ADCINT7 is the input for interrupt task 7. (default)
0010
ePWM7 is the input for interrupt task 7. (EPWM7_INT)
0100
eQEP1 is the input for interrupt task 7. (EQEP1_INT)
0101
No interrupt source for task 7.
1000
eCAP1 is the input for interrupt task 7. (ECAP1_INT)
Other
No interrupt source for task 7.
23-20
PERINT6SEL
Task 6 Peripheral Interrupt Input Select
0000
ADCINT6 is the input for interrupt task 6. (default)
0010
ePWM6 is the input for interrupt task 6. (EPWM6_INT)
0100
eQEP1 is the input for interrupt task 6. (EQEP1_INT)
0101
No interrupt source for task 6.
1000
eCAP1 is the input for interrupt task 6. (ECAP1_INT)
Other
No interrupt source for task 6.
Control Law Accelerator (CLA)
714
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......