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.

Help deciding between Linux-RT and Processor-SDK-RTOS

Hello,

We have a project it mind that will be using the AM335x(BBB processor). I'm having a tough time choosing between the two packages provided by TI... maybe a little guidance to aid our decision will help us a long way.

A short description of the project for perspective:

  • There are a no. of sensors that will hook up to the BBB. These include sensors on the serial bus lines - I2C/SPI.
  • There are a few sensors that are frequency based, that require a capture of ~1Khz.
  • Generate a 20Hz PWM, with varying duty cycles @10hz
  • There is a safety module that runs every 500Hz, looking for errors and faults. This is a hard requirement.

I've looked at the RT-Kernel performance guide, but I'm not able to extrapolate any information that could be used for our application.. an example would be - can it toggle a GPIO at 1Khz.

As for the Processor-SDK-RTOS, the application should run ok, but I did not want to totally discount the RT-Linux version before investigating it first.

Also.. at TI'er says that TI-RTOS for Sitara is being discontinued.. but Processors-SDK-RTOS actively uses TI-RTOS. Any clarification will be appreciated.

  • Hi,

    I don't know where you have heard that TI-RTOS is being discontinued, but this is definitely not true. RTOS releases are available for all new Sitara devices and this is a new platform for Sitara, gradually taking over from the Industrial SDK.

    On your other question - RTOs will definitely be able to toggle a GPIO at 1kHz, same is true for Linux-RT, however I think you should go for RTOS, as it's much more lightweight and timing predictable than Linux.
  • If you want to toggle a GPIO with 1KHz, use a Timer, or a PWM.
    Your list of requirements seem to be very low.
    Under Linux, I would write some kernel drivers to do the job.
    User space would be idle most of the time.

    Linux may be a good choice when you are wanting to port your application to another target system.
    Also if you want to use existing linux programs (webserver, syslog etc).

    I can not comment about RTOS.