I've been trying to get the triggered ADC sampling working on the latest silicon (STR912FA). I've set up the ADC to trigger on a Timer 0 OC1 event according to Section 16.4.3 ''Starting Conversion'' in the latest version of the reference manual. My understanding is when the Timer 0 interrupt fires the ADC is triggered to begin sample conversion. I've verified my timer is interrupting at the expected sample rate however the ADC never starts.
Has anyone else tried using this enhancement and gotten it to work?
I think where I went wrong was enabling the timer before enabling the ADC. I'll try enabling the ADC first, waiting for 300mS, and then enable the timer. Thanks.
your should notice that power up takes 300ms for the ADC. if you send a external request before this time you would see the str bit set but no comversion will be executed.
Please find attached an example trigger ADC with timer as trigger source working with the latest silicon revision STR912FA. May be you have a problem in your project. Best regards, mirou