Hi,
In 28335 ADC, I am setting following -
Setting all 8 channels on both sequeciers at software trigger :
AdcRegs.ADCMAXCONV.bit.MAX_CONV1 = 0x7; // Set up all 8 conversions
AdcRegs.ADCMAXCONV.bit.MAX_CONV2 = 0x7; // Set up all 8 conversions
Enabling interrupts on both sequences :
AdcRegs.ADCTRL2.bit.INT_ENA_SEQ1 = 1; // Enable interrupt on SEQ1
AdcRegs.ADCTRL2.bit.INT_ENA_SEQ2 = 1; // Enable interrupt on SEQ2
In this case, I am seeing that it generates interrupt SEQ1INT_ISR first, then SEQ2INT_ISR and then ADCINT_ISR.
Here why does it generates ADCINT_ISR ? Is it not enough to read all converted values form SEQ1 and SEQ2 respectively. What are we supposed to do in ADCINT_ISR ?