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.

Instaspin and TI-RTOS

Other Parts Discussed in Thread: TMS320F28069M, CONTROLSUITE, MOTORWARE

Hello,

I'm about to start working with a project quite soon. We will use Instaspin and TMS320F28069M to realise the motor control. I noticed there is a release for TI-RTOS for C2000 from 25th of Februari 2016. Is there any support, examples or guides related to using Instaspin with TI-RTOS? My searches so far haven't resulted in anything.

I'm quite new to RTOS, but quite familiar with motor control. I do realise you have to make the entire system different even if you use the same functions. Sampling and PWM should be done in a HWI that is triggering a SWI with the current Control. A slower and less prioritized SWI or possibly a task for speed Control?

I have read several posts in this forum discussing this subject. Though none of them seems to get it to work good enough. All of them seems to be using only SYS/BIOS and they are all posted almost a year ago. Does the release of TI-RTOS for C2000 change anything?

Regards

Robert

  • To be honest, none of us in TI C2000 use TI-RTOS. Most of the systems want a much "leaner" software layer...though I understand there are different needs / requirements...feasibly it should be able to work, but I know it's been a challenge for those who have attempted on e2e.

    my guidance would be to first test and get your system running with MotorWare as-is on an EVM / your own HW. Then pull in controlSUITE drivers for peripherals. And only then attempt to integrate TI-RTOS.
  • Yea, that sounds like a good idea. Pretty much what I have been thinking about, but now I got it confirmed. The reason I would want to use the RTOS is because our CPU will most likely be doing other stuff as well (Communication, polling switches and BMS-system, etc) and I don't want to start with nesting interrupts and so on.

    Maybe better solution to use the C28x for the motor control without RTOS and use the CLA for the other stuff?

    Thank you for the answer Chris!

  • Hi Golgor,

    An RTOS is useful for some applications because it simplifies overall design (as you noted) and there are many C2000 customers using TI-RTOS in production code.

    Todd