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.

Using Bluetopia Stack with TI-RTOS on MSP430

Other Parts Discussed in Thread: MSP430F5635

I am using the MSP430F5635 with Code Composer and I am trying to set up a project which will use both TI-RTOS and the Bluetopia Stack. So far, I have found that TI-RTOS only supports 2 memory models (restricted data + large code, or small + small), and the latest Bluetopia release (v1.5 R2) only supports the small data + large code memory model.

This post says that there is not enough memory on the MSP430 device to support both the RTOS and the Bluetooth Stack, and suggests using the Bluetooth Scheduler instead (https://e2e.ti.com/support/wireless_connectivity/bluetooth_cc256x/f/660/p/424248/1516218#1516218). From what I can tell, the F5635 has room to run both, and I would prefer to use TI-RTOS for task management if possible since it provides useful execution and task debugging tools.

I have asked Stonestreet One for a build with restricted data + large code memory, and I am hoping that will work. Or is there some other way to make the two work together? It seems that TM4C devices have a stack which supports an RTOS (http://www.ti.com/tool/tibluetoothstack-sdk), so could there be an issue with the MSP430 Bluetooth stack not being thread-safe for RTOS operation?(https://e2e.ti.com/support/wireless_connectivity/bluetooth_cc256x/f/660/p/352055/1234010#1234010)

  • Jason,

    Using the NoOS version of the stack with TI RTOS is not thread-safe for RTOS operations. For the platform that are supported with RTOS (TIVA and STM32), there is a NoOS build of the stack and then there is RTOS build for threaded systems.

    The bluetopia stack on MSP430 does not have a different build for threaded system. At the moment there are no plans of adding TI-RTOS support. One of the reasons being that most of the MSP430 applications running bluetopia stack have tight memory constraints. Even though an MSP430 might have just enough flash and RAM to run TI-RTOS and Bluetopia stack, there is still a trade off between the TI-RTOS perks and having some more code space available for the user application.

    Best regards,
    Vihang