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: I would like more information about the SFRA specially using with the TMS320F28035

Part Number: SFRA
Other Parts Discussed in Thread: TMS320F28035,

Hi.

I tried to program the code example to TMS320F28035. It worked good. But there are some issues about it. In main code, at the comments, there are reference to "Q15 (see excel spreadsheet)", where I download it?

The SFRA's manual says: The time taken by the SFRA depends The speed at which the background task is called . How or where I changed it in order to increase the speed of the sweep? 

Thanks a lot.

  • 1. The spreadsheet refers to how some gui variables are translated to from ADC reading, it depends on the design for example the workshop excel will be under the  package you download from

    DPS Workshop

                    ->device support                                       (contains header files and other supporting files needed to program the controller)

                    ->libs                                                         (contains libraries such as Solar Library, Digital Power Library, IQMath Library, SGEN Library)

                    ->Workshop                          

                                ->DPS_Workshop

                                              ->~Docs                           (DPS Workshop Hardware Guide, DPS Workshop Manual, and Board Schematics, DPSWorkshop-Calculations)

                                              ->Lab1                            (Files for Lab 1)

                                              ->Lab2                            (CCS Project for Lab2)

                                              ->Lab3                            (CCS Project for Lab3)

                                              ->Lab4                            (CCS Project for Lab4)

                                              ->Lab5                            (CCS Project for Lab5)

  • SFRA speed primarily depends on the ISR rate in which the SFRA INJECT and COLLECT are called.

    Based on some recent experience with the GUI i would not recommend changing the background ISR rate.. currently it is set to ~1ms
  • Thanks a lot, Manish Bhardwaj, for your answers. Yes, I found the excel file, but unfortunately the DPS workshop board is out of sale. This link doesn't work more: www.ti.com/.../TMDSC2KWRKSHPKIT

    However with the examples, I can increase my knowledges about the dsp and try to understand better the main code from the example of case study with the SFRA software with F28035 dsp (fixed point ). And try later with the DSP F28335 (floating point ) from our time.

    I need increase to at about 2 ms or more the time taken by background ISR rate. My main goal is wait more time in order to wait the converter enters in steady state. In the main code, there is reference to DAC. The code is programmed to used with a DAC IC or the DSP contains in it this DAC converter, or that DAC is present on DSP board?

    The main code refers to Vout1SetSlewed, what does it mean? And what is its goal? 

    What are the functions for the tasks A, B and C? If I use olnly the tasks A, the SFRA will work well or no?

    The CLA is used or no?

    Thank you.

  • I need increase to at about 2 ms or more the time taken by background ISR rate. My main goal is wait more time in order to wait the converter enters in steady state. In the main code, there is reference to DAC. The code is programmed to used with a DAC IC or the DSP contains in it this DAC converter, or that DAC is present on DSP board?

    I am not sure about the above question as multiple questions are bundled in one, could you clarify which board, which DAC ? what for? 

    The main code refers to Vout1SetSlewed, what does it mean? And what is its goal? 

    That is the set point of the voltage command of the power converter

    What are the functions for the tasks A, B and C? If I use olnly the tasks A, the SFRA will work well or no?

    When i look at the code it is using task A, B and C for simple things, it is not necessary for SFRA to run the other tasks except taskA, but for the code to function in conjunction with the power converter the other tasks are needed. 

    The CLA is used or no?

    No the CLA is not used

  • Ok, thank you so much. The only question now is: How I increase to at about 2 ms or more the time taken by background ISR rate?

  • Francisco, sorry "How I increase to at about 2 ms or more the time taken by background ISR rate?"

    there is nothing like background ISR, there are backgrounds Tasks which are run using CPU Timers. The CPU timer configuration is in device init function, you will see them confirgured as 1ms, 2ms etc..
  • No problem, thanks so much. If the rate is defined by the cpu timers, then the solution is easy. Thanks a lot again.