Analog-to-Digital Converter (ADC)
TMS320F2837xD Microcontroller Workshop - Analog Subsystem 6 - 11
Round Robin Burst Mode with 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
BURSTTRIG trigger received
SOC4 & SOC5 is converted;
RRPOINTER points to SOC5;
SOC6 is now highest RR priority
SOC1 is converted;
RRPOINTER stays pointing to SOC5
SOC6 & SOC7 is converted;
RRPOINTER points to SOC7;
SOC8 is now highest RR priority
SOCPRIORITY configured as 4;
RRPOINTER configured as 15;
SOC4 is highest RR priority
BURSTTRIG & SOC1 triggers
received simultaneously
Note: BURSTEN = 1, BURSTSIZE = 1
Post Processing Block
Purpose of the Post Processing Block
Offset Correction
Remove an offset associated with an ADCIN channel possibly
caused by external sensors and signal sources
Zero-overhead; saving cycles
Error from Setpoint Calculation
Subtract out a reference value which can be used to automatically
calculate an error from a set-point or expected value
Reduces the sample to output latency and software overhead
Limit and Zero-Crossing Detection
Automatically perform a check against a high/low limit or zero-
crossing and can generate a trip to the ePWM and/or an interrupt
Decreases the sample to ePWM latency and reduces software overhead;
trip the ePWM based on an out of range ADC conversion without CPU
intervention
Trigger-to-Sample Delay Capture
Capable of recording the delay between when the SOC is
triggered and when it begins to be sampled
Allows software techniques to reduce the delay error