This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280040C-Q1: question about situation with ADC interrupt stops

Part Number: TMS320F280040C-Q1

Tool/software:

Hi

From ‘ Errata  TMS320F28004x Real-Time MCUs Silicon Errata  Silicon Revisions B, A, 0'

when an ADC interrupt occurs simultaneously with a software write of the ADCINTFLGCLR register.

So

1. if the ADCINTOVF not setting,means no adc interrupt overfow, then it will not stop the ADC interrupt?

2.What do you mean by simultaneously, can you clarify this.

If a new interrupt occurs, and current interrupt not done,I think first the overflow flag will set to 1, and waiting for current interrupt done.

Then MCU will process the interrupt and clear the adc interrupt flag.

It makes me confused, this is not simultaneously as the errata saying.

Do you have the time line of graph to display the situation of the graph.

We have met this issue now of ADC interrupt not working when ADC interrput overflows

Regards

Arrow

  • Hi Arrow,

    1. if the ADCINTOVF not setting,means no adc interrupt overfow, then it will not stop the ADC interrupt?

    That is correct if is expected to continue conversion. 

      

    2.What do you mean by simultaneously, can you clarify this.

    If a new interrupt occurs, and current interrupt not done,I think first the overflow flag will set to 1, and waiting for current interrupt done.

    Then MCU will process the interrupt and clear the adc interrupt flag.

    It makes me confused, this is not simultaneously as the errata saying.

    Do you have the time line of graph to display the situation of the graph.

    We have met this issue now of ADC interrupt not working when ADC interrput overflows

    Taking an example: if the ADC is converting and ADCINTFLG is being monitored to check for conversion done, then the first thing to do is clear the Interupt flag and proceed for processing data. 

    BR,

    Nilesh