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.

[F28069] SFRA GUI Crashes and injection seems not to work

Other Parts Discussed in Thread: SFRA, CONTROLSUITE

Hello, I have my  custom buck converter with F28069 (generally quite similar to Boosterpack). I have added SFRA_F lib to the project, linked, configured as in the example. When I open SFRA GUI the connection works correctly  but the problem occur when i start sweep. One of the graph crashes.

As i understand sfra lib try to add a small signal to duty cycle and measures Vout response. 

Duty1A = SFRA_F_INJECT(DigitalBuck_RT.Duty1ASetSlewed);

but Duty1A is fixed and CommsOKflg = 1;

  • Jolek,

    Does the GUI crash after it has finished sweep?

    I would recommend you can use the the data out in excel file and then import it in MATLAB to read the data... (check the box on the SFRA gui to export the data in excel, you may have to launch this GUI from
    C:\ti\controlSUITE\libs\app_libs\SFRA\v1_10_00_00\GUI
    by browsing to the folder on your machine.

    we provide the script for the same C:\ti\controlSUITE\libs\app_libs\SFRA\v1_10_00_00\Scripts

    I have seen it crash for a few plot values, however i do not have a fix yet.
  • Thank you for your response.

    I have importer example for F28069 from the SFRA folder in ControlSuit. The color of the functions in the example are purple, however in my project are "black".  I conclude that the SFRA Lib is included to the project in wrong way. There is no warning or errors during compilation . I have checked Your tutorial several times and i do not see what is wrong in my project?

    I have decided to remove all files in the example and paste all files from my project. Now the injection seems to work but the open loop  the results look strange.

  • Joelk,

    I would like to split the problem into two parts

    1. SFRA not working correctly , for this you can start the sweep by entering sfra1.start as 1 in the watch window, you can observe the result of the sweep in arrays in the watch window called olMagVect (may not be exact name, please search the c file). This will give you an idea of how the sweep is progressing

    2.Next you can look at SFRA GUI debug, i have noticed for some values of OL mag and phase the GUI crashes, but if the topology is buck this should work fine.. are you able to at least see the excel file once the sweep is complete?

    Also you mentioned you modified the buck example is some ways, are you able to run the buck example as it is correctly? And if you did change what exactly were the changes?