Hi community, I believe that my algorithm to perform 3 ADC in a F28335 is wrong.
I put the core code for any to reply and make any solution:
....
//Tomo lectura ADC
while (AdcRegs.ADCST.bit.INT_SEQ1== 0) {} // Wait for interrupt
AdcRegs.ADCST.bit.INT_SEQ1_CLR = 1;
ILsensed =((AdcRegs.ADCRESULT0>>4) );
vi_11 = ((AdcRegs.ADCRESULT1>>4) );
vo_11 = ((AdcRegs.ADCRESULT2>>4) );
//fin lectura ADC
.....
I believe that this code perform 1 conversion and don't 3 is really in this way?
I need 3 conversions really to make any operations.
guillermo