Hi,
I require some 10 Sec delay in my main function.
right now I am using these lines in main function at starting.
/****** lines used inmmain function**************/
void main(void)
{
CpuTimer0Regs.TCR.bit.TSS=0; // start the timer
while(CpuTimer0Regs.TCR.bit.TIF == 0); // wait for 5 sec
InvInit();
EALLOW;
SysCtrlRegs.PCLKCR0.bit.TBCLKSYNC = 1;
EDIS;
while(1)
{
}
}
/*****************/////
But what I am observing is the Delay how much I have configured is not observing when Powered On The controller.
It is happening after EPWM's generation.
But we require Delay before the generation itself.
Pls update.