Hi All
Using a TMS320F28069 we need to sample one ADC at 1us intervals and 6 others with more relaxed timing. Time is tight so we are executing the processing code for the main ADC in a CLA routine. The ADC is triggered from a PWM and generates ADCINT1. It is critical that the main ADC interrupt is processed at the 1us intervals.
There isn't time for all of the other 6 ADCs to complete their conversion in the 1us interval so we have tried to set up the other 6 ADCs in a round robin scheme by triggering them all off ADCINT1 and setting ONESHOT mode. However, it seems that all the ADC conversion are happening even though we have set ONESHOT mode. This delays the main, high priority interrupt since it can occur whilst another channel is being converted.
We have to enable continuous mode because you cannot clear an interrupt from within a CLA routine.
We are currently implementing the round robin processing by manually triggering the ADCs from a CPU based interrupt routine which works OK but we need the processor cycles in the main CPU as well.
We also tried not enabling continuous mode but clearing the interrupt in the CPU interrupt routine but this didn't seem to help.
Can anybody tell me if this should work?
Thanks
Steve Love