Today, at Re:Invent in Las Vegas, Amazon Web Services (AWS) introduced a new cloud-native Internet of Things (IoT) operating system for microcontrollers (MCUs) called Amazon FreeRTOS.
Amazon FreeRTOS is built around the FreeRTOS kernel, a popular open-source operating system for MCUs that makes low-powered edge nodes easier to program, enable, connect and monitor. Providing a common operating system for MCU-based devices, Amazon FreeRTOS also includes software libraries that in the future will make it easy to program common IoT capabilities into your devices, including support for over-the-air (OTA) updates and the ability to configure devices to the local network for easy deployment.
Today, TI also announced integration of Amazon FreeRTOS into the SimpleLink™ MCU platform. TI is one of the first companies to support the new operating system through the SimpleLink Wi-Fi® CC3220SF LaunchPad™ development kit (CC3220SF-LAUNCHXL). The SimpleLink CC3220SF wireless MCU is a single-chip wireless microcontroller with 1MB XIP Flash and 256KB of RAM, uniquely architected with low power and security features in mind. The SimpleLink wireless MCU has two physically separate on-chip execution environments – one running on the user application-dedicated host Arm® Cortex®-M4 MCU, and a second running on the network processor Arm Cortex-M3 MCU. The network processor takes care of all the Wi-Fi and internet logical layers, running advanced security features while offloading the host MCU - enabling a more secure connection from the chip to the cloud all with a single device.
The SimpleLink Wi-Fi wireless MCU offers a wide range of built-in security features which support all the requirements of Amazon FreeRTOS. Some of these features include SSL\Transport Layer Security (TLS) crypto cyphers (accelerated in CC3220SF device using a dedicated hardware crypto engine), support for X.509 certificates with the ability of mutual authentication (client and server) which is fully offloaded to the network processor with no intervention of the application processor, certificate catalog signed in hardware for a trusted certificate chain of trust, unique device ID and ability to create unique private/public key pair for device registration and authentication and more.
Most IoT software development kits (SDKs) for connecting embedded devices to cloud platforms contain a collection of source files implementing transport clients such as Message Queuing Telemetry Transport (MQTT), TLS implementation, and some examples for sending and receiving data to the cloud. In such solutions it is then up to the developer to create a project, integrate the SDK with another real-time operating system (RTOS), add user certificates and test the cloud connectivity.
Now with the Amazon FreeRTOS SDK running on TI’s CC3220SF wireless MCU LaunchPad kit, all of the above components and more are already integrated into a single package, reducing developers’ efforts and allowing them to easily take advantage of all the services that the AWS IoT and the SimpleLink MCU platforms has to offer.
At minimum, MCUs suitable for Amazon FreeRTOS would have at least 128KB of static random access memory (SRAM), 256KB of flash and at least a 48MHz central processing unit (CPU) clock. AWS assumes that the MCU is using the flash and SRAM for the Wi-Fi stack and network protocols. TI’s CC3220SF device more than meets these requirements with 1MB of XIP flash and 256KB of RAM, Arm Cortex-M4 CPU at 80MHz, and the Wi-Fi stack and networking protocols offloaded to the network processor MCU.
Table 1 is an example of one configuration that TI made for the CC3220SF wireless MCU and the resulting memory usage from using the Amazon FreeRTOS online configuration wizard.
TI Driver Lib
Network Processor Lib
ARM M4 Lib
Table 1: Summary of Amazon FreeRTOS memory usage on CC3220SF wireless MCU
To test your own configuration, you can log into the AWS console and access the online configuration wizard for Amazon FreeRTOS. Select the CC3220SF-LAUNCHXL LaunchPad kit and TI’s Code Composer Studio™ integrated development environment (IDE). Configure the features you would like to add to your IoT device and download the software components for your application. You can start developing with confidence, as TI has already taken the CC3220SF-LAUNCHXL development platform through the Amazon FreeRTOS qualification program with AWS.
Check out TIer Mattias Lange in the AWS re:invent session from Nov. 29, 2017:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.