The SimpleLink CC32XX family allows to add Wi-Fi and networking capabilities to low-cost embedded products without having prior Wi-Fi, RF or networking expertise. The CC32XX is an ideal solution for sensor and control applications such as home appliances, home automation and smart metering. The CC32XX has integrated a comprehensive TCP/IP network stack, Wi-Fi driver, security supplicant and high-performance applications ARM Cortex-M4 MCU with ultra-low memory footprint, all without compromising the capabilities and robustness of the final application.Refer to the CC32XX Peripheral User Guide for application MCU peripheral APIs.
The SimpleLink device provide a wide set of capabilities. These capabilities range from basic device management through wireless network configuration, standard BSD socket and much more. To make it simple, these capabilities were divided into modules by topic (Silo). Each topic is also divided into groups by the nature of its use (Classification).
Listed below are the different modules in the SimpleLink driver:
CC32XX SimpleLink driver is by default configured to support a wide range of application. User based on the application requirement can adjust these configurations. The guide takes you through this process step by step. Please notice that all modifications and porting adjustments of the driver should be made in the user.h header file only. Keep making any of the changes only in this file will ensure smoothly transaction to new versions of the driver at the future!
The first step is to modify user.h file that includes default configurations and adjustments
Texas Instruments made a lot of efforts to build set of predefined capability sets that would fit most of the target application. It is recommended to try and choose one of this predefined capabilities set before going to build your own customized set. If you find compatible set you can skip the rest of this step.
The available sets are:
The SimpleLink driver support two memory models:
CC32XX default configuration is Static. In the dynamic model it will use the malloc and free defined by supported Operating System. If one wishes to define its own memory management, they can define these interfaces
CC32XX Host Driver implements SPI Communication Interface. The interface for this communication channel includes 4 simple access functions:
In CC32XX, SPI implementation uses DMA in order to increase the utilization of the communication channel.
The SimpleLink device generate asynchronous events in several situations. These asynchronous events could be masked. In order to catch these events you have to provide handler routines. Please notice that if you not provide a handler routine and the event is received, the driver will drop this event without any indication of this drop.
The SimpleLink driver could run on two kind of platforms:
CC32XX SimpleLink Host Driver is ported on both Non-Os and Multi Threaded OS enviroment. The Host driver is made OS independent by implementing an OS Abstraction layer. Reference implementation for OS Abstraction is available for FreeRTOS and TI-RTOS.
If you choose to work in multi-threaded environment under different operating system you will have to provide some basic adaptation routines to allow the driver to protect access to resources for different threads (locking object) and to allow synchronization between threads (sync objects). In additional the driver support running without dedicated thread allocated solely to the simple link driver. If you choose to work in this mode, you should also supply a spawn method that will enable to run function on a temporary context.