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/TMS320F28377S: SFRA Error

Part Number: TMS320F28377S
Other Parts Discussed in Thread: SFRA, C2000WARE, C2000WARE-DIGITALPOWER-SDK

Tool/software: Code Composer Studio

Dear Sir,

My name is Mahesh.

Presently I am working on F28377S Delfino controller.

I need to do SFRA in this controller.

What ever the code need to add in main.c to run SFRA, added as per the document mentioned.

But we are facing problem in SFRA  application as "Chart area axes : The minimum and maximum axes values has not been specified".

Plz find the below attached image for your reference.

 


Thanking you sir,

Mahesh.

Analogics Tech India Ltd.

Hyderabad.

  • Mahesh,

    We do know of this issue, and it has been filed as a bug on SFRA GUI. We currently have no resources to look into it and resolve it.

    As a workaround, I can suggest you save the data as a CSV file, and use that CSV file. The CSV file is generated even when the error pops up.

    Also, you may be able to even export to excel if you are running the tool directly from the install directory. The use Matlab to import the CSV data to plot.

    regards
    Manish Bhardwaj

  • Dear Bhardwaj Sir,

    We've did SFRA in F2808 (Fixed point processor) also with the same SFRA.exe application, there we did not find any issue.

    But while doing SFRA with F28377S(Single core Floating point processor) only we are facing the  problem mentioned.

    If It is as a bug in SFRA.exe application, It should not work with F2808 , but working fine with it.

    I already tried to save the data .csv file even error occured like that , but we are getting wrong data,

    which are,

    OL Phase : Infinity(all values)

    Plant  Phase :Infinity (all values).

    Please find the below attachment (.csv) for your reference.

    Will wait for your quick response Sir,

    Thanking you,

    Mahesh.

    SFRAData16_April_2018_6_31_22.rar

  • Mahesh, 

    The GUI has error on plotting aspects, especially if it sees weird data like INF. It can also fail in some corner cases for PR controllers.  The bug is related to fixing the GUI so that it does not crash even when data is corrupted/ a corner case issue.

    Based on the information you have provided the error is coming from the data being INF and that is a problem the GUI is not going to fix. There might be an issue with usage, linking etc.. in your code when you have started testing it with F28377

    Please note F28377 is floating point core, you need to select the floating point option in the GUI, also link in the SFRA float lib etc.

    Also for the F28377 we also have a TMU lib version of SFRA, you can take that from 

    C:\ti\c2000\C2000Ware_DigitalPower_SDK_1_00_01_00\libraries\sfra\float\lib

    and link that in instead of float, 

    (Note on F28377 the sin/cos tables are not in ROM, and hence need to be assigned specifically in CMD file, but if you use TMU lib it may not be required)

  • Dear Bhardwaj Sir,

    As per your suggestion, I've downloaded the C2000Ware and installed it to use.
    But there is no folder named SFRA, but there are folders which are.

    boot_rom.
    calibration.
    communications
    control
    dsp
    flash_api.
    math.

    Can you please tell which version of C2000 ware need to download to get SFRA folder.

    Thanking you Sir,
    Mahesh.
  • Mahesh,

    You need to download C2000Ware-DIGITALPOWER-SDK

    www.ti.com/.../c2000ware-digitalpower-sdk

  • Dear Bhardwaj Sir,

    As per your suggestion, I've downloaded "c2000ware-digitalpowe-sdk".

    and included library in to project explorer, but getting previous error as "Infinity" in .csv file.

    So, please find the below attachment images for your reference to get an idea about the library included properly or not.??

    Below one is the library added in project explorer.


     

    Below one is added library path in "File search path"


     

    Below one is the final error we got in "SFRA GUI"


     

    and for your reference , sending SFRA data .csv file also, please find the below attachment of .csv file.

    SFRAData20_April_2018_11_07_13.rar

    Thanking you Sir,

    Mahesh.

  • Mahesh,

    1. Please make sure you have TMU enabled. This is under project properties, procession options.

    2. As i mentioned earlier, the issue you are seeing is not related to GUI, the numbers themseleves are infinitie.

    3. You may want to look at examples where we have used SFRA , similar to the one i pointed to above.

    With the information i have i cannot point to the issue directly, you will need to do some more debug/provide more information. However what i can comment on is that the issue is not in GUI, the usage of the SFRA itself is incorrect or has issues.