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.

LAUNCHXL-F28379D: ADC Illegal_ISR issue

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

Tool/software:

I was trying to use the ADC with ePWM3 as a SOC, but as soon as I run the code in debug mode, the debugger jumps to an illegal ISR. Then, I tried operating the ADC with the CPU Timer0 interrupt as the SOC, and it worked fine. Afterward, I attempted to import the CCS example from C2000Ware_5_04_00_00->device_support->f2837xd->examples->cpu1->adc_soc_epwm, but it showed the error: 'Import failed for project 'adc_soc_epwm' because its meta-data cannot be interpreted. Please contact support.' The example 'adc_soc_epwm_tempsensor' works fine, however. But when I copied the content from that project into my own project, the illegal ISR issue occurred again. Please provide suggestions. I have attached all the project folders for reference.ADC_SOC_Timer0.zipADC_SOC_ePWM3.zip

  • Hi Krunal,

    When you're copying files between projects, don't forget to add the include addresses in the project properties (like include options and path variables). If you skip this step, it can lead to issues, such as not being able to find the "F2837xD_device.h" file. You might want to check out one of the motor control SDK examples where we use PWM to generate ADC SoC.

    Best Regards,

    Masoud

  • Hi Masoud,

    I have uploaded both the project folders in one project I have used CPU Timer0 interrupt as SOC for ADCA1 and it is working fine. but then I have created new project in which i have used ePWM3 as SOC for ADCA1 while running that project in FLASH the debugger jumps to illegal_ISR. I have uploaded both the project folders can you please check and help me to identify the cause and solution of the problem.

    Thanks and Regards,

    Krunal Shah