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.

CCS/TMS320F28035: Issue with CCS V.7 Debugger

Part Number: TMS320F28035
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi,

I´m using the experimenter kit for the TMS320F28035 and the CCs V.7   My program contains configuration and control of epwm3, epwm4 and epwm5 with the aim to construct a three phase bridge. Like a main subrutine I have a few nop´s instructions and an instruction to make a adc convertion. The issue is that when I´m debugging my program, never this program returns to the main subrutine.

But when I make the debugg with the step by step procedure I can see that the control of program returns to the main subrutine.

The epwm´s are operating to 33kHz.

I don´t understand how this happening.

 

Thanks in advance

  • Hi,

    The issue is that when I´m debugging my program, never this program returns to the main subroutine.

    Not clear about the issue. From where code is not returning to main? Is code stuck in some loop?

    Vivek Singh

  • Hello Vivek

    In my program I´m using the three epwm to generates three sinusoidal signals. So those epwm´s modules interrupts to 30kHz for change the width of pulse.Therefore, the cpu atends, basically, the operation of the epwm´s. Then my main subrutine must make anothers control functions, in this moment my main subrutine, only contains nop´s, set and clear test signal and a convertion of voltage instruction. So, when I execute the program with CCS, I can see the signals corresponding to epwm for the H bridge control, but I can´t see the test signal.

    Thank you

    Sebastián

  • Sorry, for late reply. I'll have EPWM expert to look into this one.
  • Please check below two items.
    1. What's the ISR frequency? Is it the same frequency as PWM? Is there overflow in ISR?
    2. Did you clear the corresponding flag of the interrupt in ISR?

    You may download controlSUITE as the following link.
    www.ti.com/.../controlsuite

    And have a look at an example as below folder, and refer to it to design your project.
    C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\PM_Sensorless