Tool/software: Code Composer Studio
Hello,
I am using TMS320F28335 for inverter application. I use code composer studio. I am using enhanced pulse with modulator (ePWM) for driving IGBT.
When I define a variable as “integer” (int) , program is running but ePWM modüle is not working. Controller can not generate PWM. I observed this situation , without using this variable anywhere.
When I define a variable as “integer 32”,”float”,”long” etc., program is running and ePWM working. Controller generate PWM.
For example I define a variable “i”;
İnt i=0; //Controller can not generate PWM
İnt32 i=0; or Long i=0; or İnt32 i=0 //Controller generate PWM.
I am not using this value anywhere in program in both case.
I want to know reason this situation. Which data type should I use to define a variable?