SWRA704 June 2021 CC3120 , CC3130 , CC3135
The SimpleLink Wi-Fi host driver contains a porting layer that should be used as the adaptation layer for the host platform. In the SimpleLink Wi-Fi CC32xx SDK, this porting layer is implemented for the on-chip ARM M4 application microcontroller. The porting layer distributed in the and SimpleLink SDK Wi-Fi Plugin is implemented for other microcontrollers in the SimpleLink platform family.
This porting layer is in the folder
source/ti/drivers/net/wifi/porting
, and consists of
user.h
, cc_pal.c
, and cc_pal.h
.
The user.h
is a required file and acts as the interface between the
SimpleLink Wi-Fi host driver APIs and the target platform. The
cc_pal files contain the target-specific implementations used
by user.h. The following sections will walk through each of the
requirements in detail for the STMicrocontroller STM32L4xxx target platform and
FreeRTOS.
The porting layer in the Wi-Fi Plugin also
includes the file SIMPLELINKWIFI.h
, which can be ignored for non-TI
applications.
Since the Wi-Fi host driver is executed on the host MCU, the host driver source code (including porting files) should be added to a STM32 application. The edits to the porting files discussed in this guide use STM32L4xx HAL APIs and FreeRTOS APIs provided in the STM32Cube software packages.