Analog-to-Digital Converter
C2000 Microcontroller Workshop - Analog-to-Digital Converter 6 - 7
Round Robin Priority Example
SOC
0
SOC
1
SOC
2
SOC
3
SOC
4
SOC
5
SOC
6
SOC
7
SOC
8
SOC
9
SOC
10
SOC
11
SOC
12
SOC
13
SOC
14
SOC
15
RRPOINTER
SOC7 trigger received
SOC7 is converted;
RRPOINTER now points to SOC7;
SOC8 is now highest RR priority
SOC2 & SOC12 triggers received
simultaneously
SOC12 is converted;
RRPOINTER points to SOC12;
SOC13 is now highest RR priority
SOC2 is converted;
RRPOINTER points to SOC2;
SOC3 is now highest RR priority
SOCPRIORITY configured as 0;
RRPOINTER configured as 15;
SOC0 is highest RR priority
High Priority Example
SOC
4
SOC
5
SOC
0
SOC
6
SOC
7
SOC
8
SOC
9
SOC
10
SOC
11
SOC
12
SOC
13
SOC
14
SOC
15
RRPOINTER
SOC
1
SOC
2
SOC
3
High Priority
SOC7 trigger received
SOC7 is converted;
RRPOINTER points to SOC7;
SOC8 is now highest RR priority
SOC2 is converted;
RRPOINTER stays pointing to SOC7
SOC12 is converted;
RRPOINTER points to SOC12;
SOC13 is now highest RR priority
SOCPRIORITY configured as 4;
RRPOINTER configured as 15;
SOC4 is highest RR priority
SOC2 & SOC12 triggers received
simultaneously