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.

ADC interrupt selection

Hello,

Currently i am working on ADC module of F28027 Piccolo controller?
From Figure below what is difference between ADCINT1 & ADCINT2 ?
and
How can i use Different ADCINT1-ADCINT2 & ADCINT1-ADCINT9 as NAME of int1-2 are same???

Thank YOU

  • Hi,

    ADCINT1 & 2 can be given higher priority while configured as INT1.1 and INT1.2 else you can give them lower priority as other ADCINTs in INT10.x

    You can configure ADCINT1 &2 only at one instance. Please refer ADC & Interrupts user guide for detailed info and configuration.

    Regards,

    Gautam

  • Sir

    Actually in Below REG . for each SOCx we have given ADCINT1 and ADCINT2. So when to use ADCINT1 and when ADCINT2 ...

  • I hope you're acquainted with the fact that if you don't want to use TRIGSEL field for triggering SOCx, you can go with either of the above 2 ADCINTx. According to your requirement you'll be using either ADCINT1 or ADCINT2. Its not like when to use ADCINT1 and ADCINT2! It totally depends on what the application is and how the coder wants to implement the same.

    In simple words, you can use any one of them or both to trigger SOCx.

    Regards,
    Gautam