Hi All,
I' am using F280041 for peak current mode application,
There are 2 group adc in the system, first is ADCA for current measurement, second is ADCC for voltages and temperatures. I want to start adc sample by triggering PWM1 compare A and B register. When i set CMPA = 0 , i see that interrupt time is more around 300 ns than i calculated value. My setting like below.
Prescale value = 0;
Sample time = 2;
ADCA = { SOC0 = A1; SOC1 = A1; SOC2= A2; SOC3 = A2 }
ADCC = { SOC0 = C1; SOC1 = C2; SOC2= C3; SOC3 = C4 }
Total s&H time should be : (((11+3) * 4) + 1) * 10ns = 570ns, but i see 870 ns on the scope. (i am using gpio6 to see intterrupt timing on the scope)
when i change CMPA = 50 , i see 1370 ns on the scope.
How can i solve it ?