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.

TMS320F2837xD - Simple CLA example running with RTOS

Other Parts Discussed in Thread: CONTROLSUITE

I have read several forum posts and tried to implement the suggested code I could find, but so far I could not accomplish the following:

* Create a simple example that runs a task on CPU1 while executing a separate function on CLA.

I would like the CLA function to be triggered either from the RTOS task or from an independent timer. 

Particular struggles:

- How to enable CLA coding in C within the RTOS environment

- How to conciliate the CLA interrupts with RTOS

- How to properly debug (breakpoints and stepping) the CLA in a RTOS implementation.

- What provisions should exist in the linker command file

I can easily create a simple RTOS example running on CPU1. I can also run a simple example of the CLA running in bare metal. When trying to combine both, CCS refuses to run a debug session.

Background information:

CCS version: 6.2.0.00048 

TI compiler: v15.12.3.LTS

controlSUITE: 3.4.3

F2537xD device support: v210

Thank you!

  • Hello,

    I'll check with our CLA expert to see if he has feedback on this or if this should be moved to the TI-RTOS forum for better support.

    Thanks,
    Elizabeth
  • I've moved your post to the TI-RTOS forum, so the experts here can advise.

    Elizabeth
  • Hi Lenio,

    Could you try taking one of the controlSuite CPU1/CLA examples and see if that works?  It looks like there are a few in the directory

        device_support/F2837xD/v210/F2837xD_examples_Cpu1

    you could try.  These are not BIOS examples, but if they work, then a BIOS program that uses the CLA should also work.  If you get one of these examples working, we could then pull the CPU1 code into a BIOS program, or attempt to make the controlSuite example use BIOS.

    Best regards,

    Janet

  • Janet,

    as I mentioned in my original post, I can easily run CLA examples and RTOS examples separately - I have done it many times and repeatedly for this particular initiative. It is the combination of both that creates the problems. Most of the examples trigger the CLA on interrupts that are not really compatible in the RTOS world (PIEVectCtrl).

    Thanks,

    Lenio