TI-RTOS: Real-Time Operating System (RTOS)
|Part Number||Buy from Texas Instruments or Third Party||Alert Me||Status||Current Version||Version Date|
|ACTIVE||Current and previous versions|
- RTOS Power Management Emerges as a Key for MCU-based IoT Nodes
(PDF 829 KB)
23 Mar 2015 5,381 views
- TI-RTOS: A Real-Time Operating System for TI Devices (Rev. A)
(PDF 154 KB)
31 Mar 2015 7,925 views
Scalable RTOS Solution
TI-RTOS accelerates development schedules by eliminating the need to create basic system software functions from scratch. TI-RTOS scales from a real-time multitasking kernel - TI-RTOS Kernel (formerly known as SYS/BIOS) - to a complete RTOS solution including additional middleware components, device drivers and power management. The combination of TI-RTOS power management and TI's ultra low-power MCUs enables developers to design applications with much longer battery life. By providing essential system software components pre-tested and pre-integrated, TI-RTOS enables developers to focus on differentiating their application.
TI-RTOS builds on existing proven software components to ensure reliability and quality. It augments these with documentation, additional examples and APIs appropriate for multitasking development and integration testing to verify that all components work together. TI-RTOS is fully tested with the Code Composer Studio™ Integrated Development Environment (CCS IDE). For some microcontroller platforms, TI-RTOS includes libraries that work with the IAR Embedded Workbench IDE and GCC.
Licensing - TI-RTOS is provided with full source code and requires no up-front or runtime license fees. The multitasking kernel, TCP/IP networking stack, FAT File System, and all device drivers and examples all use open source BSD-like licensing. This enables developers to easily pass on software to partners or sub-contractors without cumbersome licensing constraints. Unlike the GPL license, the BSD license does not impose requirements for developers to ship their entire application source code.
TI-RTOS Kernel is available on most TI microprocessors, microcontrollers and DSPs. TI-RTOS middleware, drivers and board initialization components are available on select ARM® Cortex™-M4 Tiva-C, C2000™ dual core C28x + ARM Cortex-M3, MSP430™ and MSP432™ microcontrollers, and the SimpleLink™ WiFi® CC3200 and SimpleLink™ CC26xx ULP Wireless MCUs.
- Click "Get Software" button above to see the TI-RTOS download page. Includes current and previous versions for TI MCU and Wireless MCU device families.
- TI-RTOS may also be downloaded using the Code Composer Studio IDE (CCS) Applications Center.
- DOWNLOAD NOTE: For TI DSPs and ARM Cortex-A8-based devices, including multicore devices, the current versions of applicable components such as TI-RTOS Kernel (formerly known as SYS/BIOS) and the IPC package, are available only through the SDKs for those devices.
TI-RTOS offers the following components:
TI-RTOS Kernel (formerly known as SYS/BIOS) provides deterministic preemptive multithreading and synchronization services, memory management, and interrupt handling. TI-RTOS Kernel is highly scalable down to a few KBs of memory.
TI-RTOS SSL provides TLS/SSL and DTLS along with an extensive cipher library. It is based on wolfSSL. This product requires a fee (see above). An evaluation version (GPL license) is available here.
|TI-RTOS Networking||TI-RTOS Networking (formerly known as the NDK) provides an IPv4 and IPv6-compliant TCP/IP stack along with associated network applications such as DNS, HTTP, and DHCP.|
|TI-RTOS Wireless Connectivity||TI-RTOS is fully integrated with the wireless connectivity stacks provided with the SimpleLink™ Wireless MCU families, including Wi-Fi, Bluetooth Smart (Bluetooth Low Energy), and ZigBee®.|
|TI-RTOS File System||TI-RTOS File System is a FAT-compatible file system based on the open source Fatfs product.|
|TI-RTOS USB||TI-RTOS USB provides both USB Host and Device stacks, as well as MSC, CDC, and HID class drivers. TI-RTOS USB uses the proven TivaWare (formerly known as StellarisWare) USB stack.|
|TI-RTOS IPC||The TI-RTOS IPC provides efficient interprocessor communication in multicore devices.|
|TI-RTOS Instrumentation||TI-RTOS Instrumentation allows developers to include debug instrumentation in their application that enables run-time behavior, including context-switching, to be displayed by system-level analysis tools.|
|TI-RTOS Drivers and Board Initialization||TI-RTOS Drivers and Board Initialization provides a set of device driver APIs, such as Ethernet, UART and I2C, that are standard across all devices, as well as initialization code for all supported boards. All driver and board initialization APIs are built on the TivaWare, MWare, CCWare, or MSPWare libraries.|
|TI-RTOS Power Manager||The TI-RTOS Power Manager provides pre-implemented, ultra-low power modes and can automatically determine the optimal low-power mode when the CPU becomes idle. TI-RTOS drivers are power-aware and communicate with the Power Manager to ensure peripherals are powered-down when not in use.
See our Power Management whitepaper for more details.
TI-RTOS Ecosystem Partners
Customers who require additional functionality to complement that provided by TI-RTOS can license system software modules from TI-RTOS Ecosystem partners:
Failsafe and Flash File Systems
SNMP and other network applications
|Simma Software||CAN stacks|
TI-RTOS Kernel Overview
TI-RTOS Kernel is a deterministic, preemptive, multitasking kernel that enables developers to create sophisticated applications without compromising real-time deadlines. The kernel services are summarized in the table below:
|Services||TI-RTOS Kernel Services Description|
Wait on any combination of multiple RTOS or custom events
|Hardware Interrupts (HWI)||
Interface from hardware interrupts to the RTOS
|Software Interrupts (SWI)||Lightweight preemptible threads that use the program stack but cannot yield|
|Task||Independent threads of execution that can yield the processor|
|Timer||Interface to hardware timers|
|Mailbox||Synchronized data exchange between tasks|
|GateMutex||Binary mutex with priority inheritance|
Variable-sized dynamic heaps
Fast, deterministic fixed-size buffer pools
Variable-sized, deterministic dynamic heaps based on multiple buffer pools
Cache configuration and management
User-configurable tracing including asserts for parameter and state checking
Define, raise, and check error-handlers
Low-overhead logging and print statements
Memory allocation interface
General system functions such as abort, exit, and system printf
32- and 64-bit timestamping services
TI-RTOS Power Manager
For TI devices designed for use in IoT endpoint applications where power consumption is a key consideration, such as the SimpleLink™ CC3200 and CC2600 and MSP432™ MCU, TI-RTOS offers power management features that enable developers to easily leverage underlying hardware capabilities in the silicon.
See Power Management white paper for details:
- Tick suppression is supported to eliminate unnecessary CPU wake-ups resulting from system timer ticks with no associated timeout or periodic function activities.
- TI-RTOS power manager tracks peripheral activity through its drivers and automatically idles peripheral clocks and associated power domains when they are unused.
- A power policy runs in the IDL task. This calculates the most suitable power down mode to enter during CPU idle periods to maximize power savings.
- TI-RTOS power manager typically offers multiple power modes (e.g.idle, standby, power down). These are all fully integrated and tested for a supported device.
- The power manager includes constraint setting and a register/notify mechanism so the application can communicate with the power manager. This prevents inappropriate power downs.
TI-RTOS Kernel Multicore Support
TI-RTOS Kernel fully supports TI's multicore ARM and DSP solutions. The TI-RTOS Kernel provides shared image and SMP support. The associated IPC Package provides an extensive set of multicore communication mechanisms that simplify development of distributed applications and leverage any hardware mutual exclusion features for maximum performance. These services include:
|IPC Objects||IPC Services Description|
Multicore/processor-safe shared memory implementation of HeapBuf
Multicore/processor-safe shared memory implementation of HeapMultiBuf
|List||Automic linked lists|
|ListMP||Multiprocessor atomic linked lists|
|MessageQ||Transparent, variable-length messages|
|NameServer||Enables location of IPC objects in multicore/processor topologies|
|Notify||Low-latency asynchronous interrupt to another processor|
|SharedRegion||Enables definition of shared pointers between different processors/cores|
|Stream||Read/write or buffer streaming interface to peripheral drivers|
OS-aware Debug and Analysis Tools
In conjunction with Code Composer Studio (CCS), TI-RTOS Kernel provides several tools to aid debugging and optimization of multithreaded applications. The Run-time Object Viewer (ROV) enables a developer to check the status of OS objects such as tasks, mailboxes, and semaphores, including whether a task is ready, running or blocked; which tasks are blocked on an IPC; and whether tasks have exceeded their stack limits. ROV is integrated into both the CCS and IAR Embedded Workbench IDEs. CCS also includes a tool called RTOS Analyzer that captures behavior in real-time and can display the thread execution and switching sequence, thread and system CPU load, OS events, and user-defined log information.
TI-RTOS Networking Overview
TI-RTOS Networking - formerly known as the Network Developer Kit (NDK) - combines a dual mode IPv4/IPv6 stack with some network applications. TI-RTOS Networking support is available for both Ethernet-enabled MCU, MPUs, and DSPs. TI-RTOS Networking includes:
- Core TCP/IP protocol stack: Dual-mode IPv6/IPv4 stack in both source and binary, including VLAN packet priority-marking, TCP, UDP, ICMP, IGMP, IP, and ARP
- Network applications: HTTP, TELNET, TFTP, SNTP, DNS, DHCP (IPv4 only) client and server
- Serial/cellular modem support: PPP and PPPoe
- Application Programming interfaces: BSD Sockets, zero-copy sockets, and support for raw Ethernet
- Device drivers: Pre-tested device drivers are available for some TI devices as part of TI-RTOS or in TI Software Development Kits (SDK)
In addition, an optional add-on is available for TLS/SSL support. TI-RTOS offers Wi-Fi support through a driver for the SimpleLink CC3100. This driver is pre-integrated with the SPI driver for devices such as Tiva C and MSP432™ MCUs, enabling Wi-Fi capability to be added to these right out-of-the-box. TI-RTOS for the CC3200 fully supports the built-in Wi-Fi capability on that device.