STM32WW Wi-Fi® – X-CUBE-WW4 Overview

Revision as of 12:50, 22 February 2024 by Registered User

back to main page Please understand this is draft, thank you


1. STM32WW4 Overall project description

1.1. Structure

The application resides on the top, it uses several middlewares and drivers, some from Third Parties some from ST.

A special mentions to following two MWs which are specific to the WiFi projects:

1.1.1. WLAN_Driver

Umac interface, RPC (Remote Procedure Call) and COM abstraction. It is basically the code allowing the two chips communication (host and ww4) and ww4 fw download Given in source code. It occupies about 10 kb (mw) + 5 kb (sdio) flash (on the host)

1.1.2. WLAN_Lib and WPA supplicant

WLAN_API, wpa_supplicant, wpa_supplicant MCU customization. Part of the WLAN_Lib is given in source code and part as a compiled library (.a) Big code size, depends on the config.

1.1.3. Applications

Several applications are available in the Projects directories. Applications are available for U5 and H7 boards. The above picture shows some of them, the list is still evolving.

1.2. Project Directory

Each application has similar structure, the picture below refers to CLI project, but Echo project has similar topology. The file that differentiates the applications are in the WLAN_Lib/App directory and main_app.c is the one that differentiates one application by the other. The files app_conf.h and credentials_and_ip_static_addr.h are meant to be configuered by users. More details below, because they might depend on specific applications.