SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Figure 2-1 shows a block diagram of the SimpleLink™ Wi-Fi® solution at a high level.
In the CC32xx wireless MCU the host is a Cortex®-M4 core, the networking subsystem is built into the device as an additional peripheral, and the interface between the Cortex®-M4 Core and the networking subsystem is internal.
The host driver is the same for the CC31xx and CC32xx devices, and the networking capabilities are similar for both devices. The network stack is fully implemented in the networking subsystem, thereby offloading the networking activities from the host MCU.
A simple application that only sends a UDP datagram on the local network requires minimum APIs as follows:
sl_Start Start the SimpleLink device in Wi-Fi Station mode
sl_WlanConnectConnect to a Wi-Fi network
sl_Socket Create a socket
sl_SendTo Sends UDP data
sl_Close Close the socket
sl_Stop Stops the SimpleLink device
The target application can choose to use the preferred networks option (profiles) instead of using the sl_WlanConnect command. This option allows the host application to completely offload the entire management of the WLAN connection.
Figure 2-2 shows a more detailed block diagram of the networking subsystem.