
Introduction
232
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
Porting the Host Driver
17.1 Introduction
The SimpleLink Wi-Fi device family consists of several device types: the CC3220S and CC3220SF, which
are fully-integrated system-on-chip (SoC) solutions consisting of both applications MCU and the network
processor, and the CC3120, which consists only of the network subsystem processor. The CC3120 device
can be bundled with any platform (MCU, MPU, or other). While the CC3220x is already fully integrated, to
work with the CC3120 device, the user must port its host driver to the new platform. The porting of the
SimpleLink Wi-Fi host driver to any new platform is based on a few simple steps. This chapter provides
basic step-by-step guidelines on how to port the SimpleLink host driver to new platforms. Follow the
instructions carefully to avoid any problems during this process and to enable efficient and proper work
with the CC3120 device.
The basic concept of the porting is that all modifications and porting adjustments of the host driver are
made in one file (user.h header file). Strictly following these guidelines ensures a smooth transition to new
versions of the driver. The porting process consists of a few simple steps:
1. Create the user.h file for the target platform.
2. Select capabilities set.
3. Bind the device enable/disable line.
4. Implement the interface communication driver.
5. Choose memory-management model.
6. Implement OS adaptation layer.
7. Implement timestamp services.
8. Bind asynchronous event handlers routines.
The remainder of this chapter describes these steps in more detail.