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.

SFRA tool general question

Other Parts Discussed in Thread: SFRA, CONTROLSUITE

Hello all,

I am quite new with CCS and I have a DSP 28377D;  I wanted to test the SFRA tool.

Do I need to create a new project to run the SFRA and copy and paste into my new project the lines of code given in "spruhz5a"? Or can I just copy and paste the code given in "spruhz5a" into my main.c?? Does someone have any example on SFRA on 28377D?

Thanks for your help,

Leo

  • Recommend the following projects for more easy understanding,

    the SFRA lib shoudl work if you use the instructions from the manual as well.

    C:\ti\controlSUITE\development_kits\BOOSTXL_BUCKCONV\v1_01_00_00\Buck_VMC_F2837xS

    C:\ti\controlSUITE\development_kits\HV_1PH_DCAC\v1_02_00_00\f2837x\voltagesourceinvlcfltr

  • Thanks Manish and e2e,

    I am quite new with CCS and I still need some help, in order to measure tho open loop gain of my power stage. If I understand correctly the spruhz5a, pag.19,  the function

    SFRA_F_INJECT(Duty_pu_DC)

    needs to go inside my pwm interrupt.. it that correct? But what is Duty_pu_DC? Is it the amplitude of the small signal injected? So then, can I use SFRA_F_INJECT(0.1)? for instance?

    Also, I don't understand how these two commands work:

    //Update PWM value

    EPwm1Regs.CMPA.half.CMPA=((long)(BUCK_PWM_PERIOD))* Duty_pu;

    SFRA_F_COLLECT(&Duty_pu,&Vout1_Read);

    what are the variables BUCK_PWM_PERIOD, Duty_pu? and what does EPwm1Regs.CMPA.half mean?

    Thank you very much again,

    Leo