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.

RTOS/LAUNCHXL-F28379D: LAUNCHXL-F28379D

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Tool/software: TI-RTOS

Hi,

I am having problem with adc_soc_continuous example works on my TMS320F28379D evaluation board

I compiled it with _LAUNCHXL_F28379D flag, but program doesn't exit from   while(0 == AdcaRegs.ADCINTFLG.bit.ADCINT3); (line 152)

Pls help me to resolve this problem

Thanks,Sabina

  • Hi Sabina,

    What version of C2000Ware/controlSUITE are you using? I believe in some versions there was a missing EALLOW/EDIS pair around the first block of code in the do-while loop, so make sure that you aren't missing that.

        EALLOW;
        AdcaRegs.ADCINTSEL1N2.bit.INT1E = 1;
        AdcaRegs.ADCINTSEL1N2.bit.INT2E = 1;
        AdcaRegs.ADCINTSEL3N4.bit.INT3E = 1;
        AdcaRegs.ADCINTSEL3N4.bit.INT4E = 1;
        AdcaRegs.ADCINTFLGCLR.all = 0x000F;
        EDIS;

    If that's not the issue, can you tell me more about how it's failing? Does it get stuck at that while loop the first time through, or do you actually make it to the ESTOP0 at least once before it starts to fail?

    Thanks,

    Whitney

  • Thanks! I added ALLOW/EDIS pair around the first block of code in the do-while loop and it resolved the problem