Part Number: TIDA-00961
Hi,
I am running system in current loop(i.e INC_BUILD=2), when i am changing "uspwmEnable" variable in expresstion window from 0 to 1(it means when i am starting switching) ''ocp_fault" variable is setting high but i am probing for input current it is not going beyond the thresold value Then i went through the code where the variable is setting
if((PWM_TRIP_STATUS(LOW_FREQ_PWM_BASE)&LOW_FREQ_PWM_DCBEVT1) != 0)
{
crossoverState=crossoverState_default;
if(boardStatus==boardStatus_NoFault)
{
guiVrmsEMAvg=0;
}
ocp_Fault = 1;
boardStatus=boardStatus_OverCurrentTrip;
}
This is the function. then i got digital compare B event 1 flag is setting(DCBEVT1). can you please help why this flag is setting
thanks
Yashwanth