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.

RTOS/TMS320F28034: C2000 piccolo with TI-RTOS ( SYS BIOS )

Part Number: TMS320F28034
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi Champs,

Our customer would like to try to utilize TI-RTOS (SYS BIOS) with F28034.
Could you please let us know how to create the project which uses RTOS?

Currently, a function is controlled by 1ms and 2ms interval timer interruptions.
They would like to replace the timer control to RTOS control.

If there good examples or some explanation for RTOS project creation, it would be greatly helpful.

Furthermore, there are a couple of questions as follows:
Q1) Is the timer period 1ms minimum?
Q2) Is there any plug-in some tools for RTOS? 
        C:\ti\bios_6_76_01_12 has been installed.


Thank you very much for help.
Best regards,
HItoshi

  • Hi Hitoshi,

    I would recommend using the SYS/BIOS product instead of TI-RTOS for C2000. The TI-RTOS for C2000 is really more for Concerto family devices (c28 + Arm). TI-RTOS for C2000 is really just SYS/BIOS on the C2000 side and SYS/BIOS+Networking stack+Drivers for the Arm side.

    There are examples in the SYS/BIOS product. Unfortunately the examples do not show up in CCS 9. We are working to fix that. In CCS 8.3, you can look at View->Resource Explorer Classic and find the desired device. We have a handful of examples for each one that you can import/build and run. 

    By default, the kernel grabs one timer to drive it's timing (e.g. Task_sleep, etc.). The default period is 1ms (we call this period a tick). You can create ti.sysbios.knl.Clock functions that are called as any multiple of this period (and they can be periodic or one-shot). 

    You can change the period of this timer. We generally don't recommend going too fast as many things can occur on a tick. So if you try to have the tick period be 10us, you'll end up just spending all your time in the timer ISR. If you want something that fast, get a dedicated timer (and potentially make it a zero-latency interrupt ....more details on that topic here: http://wiki.tiprocessors.com/index.php/SYS/BIOS_for_the_28x and specifcally in the C28_zero_latency.pdf on that page).

    Regarding plug-ins.. There is UIA (http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/uia/index.html) which adds logging facilities onto SYS/BIOS. It allows things like execution graphs, CPU load, etc. in CCS.

    Todd