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.

C2000 SFRA inject/collect from CLA task

Other Parts Discussed in Thread: SFRA, CONTROLSUITE

Hi!

I'm trying out the C2000 Software Frequency Response Analyzer (SFRA) on 28069 device. I can run the SFRA lib successfully as long as I call the inject/collect functions from the CPU, but run into various issues when trying to call inject/collect from a CLA task.

On a 28069 MCU, is it possible to use the SFRA_F_INJECT and SFRA_F_COLLECT functions directly from a CLA task or can they only be called from the CPU? The SFRA examples in controlSUITE only call the functions from the CPU. If it's possible to call them from the CLA, what do I need to do in terms of linking the lib etc?

  • Hi Erik,

    Yes you are correct in the understanding the SFRA lib is not available on the CLA, the reason for it is that the background task that needs to run cannot be fit into the CLA structure properly as there is only one task and that is non interrupt able,

    regards

    Manish Bhardwaj

     

  • Hi Manish,

    Thanks for your quick reply and work on SFRA.

    The controlSUITE document SFRALib.pdf states that "For CLA and Float 32, single precision floating point representation is used." and that led me to believe that at it was possible to execute (at least) the inject/collect SFRA functions on the CLA. You may want to consider rephrasing that statement for future releases of SFRA.

    My intended usage was to call SFRA init/background from the CPU and collect/inject from a CLA task. Depending on whether enough CLA program/data RAM is available perhaps this kind of a division of labor also would be something worth considering for future releases.

    Kind regards,
    Erik
  • Hi!
    I'm trying to run SFRA lib in the CLA module on 28035 device. Have you implemented the CLA task calling? Thanks.
  • Hi user1911848 ,

    I would recommend creating a new thread for your query. Feel free to link to this post if it is similar to your question.