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.

MSP430 - RTOS to choose

Guru 20755 points
Other Parts Discussed in Thread: MSP430F6659

Hello,

We are going to use MSP430F6659 with the following requirements:

1. SPI interface to RAIS USB3 device (uController will be SPI slave),

2. USB2 interface to controll and status interface PC

3. I2C interface to AES i2c device x2 (two devices each has its own i2c).

I see that MSP430 (we actually use MSP430F6659) can be used with various OS (TI's RTOS, freeRTOS, and more). 

Can it also be used with Windows 7 or Linux ? If not - in terms of software developments which RTOS is best - TI-RTOS/freeRTOS/other ? Which OS comes in the downloaded SDK, is it TI-RTOS ?

Thank you very much,

Ran

  • Ran,

    I think we need some clarification here for I'm not sure if the phrasing is right.

    First, I am going to assume you want to run an RTOS on the MSP430. No MSP430 can run a complete OS such as Windows or Linux. The MSP430 can run some Real-Time OS (RTOS)  that have been tailored to do so. Many third party RTOS's out there can be used, and TI also provides TI-RTOS to run on MSP430. The choice is a matter of preference to you. Most MSP430 users do not use an RTOS at all in there embedded applications for it can add a significant amount of overhead to simple applications.

    Now, if your question is more towards, will the MSP430 be recognized by OS's when connecting via USB?, then it is another matter. You do not need an RTOS on the MSP430 for this functionality. (But you can certainly have one if needed) Our MSP430 USB Development Package (also found within MSPware in CCS) can help you setup your MSP430 to use standard USB drivers so OS's such as Windows and Linux can recognize the USB connection and thus the device.

    I hope this clarifies things!

    Regards,

    JH

  • Hi JH,

    Thank you.
    I am trying to understand the effort of using the required drivers in OS such as TI-RTOS or freeRTOS (so that I can choose which is better in this terms). I understand that Linux/Windows are not relevant ofcourse. It would help me to clarify the following, if possible.

    1. What OS is used in "MSP430 USB Development Package" ? Is it TI-RTOS ?
    2. When using TI-RTOS for example, does it easilt integrated the drivers within "MSP430 USB Development Package" ?
    3. And if I use freeRTOS, do I need to integrated the drivers in "MSP430 USB Development Package" too ?

    Thanks you,
    Ran
  • Ran,

    The MSP430 USB Development Package does not use any kind of OS. It is low-level driver-like code that can be easily integrated into embedded applications.

    As far as the RTOS's go, I have not used them extensively so I can't give you any definite answers here. I have not used freeRTOS at all so I cannot comment on that. From a quick look-up on the TI-RTOS page, it seems it only provides drivers for Host side USB, which the MSP430 cannot do. It does provide examples of HID and CDC, but I am unaware of the limitations there. I did find a TI-RTOS for MSP43x Getting Started Guide that may help you.

    If anyone in this forum can give more insight on TI-RTOS or freeRTOS, please do so. Otherwise Ran, I would suggest posing these question in the TI-RTOS forum to get better expertise on the subject.

    Sorry, I could not be more helpful here!

    Regards,

    JH

  • Hello JH,

    Thank you,

    You were very helpful.
    According to the following
    www.ti.com/.../slaa457a.pdf
    It seems that sys/bios support usb API stack.

    Thank you,
    Ran

**Attention** This is a public forum