AnsweredAssumed Answered

How to Acknowledge Internal ADC "Frame Completion Status" without enabling Frame completion interrupt

Question asked by kalaiselvan.s@hcl.com on Oct 31, 2014
Latest reply on Dec 8, 2014 by Prashant

Hi All,

I am working on CM403 Internal ADC. I have configured ADCC TMR0 to sample @ 64 KHz .Its working fine. In TMR0 frame completion ISR clearing frame completion status like below

 

static void TMR0_Int_Handler (void)

{

    static int abc = 0;

    AdcReg_ptr_g->fistat = 0x00000001; //! Clear the Frame Interrupt 0 Status register - 0th bit

    abc++;      // used for work around

}

 

One of my requirements is "dont need frame completion interrupt"

 

But hardware reference manual saying that:

 

"The frame completion status bits must be acknowledged after completion of ADCC frame. Otherwise, the incoming trigger is ignored, and a trigger overrun error is flagged." in Page no 1522.

 

So How can i acknowledge frame completion status bit without enabling frame completion interrupt?

Outcomes