Hi, I wonder if the below sentences are incorrect in
http://processors.wiki.ti.com/index.php/Control_Law_Accelerator_(C2000_CLA)_FAQ
Q: If the CLA takes an ADC interrupt, can it then clear the ADC's interrupt flag?
- No. The CLA can not access the ADC configuration registers so it can not clear the ADC interrupt flag. Here are three options for handling this:
- Option 1
- Place the ADC in continuous mode. In this mode the next conversion will start, when triggered, even if the flag is still set.
- Option 2
- Service the ADC interrupt with the main CPU as well as the CLA and have the main CPU clear the flag.
- Option 3
- Have the main CPU service the end of task interrupt from the CLA and clear the flag.
But in type1 CLA, the CLA can access the ADC configuration registers so it can clear the ADC interrupt flag, right?