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/RM48L952: PWM not being generated

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hey there,

This is my file

/*Include Files*/
#include "sys_common.h"
#include "system.h"
#include "gio.h"
#include "het.h"


/* USER CODE BEGIN (2) */
hetSIGNAL_t Set_Duty_Period1;
/* USER CODE END */

void main(void)
{
/* USER CODE BEGIN (3) */

	int i;
	gioInit();
	gioSetDirection(hetPORT1, 0xFFFFFFFF); //for setting GIO direction
	gioSetBit(hetPORT1, 10, 1); //for setting HET1_10 bit through GIO

	hetInit();  //HET Initialization
	Set_Duty_Period1.duty = 75;  // Duty cycle set to 75%
	Set_Duty_Period1.period = 10000; // f=10kHz
	pwmSetSignal(hetRAM1, pwm1, Set_Duty_Period1);
	pwmStart(hetRAM1, pwm1); // pwm 1 is set for HET1_10
	while(1);
	
/* USER CODE END */
}

I am using TMDXRM48

Firstly my code was working fine and the next day when I resumed the pwm is not being generated,Using HALCogen i have only enabled the GIO and HET1 driver,while the controlling is done using CCS by the algorithms

Please provide help

Here is the screenshot