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.

TMS320F28377S: SFRA Settings Grayed Out and No Data Collected on TMS320F28377S – Hardware Connected but FRA Configuration Not Allowed"

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

Tool/software:

Dear TI Support Team,

I am encountering an issue with the Software Frequency Response Analyzer (SFRA) implementation on the TMS320F28377S microcontroller. Despite successfully connecting the hardware to the SFRA GUI, I am unable to modify the FRA settings, and no data is being collected or displayed. Below are the details of the problem and the steps I have taken so far:


Problem Description

  1. SFRA Settings Not Modifiable:

    • In the SFRA GUI, the FRA settings (e.g., Start Frequency, Steps Per Decade, Injection Amplitude) are grayed out or disabled, even though the hardware is connected successfully.

    • The GUI shows "Connected," but the settings cannot be changed.

  2. No Data Collection:

    • The SFRA sweep does not produce any data. The "Frequency," "Magnitude," and "Phase" fields remain empty.

    • The "Frequency Vector Length" shows "No Data," and the "Start Frequency," "Steps Per Decade," and "Injection Amplitude" fields are set to "N/A" or "0."

  • Hello,

    Can you confirm, in your firmware are you using SFRA and SFRA GUI APIs correctly?

    SFRA APIs: 

    SFRA_F32_reset,  SFRA_F32_config, SFRA_F32_runBackgroundTask, SFRA_F32_collect, SFRA_F32_inject

    SFRA GUI APIs:

    SFRA_GUI_config, SFRA_GUI_runSerialHostComms
    If you are not using this APIs in the firmware, please refer to the example: " C2000Ware_DigitalPower_SDK_5_xx\libraries\sfra\examples "
    If you are already using this APIs, can you share corresponding code for recreating the issue!
    Thanks, 
    Shashank
  • Hello Shashank,

    Thank you for reaching out and for your detailed inquiry regarding the SFRA and SFRA GUI APIs.

    To address your questions:

    1. SFRA and SFRA GUI APIs Usage:
      Yes, we are using the SFRA and SFRA GUI APIs in our firmware. Specifically, we are utilizing the following APIs:

      • SFRA APIs:
        SFRA_F32_reset, SFRA_F32_config, SFRA_F32_runBackgroundTask, SFRA_F32_collect, SFRA_F32_inject

      • SFRA GUI APIs:
        SFRA_GUI_config, SFRA_GUI_runSerialHostComms

      These APIs are implemented as per the guidelines provided in the C2000Ware_DigitalPower_SDK_5_xx libraries.

    2. Modifications to the Example Code:
      As you mentioned, we have made some modifications to the example code, particularly in the SCI configurations, to ensure compatibility with our specific hardware setup. These changes were necessary because the original example code was not functioning correctly without them.