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/TMS320F28069M: Elec

Part Number: TMS320F28069M
Other Parts Discussed in Thread: MOTORWARE

Tool/software: Code Composer Studio

I have DRV8301-HC-EVM Rev D_28069M Kit.

I use the motorware proj_lab12b.

I have a BLDC motor.(20poles = 10 pole pairs)

I have a few questions.

1.

 if(EST_getState(obj->estHandle) == EST_State_Rs)
    {
        ENC_setZeroOffset(encHandle, (uint32_t)(HAL_getQepPosnMaximum(halHandle) - HAL_getQepPosnCounts(halHandle)));
    }

Do I not have to use the  ENC_setZeroOffset function?

2.

If gMotorVars.Flag_Run_Identify is set to 1, should the electrical angle be 1 to become EST_State_OnLine?

How many electrical angles do you have to be EST_State_OnLine? (0< electrical angles<1)