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.

TI-RTOS-sys/bios on MSP430

Other Parts Discussed in Thread: MSP-EXP430F5529LP, CC3200, CC3100

Hi,

I want to implement an RTOS on my MSP430F565x. 

As I can see, there is TI-RTOS v1.21x and higher support MSP430, also sys/bios v6.x now supports MSP430 devices. 

edit: I was a bit confused about the difference between TI-RTOS and sys/bios, as I understand the TI-RTOS is based on sys/bios kernel and would implements all their Functionnalities, right?so far, may I ask about the possibility/task easiness to implement Ethernet and USB ports on my MSP430?

Thanks for your help

  • Hi Delared,

    I have moved this to the TI-RTOS forum where you will likely get better help: e2e.ti.com/.../355

    I know that TI-RTOS/SYS-BIOS include some drivers for different modules, like USB that should be helpful. As for Ethernet though, there is no Ethernet hardware module on the MSP430. Are you using some sort of external Ethernet chip?

    -Katie
  • Hi Katie,

    SYS/BIOS is a kernel. TI-RTOS for MSP43x is a full RTOS. It includes the following

    - Kernel (which is SYS/BIOS)

    - Kernel Aware Drivers that are built on MSPWare

    - Instrumentation (UIA)

    - Explicit board examples for

    - 5529 Launchpad (MSP-EXP430F5529LP)

    - 5529 USB DK (MSP-EXP430F5529)

    - 5969 Launchpad (MSP_EXP430FR5969LP)

    - MSP432 Launchpad (MSP_EXP432P401RLP) (available in the new TI-RTOS for MSP43x ver 2.12.00.24)

    These examples include ones for kernel, drivers (e.g. UART, I2C, WiFi, etc.) and instrumentation.

    TI-RTOS also includes the MSPWare driverlib/usblib/grlib that was used to build and validate the kernel aware drivers.

    So basically, TI-RTOS is SYS/BIOS plus more.

    Note: TI-RTOS for MSP43x still includes kernel and instrumentation examples for other devices (i.e. MSP430F565x). There is a small port you have to do to get the drivers to work for these other devices. It's essentially adding a define in a makefile and rebuilding the driver libraries. More details are here: http://processors.wiki.ti.com/index.php/Creating_TI-RTOS_2.10_Projects_for_Other_MSP430_Devices

    To keep the size of the installers down and allow us to new releases/patches faster, we have device family TI-RTOS products (e.g. TI-RTOS for MSP43x, TI-RTOS for TivaC, TI-RTOS for SimpleLink, etc.).

    Hope that helps,

    Todd

  • Thanks Katie for your reply, thanks Todd for your explainations.

    Talking about ethernet, please refer to my post : e2e.ti.com/.../408162
    actually, I'm face of two options:
    OPTION 1: adding a Crystal LAN Ethernet Controller, but the software task would be so hard, view that I need to implement the ethernet stacks and API from scratch.
    OPTION 2: adding a wiznet device W5500 which implements TCP/IP stacks.
    So I'm thinking of using RTOS to make the first option easier! and then reduce the cost of the second option. is that possible ?

    what do you suggest?

  • I think you'll run out of memory on the device if you try to use a networking stack on it. It's prbbably better to go with an off-board network processor. If you want WiFi (instead of wired) we have examples with the CC3100 boosterpack on a MSP430. Or move to a larger chip (TH4C129 or CC3200) with networking built in.

    Todd

  • Todd,

    Actually, the wired network is enough for us, Thanks for your suggestion.

    otherwise, could you pls clarify more what do you mean by

    ToddMullanix said:

    you'll run out of memory on the device if you try to use a networking stack on it. It's prbbably better to go with an off-board network processor. 

  • My concern was that the networking stack code footprint would be too big for an MSP430. I did not realize that the 5659 has 512KB of flash. This is enough memory for a stack.
  • Todd,

    Thanks for your clarification.

    for now, I see that using an external network component W5500 would be the best choise.