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.

TMS320F28034: Some code questions about the tidm_dc_dec_buck example

Part Number: TMS320F28034
Other Parts Discussed in Thread: SFRA, C2000WARE

Tool/software:

Why are Dcl and SFRA used in the example?

void BUCK_setupDcl(void)
{
BUCK_DCL_RESET(&BUCK_ctrl);
BUCK_ctrl.sps = &BUCK_ctrlSps;
BUCK_ctrl.css = &BUCK_ctrlCss;

BUCK_ctrl.css->T = (float32_t)1.0f / BUCK_DRV_EPWM_SWITCHING_FREQUENCY;

BUCK_ctrl.sps->b0 = BUCK_ctrlRef.ctrlCoeff.B0;
BUCK_ctrl.sps->b1 = BUCK_ctrlRef.ctrlCoeff.B1;
BUCK_ctrl.sps->b2 = BUCK_ctrlRef.ctrlCoeff.B2;
BUCK_ctrl.sps->a1 = BUCK_ctrlRef.ctrlCoeff.A1;
BUCK_ctrl.sps->a2 = BUCK_ctrlRef.ctrlCoeff.A2;

DCL_REQUEST_UPDATE(&BUCK_ctrl);
BUCK_DCL_UPDATE(&BUCK_ctrl);
}

What are the criteria for determining the values of the 5 coefficients(BUCK_ctrlRef.ctrlCoeff.B0/B1/B2/A1/A2)?

Do you have any documents related to the calculation of coefficients B0/B1/B2/A0/A1?

Thanks