High priority mode is assigned first to SOC0, then in increasing numerical order. The value written in the
SOCPRIORITY field defines the first SOC that is not high priority. In other words, if a value of 4 is written into
SOCPRIORITY, then SOC0, SOC1, SOC2, and SOC3 are defined as high priority, with SOC0 the highest.
An example using high priority SOC’s is given in
SOC
12
SOC
0
SOC
4
SOC
8
SOC
2
SOC
14
SOC
6
SOC
10
SOC
15
SOC
1
SOC
3
SOC
5
SOC
7
SOC
9
SOC
11
SOC
13
RRPOINTER
(value = 7)
B
Example when SOCPRIORITY = 4
A
B
C
D
E
After reset, SOC4 is 1
st
on round robin wheel ;
SOC7 receives trigger ;
SOC7 configured channel is converted immediately .
RRPOINTER changes to point to SOC 7;
SOC8 is now 1
st
on round robin wheel .
SOC2 & SOC12 triggers rcvd . simultaneously ;
SOC2 interrupts round robin wheel and SOC 2 configured
channel is converted while SOC 12 stays pending .
RRPOINTER stays pointing to 7;
SOC12 configured channel is now converted .
RRPOINTER changes to point to SOC 12;
SOC13 is now 1
st
on round robin wheel .
High Priority
SOC
12
SOC
0
SOC
4
SOC
8
SOC
2
SOC
14
SOC
6
SOC
10
SOC
15
SOC
1
SOC
3
SOC
5
SOC
7
SOC
9
SOC
11
SOC
13
RRPOINTER
(value = 7)
C
High Priority
SOC
12
SOC
0
SOC
4
SOC
8
SOC
2
SOC
14
SOC
6
SOC
10
SOC
15
SOC
1
SOC
3
SOC
5
SOC
7
SOC
9
SOC
11
SOC
13
RRPOINTER
(default = 16)
A
High Priority
SOC
12
SOC
0
SOC
4
SOC
8
SOC
2
SOC
14
SOC
6
SOC
10
SOC
15
SOC
1
SOC
3
SOC
5
SOC
7
SOC
9
SOC
11
SOC
13
RRPOINTER
(value = 12)
E
High Priority
SOC
12
SOC
0
SOC
4
SOC
8
SOC
2
SOC
14
SOC
6
SOC
10
SOC
15
SOC
1
SOC
3
SOC
5
SOC
7
SOC
9
SOC
11
SOC
13
RRPOINTER
(value = 7)
D
High Priority
Figure 8-6. High Priority Example
Analog-to-Digital Converter (ADC)
522
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......